]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Ignore and remove LD_HWCAP_MASK for AT_SECURE programs (bug #21209)
[thirdparty/glibc.git] / ChangeLog
1 2017-03-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 [BZ #21209]
4 * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
5 AT_SECURE processes.
6 * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7
8 2017-06-19 Florian Weimer <fweimer@redhat.com>
9
10 * elf/rtld.c (audit_list_string): New variable.
11 (audit_list): Update comment.
12 (struct audit_list_iter): Define.
13 (audit_list_iter_init, audit_list_iter_next): New function.
14 (dl_main): Use struct audit_list_iter to process audit modules.
15 (process_dl_audit): Call dso_name_valid_for_suid.
16 (process_envvars): Set audit_list_string instead of calling
17 process_dl_audit.
18
19 2017-06-19 Florian Weimer <fweimer@redhat.com>
20
21 * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
22 (dso_name_valid_for_suid): New function.
23 (handle_ld_preload): Likewise.
24 (dl_main): Call it. Remove alloca.
25
26 2017-06-19 Florian Weimer <fweimer@redhat.com>
27
28 [BZ #21624]
29 CVE-2017-1000366
30 * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
31 __libc_enable_secure.
32
33 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
34
35 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
36 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
37 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
38 operands.
39
40 2017-05-12 Florian Weimer <fweimer@redhat.com>
41
42 [BZ #21386]
43 * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
44 parent PID. The assertion in the child is incorrect with PID
45 namespaces.
46
47 2017-06-07 Arjun Shankar <arjun.is@lostca.se>
48
49 * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
50 include test-skeleton.c.
51 Include support/check.h and support/test-driver.c.
52
53 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
54
55 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
56 * nptl/allocatestack.c (allocate_stack): Likewise.
57 (__reclaim_stacks): Likewise.
58 (setxid_signal_thread): Obtain pid through syscall.
59 * nptl/nptl-init.c (sigcancel_handler): Likewise.
60 (sighandle_setxid): Likewise.
61 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
62 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
63 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
64 Likewise.
65 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
66 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
67 comment.
68 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
69 * nptl/descr.h (struct pthread): Change comment about pid value.
70 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
71 pid assert.
72 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
73 Do not set pid value.
74 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
75 pid cache check.
76 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
77 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
78 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
79 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
80 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
81 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
82 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
83 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
84 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
85 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
86 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
87 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
88 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
89 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
90 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
91 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
92 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
93 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
94 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
95 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
96 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
97 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
98 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
99 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
100 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
103 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
104 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
105 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
106 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
107 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
108 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
109 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
110 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
111 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
112 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
113 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
114 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
115 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
116 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
117 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
118 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
121 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
122 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
123 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
124 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
125 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
126 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
127 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
128 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
129 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
130 struct access.
131 (clone_test): Remove function.
132 (do_test): Rewrite to take in consideration pid is not cached anymore.
133
134 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
135
136 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
137 (__INTERNAL_SYSCALL1): Likewise.
138 (__INTERNAL_SYSCALL2): Likewise.
139 (__INTERNAL_SYSCALL3): Likewise.
140 (__INTERNAL_SYSCALL4): Likewise.
141 (__INTERNAL_SYSCALL5): Likewise.
142 (__INTERNAL_SYSCALL6): Likewise.
143 (__INTERNAL_SYSCALL7): Likewise.
144 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
145 (__INTERNAL_SYSCALL_NARGS): Likewise.
146 (__INTERNAL_SYSCALL_DISP): Likewise.
147 (INTERNAL_SYSCALL_CALL): Likewise.
148 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
149 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
150 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
151 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
152 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
153 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
154 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
155 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
156 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
157 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
158 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
159 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
160 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
161
162 2017-04-28 H.J. Lu <hongjiu.lu@intel.com>
163
164 [BZ #21396]
165 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
166 Prefer_No_AVX512 if AVX512ER isn't available.
167 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
168 (index_arch_Prefer_No_AVX512): Likewise.
169 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
170 AVX512 version if Prefer_No_AVX512 is set.
171 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
172 Likewise.
173 * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
174 * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
175 Likewise.
176 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
177 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
178 Likewise.
179 * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
180 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
181 Likewise.
182
183 2017-04-28 H.J. Lu <hongjiu.lu@intel.com>
184
185 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
186 Prefer_No_VZEROUPPER if AVX512ER is available.
187 * sysdeps/x86/cpu-features.h
188 (bit_cpu_AVX512PF): New.
189 (bit_cpu_AVX512ER): Likewise.
190 (bit_cpu_AVX512CD): Likewise.
191 (bit_cpu_AVX512BW): Likewise.
192 (bit_cpu_AVX512VL): Likewise.
193 (index_cpu_AVX512PF): Likewise.
194 (index_cpu_AVX512ER): Likewise.
195 (index_cpu_AVX512CD): Likewise.
196 (index_cpu_AVX512BW): Likewise.
197 (index_cpu_AVX512VL): Likewise.
198 (reg_AVX512PF): Likewise.
199 (reg_AVX512ER): Likewise.
200 (reg_AVX512CD): Likewise.
201 (reg_AVX512BW): Likewise.
202 (reg_AVX512VL): Likewise.
203
204 2017-01-05 Joseph Myers <joseph@codesourcery.com>
205
206 [BZ #21026]
207 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
208 (readahead): New syscall entry.
209
210 2017-04-07 H.J. Lu <hongjiu.lu@intel.com>
211
212 [BZ #21258]
213 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
214 Define only if _dl_runtime_resolve is defined to
215 _dl_runtime_resolve_sse_vex.
216 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
217 Fallthrough to _dl_runtime_resolve_sse_vex.
218
219 2017-04-03 Mike Frysinger <vapier@gentoo.org>
220
221 [BZ #21253]
222 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
223 slack space by 32KiB.
224
225 2017-03-31 Slava Barinov <v.barinov@samsung.com>
226
227 [BZ #21289]
228 * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
229
230 2017-03-20 Mike Frysinger <vapier@gentoo.org>
231
232 [BZ #21275]
233 * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
234 __stack to __stackbase.
235 (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
236 checks so we can include defined(__ia64__) first.
237
238 2017-03-15 John David Anglin <danglin@gcc.gnu.org>
239
240 * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
241 (RTLD_START): Don't record stack end address in _dl_start_user.
242
243 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
244
245 [BZ #21081]
246 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
247 (L(stosb)): Add VZEROUPPER before ret.
248
249 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
250
251 [BZ #20750]
252 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
253 of PIC.
254
255 2016-12-31 Florian Weimer <fweimer@redhat.com>
256
257 [BZ #18784]
258 CVE-2015-5180
259 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
260 T_UNSPEC. Adjust value.
261 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
262 * resolv/res_query.c (__libc_res_nquery): Likewise.
263 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
264 QTYPEs.
265 * resolv/tst-resolv-qtypes.c: New file.
266 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
267 (tst-resolv-qtypes): Link against libresolv and libpthread.
268
269 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
270
271 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
272
273 2017-01-23 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
274 Steven Munroe <sjmunroe@us.ibm.com>
275 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
276
277 [BZ #20822]
278 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
279 (__lll_lock_elision): Access adapt_count via C11 atomics.
280 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
281 (__lll_trylock_elision): Likewise.
282 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
283 (__lll_unlock_elision): Update adapt_count variable inside the
284 critical section using C11 atomics.
285
286 2016-12-24 Carlos O'Donell <carlos@redhat.com>
287
288 [BZ #11941]
289 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
290 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
291 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
292 tst-nodelete-dlclose.
293 (modules-names): Add tst-nodelete-dlclose-dso and
294 tst-nodelete-dlclose-plugin.
295 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
296 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
297 ($(objpfx)tst-nodelete-dlclose): Define.
298 ($(objpfx)tst-nodelete-dlclose.out): Define.
299
300 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
301
302 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
303
304 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
305 when it is a NaN.
306 [_IEEE_FP_INEXACT] Remove.
307 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
308 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
309 when it is a NaN.
310 [_IEEE_FP_INEXACT] Remove.
311 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
312 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
313 when it is a NaN.
314 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
315 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
316 when its absolute value is greater than 0x1.0p52.
317 [_IEEE_FP_INEXACT] Remove.
318 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
319 when its absolute value is greater than 0x1.0p23.
320 [_IEEE_FP_INEXACT] Remove.
321
322 2016-11-30 H.J. Lu <hongjiu.lu@intel.com>
323
324 [BZ #20495]
325 [BZ #20508]
326 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
327 processors, set Use_dl_runtime_resolve_slow and set
328 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
329 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
330 New.
331 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
332 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
333 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
334 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
335 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
336 if Use_dl_runtime_resolve_opt is set. Use
337 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
338 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
339 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
340 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
341 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
342 New.
343 (_dl_runtime_resolve_opt): Likewise.
344 (_dl_runtime_profile): Define only if _dl_runtime_profile is
345 defined.
346
347 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
348
349 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
350 instead of PIC.
351
352 2016-11-23 Matthew Fortune <Matthew.Fortune@imgtec.com>
353 Maciej W. Rozycki <macro@imgtec.com>
354
355 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
356 `.Lno_weak_fn' label.
357 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
358 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
359
360 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
361
362 [BZ #20847]
363 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
364 array bounds.
365 (__execvpe): Likewise.
366
367 2016-11-15 Denis Kaganovich <mahatma@eu.by>
368 Magnus Granberg <zorry@gentoo.org>
369 Mike Frysinger <vapier@gentoo.org>
370
371 [BZ #20662]
372 * configure.ac (libc_cv_predef_stack_protector): Also check for
373 __stack_chk_fail_local symbols.
374 * configure: Regenerated.
375
376 2016-11-03 Joseph Myers <joseph@codesourcery.com>
377
378 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
379 $(linknamespace-symlists-tests).
380
381 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
382
383 * iconv/gconv.h (__gconv_info): Define __data element using a
384 zero-length array.
385
386 2016-10-25 Joseph Myers <joseph@codesourcery.com>
387
388 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
389 instead of cmpli.
390 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
391 instead of cmpli.
392
393 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
394
395 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
396 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
397 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
398 SYSCALL_LL64_PRW.
399 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
400 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
401 __ASSUME_PRW_DUMMY_ARG.
402 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
403 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
404 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
405 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
406 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
407 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
408
409 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
410
411 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
412
413 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
414
415 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
416 all signals when executing the clone vfork child.
417 (SIGALL_SET): Remove macro.
418
419 * nptl/Makefile (tests): Add tst-exec5.
420 * nptl/tst-exec5.c: New file.
421 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
422 asynchronous cancellation.
423
424 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
425
426 [BZ #20615]
427 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
428 fpu directory by non-fpu.
429 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
430 on non-fpu directory from a fpu directory.
431
432 2016-09-02 Roland McGrath <roland@hack.frob.com>
433
434 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.24 A.
435
436 * sysdeps/nacl/dup.c: Add libc_hidden_def.
437
438 2016-09-02 Roland McGrath <roland@hack.frob.com>
439
440 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
441 not any more.
442
443 2016-09-02 Roland McGrath <roland@hack.frob.com>
444
445 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
446
447 2016-08-17 Florian Weimer <fweimer@redhat.com>
448
449 Reduce time to expected nptl/tst-once5 failure.
450 * nptl/tst-once5.cc (TIMEOUT): Define.
451
452 2016-08-18 Florian Weimer <fweimer@redhat.com>
453
454 [BZ #16907]
455 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
456 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
457 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
458 (__attribute__): Remove definition.
459
460 2016-08-15 Andreas Schwab <schwab@suse.de>
461
462 [BZ #20435]
463 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
464 as .cantunwind.
465
466 2016-08-17 Florian Weimer <fweimer@redhat.com>
467
468 [BZ #20452]
469 Avoid additional copies of objects in libc.a in static libraries.
470 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
471 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
472 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
473 rt-sysdep.
474 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
475 Add nptl-sysdep.
476 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
477 Add ptw-sysdep.
478 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
479 rt-sysdep.
480 * sysdeps/unix/sysv/linux/alpha/Makefile
481 (libpthread-shared-only-routines): Add ptw-sysdep,
482 ptw-sigprocmask, ptw-rt_sigaction.
483 * sysdeps/unix/sysv/linux/ia64/Makefile
484 (librt-shared-only-routines): Add rt-sysdep.
485 * sysdeps/unix/sysv/linux/i386/Makefile
486 (libpthread-shared-only-routines): Add libc-do-syscall.
487 * sysdeps/unix/sysv/linux/microblaze/Makefile
488 (libpthread-shared-only-routines): Add sysdep.
489 * sysdeps/unix/sysv/linux/powerpc/Makefile
490 (librt-shared-only-routines): Add rt-sysdep.
491 (libpthread-shared-only-routines): Add sysdep.
492 * sysdeps/unix/sysv/linux/s390/Makefile
493 (librt-shared-only-routines): Add rt-sysdep.
494 * sysdeps/unix/sysv/linux/sparc/Makefile
495 (librt-shared-only-routines): Add rt-sysdep.
496 (libpthread-shared-only-routines): Add sysdep.
497 * sysdeps/unix/sysv/linux/tile/Makefile
498 (libpthread-shared-only-routines): Likewise.
499
500 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
501
502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
503 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
504 Remove s_fdimf-vis3, s_fdim-vis3.
505 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
506 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
513 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
514 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
515
516 2016-08-02 David S. Miller <davem@davemloft.net>
517
518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
519 (__nearbyint_vis3): Don't check for sNaN before float register is
520 loaded with the incoming argument.
521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
522 (__nearbyintf_vis3): Likewise.
523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
524 Likewise.
525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
526 Likewise.
527
528 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
529
530 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
531 by beq instructions jumping to the end of the function.
532 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
533 clobber list. Use "i" constraint instead of "X".
534 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
535 of "X".
536
537 2016-08-04 Carlos O'Donell <carlos@redhat.com>
538
539 * po/de.po: Update from Translation Project.
540 * po/fi.po: Likewise.
541 * po/sv.po: Likewise.
542
543 2016-08-02 Florian Weimer <fweimer@redhat.com>
544
545 [BZ #20370]
546 * malloc/arena.c (get_free_list): Update comment. Assert that
547 arenas on the free list have no attached threads.
548 (remove_from_free_list): New function.
549 (reused_arena): Call it.
550
551 2016-08-04 Florian Weimer <fweimer@redhat.com>
552
553 Use sysdep.o from libc.a in static libraries.
554 * sysdeps/unix/sysv/linux/i386/Makefile
555 (libpthread-shared-only-routines): Add sysdep.
556 (librt-shared-only-routines): Likewise.
557
558 2016-08-01 Carlos O'Donell <carlos@redhat.com>
559
560 * version.h (RELEASE): Set to "stable"
561 (VERSION): Set to 2.24.
562 * include/features.h (__GLIBC_MINOR__): Set to 24.
563
564 * NEWS: Add 2.24 fixed bugs.
565 * po/libc.pot: Regenerate.
566
567 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
568
569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
570 [$(subdir) = math] (libm-sysdep_routines): Remove.
571 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
572 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
573 s_truncf-vis3, s_trunc-vis3.
574 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
576 file.
577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
602 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
603 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
604 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
605 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
606 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
607 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
608 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
610 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
611 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
612 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
613 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
614 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
615 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
616 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
617 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
618 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
619 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
620
621 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
622
623 [BZ #20384]
624 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
625 test-double-libmvec-sincos-avx-main.o,
626 test-double-libmvec-sincos-avx2-main.o,
627 test-double-libmvec-sincos-main.o,
628 test-float-libmvec-sincosf-avx-main.o,
629 test-float-libmvec-sincosf-avx2-main.o and
630 test-float-libmvec-sincosf-main.o.
631 test-float-libmvec-sincosf-avx512-main.o.
632 ($(objpfx)test-double-libmvec-sincos): Also link with
633 $(objpfx)test-double-libmvec-sincos-main.o.
634 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
635 $(objpfx)test-double-libmvec-sincos-avx-main.o.
636 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
637 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
638 ($(objpfx)test-float-libmvec-sincosf): Also link with
639 $(objpfx)test-float-libmvec-sincosf-main.o.
640 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
641 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
642 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
643 test-double-libmvec-sincos-avx512-main.o and
644 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
645 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
646 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
647 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
648 (CFLAGS-test-double-libmvec-sincos.c): Removed.
649 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
650 (CFLAGS-test-double-libmvec-sincos-main.c): New.
651 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
652 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
653 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
654 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
655 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
656 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
657 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
658 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
659 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
660 -DREQUIRE_AVX2.
661 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
662 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
663 -DREQUIRE_AVX512F.
664 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
665 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
666 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
667 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
668 file.
669 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
670 Likewise.
671 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
672 Likewise.
673 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
674 Likewise.
675 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
676 Likewise.
677 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
678 Likewise.
679 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
680 Likewise.
681 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
682 Likewise.
683
684 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
685
686 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
687
688 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
689
690 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
691 and typo in a comment about AT_HWCAP entry.
692
693 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
694
695 * sysdeps/aarch64/libm-test-ulps: Updated.
696
697 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
698
699 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
700 of r13 as it is not restored in mvcle case.
701
702 2016-07-19 Mike Frysinger <vapier@gentoo.org>
703
704 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
705 Rename "ret" to "__ret".
706 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
707 inline_syscall5, inline_syscall6): Likewise.
708
709 2016-07-19 Will Newton <will.newton@gmail.com>
710
711 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
712 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
713 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
714 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
715 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
716
717 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
718
719 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
720 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
721 -mfpmath=387 with $(rtld-CFLAGS).
722 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
723 $(rtld-CFLAGS).
724
725 2016-07-18 Ross Burton <ross.burton@intel.com>
726 Khem Raj <raj.khem@gmail.com>
727
728 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
729 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
730 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
731 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
732 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
733 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
734 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
735 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
736 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
737 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
738 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
739 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
740 R_METAG_TLS_DTPOFF): New.
741
742 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
743 Matt Clay <mclay@lycos.com>
744
745 [BZ #20357]
746 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
747 to call __mpsin/__mpcos and to negate values.
748 * math/auto-libm-test-in: Add test.
749 * math/auto-libm-test-out: Regenerate.
750
751 2016-07-18 Zack Weinberg <zackw@panix.com>
752
753 * grp/Makefile: Don't install the internal header grp-merge.h.
754
755 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
756
757 * sysdeps/aarch64/libm-test-ulps: Regenerated.
758
759 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
760
761 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
762
763 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
764
765 [BZ #15368]
766 * sysdeps/unix/sysv/linux/nptl-signals.h
767 (__nptl_clear_internal_signals): New function.
768 (__libc_signal_block_all): Likewise.
769 (__libc_signal_block_app): Likewise.
770 (__libc_signal_restore_set): Likewise.
771 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
772 implementation.
773 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
774 the cached pid/tid value in pthread structure.
775
776 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
777
778 [BZ #20347]
779 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
780
781 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
782
783 [BZ #20348]
784 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
785 preadv64, pwrite64 and pwritev64.
786
787 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
788
789 [BZ #20350]
790 * posix/tst-preadwrite.c: Renamed to ...
791 * posix/tst-preadwrite-common.c: This.
792 (PREAD): Removed.
793 (PWRITE): Likewise.
794 (STRINGIFY): Likewise.
795 (STRINGIFY2): Likewise.
796 (do_prepare): Make it static and remove function arguments.
797 (do_test): Likewise.
798 (PREPARE): Updated.
799 (TEST_FUNCTION): New.
800 (name): Make it static.
801 (fd): Likewise.
802 (do_prepare): Use create_temp_file.
803 (do_test): Renamed to ...
804 (do_test_with_offset): This. Make it static and accept offset.
805 Properly check return value of PWRITE and PREAD. Return bytes
806 read. Don't close fd nor unlink name.
807 * posix/tst-preadwrite.c: Rewrite.
808 * posix/tst-preadwrite64.c: Likewise.
809
810 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
811
812 [BZ #20309]
813 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
814 -mtls-dialect=gnu2 works.
815 * configure: Regenerated.
816 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
817 (tests): Add tst-gnu2-tls1.
818 (modules-names): Add tst-gnu2-tls1mod.
819 ($(objpfx)tst-gnu2-tls1): New.
820 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
821 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
822 * elf/tst-gnu2-tls1.c: New file.
823 * elf/tst-gnu2-tls1mod.c: Likewise.
824 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
825 bytes for push in the PLT entry to align the stack.
826
827 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
828
829 [BZ #20349]
830 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
831
832 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
833
834 [BZ #18707]
835 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
836 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
837
838 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
839
840 * sysdeps/unix/sysv/linux/sysdep.h
841 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
842 guards.
843 * misc/tst-preadvwritev-common.c: New file.
844 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
845 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
846 a check for files larger than 2GB.
847
848 * sysdeps/unix/sysv/linux/mips/kernel-features.h
849 (__ASSUME_OFF_DIFF_OFF64): Remove define.
850 * sysdeps/unix/sysv/linux/pread.c
851 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
852 __OFF_T_MATCHES_OFF64_T.
853 * sysdeps/unix/sysv/linux/pread64.c
854 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
855 * sysdeps/unix/sysv/linux/preadv.c
856 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
857 * sysdeps/unix/sysv/linux/preadv64.c
858 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
859 * sysdeps/unix/sysv/linux/pwrite.c
860 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
861 * sysdeps/unix/sysv/linux/pwrite64.c
862 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
863 * sysdeps/unix/sysv/linux/pwritev.c
864 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
865 * sysdeps/unix/sysv/linux/pwritev64.c
866 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
867
868 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
869
870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
871 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
872
873 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
874
875 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
876
877 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
878
879 [BZ #20240]
880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
881 (CFLAGS-s_modf-ppc32.c): New variable.
882 (CFLAGS-s_modff-ppc32.c): Likewise.
883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
884 (CFLAGS-s_modf-ppc64.c): Likewise.
885 (CFLAGS-s_modff-ppc64.c): Likewise.
886
887 2016-07-07 Andreas Schwab <schwab@suse.de>
888
889 [BZ #20263]
890 * nptl/tst-robust10.c: New test.
891 * nptl/Makefile (tests): Add tst-robust10.
892
893 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
894
895 [BZ #20263]
896 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
897
898 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
899
900 * sysdeps/s390/linkmap.h (struct link_map_machine):
901 Remove member gotplt and add member jmprel.
902 * sysdeps/s390/s390-32/dl-machine.h
903 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
904 instead of gotplt with &got[3].
905 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
906 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
907
908 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
909
910 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
911
912 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
913
914 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
915 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
916 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
917 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
918 * libio/vtables.c (_IO_vtable_check)
919 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
920 * libio/libioP.h (IO_set_accept_foreign_vtables)
921 [!PTR_MANGLE]: Do not call PTR_MANGLE.
922
923 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
924
925 [BZ #20314]
926 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
927 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
928 $(common-objpfx)cmath.
929 ($(common-objpfx)cstdlib): New target.
930 ($(common-objpfx)cmath): Likewise.
931
932 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
933
934 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
935
936 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
937
938 [BZ #20327]
939 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
940 are not part of the string.
941
942 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
943
944 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
945 * nptl/tst-cancel4-common.h (fifoname): New variable.
946 (fifofd): Likewise.
947 (cl_fifo): New function.
948 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
949 SIGINT.
950 (tf_open): Add early cancel test.
951
952 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
953
954 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
955
956 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
957
958 * sysdeps/generic/ldsodefs.h
959 (dl_symbol_visibility_binds_local_p): New inline function.
960 * elf/dl-addr.c (determine_info): Treat hidden and internal
961 symbols as local.
962 * elf/dl-lookup.c (do_lookup_x): Likewise.
963 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
964
965 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
966
967 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
968 invalid exception for a sNaN input.
969 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
970 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
971 (__nearbyint_vis3): Likewise
972 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
973 (__nearbyintf_vis3): Likewise
974 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
975 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
976 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
977 Likewise.
978 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
979 Likewise.
980
981 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
982
983 [BZ #20139]
984 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
985 (HAVE_AVX512DQ_ASM_SUPPORT): This.
986 * sysdeps/x86_64/configure.ac: Require assembler from binutils
987 2.24 or above.
988 (HAVE_AVX512_ASM_SUPPORT): Removed.
989 (HAVE_AVX512DQ_ASM_SUPPORT): New.
990 * sysdeps/x86_64/configure: Regenerated.
991 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
992 check unconditional.
993 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
994 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
995 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
996 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
997 Likewise.
998 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
999 Likewise.
1000 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1001 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1002 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1003 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1004 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1005 Likewise.
1006 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1007 Likewise.
1008 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1009 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1010 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1011 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1012 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1013 Likewise.
1014 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1015 Likewise.
1016 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1017 Likewise.
1018 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1019 Likewise.
1020 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1021 Likewise.
1022 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1023 Likewise.
1024 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1025 Likewise.
1026 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1027 Likewise.
1028 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1029 Likewise.
1030 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1031 Likewise.
1032 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1033 Likewise.
1034
1035 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
1036
1037 [BZ #20024]
1038 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1039 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1040 of this implementation of vector function.
1041 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1042 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1043 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1044 Likewise.
1045 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1046 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1047 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1048 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1049 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1050 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1051 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1052 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1053 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1054 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1055 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1056 for testing vector sincos with fixed ABI.
1057 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1058 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1059 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1060 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1061 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1062 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1063 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1064 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1065 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1066 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1067 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1068 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1069 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1070 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1071 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1072 * sysdeps/x86_64/fpu/Makefile: Added new tests.
1073
1074 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
1075
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1077
1078 2016-06-30 Anton Blanchard <anton@samba.org>
1079
1080 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1081 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1082 s_sinf-ppc64.
1083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1086 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1087
1088 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1089
1090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1092 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1093 e_expf-ppc64.
1094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1096 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1097 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1098
1099 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
1100
1101 [BZ #20277]
1102 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1103 when SHARED is defined.
1104
1105 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1108 (index_arch_Prefer_ERMS): Likewise.
1109 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1110 __memcpy_erms for Prefer_ERMS.
1111 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1112 (__memmove_erms): Enabled for libc.a.
1113 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1114 __memmove_erms or Prefer_ERMS.
1115 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1116 __mempcpy_erms for Prefer_ERMS.
1117 * sysdeps/x86_64/multiarch/memset.S (memset): Return
1118 __memset_erms for Prefer_ERMS.
1119
1120 2016-06-30 Andreas Schwab <schwab@suse.de>
1121
1122 [BZ #20262]
1123 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1124 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
1125 of memory.
1126
1127 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 [BZ #18645]
1130 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1131 (test-extras): Add tst-cleanupx4aux.
1132 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
1133 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1134 tst-cleanupx4aux.o.
1135 * nptl/tst-cleanupx4aux.c: New file.
1136
1137 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
1138
1139 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1140
1141 2016-06-29 Andreas Schwab <schwab@suse.de>
1142
1143 [BZ #20260]
1144 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1145 address before the beginning of the string as an integer to avoid
1146 array-bounds warning.
1147
1148 2016-06-28 Richard Henderson <rth@redhat.com>
1149
1150 * elf/elf.h (EM_BPF): New.
1151 (EM_NUM): Update.
1152 (R_BPF_NONE, R_BPF_MAP_FD): New.
1153
1154 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1155 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1156 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1157 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1158 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1159 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1160 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1161 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1162 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1163 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1164 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1165 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1166 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1167 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1168 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1169 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1170 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1171 (EM_NUM): Update.
1172
1173 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
1174
1175 [BZ #18960]
1176 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1177 Set _nl_current_LC_CATEGORY_used to two instead of one.
1178
1179 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
1180
1181 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1182 (do_test): ... this.
1183 (TEST_FUNCTION): New macro.
1184 Include test-skeleton.c.
1185 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1186 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1187
1188 2016-06-27 Joseph Myers <joseph@codesourcery.com>
1189
1190 [BZ #15479]
1191 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1192 floating-point environment rather than just control word.
1193 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1194 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1195 floating-point environment, with "invalid" exceptions merged in,
1196 rather than just control word.
1197 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1198 * math/libm-test.inc (trunc_test_data): Do not allow spurious
1199 "inexact" exceptions.
1200
1201 [BZ #15479]
1202 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1203 floating-point environment rather than just control word.
1204 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1205 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1206 floating-point environment, with "invalid" exceptions merged in,
1207 rather than just control word.
1208 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1209 * math/libm-test.inc (floor_test_data): Do not allow spurious
1210 "inexact" exceptions.
1211
1212 [BZ #15479]
1213 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1214 floating-point environment rather than just control word.
1215 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1216 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1217 floating-point environment, with "invalid" exceptions merged in,
1218 rather than just control word.
1219 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1220 * math/libm-test.inc (ceil_test_data): Do not allow spurious
1221 "inexact" exceptions.
1222
1223 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
1224
1225 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1226 __libc_vfork.
1227 (__vfork) [IS_IN (libc)]: Remove alias.
1228 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1229 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1230 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1231
1232 2016-06-24 Torvald Riegel <triegel@redhat.com>
1233
1234 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1235 of atomic_compare_and_exchange_bool_rel.
1236 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1237 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1238 catomic_compare_and_exchange_bool_rel): Remove.
1239 * sysdeps/aarch64/atomic-machine.h
1240 (atomic_compare_and_exchange_bool_rel): Likewise.
1241 * sysdeps/alpha/atomic-machine.h
1242 (atomic_compare_and_exchange_bool_rel): Likewise.
1243 * sysdeps/arm/atomic-machine.h
1244 (atomic_compare_and_exchange_bool_rel): Likewise.
1245 * sysdeps/mips/atomic-machine.h
1246 (atomic_compare_and_exchange_bool_rel): Likewise.
1247 * sysdeps/microblaze/atomic-machine.h
1248 ( __arch_compare_and_exchange_bool_8_rel,
1249 __arch_compare_and_exchange_bool_16_rel): Likewise.
1250 * sysdeps/powerpc/atomic-machine.h
1251 ( __arch_compare_and_exchange_bool_8_rel,
1252 __arch_compare_and_exchange_bool_16_rel): Likewise.
1253 * sysdeps/powerpc/powerpc32/atomic-machine.h
1254 ( __arch_compare_and_exchange_bool_32_rel,
1255 __arch_compare_and_exchange_bool_64_rel): Likewise.
1256 * sysdeps/powerpc/powerpc64/atomic-machine.h
1257 ( __arch_compare_and_exchange_bool_32_rel,
1258 __arch_compare_and_exchange_bool_64_rel): Likewise.
1259 * sysdeps/tile/atomic-machine.h
1260 (atomic_compare_and_exchange_bool_rel): Likewise.
1261
1262 2016-06-23 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #20296]
1265 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1266 when either argument is a NaN.
1267 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1268 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1269
1270 * math/libm-test.inc (snan_value_ld): New macro.
1271 (isgreater_test_data): Add sNaN tests.
1272 (isgreaterequal_test_data): Likewise.
1273 (isless_test_data): Likewise.
1274 (islessequal_test_data): Likewise.
1275 (islessgreater_test_data): Likewise.
1276 (isunordered_test_data): Likewise.
1277 (nextafter_test_data): Likewise.
1278 (nexttoward_test_data): Likewise.
1279 (remainder_test_data): Likewise.
1280 (remquo_test_data): Likewise.
1281 (significand_test_data): Likewise.
1282 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1283
1284 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
1285
1286 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1287 environment macros are defined.
1288 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1289
1290 2016-06-23 Florian Weimer <fweimer@redhat.com>
1291
1292 [BZ #20191]
1293 Implement vtable verification in libio.
1294 * Makerules (shlib.lds): Place __libc_IO_vtables section.
1295 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1296 * debug/vdprintf_chk.c (__vdprintf_chk): Call
1297 _IO_new_file_init_internal instead of _IO_file_init.
1298 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1299 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1300 * libio/Makefile (routines): Add vtables.
1301 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1302 (_IO_init): Remove, not for internal use.
1303 (_IO_init_internal): Declare, internal replacement for _IO_init.
1304 (_IO_file_init): Remove, not for internal use.
1305 (_IO_new_file_init): Remove, not for internal use.
1306 (_IO_new_file_init_internal): Declare, internal replacement for
1307 _IO_new_file_init.
1308 (_IO_old_file_init): Remove, not for internal use.
1309 (_IO_old_file_init_internal): Declare, internal replacement for
1310 _IO_old_file_init.
1311 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1312 internal use.
1313 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1314 Declare.
1315 (libio_vtable): New macro.
1316 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1317 functions.
1318 * libio/fileops.c (_IO_new_file_init_internal): Rename from
1319 _IO_new_file_init.
1320 (_IO_new_file_init): New externally visible wrapper which disables
1321 vtable verification.
1322 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1323 Define as vtables.
1324 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1325 (_IO_init): New externally visible wrapper which disables
1326 vtable verification.
1327 * libio/iofdopen.c (_IO_new_fdopen): Call
1328 _IO_new_file_init_internal instead of _IO_file_init. Adjust
1329 comment.
1330 * libio/iofopen.c (__fopen_internal): Call
1331 _IO_new_file_init_internal instead of _IO_file_init.
1332 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1333 Define as vtables.
1334 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1335 _IO_new_file_init_internal instead of _IO_file_init.
1336 * libio/iopopen.c (_IO_new_popen): Likewise.
1337 (_IO_proc_jumps): Define as vtable.
1338 * libio/iovdprintf.c (_IO_vdprintf): Call
1339 _IO_new_file_init_internal instead of _IO_file_init.
1340 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1341 (__open_memstream): Call _IO_init_internal instead of _IO_init.
1342 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1343 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1344 _IO_old_file_init.
1345 (_IO_old_file_init): New externally visible wrapper which disables
1346 vtable verification.
1347 (_IO_old_file_jumps): Define as vtable.
1348 * libio/oldiofdopen.c (_IO_old_fdopen): Call
1349 _IO_old_file_init_internal instead of _IO_old_file_init.
1350 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1351 * libio/oldiopopen.c (_IO_old_popen): Likewise.
1352 (_IO_old_proc_jumps): Define as vtable.
1353 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1354 Define as vtables.
1355 * libio/vtables.c: New file.
1356 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1357 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1358 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1359 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1360 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1361 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1362 instead of _IO_init.
1363
1364 2016-06-23 Florian Weimer <fweimer@redhat.com>
1365
1366 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1367
1368 2016-06-23 Florian Weimer <fweimer@redhat.com>
1369
1370 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1371 potentially unused.
1372
1373 2016-06-22 Florian Weimer <fweimer@redhat.com>
1374
1375 * test-skeleton.c (write_message): New function.
1376 * malloc/tst-mallocfork2.c (write_message): Remove.
1377 * debug/tst-longjmp_chk2.c (write_indented): New function.
1378 (write_message): Remove.
1379 (stackoverflow_handler): Call write_indented.
1380
1381 2016-06-22 Joseph Myers <joseph@codesourcery.com>
1382
1383 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1384 "inexact" exceptions after fnstenv.
1385 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1386 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1387 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1388
1389 2015-06-22 Zack Weinberg <zackw@panix.com>
1390
1391 * sysdeps/generic/bits/hwcap.h: Moved to ...
1392 * bits/hwcap.h: Here.
1393
1394 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
1395
1396 * sysdeps/aarch64/memcpy.S (memcpy):
1397 Further tuning for performance.
1398
1399 2016-06-21 Florian Weimer <fweimer@redhat.com>
1400
1401 [BZ #20284]
1402 * malloc/arena.c (reused_arena): Do not return NULL if we start
1403 out with a non-corrupted arena.
1404
1405 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1406
1407 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1408 * misc/tst-preadvwritev.c: New file.
1409 * misc/tst-preadvwritev64.c: Likewise.
1410 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1411 usage.
1412 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1413 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1414 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1415 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1416
1417 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
1418
1419 [BZ #19654]
1420 * sysdeps/x86_64/fpu/Makefile: Added new tests.
1421 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1422 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1423 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1424 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1425 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1426 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1427 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1428 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1429 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1430 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1431 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1432 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1433 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1434 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1435 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1436 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1437 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1438 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1439 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1440 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1441 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1442 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1443 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
1444 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
1445 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
1446
1447 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1448
1449 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
1450 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
1451
1452 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
1453
1454 * sysdeps/aarch64/memcpy.S (memcpy):
1455 Rewrite of optimized memcpy and memmove.
1456 * sysdeps/aarch64/memmove.S (memmove): Remove
1457 memmove code (merged into memcpy.S).
1458
1459 2016-06-20 Florian Weimer <fweimer@redhat.com>
1460
1461 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
1462 * sysdeps/generic/dl-dtv.h: New file.
1463 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1464 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
1465 (dtv_t): Remove.
1466 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1467 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
1468 (dtv_t): Remove.
1469 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1470 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
1471 (dtv_t): Remove.
1472 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1473 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
1474 (dtv_t): Remove.
1475 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1476 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
1477 (dtv_t): Remove.
1478 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1479 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
1480 (dtv_t): Remove.
1481 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1482 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
1483 (dtv_t): Remove.
1484 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
1485 (dtv_t): Remove.
1486 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1487 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
1488 (dtv_t): Remove.
1489 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1490 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
1491 (dtv_t): Remove.
1492 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1493 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
1494 (dtv_t): Remove.
1495 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1496 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
1497 (dtv_t): Remove.
1498 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1499 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
1500 (dtv_t): Remove.
1501 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1502 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
1503 (dtv_t): Remove.
1504 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1505 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
1506 (dtv_t): Remove.
1507 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
1508 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
1509 (dtv_t): Remove.
1510
1511 2016-06-20 Florian Weimer <fweimer@redhat.com>
1512
1513 Revert symbol poisoning of __malloc_initialize_hook.
1514 * include/stdc-predef.h (__malloc_initialize_hook): Remove
1515 poisoning.
1516 * malloc/Makefile: Remove un-poisoning.
1517 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
1518 instead of old__malloc_initialize_hook.
1519 * malloc/malloc-hooks.h: Likewise.
1520 * malloc/malloc.c: Likewise.
1521 * malloc/mcheck-init.c: Likewise.
1522
1523 2016-06-19 Carlos O'Donell <carlos@redhat.com>
1524
1525 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
1526
1527 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
1528
1529 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
1530 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
1531 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1532 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1533
1534 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1535
1536 * NEWS: Mention addition of nextup and nextdown.
1537 * manual/arith.texi: Document nextup and nextdown.
1538 * manual/libm-err-tab.pl: Add nextup and nextdown.
1539 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
1540 * math/Versions (libm): Add GLIBC_2.24.
1541 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
1542 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
1543 Add new test.
1544 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
1545 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
1546 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
1547 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
1548 (nextup_test_data): Likewise.
1549 (nextdown_test_data): Likewise.
1550 * math/s_nextdown.c: New file.
1551 * math/s_nextdownf.c: Likewise.
1552 * math/s_nextdownl.c: Likewise.
1553 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
1554 F(nextup): New function.
1555 F(nextdown): Likewise.
1556 * math/tgmath.h: Add nextup and nextdown.
1557 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
1558 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
1559 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
1561 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
1562 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
1563 Add nextup and nextdown.
1564 (CFLAGS-nldbl-nextup.c): New variable.
1565 (CFLAGS-nldbl-nextdown.c): Likewise.
1566 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
1567 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
1568 * sysdeps/nacl/libm.abilist: Update.
1569 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1570 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1571 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1572 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1573 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1574 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1575 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1577 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1578 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1579 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1580 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1583 Likewise.
1584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
1586 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1587 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1588 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1589 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1590 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
1592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
1593 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1594 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1595 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1597
1598 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1599
1600 * manual/pattern.texi: Fix typos & grammar errors.
1601
1602 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1603
1604 * manual/search.texi: Fix typos & grammar errors.
1605
1606 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1607
1608 * manual/message.texi: Fix typos & grammar errors.
1609
1610 2016-06-16 Mike Frysinger <vapier@gentoo.org>
1611
1612 * manual/contrib.texi: Fix spelling typos.
1613 * manual/crypt.texi: Likewise.
1614 * manual/filesys.texi: Likewise.
1615 * manual/locale.texi: Likewise.
1616 * manual/message.texi: Likewise.
1617 * manual/nss.texi: Likewise.
1618 * manual/string.texi: Likewise.
1619
1620 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1621
1622 * manual/locale.texi: Fix typos & grammar errors.
1623
1624 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1625
1626 * manual/charset.texi: Fix typos & grammar errors.
1627
1628 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1629
1630 * manual/string.texi: Fix typos.
1631
1632 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1633
1634 * manual/ctype.texi: Fix typos.
1635
1636 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
1637
1638 * manual/memory.texi: Fix various typos & grammar errors.
1639
1640 2016-06-14 Joseph Myers <joseph@codesourcery.com>
1641
1642 [BZ #20255]
1643 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
1644 * math/libm-test.inc (fdim_test_data): Add another test.
1645
1646 [BZ #6796]
1647 [BZ #20255]
1648 [BZ #20256]
1649 * math/s_fdim.c: Include <math_private.h>.
1650 (__fdim): Use math_narrow_eval on result.
1651 * math/s_fdimf.c: Include <math_private.h>.
1652 (__fdimf): Use math_narrow_eval on result.
1653 * sysdeps/i386/fpu/s_fdim.S: Remove file.
1654 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
1655 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
1656 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
1657 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
1658 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
1659 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
1660 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
1661 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
1662 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
1663 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
1664 * math/libm-test.inc (fdim_test_data): Expect errno setting on
1665 overflow. Add sNaN tests.
1666
1667 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
1668 fpclassify.
1669 * math/s_fdimf.c (__fdimf): Likewise.
1670 * math/s_fdiml.c (__fdiml): Likewise.
1671
1672 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1673
1674 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1675 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
1676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1677 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1678 ifunc'ed strcasecmp/strncasecmp.
1679 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
1680 [EALIGN]: Removed.
1681 [END]: Likewise.
1682 [__strcasecmp]: Define instead of the above to control symbol name.
1683 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
1684 for __strcasecmp_power8.
1685 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
1686 for __strncasecmp_power8.
1687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
1688 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
1689 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
1690 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
1691 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
1692 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
1693
1694 2016-06-13 Joseph Myers <joseph@codesourcery.com>
1695
1696 [BZ #20252]
1697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
1698 arguments when second argument is a NaN.
1699 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
1700 qNaN tests.
1701
1702 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
1703 (conj_test_data): Likewise.
1704 (copysign_test_data): Likewise.
1705 (creal_test_data): Likewise.
1706 (fma_test_data): Likewise.
1707 (fmod_test_data): Likewise.
1708
1709 [BZ #20250]
1710 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
1711 itself.
1712 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
1713 zero input to itself.
1714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
1715 Likewise.
1716 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
1717 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1719 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
1720 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
1721
1722 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1723
1724 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
1725 * nptl/tst-cancel4-common.c: New file.
1726 * nptl/tst-cancel4-common.h: Likewise.
1727 * nptl/tst-cancel4.c: Move common definitions to
1728 tst-cancel4-common.{c,h} file.
1729 * nptl/tst-cancel4_1.c: New test.
1730 * nptl/tst-cancel4_2.c: New test.
1731
1732 2016-06-13 Florian Weimer <fweimer@redhat.com>
1733
1734 [BZ #20248]
1735 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
1736 (write_message): New function.
1737 (stackoverflow_handler): Call it instead of printf, to avoid
1738 excessive stack usage by printf.
1739 (do_test): Restore SIGSEGV, SIGBUS default handlers.
1740
1741 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1742
1743 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
1744 (prio_inherit_missing): Remove define.
1745 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1746 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
1748 Likewise.
1749 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1750 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1751 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1752 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1753 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1754 (__ASSUME_FUTEX_LOCK_PI): Likewise.
1755
1756 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
1757
1758 [BZ #19670]
1759 [BZ #19672]
1760
1761 * io/test-lfs.c (do_prepare): Use xmalloc.
1762 * io/tst-fcntl.c (do_prepare): Likewise.
1763 * libio/tst-fopenloc.c (do_bz17916): Likewise.
1764 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
1765 * login/tst-utmp.c (do_prepare): Likewise.
1766 * posix/tst-exec.c (do_prepare): Likewise.
1767 * posix/tst-pathconf.c (prepare): Likewise.
1768 * posix/tst-spawn.c (do_prepare): Likewise.
1769 * posix/tst-truncate.c (do_prepare): Likewise.
1770 * rt/tst-aio.c (do_prepare): Likewise.
1771 * rt/tst-aio64.c (do_prepare): Likewise.
1772
1773 2016-06-11 Florian Weimer <fweimer@redhat.com>
1774
1775 [BZ #20237]
1776 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
1777 (get*ent): Set entidx to NULL during initialization. If entidx is
1778 NULL, start iteration from the beginning.
1779
1780 2016-06-11 Florian Weimer <fweimer@redhat.com>
1781
1782 * malloc/malloc.c (musable): Return correct size for dumped fake
1783 mmapped chunk.
1784
1785 2016-06-11 Florian Weimer <fweimer@redhat.com>
1786
1787 [BZ #20222]
1788 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
1789 (_IO_cookie_write): Likewise.
1790 (_IO_cookie_seek): Likewise.
1791 (_IO_cookie_close): Likewise.
1792 (_IO_old_cookie_seek): Likewise.
1793 (set_callbacks): New function.
1794 (_IO_cookie_init): Call set_callbacks to copy callbacks.
1795
1796 2016-06-11 Marko Myllynen <myllynen@redhat.com>
1797
1798 * locale/programs/localedef.c (oldstyle_tables): Remove.
1799 * locale/programs/localedef.h (oldstyle_tables): Likewise.
1800
1801 2016-06-10 Joseph Myers <joseph@codesourcery.com>
1802
1803 [BZ #20240]
1804 * math/Makefile (CFLAGS-s_modf.c): New variable.
1805 (CFLAGS-s_modff.c): Likewise.
1806 (CFLAGS-s_modfl.c): Likewise.
1807 * math/libm-test.inc (modf_test_data): Add sNaN tests.
1808
1809 2016-06-09 Carlos O'Donell <carlos@redhat.com>
1810
1811 [BZ #20215]
1812 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
1813 [!__GNUC_PREREQ (3,2)]: Likewise.
1814
1815 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
1816
1817 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
1818 (msghdr.msg_controllen): Likewise.
1819 (cmsghdr.cmsg_len): Likewise.
1820 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
1821 ptw-oldsendmsg.
1822 (CFLAGS-oldrecvmsg.c): Remove rule.
1823 (CFLAGS-oldsendmsg.c): Likewise.
1824 (CFLAGS-recvmsg.c): Add rule.
1825 (CFLAGS-sendmsg.c): Likewise.
1826 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
1827 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
1828 (CFLAGS-recvmsg.c): Remove rule.
1829 (CFLAGS-sendmsg.c): Likewise.
1830 (CFLAGS-oldrecvmsg.c): Likewise.
1831 (CFLAGS-oldsendmsg.c): Likewise.
1832 (CFLAGS-recvmmsg.c): Likewise.
1833 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
1834 to kernel defined interfaces.
1835 (msghdr.msg_controllen): Likewise.
1836 (cmsghdr.cmsg_len): Likewise.
1837 (msghdr.__glibc_reserved1): Remove member.
1838 (msghdr.__glibc_reserved2): Likewise.
1839 (cmsghdr.__glibc_reserved1): Likewise.
1840 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
1841 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
1842 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
1843 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
1844 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
1845 version.
1846 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1847 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
1848 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1849 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
1850 Remove recvmsg and sendmsg.
1851 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
1852 Likewise.
1853 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
1854 Likewise.
1855 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
1856 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
1857 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
1858 Likewise.
1859 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
1860 Likewise.
1861 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
1862 [libc] (GLIBC_2.24): Likewise.
1863 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
1864 Likewise.
1865 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
1866 Likewise.
1867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
1868 [libc] (GLIBC_2.24): Likewise.
1869 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
1870 Likewise.
1871 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
1872 Likewise.
1873 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
1874 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
1875 Likewise.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
1877 Likewise.
1878 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
1879 Likewise.
1880 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
1881 Likewise.
1882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
1883 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
1884 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
1885 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
1886 version for {recv,send,recm,sendm}msg.
1887 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1888 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1889 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1890 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1891 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1892 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1893 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1894 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1895 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1896 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1898 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1900 Likewise.
1901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1902 Likewise.
1903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1905 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1906 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1907 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1908 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1910 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1913 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1914 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1915 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1916
1917 2016-06-10 Florian Weimer <fweimer@redhat.com>
1918
1919 [BZ #19564]
1920 Remove __malloc_initialize_hook from the API.
1921 * malloc/malloc.h (__malloc_initialize_hook): Remove.
1922 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
1923 #pragma GCC poison.
1924 * malloc/malloc-hooks.h: New file.
1925 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
1926 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
1927 (old__malloc_initialize_hook): Rename from
1928 __malloc_initialize_hook to evade poisoning. Turn into compat
1929 symbol.
1930 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
1931 __malloc_initialize_hook.
1932 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
1933 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
1934 * manual/memory.texi (Hooks for Malloc): Remove
1935 __malloc_initialize_hook. Adjust hook example.
1936
1937 2016-06-09 Joseph Myers <joseph@codesourcery.com>
1938
1939 [BZ #20235]
1940 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
1941 itself.
1942 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1943 * math/libm-test.inc (log2_test_data): Add sNaN tests.
1944
1945 [BZ #20234]
1946 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
1947 infinity or NaN input to itself.
1948
1949 [BZ #20233]
1950 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
1951 to itself.
1952
1953 [BZ #20232]
1954 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
1955 itself.
1956
1957 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * sysdeps/x86_64/start.S (_start): Always indirect branch to
1960 __libc_start_main via GOT.
1961
1962 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
1963
1964 * sysdeps/x86_64/memcopy.h: New file.
1965 * sysdeps/x86_64/wordcopy.c: Likewise.
1966
1967 2016-06-09 Florian Weimer <fweimer@redhat.com>
1968
1969 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
1970 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
1971 <cstdlib>.
1972 (optimization_barrier): New.
1973 (do_test): Use it. Call quick_exit in the global namespace.
1974 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
1975 instead of <cstdlib>, <thread>.
1976 (optimization_barrier): New.
1977 (non_main_thread): Adjust declaration. Call optimization_barrier.
1978 Call quick_exit in the global namespace.
1979 (do_test): Call optimization_barrier. Use pthread_create,
1980 pthread_join instead of std::thread.
1981
1982 2016-06-09 Andreas Schwab <schwab@suse.de>
1983
1984 [BZ #19755]
1985 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
1986 new entries in auto-propagate mode.
1987 * nscd/grpcache.c (cache_addgr): Likewise.
1988
1989 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1990
1991 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
1992 New functions.
1993 (add_temp_file): Use them.
1994
1995 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
1996
1997 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
1998
1999 2016-06-08 Joseph Myers <joseph@codesourcery.com>
2000
2001 [BZ #20229]
2002 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2003 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2004 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2005
2006 [BZ #20228]
2007 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2008 itself.
2009 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2010 * math/libm-test.inc (log10_test_data): Add sNaN tests.
2011
2012 [BZ #20227]
2013 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2014 itself.
2015 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2016 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2017 * math/libm-test.inc (log_test_data): Add sNaN tests.
2018
2019 [BZ #20226]
2020 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2021 itself.
2022 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2023 * math/libm-test.inc (exp_test_data): Add sNaN tests.
2024 (exp10_test_data): Likewise.
2025 (expm1_test_data): Likewise.
2026
2027 [BZ #20225]
2028 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2029 itself.
2030 * math/s_ldexpf.c (__ldexpf): Likewise.
2031 * math/s_ldexpl.c (__ldexpl): Likewise.
2032 * math/w_scalbln.c (__w_scalbln): Likewise.
2033 * math/w_scalblnf.c (__w_scalblnf): Likewise.
2034 * math/w_scalblnl.c (__w_scalblnl): Likewise.
2035 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2036 (scalbln_test_data): Likewise.
2037
2038 [BZ #20224]
2039 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2040 argument to itself.
2041 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2042
2043 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 [BZ #19776]
2046 * sysdeps/x86_64/memcpy.S: Make it dummy.
2047 * sysdeps/x86_64/mempcpy.S: Likewise.
2048 * sysdeps/x86_64/memmove.S: New file.
2049 * sysdeps/x86_64/memmove_chk.S: Likewise.
2050 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2051 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2052 * sysdeps/x86_64/memmove.c: Removed.
2053 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2054 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2055 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2056 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2057 Likewise.
2058 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2059 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2061 memcpy-sse2-unaligned, memmove-avx-unaligned,
2062 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2064 (__libc_ifunc_impl_list): Replace
2065 __memmove_chk_avx512_unaligned_2 with
2066 __memmove_chk_avx512_unaligned. Remove
2067 __memmove_chk_avx_unaligned_2. Replace
2068 __memmove_chk_sse2_unaligned_2 with
2069 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
2070 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
2071 with __memmove_avx512_unaligned. Replace
2072 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2073 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
2074 with __memcpy_chk_avx512_unaligned. Remove
2075 __memcpy_chk_avx_unaligned_2. Replace
2076 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2077 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
2078 Replace __memcpy_avx512_unaligned_2 with
2079 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
2080 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
2081 with __mempcpy_chk_avx512_unaligned. Remove
2082 __mempcpy_chk_avx_unaligned_2. Replace
2083 __mempcpy_chk_sse2_unaligned_2 with
2084 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
2085 Replace __mempcpy_avx512_unaligned_2 with
2086 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
2087 Replace __mempcpy_sse2_unaligned_2 with
2088 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
2089 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2090 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2091 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2092 if processor has ERMS. Default to __memcpy_sse2_unaligned.
2093 (ENTRY): Removed.
2094 (END): Likewise.
2095 (ENTRY_CHK): Likewise.
2096 (libc_hidden_builtin_def): Likewise.
2097 Don't include ../memcpy.S.
2098 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2099 __memcpy_chk_avx512_unaligned_erms and
2100 __memcpy_chk_avx512_unaligned. Use
2101 __memcpy_chk_avx_unaligned_erms and
2102 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2103 Default to __memcpy_chk_sse2_unaligned.
2104 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2105 Change function suffix from unaligned_2 to unaligned.
2106 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2107 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2108 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2109 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
2110 (ENTRY): Removed.
2111 (END): Likewise.
2112 (ENTRY_CHK): Likewise.
2113 (libc_hidden_builtin_def): Likewise.
2114 Don't include ../mempcpy.S.
2115 (mempcpy): New. Add a weak alias.
2116 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2117 __mempcpy_chk_avx512_unaligned_erms and
2118 __mempcpy_chk_avx512_unaligned. Use
2119 __mempcpy_chk_avx_unaligned_erms and
2120 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2121 Default to __mempcpy_chk_sse2_unaligned.
2122
2123 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
2124
2125 [BZ #19881]
2126 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2127 into ...
2128 * sysdeps/x86_64/memset.S: This.
2129 (__bzero): Removed.
2130 (__memset_tail): Likewise.
2131 (__memset_chk): Likewise.
2132 (memset): Likewise.
2133 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2134 defined.
2135 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2136 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2137 (__memset_zero_constant_len_parameter): Check SHARED instead of
2138 PIC.
2139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2140 memset-avx2 and memset-sse2-unaligned-erms.
2141 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2142 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2143 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2144 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2145 (__bzero): Enabled.
2146 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2147 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2148 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
2149 or __memset_avx2_unaligned_erms if processor has ERMS. Support
2150 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2151 (memset): Removed.
2152 (__memset_chk): Likewise.
2153 (MEMSET_SYMBOL): New.
2154 (libc_hidden_builtin_def): Replace __memset_sse2 with
2155 __memset_sse2_unaligned.
2156 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2157 __memset_chk_sse2 and __memset_chk_avx2 with
2158 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2159 Use __memset_chk_sse2_unaligned_erms or
2160 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
2161 __memset_chk_avx512_unaligned_erms and
2162 __memset_chk_avx512_unaligned.
2163
2164 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2165
2166 * math/gen-auto-libm-test.c (fp_format_desc): remove
2167 suffix member.
2168 (output_generic_value): Remove usage of suffix member,
2169 and the resulting unuse of the fp_format argument.
2170 (output_for_one_input_case): Remove unused fp_format
2171 parameter.
2172
2173 * math/auto-libm-test-out: Regenerate.
2174
2175 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2176 usage with TEST_COND_ibm128.
2177 (TEST_COND_flt_32): Remove.
2178 (TEST_COND_dbl_64): Remove.
2179 (TEST_COND_ldbl_96_intel): Remove.
2180 (TEST_COND_ldbl_96_m68k): Remove.
2181 (TEST_COND_ldbl_128): Remove.
2182
2183 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2184
2185 * auto-libm-test-in:
2186 Replace flt-32 usage with binary32.
2187 Replace dbl-64 usage with binary64.
2188 Replace ldbl-intel-96 usage with intel96.
2189 Replace ldbl-m68k-96 usage with m68k96.
2190 Replace ldbl-128ibm usage with ibm128.
2191 Replace ldbl-128 usage with binary128.
2192
2193 * auto-libm-test-out: Regenerate.
2194
2195 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2196
2197 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2198 (parse_ulps): Dynamically generate type name matching
2199 string from all_floats.
2200 (get_ulps): Generate the ulps as an array instead.
2201 (output_ulps): Dynamically compose the type based
2202 on the number of supported formats, and print
2203 the indices as type specific helper macros.
2204
2205 * math/libm-test.inc: Remove comment about CHOOSE.
2206 (ulp_data): Generate the type in libm-test-ulps.h.
2207 (ULP_IDX): New macro.
2208 (find_ulps): Update usage of max_ulp.
2209
2210 * math/test-double-vlen2.h (CHOOSE): Remove.
2211 * math/test-double-vlen4.h (CHOOSE): Likewise.
2212 * math/test-double-vlen8.h (CHOOSE): Likewise.
2213 * math/test-float.c (CHOOSE): Likewise.
2214 * math/test-float-finite.c (CHOOSE): Likewise.
2215 * math/test-double.c (CHOOSE): Likewise.
2216 * math/test-double-finite.c (CHOOSE): Likewise.
2217 * math/test-idouble.c (CHOOSE): Likewise.
2218 * math/test-ifloat.c (CHOOSE): Likewise.
2219 * math/test-ildoubl.c (CHOOSE): Likewise.
2220 * math/test-ldouble-finite.c (CHOOSE): Likewise.
2221 * math/test-ldouble.c (CHOOSE): Likewise.
2222
2223 * math/test-float.h (TEST_FLOAT): Remove.
2224 * math/test-double.h (TEST_DOUBLE): Likewise.
2225 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2226
2227 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2228
2229 * math/gen-libm-test.pl: (apply_lit): New subroutine.
2230 (parse_args): Strip C suffix from floating point literals
2231 typed with 'f' and wrap them with LIT().
2232
2233 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2234 (test_ff_f_data_nexttoward): Rename to
2235 (test_fj_f_data): New struct.
2236 (nexttoward_test_data): Relabel tests as
2237 TEST_fj_f instead of TEST_ff_f.
2238
2239 2016-06-08 Florian Weimer <fweimer@redhat.com>
2240
2241 Emacs bug 23726.
2242 * malloc/malloc.c (dumped_main_arena_start): Update comment.
2243 (__libc_realloc): Correct size computation for dumped fake mmapped
2244 chunks.
2245
2246 2016-06-07 Joseph Myers <joseph@codesourcery.com>
2247
2248 [BZ #20219]
2249 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2250 to itself.
2251 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2252
2253 [BZ #20218]
2254 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2255 to itself.
2256 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2257
2258 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
2259
2260 [BZ #20195]
2261 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2262 check to ...
2263 (init_cpu_features): Here.
2264
2265 2016-06-07 Carlos O'Donell <carlos@redhat.com>
2266
2267 [BZ #20214]
2268 * sysdeps/unix/sysv/linux/bits/in.h
2269 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2270 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2271 Define to 1.
2272 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2273 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2274 Define to 0.
2275 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2276 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2277
2278 2016-06-06 Carlos O'Donell <carlos@redhat.com>
2279
2280 [BZ #20198]
2281 * stdlib/Makefile (tests): Add tst-quick_exit, and
2282 tst-thread-quick_exit.
2283 [ifeq ($(have-cxx-thread_local),yes)]
2284 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2285 (CFLAGS-tst-thread-quick_exit.o): Likewise.
2286 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2287 (LDLIBS-tst-thread-quick_exit): Likewise.
2288 [ifneq ($(have-cxx-thread_local),yes)]
2289 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2290 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2291 If run_dtors is true call __call_tls_dtors.
2292 (exit): Call __run_exit_handlers with run_dtors set to true.
2293 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2294 definition.
2295 * stdlib/quick_exit.c (quick_exit): Remove function.
2296 (__new_quick_exit): New function.
2297 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2298 function.
2299 * stdlib/tst-quick_exit.cc: New file.
2300 * stdlib/tst-thread-quick_exit.cc: New file.
2301 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2302 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2303 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2304 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2305 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2306 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2307 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2308 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2309 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2310 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2311 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2312 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2313 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2314 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2315 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2316 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2321 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2322 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2323 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2325 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2328 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2329 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2330 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2331
2332 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
2333
2334 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2335 a typo in comments.
2336
2337 2016-06-06 Joseph Myers <joseph@codesourcery.com>
2338
2339 [BZ #20213]
2340 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2341 argument to itself.
2342 * math/libm-test.inc (asin_test_data): Add sNaN tests.
2343
2344 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2345
2346 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2347 required flags.
2348 (CFLAGS-pwritev64.c): Likewise.
2349 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2350 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2351 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2352 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2353 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2355 syscall from auto-generation.
2356 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2357 [WORDSIZE == 64] (pwritev64): Remove macro.
2358 [!PWRITEV] (PWRITEV): Likewise.
2359 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2360 [!PWRITEV] (PWRITE): Likewise.
2361 [!PWRITEV] (OFF_T): Likewise.
2362 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2363 (LO_HI_LONG): Remove macro.
2364 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2365 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2366 (PWRITEV): Remove macro.
2367 (PWRITEV_REPLACEMENTE): Likewise.
2368 (PWRITE): Likewise.
2369 (OFF_T): Likewise.
2370 (pwritev64): New function.
2371 * nptl/tst-cancel4.c (tf_writev): Add test.
2372
2373 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2374 required flags.
2375 (CFLAGS-preadv64.c): Likewise.
2376 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2377 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2378 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2379 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2380 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2382 syscall from auto-generation.
2383 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2384 [WORDSIZE == 64] (preadv64): Remove macro.
2385 [!PREADV] (PREADV): Likewise.
2386 [!PREADV] (PREADV_REPLACEMENT): Likewise.
2387 [!PREADV] (PREAD): Likewise.
2388 [!PREADV] (OFF_T): Likewise.
2389 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2390 (LO_HI_LONG): Remove macro.
2391 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2392 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2393 (PREADV): Remove macro.
2394 (PREADV_REPLACEMENTE): Likewise.
2395 (PREAD): Likewise.
2396 (OFF_T): Likewise.
2397 (preadv64): New function.
2398 * nptl/tst-cancel4.c (tf_preadv): Add test.
2399
2400 2016-06-06 Joseph Myers <joseph@codesourcery.com>
2401
2402 [BZ #20212]
2403 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2404 argument to itself.
2405 * math/libm-test.inc (acos_test_data): Add sNaN tests.
2406
2407 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2408
2409 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2410 New symbol defined as libc_hidden_def.
2411 (strcasestr): Became a weak alias to __strcasestr.
2412 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2413 according to multi-arch support. Move __stpncpy hidden
2414 definition from here to...
2415 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
2416 symbol stpncpy.
2417 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2418 libc_hidden_builtin_def.
2419 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2420 memset symbol to use when multi-arch support is available.
2421
2422 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
2423
2424 * dlfcn/tst-rec-dlopen.c: Include string.h.
2425
2426 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2427
2428 * manual/install.texi: Remove mention of --without-tls
2429 * INSTALL: Regenerate.
2430
2431 2016-06-05 Florian Weimer <fweimer@redhat.com>
2432
2433 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2434 Remove.
2435 (call_function, interposed_malloc_called): New variables.
2436 (malloc): New function.
2437 (do_test): Do not change malloc hooks. Initialize malloc. Set
2438 and clear call_function as needed.
2439
2440 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
2441
2442 * include/wchar.h (__wmemset): Use __typeof.
2443
2444 2016-06-03 Carlos O'Donell <carlos@redhat.com>
2445
2446 * include/wchar.h (__wmemset): Declare function without typeof.
2447
2448 2016-06-03 Joseph Myers <joseph@codesourcery.com>
2449
2450 [BZ #20205]
2451 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
2452 exponent when incrementing negative subnormal with low mantissa
2453 word zero.
2454 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2455 Add another test.
2456
2457 2016-06-03 Florian Weimer <fweimer@redhat.com>
2458
2459 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
2460 __wmemset instead of wmemset.
2461
2462 2016-06-02 Carlos O'Donell <carlos@redhat.com>
2463
2464 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
2465 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
2466 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
2467 __USE_KERNEL_IPV6_DEFS to 0.
2468 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
2469 Update comment.
2470
2471 2016-06-01 Florian Weimer <fweimer@redhat.com>
2472
2473 [BZ #19861]
2474 Do not use IFUNC resolver with potentially unrelocated symbol.
2475 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
2476 (DEFINE_FORK): Remove macro and inline definition.
2477 (fork_alias): Renamed from fork_ifunc.
2478 (__fork_alias): Renamed from __fork_ifunc.
2479
2480 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
2481
2482 [BZ 19653]
2483 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
2484 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
2485
2486 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2487
2488 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
2489 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
2490 i386-linux-gnu).
2491 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
2492 Set to no.
2493 * sysdeps/mach/hurd/configure: Refresh.
2494
2495 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2496
2497 [BZ #20178]
2498 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
2499 on failure instead of exit.
2500
2501 2016-05-30 Roland McGrath <roland@hack.frob.com>
2502
2503 [BZ #3629]
2504 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
2505 of POSIX.1-2008.
2506
2507 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
2508
2509 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
2510 Use PLT entry for calling _hurd_self_sigstate.
2511
2512 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
2513
2514 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
2515 available logical processors with SMT level type sharing L2
2516 cache for Intel processors.
2517
2518 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2519
2520 [BZ #20160]
2521 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
2522 argument to itself before returning the result.
2523 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2524 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
2525 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
2526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
2527 Likewise.
2528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
2529 Likewise.
2530 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
2531 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
2532 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
2533 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
2534 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
2535 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
2536
2537 [BZ #20160]
2538 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
2539 argument to itself before returning the result.
2540 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
2541 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
2542 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
2543 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
2544 Likewise.
2545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2546 Likewise.
2547 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
2548 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
2549 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
2550 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
2551 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
2552 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
2553
2554 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2555
2556 * libm-test.inc: Replace usage of M_El with
2557 (lit_e): New macro.
2558
2559 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2560
2561 * libm-test.inc: Replace usage of M_PI_4l with
2562 (lit_pi_4_d): New macro.
2563
2564 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2565
2566 * libm-test.inc: Replace usage of M_PIl with
2567 (lit_pi): New macro.
2568
2569 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2570
2571 * libm-test.inc: Replace usage of M_PI2l with
2572 (lit_pi_2_d): New macro.
2573
2574 * math/test-double.h (LITM): New macro.
2575 * math/test-float.h (LITM): Likewise.
2576 * math/test-ldouble.h (LITM): Likewise.
2577
2578 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2579
2580 * libm-test.inc (M_PI_34l): Rename to
2581 (lit_pi_3_m_4_d): New Macro.
2582 (M_PI_34_LOG10El): Rename to
2583 (lit_pi_3_m_4_ln10_m_d): New Macro.
2584 (M_PI2_LOG10El): Rename to
2585 (lit_pi_2_ln10_m_d): New Macro.
2586 (M_PI4_LOG10El): Rename to
2587 (lit_pi_4_ln10_m_d): New Macro.
2588 (M_PI_LOG10El): Rename to
2589 (lit_pi_ln10_d): New Macro.
2590
2591 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2592
2593 [BZ #20157]
2594 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
2595 determine whether to negate low half if [_ARCH_PPCGR], and integer
2596 comparison otherwise.
2597 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
2598 determine whether to negate low half.
2599
2600 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
2601 (NO_TEST_INLINE_DOUBLE): Likewise.
2602 (TEST_COND_x86_64): Likewise.
2603 (TEST_COND_x86): Likewise.
2604 (M_PI_6l): Likewise.
2605
2606 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2607
2608 * math/libm-test.inc:
2609 (TEST_FLOAT): Change usage to TEST_COND_binary32.
2610 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
2611 (TEST_LDOUBLE): Update usage to evaluate as true if
2612 the guarded tests match the property being tested.
2613 (LDBL_MAX_EXP): Change to MAX_EXP.
2614 (LDBL_MIN_EXP): Change to MIN_EXP.
2615 (LDBL_MANT_DIG): Change to MANT_DIG, except for
2616 nexttoward tests.
2617
2618 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2619
2620 * math/libm-test.inc:
2621 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
2622 (TYPE_MIN): Likewise.
2623 (TYPE_TRUE_MIN): Likewise.
2624 (TYPE_MAX): Likewise.
2625 (MIN_EXP): Likewise.
2626 (MAX_EXP): Likewise.
2627 (MANT_DIG): Likewise.
2628
2629 (FSTR_MAX): New macro.
2630 (__CONCATX): Likewise.
2631 (QTYPE_STR): Likewise.
2632 (TEST_COND_binary32): Likewise.
2633 (TEST_COND_binary64): Likewise.
2634 (TEST_COND_binary128): Likewise.
2635 (TEST_COND_ibm128): Likewise.
2636 (TEST_COND_intel96): Likewise.
2637 (TEST_COND_m68k96): Likewise.
2638
2639 (TEST_COND_flt_32): Redefine as equivalent format test macro.
2640 (TEST_COND_dbl_64): Likewise.
2641 (TEST_COND_ldbl_96_intel): Likewise.
2642 (TEST_COND_ldbl_96_m68k): Likewise.
2643 (TEST_COND_ldbl_128): Likewise.
2644 (TEST_COND_ldbl_128ibm): Likewise.
2645
2646 (plus_zero): Redefine using LIT macro.
2647 (minus_zero): Likewise.
2648 (plus_infty): Redefine as (INF).
2649 (minux_infty): Redefine as (-INF).
2650 (max_value): Redefine as TYPE_MAX.
2651 (min_value): Redefine as TYPE_MIN.
2652 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
2653
2654 (print_float): Refactor to use snprintf to convert FLOAT values
2655 to string. This brings it closer to dropin replacement of strtof
2656 for the TS 18661 defined types.
2657 (update_stats): Likewise.
2658 (print_complex_function_ulps): Likewise.
2659 (print_max_error): Likewise.
2660 (print_complex_max_error): Likewise.
2661 (check_float_internal): Likewise.
2662
2663 * math/test-float.h (PREFIX): New macro.
2664 (LIT): Likewise.
2665 (TYPE_STR): Likewise.
2666 (FTOSTR): Likewise.
2667
2668 * math/test-double.h (PREFIX): New macro.
2669 (LIT): Likewise.
2670 (TYPE_STR): Likewise.
2671 (FTOSTR): Likewise.
2672
2673 * math/test-ldouble.h (PREFIX): New macro.
2674 (LIT): Likewise.
2675 (TYPE_STR): Likewise.
2676 (FTOSTR): Likewise.
2677
2678 2016-05-27 Joseph Myers <joseph@codesourcery.com>
2679
2680 [BZ #20156]
2681 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
2682 to itself when zero or not finite.
2683 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
2684 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2685 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
2686 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
2687
2688 2016-05-26 Joseph Myers <joseph@codesourcery.com>
2689
2690 [BZ #20153]
2691 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
2692 x * x + x for infinities and NaNs.
2693
2694 [BZ #20151]
2695 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
2696 argument to itself before returning result.
2697 (__ieee754_y0l): Likewise.
2698 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2699 (__ieee754_y1l).
2700
2701 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
2702 (atan_test_data): Likewise.
2703 (ceil_test_data): Likewise.
2704 (cos_test_data): Likewise.
2705 (cosh_test_data): Likewise.
2706 (erf_test_data): Likewise.
2707 (exp2_test_data): Likewise.
2708 (fabs_test_data): Likewise.
2709 (floor_test_data): Likewise.
2710 (ilogb_test_data): Likewise.
2711 (j0_test_data): Likewise.
2712 (j1_test_data): Likewise.
2713 (jn_test_data): Likewise.
2714 (lgamma_test_data): Likewise.
2715 (lrint_test_data): Likewise.
2716 (llrint_test_data): Likewise.
2717 (logb_test_data): Likewise.
2718 (lround_test_data): Likewise.
2719 (llround_test_data): Likewise.
2720 (nearbyint_test_data): Likewise.
2721 (rint_test_data): Likewise.
2722 (round_test_data): Likewise.
2723 (sin_test_data): Likewise.
2724 (sincos_test_data): Likewise.
2725 (sinh_test_data): Likewise.
2726 (sqrt_test_data): Likewise.
2727 (tan_test_data): Likewise.
2728 (tanh_test_data): Likewise.
2729 (tgamma_test_data): Likewise.
2730 (trunc_test_data): Likewise.
2731 (y0_test_data): Likewise.
2732 (y1_test_data): Likewise.
2733 (yn_test_data): Likewise.
2734
2735 * math/libm-test.inc: Update comment about NaN testing.
2736 (TEST_SNAN): New macro.
2737 (snan_value): Likewise.
2738 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
2739 (fpclassify_test_data): Add sNaN tests.
2740 (isfinite_test_data): Likewise.
2741 (isinf_test_data): Likewise.
2742 (isnan_test_data): Likewise.
2743 (isnormal_test_data): Likewise.
2744 (issignaling_test_data): Likewise.
2745 (signbit_test_data): Likewise.
2746 * math/gen-libm-test.pl (%beautify): Add snan_value.
2747 (show_exceptions): Add argument $test_snan.
2748 (parse_args): Handle snan_value as non-finite. Update call to
2749 show_exceptions.
2750 * math/Makefile (libm-test-no-inline-cflags): Add
2751 -fsignaling-nans.
2752
2753 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2754
2755 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
2756 (CFLAGS-oldsendmsg.c): Add rule.
2757 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2758 Correct recvmsg symbol name.
2759 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
2760 Likewise.
2761
2762 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2763
2764 * sysdeps/unix/sysv/linux/Makefile
2765 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
2766 oldsendmmsg.
2767 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
2768 sendmmsg.
2769 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2770 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2771 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2772 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2774 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2777 Likewise.
2778 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2779 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
2780 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2781 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
2782 iovlen and controllen fields to adjust to POSIX specification.
2783 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
2784
2785 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
2786 and change to correct expected type.
2787 (msghdr.msg_controllen): Likewise.
2788 (cmsghdr.cmsg_len): Likewise.
2789 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
2790 expected POSIX assumption about the size.
2791 (msghdr.msg_controllen): Likewise.
2792 (msghdr.__glibc_reserved1): Likewise.
2793 (msghdr.__glibc_reserved2): Likewise.
2794 (cmsghdr.cmsg_len): Likewise.
2795 (cmsghdr.__glibc_reserved1): Likewise.
2796 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
2797 Add ptw-oldrecvmsg and ptw-oldsendmsg.
2798 (CFLAGS-sendmsg.c): Remove rule.
2799 (CFLAGS-recvmsg.c): Likewise.
2800 (CFLAGS-oldsendmsg.c): Add rule.
2801 (CFLAGS-oldrecvmsg.c): Likewise.
2802 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
2803 recvmsg and sendmsg.
2804 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
2805 Likewise.
2806 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
2807 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
2808 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2809 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
2810 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2811 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2812 Likewise.
2813 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2814 Likewise.
2815 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
2816 Likewise.
2817 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
2818 Likewise.
2819 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2820 Likewise.
2821 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
2824 (GLIBC_2.24): Likewise.
2825 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2826 Likewise.
2827 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2828 Likewise.
2829 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2830 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2833 Likewise.
2834 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2835 Likewise.
2836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
2837 (GLIBC_2.24): Likewise.
2838 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
2839 Likewise.
2840 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
2841 Likewise.
2842 * sysdeps/unix/sysv/linux/Makefile
2843 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
2844 (CFLAGS-sendmsg.c): Add rule.
2845 (CFLAGS-recvmsg.c): Likewise.
2846 (CFLAGS-oldsendmsg.c): Likewise.
2847 (CFLAGS-oldrecvmsg.c): Likewise.
2848 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
2849 initialization.
2850 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
2851 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
2852 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
2853 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2854 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
2855 iovlen and controllen fields to adjust to POSIX specification.
2856 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
2857 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
2858 added recvmsg and sendmsg.
2859 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2860 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2861 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2862 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2863 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2864 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2865 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2866 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2867 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2868 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2869 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2870 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2872 Likewise.
2873 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2875 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2876 Likewise.
2877 Likewise.
2878 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2879 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2880 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2881 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2882 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2885 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2887 Likewise.
2888 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2889 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2890
2891 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
2892 from auto-generation.
2893 (sendmsg): Likewise.
2894 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
2895 (sendmsg): Likewise.
2896 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
2897 (sendmsg): Likewise.
2898 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
2899 (sendmsg): Likewise.
2900 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
2901 (sendmsg): Likewise.
2902 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
2903 (sendmsg): Likewise.
2904 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
2905 Likewise.
2906 (sendmsg): Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
2908 (sendmsg): Likewise.
2909 * sysdeps/unix/sysv/linux/i386/kernel-features.h
2910 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2911 Remove.
2912 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2913 Likewise.
2914 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2915 Undefine.
2916 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2917 Likewise.
2918 * sysdeps/unix/sysv/linux/kernel-features.h
2919 (__ASSUME_SENDMSG_SYSCALL): Define.
2920 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2921 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2922 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2923 Remove.
2924 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2925 Likewise.
2926 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2927 Undefine.
2928 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2929 Likewise.
2930 * sysdeps/unix/sysv/linux/s390/kernel-features.h
2931 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2932 Remove.
2933 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2934 Likewise.
2935 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2936 Undefine.
2937 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2938 Likewise.
2939 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2940 (__ASSUME_SENDMSG_SYSCALL): Undefine.
2941 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2943 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2944 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2945 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2946 (__ASSUME_SENDMSG_SYSCALL): Likewise.
2947 (__ASSUME_RECVMSG_SYSCALL): Likewise.
2948
2949 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2950
2951 * stdlib/gen-tst-strtod-round.c: Add backslash to
2952 compile command in comment.
2953 (printfp): Remove the literal suffix, and define an infinite
2954 value as INF to avoid expansion clash with INFINITY.
2955 (round_str): Remove the literal suffix.
2956 (round_for_all): Likewise, remove the now duplicate ldbl-64
2957 entry, and remove some magic constants.
2958
2959 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
2960 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
2961 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
2962 (_CONCAT): New macro.
2963 (CONCAT): Likewise.
2964 (CHOOSE_ld): Likewise.
2965 (CHOOSE_f): Likewise.
2966 (CHOOSE_d): Likewise.
2967 (FTYPE_MEMBER): Likewise.
2968 (BOOL_MEMBER): Likewise.
2969 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
2970 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
2971 (_XNTRY): Likewise.
2972 (XNTRY): Likewise.
2973 (_ENTRY): Likewise.
2974 (ENTRY): Likewise.
2975 (test_exactness): Generate members via macro.
2976 (test_results): Likewise.
2977 (test): Update members.
2978 (TEST): Redefine using new macros.
2979 (INF): New macro.
2980 (fetestmodes): New structure.
2981 (do_test): Refactor to be type generic.
2982 (test_in_one_mode): Refactor duplicate code into
2983 (GEN_ONE_TEST): New macro.
2984
2985 * stdlib/tst-strtod-round-data.h: Regenerate.
2986
2987 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
2988 Extend to pass additional arbitrary parameters to
2989 generators.
2990
2991 2016-05-25 Joseph Myers <joseph@codesourcery.com>
2992
2993 [BZ #15479]
2994 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
2995 floating-point state after first floating-point operation on
2996 input. Restore full floating-point state instead of just rounding
2997 mode.
2998 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
2999 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3000 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3001 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3002 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3003
3004 [BZ #15479]
3005 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3006 floating-point state after first floating-point operation on
3007 input. Restore full floating-point state instead of just rounding
3008 mode.
3009 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3010 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3011 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3012 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3013 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3014
3015 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3016
3017 [BZ #19727]
3018 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3019 valid high surrogate.
3020 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3021 of an utf16 surrogate.
3022 * iconv/gconv_simple.c (BODY): Likewise.
3023 * iconvdata/bug-iconv12.c: New file.
3024 * iconvdata/Makefile (tests): Add bug-iconv12.
3025
3026 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3027
3028 [BZ #19726]
3029 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3030 outptrp in case of an illegal input.
3031 * iconv/tst-iconv6.c: New file.
3032 * iconv/Makefile (tests): Add tst-iconv6.
3033
3034 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3035
3036 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3037 an error in case of a value in range of an utf16 low surrogate.
3038
3039 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3040
3041 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3042 an error in case of a value in range of an utf16 low surrogate.
3043
3044 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3045
3046 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3047 Move to ...
3048 * sysdeps/s390/Makefile: ... here.
3049 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3050 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3051 (BRANCH_ON_COUNT): New define.
3052 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3053 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3054 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3055 run on s390-32, too.
3056 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3057 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3058 run on s390-32, too.
3059 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3060 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3061 run on s390-32, too.
3062
3063 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3064
3065 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3066 etf3eh or new vector loop-variant.
3067
3068 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3069
3070 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3071 etf3eh or new vector loop-variant.
3072
3073 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3074
3075 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3076 or new vector loop-variant.
3077
3078 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3079
3080 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3081 Rename to TR_LOOP and usage of tr instead of troo instruction.
3082
3083 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3084
3085 * sysdeps/s390/multiarch/gconv_simple.c: New File.
3086 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3087
3088 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3089
3090 * sysdeps/s390/multiarch/8bit-generic.c: New File.
3091 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3092 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3093 New override define.
3094 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3095
3096 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3097
3098 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3099 * sysdeps/s390/configure.ac: Add test for S390 vector register
3100 support in gcc.
3101 * sysdeps/s390/configure: Regenerated.
3102
3103 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3104
3105 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3106 Install file from $(objpfx)gconv-modules.
3107 ($(objpfx)gconv-modules): Concatenate architecture specific file
3108 in variable sysdeps-gconv-modules and gconv-modules in src dir.
3109 * sysdeps/s390/gconv-modules: New file.
3110 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3111 Deleted.
3112 ($(objpfx)gconv-modules-s390): Deleted.
3113 (sysdeps-gconv-modules): New variable.
3114
3115 2016-05-24 Joseph Myers <joseph@codesourcery.com>
3116
3117 [BZ #15479]
3118 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3119 of immediate operand to rounding instruction.
3120 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3121 Likewise.
3122 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3123 Likewise.
3124 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3125 Likewise.
3126
3127 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3128
3129 * math/libm-test.inc (MIN_EXP): Directly define as
3130 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3131
3132 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3133
3134 * math/libm-test.inc (MANT_DIG): Directly define as
3135 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3136
3137 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3138
3139 * stdlib/gen-tst-strtod-round.c (main):
3140 Change usage to more closely match the generated
3141 output. Add usage and compilation instructions.
3142 (string_to_fp): Add and use FILE* parameter as
3143 output target.
3144 (print_fp): Likewise.
3145 (round_str): Likewise.
3146 (round_for_all): Likewise.
3147 * stdlib/tst-strtod-round.c (tests): Move into
3148 * stdlib/tst-strtod-round-data.h: New file.
3149
3150 2016-05-24 Joseph Myers <joseph@codesourcery.com>
3151
3152 [BZ #15479]
3153 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3154 (__round): Do not force "inexact" exception.
3155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3156 variable.
3157 (__round): Do not force "inexact" exception.
3158 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3159 (__roundf): Do not force "inexact" exception.
3160 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3161 (__roundl): Do not force "inexact" exception.
3162 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3163 (__roundl): Do not force "inexact" exception.
3164 * math/libm-test.inc (round_test_data): Do not allow spurious
3165 "inexact" exceptions.
3166
3167 [BZ #15479]
3168 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3169 exception in comment.
3170 (huge): Remove variable.
3171 (__floor): Do not force "inexact" exception.
3172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3173 "inexact" exception in comment.
3174 (huge): Remove variable.
3175 (__floor): Do not force "inexact" exception.
3176 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3177 exception in comment.
3178 (huge): Remove variable.
3179 (__floorf): Do not force "inexact" exception.
3180 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3181 exception in comment.
3182 (huge): Remove variable.
3183 (__floorl): Do not force "inexact" exception.
3184
3185 [BZ #15479]
3186 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3187 exception in comment.
3188 (huge): Remove variable.
3189 (__ceil): Do not force "inexact" exception.
3190 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3191 "inexact" exception in comment.
3192 (huge): Remove variable.
3193 (__ceil): Do not force "inexact" exception.
3194 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3195 (__ceilf): Do not force "inexact" exception.
3196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3197 exception in comment.
3198 (huge): Remove variable.
3199 (__ceill): Do not force "inexact" exception.
3200
3201 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
3202
3203 * config.h.in (BIND_NOW): New.
3204 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
3205 * configure: Regenerated.
3206 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3207 indirect branch via the GOT slot.
3208
3209 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3210
3211 [BZ #19765]
3212 * sysdeps/s390/mempcpy.S: New File.
3213 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3214 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3215 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3216 Add mempcpy variants.
3217 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3218 (memcpy): Adjust to be usable from mempcpy entry point.
3219 (__memcpy_mvcle): Likewise.
3220 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3221 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3222 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3223 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3224 (__memcpy_z10): Likewise.
3225 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3226
3227 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3228
3229 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3230 Remove __GI_ symbol.
3231 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3232 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3233 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3234 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3235 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3236 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3237
3238 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3239
3240 * sysdeps/s390/s390-64/memcpy.S (memcpy):
3241 Use cghi instead of chi to compare 64bit value.
3242
3243 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3244
3245 * sysdeps/s390/s390-32/memcpy.S (memcpy):
3246 Jump to 1MB check before executing mvc-loop.
3247
3248 2016-05-24 Florian Weimer <fweimer@redhat.com>
3249
3250 [BZ #6527]
3251 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3252 unconditionally.
3253 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3254
3255 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3256
3257 * stdlib/tst-strtod6.c (do_test): Use new type generic
3258 invocation of the test function.
3259 (test): Refactor into ...
3260 (TEST_STRTOD): New macro base function.
3261
3262 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3263
3264 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3265 (TEST_STRTOD): New macro.
3266 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3267
3268 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3269
3270 * stdlib/tst-strtod6.c (do_test): Use new type generic
3271 invocation of the test function.
3272 (test): Refactor into ...
3273 (TEST_STRTOD): New macro base function.
3274
3275 2016-05-23 Florian Weimer <fweimer@redhat.com>
3276
3277 CVE-2016-4429
3278 [BZ #20112]
3279 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3280 payload.
3281
3282 2016-05-23 Florian Weimer <fweimer@redhat.com>
3283
3284 [BZ #20111]
3285 * bits/sockaddr.h (_SS_SIZE): Define.
3286 * bits/socket.h (_SS_SIZE): Remove.
3287 (_SS_PADSIZE): Adjust to account for all padding.
3288 (struct sockaddr_storage): Update comment. Avoid implicit
3289 padding.
3290 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3291 (_SS_PADSIZE): Adjust to account for all padding.
3292 (struct sockaddr_storage): Update comment. Avoid implicit
3293 padding.
3294 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3295 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3296 (_SS_PADSIZE): Adjust to account for all padding.
3297 (struct sockaddr_storage): Update comment. Avoid implicit
3298 padding.
3299 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3300 __SS_SIZE is 126 in this version.
3301 * inet/tst-sockaddr.c: New file.
3302 * inet/Makefile (tests): Add tst-sockaddr.c
3303 (tst-sockaddr.c): Compile with non-strict aliasing.
3304
3305 2016-05-23 Joseph Myers <joseph@codesourcery.com>
3306
3307 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3308 [XPG3 || XPG4].
3309 (NL_ARGMAX): Also expect for [XPG3].
3310 (NL_LANGMAX): Likewise.
3311 (NL_MSGMAX): Likewise.
3312 (NL_NMAX): Likewise.
3313 (NL_SETMAX): Likewise.
3314 (NL_TEXTMAX): Likewise.
3315 (NZERO): Likewise.
3316 (TMP_MAX): Likewise.
3317 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3318 variable.
3319
3320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3321 (PF_MAX): Update value.
3322 (AF_KCM): New macro.
3323 (SOL_NETBEUI): Likewise.
3324 (SOL_LLC): Likewise.
3325 (SOL_DCCP): Likewise.
3326 (SOL_NETLINK): Likewise.
3327 (SOL_TIPC): Likewise.
3328 (SOL_RXRPC): Likewise.
3329 (SOL_PPPOL2TP): Likewise.
3330 (SOL_BLUETOOTH): Likewise.
3331 (SOL_PNPIPE): Likewise.
3332 (SOL_RDS): Likewise.
3333 (SOL_IUCV): Likewise.
3334 (SOL_CAIF): Likewise.
3335 (SOL_ALG): Likewise.
3336 (SOL_NFC): Likewise.
3337 (SOL_KCM): Likewise.
3338 (MSG_BATCH): New enum value and macro.
3339
3340 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
3341
3342 [BZ #18185]
3343 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3344 sharing L2 cache to 2 for Knights Landing.
3345
3346 2016-05-20 Joseph Myers <joseph@codesourcery.com>
3347
3348 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3349 (FTW_DP): Do not expect for [XPG3 || XPG4].
3350 (FTW_SL): Do not expect for [XPG3].
3351 (FTW_SLN): Likewise.
3352 (FTW_PHYS): Likewise.
3353 (FTW_MOUNT): Likewise.
3354 (FTW_DEPTH): Likewise.
3355 (FTW_CHDIR): Likewise.
3356 (nftw): Likewise.
3357 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3358 variable.
3359
3360 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3361
3362 * manual/errno.texi: Fix various typos & grammar errors.
3363
3364 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
3365
3366 * manual/intro.texi: Fix duplicated typo.
3367
3368 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3369
3370 [BZ #13304]
3371 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3372 <float.h>, <math_private.h> and <stdlib.h>.
3373 (add_split): New function.
3374 (mul_split): Likewise.
3375 (ext_val): New typedef.
3376 (store_ext_val): New function.
3377 (mul_ext_val): New function.
3378 (compare): New function.
3379 (add_split_ext): New function.
3380 (__fmal): After checking for Inf, NaN and zero, compute result as
3381 an exact sum of scaled double values in round-to-nearest before
3382 adding those up and adjusting for other rounding modes.
3383 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3384 tests of fma.
3385 * math/auto-libm-test-out: Regenerated.
3386
3387 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3388
3389 [BZ #20119]
3390 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3391 processor level type mask for CPUID with EAX == 11.
3392
3393 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3394
3395 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3396 logical threads if the HTT bit is 0.
3397 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3398 (index_cpu_HTT): Likewise.
3399 (reg_HTT): Likewise.
3400
3401 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
3402
3403 [BZ #20115]
3404 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3405 Remove alignments on jump targets.
3406
3407 2016-05-19 Joseph Myers <joseph@codesourcery.com>
3408
3409 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3410 (getpwent): Likewise.
3411 (setpwent): Likewise.
3412 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3413 variable.
3414
3415 * conform/data/search.h-data (insque): Do not expect for [XPG3].
3416 (remque): Likewise.
3417 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3418 variable.
3419
3420 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3421
3422 * math/libm-test.inc: Update comment not to refer to signs of NaNs
3423 not being tested.
3424
3425 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3426
3427 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3428 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
3429 call.
3430 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3431 (__condvar_cleanup1): Likewise.
3432
3433 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3436 New
3437 (__pthread_unwind): Renamed to ...
3438 (PTHREAD_UNWIND): This.
3439 (__pthread_enable_asynccancel): Replace
3440 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3441
3442 2016-05-18 Joseph Myers <joseph@codesourcery.com>
3443
3444 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
3445 (CLONE_NEWCGROUP): New macro.
3446
3447 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
3448 (Q_GETNEXTQUOTA): New macro.
3449
3450 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
3451
3452 [BZ #19907]
3453 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
3454 buffer updated by the previous run.
3455 * string/test-memcpy.c (do_one_test): Likewise.
3456 * benchtests/bench-memmove.c (do_one_test): Add a comment.
3457 * string/test-memmove.c (do_one_test): Likewise.
3458
3459 2016-05-17 Joseph Myers <joseph@codesourcery.com>
3460
3461 [BZ #20094]
3462 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
3463 not [__USE_XOPEN].
3464 (unlockpt): Likewise.
3465 (ptsname): Likewise.
3466 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
3467 variable.
3468
3469 [BZ #20076]
3470 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
3471 instead of [__USE_UNIX98].
3472 (S_ISSOCK): Likewise.
3473 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
3474 variable.
3475
3476 [BZ #20074]
3477 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
3478 [__USE_POSIX].
3479 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
3480 variable.
3481
3482 [BZ #20051]
3483 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
3484 (ttyslot): Do not declare.
3485 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
3486 (ttyslot): New prototype.
3487 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
3488 variable.
3489 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3490
3491 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3492
3493 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
3494
3495 2016-05-13 Florian Weimer <fweimer@redhat.com>
3496
3497 Fix race condition in tst-mallocfork2, use fewer resources.
3498 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
3499 to current process group.
3500 (signal_sender): Yield in the non-sleeping case.
3501
3502 2016-05-13 Joseph Myers <joseph@codesourcery.com>
3503
3504 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
3505 (ecvt): Likewise.
3506 (fcvt): Likewise.
3507 (gcvt): Likewise.
3508 (getsubopt): Likewise.
3509 (grantpt): Likewise.
3510 (initstate): Likewise.
3511 (l64a): Likewise.
3512 (mktemp): Likewise.
3513 (mkstemp): Likewise.
3514 (ptsname): Likewise.
3515 (random): Likewise.
3516 (realpath): Likewise.
3517 (setstate): Likewise.
3518 (srandom): Likewise.
3519 (ttyslot): Likewise.
3520 (unlockpt): Likewise.
3521 (valloc): Likewise.
3522
3523 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
3524 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
3525 variable.
3526
3527 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3528
3529 [BZ #20072]
3530 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
3531 init_cpu_features only if SHARED is defined.
3532 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
3533
3534 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
3535
3536 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
3537 non-inclusive caches on Intel processors.
3538
3539 2016-05-13 Florian Weimer <fweimer@redhat.com>
3540
3541 * malloc/malloc.c (dumped_main_arena_start)
3542 (dumped_main_arena_end): New variables.
3543 (DUMPED_MAIN_ARENA_CHUNK): New macro.
3544 (do_check_chunk): Skip dumped fake mmapped chunks.
3545 (munmap_chunk): Likewise.
3546 (__libc_free): Do not adjust statistics for fake mmapped chunks.
3547 (__libc_realloc): Adjust hardening check. Always copy dumped fake
3548 mmapped chunks.
3549 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
3550 Mark dumped chunks as using mmap. Update dumped_main_arena_start
3551 and dumped_main_arena_end to cover the dumped heap.
3552
3553 2016-05-12 Joseph Myers <joseph@codesourcery.com>
3554
3555 * conform/data/time.h-data (getdate_err): Do not expect for
3556 [XPG3].
3557 (getdate): Likewise.
3558 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
3559 variable.
3560
3561 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
3562 (F_ULOCK): Likewise.
3563 (F_TEST): Likewise.
3564 (F_TLOCK): Likewise.
3565 (useconds_t): Likewise.
3566 (intptr_t): Do not expect for [XPG3] or [XPG4].
3567 (brk): Do not expect for [XPG3]
3568 (fchown): Likewise.
3569 (fchdir): Likewise.
3570 (ftruncate): Likewise.
3571 (getdtablesize): Likewise.
3572 (gethostid): Likewise.
3573 (getpagesize): Likewise.
3574 (getpgid): Likewise.
3575 (getsid): Likewise.
3576 (getwd): Likewise.
3577 (lchown): Likewise.
3578 (lockf): Likewise.
3579 (readlink): Likewise.
3580 (sbrk): Likewise.
3581 (setpgrp): Likewise.
3582 (setregid): Likewise.
3583 (setreuid): Likewise.
3584 (symlink): Likewise.
3585 (sync): Likewise.
3586 (truncate): Likewise.
3587 (ualarm): Likewise.
3588 (usleep): Likewise.
3589 (vfork): Likewise.
3590 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
3591 variable.
3592
3593 [BZ #20054]
3594 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
3595 not [__USE_UNIX98].
3596 * conform/data/unistd.h-data (gethostname): Do not expect for
3597 [XPG3].
3598
3599 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
3600 [!POSIX] (S_IFBLK): Likewise.
3601 [!POSIX] (S_IFCHR): Likewise.
3602 [!POSIX] (S_IFIFO): Likewise.
3603 [!POSIX] (S_IFREG): Likewise.
3604 [!POSIX] (S_IFDIR): Likewise.
3605 [!POSIX] (S_IFLNK): Likewise.
3606 [!POSIX] (S_IFSOCK): Likewise.
3607 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
3608 variable.
3609 (test-xfail-XPG4/fcntl.h/conform): Likewise.
3610
3611 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
3612
3613 * sysdeps/aarch64/memset.S (__memset):
3614 Rewrite of optimized memset.
3615
3616 2016-05-12 Florian Weimer <fweimer@redhat.com>
3617
3618 [BZ #19703]
3619 Partially async-signal-safe fork for single-threaded processes.
3620 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
3621 variable. Do not acquire and reset/release malloc and libio locks
3622 in single-threaded processes.
3623 * malloc/tst-mallocfork2.c: New file.
3624 * malloc/Makefile (tests): Add it.
3625
3626 2016-05-12 Florian Weimer <fweimer@redhat.com>
3627
3628 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
3629 argument. Use scratch buffer instead of extend_alloca.
3630 (gethosts): Use scratch buffer instead of extend_alloca.
3631 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
3632 extend_alloca.
3633 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
3634
3635 2016-05-11 Joseph Myers <joseph@codesourcery.com>
3636
3637 [BZ #20055]
3638 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
3639 instead of [__USE_UNIX98].
3640 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
3641 [__USE_UNIX98].
3642 * conform/data/termios.h-data (tcgetsid): Do not expect for
3643 [XPG3].
3644 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
3645 variable.
3646 (test-xfail-XPG4/termios.h/conform): Likewise.
3647
3648 2016-05-11 Florian Weimer <fweimer@redhat.com>
3649
3650 Do not use mcheck in localedef.
3651 * locale/programs/localedef.c (turn_on_mcheck)
3652 (__malloc_initialize_hook): Remove.
3653
3654 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3655
3656 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
3657 * sysdeps/s390/s390-64/Makefile: Likewise.
3658
3659 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
3662 Remove ifunc-defines.sym.
3663 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
3664 Likewise.
3665 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
3666 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3667 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
3668 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
3669 rtld-global-offsets.sym.
3670 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
3671 * sysdeps/x86/cpu-features-offsets.sym: This.
3672 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
3673 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
3674
3675 2016-05-10 Joseph Myers <joseph@codesourcery.com>
3676
3677 [BZ #20073]
3678 * io/sys/stat.h (fchmod): Declare for
3679 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
3680 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
3681 variable.
3682
3683 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
3684 [XPG3] (S_IFSOCK): Likewise.
3685 [XPG3] (S_ISVTX): Likewise.
3686 [XPG3] (S_ISLNK): Likewise.
3687 [XPG3] (S_ISSOCK): Likewise.
3688 [XPG3] (fchmod): Likewise.
3689 [XPG3] (lstat): Likewise.
3690 [XPG3] (mknod): Likewise.
3691
3692 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
3693 [XPG3]. Expect type long and XFAIL for [XPG4].
3694 (st_blocks): Likewise.
3695
3696 [BZ #20044]
3697 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
3698 (pthread_atfork): New prototype.
3699 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
3700 variable.
3701
3702 [BZ #20043]
3703 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
3704 prototype.
3705
3706 2016-05-10 Florian Weimer <fweimer@redhat.com>
3707
3708 [BZ #20017]
3709 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
3710 gmtime.
3711
3712 2016-05-10 Florian Weimer <fweimer@redhat.com>
3713
3714 [BZ #19994]
3715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
3716 flag in _res.options.
3717
3718 2016-05-09 Joseph Myers <joseph@codesourcery.com>
3719
3720 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
3721 [XPG3 || XPG4].
3722 (blksize_t): Likewise.
3723 (clockid_t): Likewise.
3724 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
3725 variable.
3726 (test-xfail-XPG4/sys/types.h/conform): Likewise.
3727
3728 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
3729
3730 * sysdeps/unix/sysv/linux/s390/init-first.c:
3731 Add VDSO_SYMBOL(getcpu).
3732 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
3733 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
3734 Add VDSO_SYMBOL(getcpu).
3735 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
3736 New define HAVE_GETCPU_VSYSCALL.
3737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3738
3739 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
3742 instead of <sysdeps/x86_64/cacheinfo.c>.
3743 * sysdeps/x86_64/cacheinfo.c: Moved to ...
3744 * sysdeps/x86/cacheinfo.c: Here.
3745
3746 2016-05-04 Florian Weimer <fweimer@redhat.com>
3747
3748 * malloc/malloc-internal.h: Adjust header file guard.
3749
3750 2016-05-04 Florian Weimer <fweimer@redhat.com>
3751
3752 [BZ #19787]
3753 * inet/getnameinfo.c (check_sprintf_result): New function.
3754 (CHECKED_SNPRINTF): New macro.
3755 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
3756 to the host buffer.
3757 (gni_host_local): Use checked_copy to copy the host name.
3758 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
3759 (gni_serv_local): Use checked_copy to copy the service name.
3760 (getnameinfo): Remove unnecessary truncation of result buffers.
3761
3762 2016-05-04 Florian Weimer <fweimer@redhat.com>
3763
3764 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
3765 in case of inet_ntop failure.
3766
3767 2016-05-04 Florian Weimer <fweimer@redhat.com>
3768
3769 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
3770 avoid long lines.
3771 (gni_host_inet_numeric): Likewise. Reduce scope of local
3772 variables.
3773 (gni_host_inet, gni_host_local): Add comment.
3774 (gni_host): Add comment. Use temporary to avoid long lines.
3775
3776 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3777
3778 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
3779 registers specifiers where general purpose registers specifiers should
3780 have been used.
3781
3782 2016-05-04 Florian Weimer <fweimer@redhat.com>
3783
3784 [BZ #19779]
3785 CVE-2016-1234
3786 Avoid copying names of directory entries.
3787 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
3788 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
3789 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
3790 (struct readdir_result): New type.
3791 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
3792 (GL_READDIR): New macros.
3793 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
3794 (convert_dirent, convert_dirent64): New functions.
3795 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
3796 convert_dirent64. Adjust references to the readdir result.
3797 * sysdeps/unix/sysv/linux/i386/glob64.c:
3798 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
3799 * posix/bug-glob2.c (LONG_NAME): Define.
3800 (filesystem): Add LONG_NAME.
3801 (my_DIR): Increase the size of room_for_dirent.
3802
3803 2016-05-03 Joseph Myers <joseph@codesourcery.com>
3804
3805 [BZ #20041]
3806 * misc/sys/select.h (__need_timespec): Only define if
3807 [__USE_XOPEN2K].
3808 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
3809 variable.
3810 (test-xfail-XPG4/utmpx.h/conform): Likewise.
3811 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3812 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3813
3814 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3815 Segher Boessenkool <segher@gcc.gnu.org>
3816
3817 [BZ #20004]
3818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
3819 (__novec_swapcontext): Add missing load.
3820
3821 2016-05-02 Joseph Myers <joseph@codesourcery.com>
3822
3823 [BZ #20023]
3824 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
3825 <time.h>.
3826 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
3827 variable.
3828 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3829
3830 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3831
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
3833 flags CLONE_VM compare.
3834
3835 2016-05-02 Florian Weimer <fweimer@redhat.com>
3836
3837 [BZ #20031]
3838 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
3839 completely empty.
3840
3841 2016-05-02 Florian Weimer <fweimer@redhat.com>
3842
3843 [BZ #19573]
3844 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
3845 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
3846 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
3847 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
3848 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
3849 (hesiod_free_list): Mark as hidden.
3850 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
3851 res_set, res_get.
3852 * hesiod/hesiod.c: Remove unnecessary forward declarations.
3853 (init, __hesiod_res_get, __hesiod_res_set): Remove.
3854 (hesiod_init): Remove obsolete res_ninit call.
3855 (hesiod_end): Do not free resolver state. Do not invoke callback.
3856 (hesiod_bind): Do not call init.
3857 (get_txt_records): Use res_mkquery, res_send instead of
3858 res_nmkquery, res_nsend.
3859 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
3860 instead of _nss_hesiod_init.
3861 (_nss_hesiod_initgroups_dyn): Likewise.
3862 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
3863 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
3864 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
3865
3866 2016-05-02 Florian Weimer <fweimer@redhat.com>
3867
3868 * hesiod/hesiod_p.h (DEF_RHS): Remove.
3869 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
3870
3871 2016-05-02 Florian Weimer <fweimer@redhat.com>
3872
3873 * hesiod/hesiod.h: Remove RCS keyword.
3874 * hesiod/hesiod_p.h: Likewise.
3875
3876 * hesiod/hesiod.c: Likewise.
3877
3878 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
3879
3880 [BZ #12450]
3881 * locale/iso-639.def: Add Samogitian/sgs.
3882
3883 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
3886
3887 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
3888
3889 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
3890 Carlos O'Donell <carlos@redhat.com>
3891
3892 [BZ #19072]
3893 * grp/Makefile (headers): Add grp-merge.h
3894 (routines): Add grp-merge.
3895 * grp/getgrgid_r.c: Include grp-merge.h.
3896 (DEEPCOPY_FN): Define.
3897 (MERGE_FN): Define.
3898 * grp/getgrname_r.c: Include grp-merge.h.
3899 (DEEPCOPY_FN): Define.
3900 (MERGE_FN): Define.
3901 * grp/grp-merge.c: New file.
3902 * grp/grp-merge.h: New file.
3903 * include/grp-merge.h: New file.
3904 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
3905 __copy_grp@GLIBC_PRIVATE.
3906 * manual/nss.texi (Actions in the NSS configuration): Describe
3907 return, continue, and merge.
3908 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
3909 (DEEPCOPY_FN): Define.
3910 (MERGE_FN): Define.
3911 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
3912 (DEEPCOPY_FN): Define.
3913 (MERGE_FN): Define.
3914 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
3915 [!MERGE_FN]: Define __merge_einval.
3916 (CHECK_MERGE): Define.
3917 (REENTRANT_NAME): Process merge if do_merge is true.
3918 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
3919 (__nss_getent_r): Likewise.
3920 * nss/nsswitch.c (nss_parse_service_list): Likewise.
3921 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
3922
3923 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3924
3925 [BZ #20012]
3926 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
3927 length to calculate the buffer to read.
3928 (fmemopen_write): Set the buffer position based on bytes written.
3929 (fmemopen_seek): Return EINVAL for invalid whence modes.
3930
3931 [BZ #19957]
3932 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
3933 tst-getpid2.
3934 (test): Add tst-clone2.
3935 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
3936 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
3937 pid/tid fields for CLONE_VM.
3938 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3939 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3940 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3941 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
3942 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3943 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3944 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3945 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3947 Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3949 Likewise.
3950 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3951 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3952 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3953 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3955 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3956 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3957 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
3958
3959 2016-04-29 Florian Weimer <fweimer@redhat.com>
3960
3961 [BZ #19642]
3962 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
3963 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
3964 (gni_serv_local, gni_serv): New functions extracted from
3965 getnameinfo.
3966 (getnameinfo): Call gni_host and gni_serv to perform the
3967 processing. Always free scratch buffer.
3968
3969 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3970
3971 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
3972 remaining bytes in the dest string, with zeros.
3973
3974 2016-04-29 Florian Weimer <fweimer@redhat.com>
3975
3976 [BZ #20010]
3977 CVE-2016-3706
3978 * sysdeps/posix/getaddrinfo.c
3979 (convert_hostent_to_gaih_addrtuple): New function.
3980 (gethosts): Call convert_hostent_to_gaih_addrtuple.
3981 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
3982 AF_INET data.
3983
3984 2016-04-29 Florian Weimer <fweimer@redhat.com>
3985
3986 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
3987 callback function gl_readdir.
3988 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
3989 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
3990 (glob_in_dir): Remove len. Use strdup instead of malloc and
3991 memcpy to copy the name.
3992 * manual/pattern.texi (Calling Glob): Document requirements for
3993 implementations of the gl_readdir callback function.
3994 * manual/examples/mkdirent.c: New example.
3995 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
3996 per the manual guidance.
3997 * posix/tst-gnuglob.c (my_readdir): Likewise.
3998
3999 2016-04-28 Joseph Myers <joseph@codesourcery.com>
4000
4001 [BZ #20014]
4002 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4003 not [__USE_POSIX].
4004 (getchar_unlocked): Likewise.
4005 (putc_unlocked): Likewise.
4006 (putchar_unlocked): Likewise.
4007 (flockfile): Likewise.
4008 (ftrylockfile): Likewise.
4009 (funlockfile): Likewise.
4010 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4011 variable.
4012 (test-xfail-XPG4/stdio.h/conform): Likewise.
4013
4014 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4015 Expect constant.
4016 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4017 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4018 variable.
4019 (test-xfail-XPG4/langinfo.h/conform): Likewise.
4020 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4021
4022 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4023 [__USE_LARGEFILE64] (off64_t): Likewise.
4024 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4025 variable.
4026
4027 2016-04-28 Florian Weimer <fweimer@redhat.com>
4028
4029 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4030
4031 2016-04-28 Florian Weimer <fweimer@redhat.com>
4032
4033 * resolv/inet_addr.c: Reindent preprocessor conditionals.
4034 * resolv/res_init.c: Likewise.
4035 * resolv/res_mkquery.c: Likewise.
4036
4037 2016-04-28 Florian Weimer <fweimer@redhat.com>
4038
4039 * resolv/res_init.c (isascii): Do not define. Use definition in
4040 <ctype.h>.
4041 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4042 (LOG_AUTH): Remove.
4043 (SPRINTF): Remove, adjust caller.
4044 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4045
4046 2016-04-28 Florian Weimer <fweimer@redhat.com>
4047
4048 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4049 SUNSECURITY conditional.
4050 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4051
4052 2016-04-28 Florian Weimer <fweimer@redhat.com>
4053
4054 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4055 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4056 Remove BSD-related preprocessor conditionals.
4057 * conf/portability.h: Remove.
4058
4059 2016-04-28 Florian Weimer <fweimer@redhat.com>
4060
4061 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4062 * resolv/res_data.c: Likewise.
4063
4064 2016-04-28 Florian Weimer <fweimer@redhat.com>
4065
4066 * resolv/res_comp.c: Remove code conditional on __ultrix__.
4067 * resolv/res_data.c: Remove code conditional on ultrix.
4068
4069 2016-04-28 Florian Weimer <fweimer@redhat.com>
4070
4071 * resolv/res_init.c (RFC1535): Do not define. Remove
4072 RFC1535 preprocessor conditionals.
4073 * resolv/README: Update. Do not claim strict RFC 1535 compliance
4074 because there configuration options which make the resolver
4075 behavior different.
4076
4077 2016-04-28 Florian Weimer <fweimer@redhat.com>
4078
4079 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
4080 RESOLVSORT preprocessor conditionals.
4081 * resolv/nss_dns/dns-host.c: Likewise.
4082 * resolv/res_init.c: Likewise.
4083
4084 2016-04-28 Florian Weimer <fweimer@redhat.com>
4085
4086 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
4087 is never defined.
4088
4089 2016-04-28 Florian Weimer <fweimer@redhat.com>
4090
4091 * inet/inet_lnaof.c: Remove SCSS keyword.
4092 * inet/inet_mkadr.c: Likewise.
4093 * inet/inet_net.c: Likewise.
4094 * inet/inet_netof.c: Likewise.
4095 * inet/rcmd.c: Likewise.
4096 * inet/rexec.c: Likewise.
4097 * inet/ruserpass.c: Likewise.
4098
4099 2016-04-28 Florian Weimer <fweimer@redhat.com>
4100
4101 * resolv/inet_addr.c: Remove _LIBC conditionals.
4102 * resolv/res_data.c: Likewise.
4103 * resolv/res_init.c: Likewise.
4104 * resolv/res_mkquery.c: Likewise.
4105 * resolv/res_libc.c: Update comment.
4106 * resolv/README: Update.
4107
4108 2016-04-28 Florian Weimer <fweimer@redhat.com>
4109
4110 * resolv/gethnamaddr.c: Remove SCSS keyword.
4111 * resolv/herror.c: Likewise.
4112 * resolv/inet_addr.c: Likewise.
4113 * resolv/inet_net_ntop.c: Likewise.
4114 * resolv/inet_net_pton.c: Likewise.
4115 * resolv/inet_neta.c: Likewise.
4116 * resolv/inet_ntop.c: Likewise.
4117 * resolv/inet_pton.c: Likewise.
4118 * resolv/ns_date.c: Remove RCS keyword.
4119 * resolv/ns_name.c: Likewise.
4120 * resolv/ns_netint.c: Likewise.
4121 * resolv/ns_parse.c: Likewise.
4122 * resolv/ns_print.c: Likewise.
4123 * resolv/ns_samedomain.c: Likewise.
4124 * resolv/ns_ttl.c: Likewise.
4125 * resolv/nsap_addr.c: Likewise.
4126 * resolv/res_comp.c: Remove SCSS and RCS keyword.
4127 * resolv/res_data.c: Remove RCS keyword.
4128 * resolv/res_debug.c: Remove SCSS and RCS keyword.
4129 * resolv/res_init.c: Likewise.
4130 * resolv/res_mkquery.c: Likewise.
4131 * resolv/res_query.c: Likewise.
4132 * resolv/res_send.c: Likewise.
4133
4134 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4135
4136 * conform/data/stdio.h-data (fdopen): Expect also for
4137 [XPG3 || XPG4].
4138
4139 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4140 (fseeko): Likewise.
4141 (ftello): Likewise.
4142 (ftrylockfile): Likewise.
4143 (funlockfile): Likewise.
4144 (getc_unlocked): Likewise.
4145 (getchar_unlocked): Likewise.
4146 (putc_unlocked): Likewise.
4147 (putchar_unlocked): Likewise.
4148
4149 2016-04-27 Florian Weimer <fweimer@redhat.com>
4150
4151 [BZ #19868]
4152 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4153 DNS packet syntax checks (which were not needed before). Skip
4154 over non-PTR records.
4155
4156 2016-04-27 Florian Weimer <fweimer@redhat.com>
4157
4158 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4159 definition. Include <stddef.h> instead.
4160
4161 2016-04-27 Florian Weimer <fweimer@redhat.com>
4162
4163 [BZ #19831]
4164 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4165 function.
4166 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4167 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4168
4169 2016-04-27 Florian Weimer <fweimer@redhat.com>
4170
4171 [BZ #19862]
4172 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4173 (getanswer_r): Do not call syslog.
4174 (gaih_getanswer_slice): Likewise.
4175 * resolv/gethnamaddr.c (AskedForGot): Remove.
4176 (getanswer): Do not call syslog.
4177 (gethostbyaddr): Likewise.
4178
4179 2016-04-27 Joseph Myers <joseph@codesourcery.com>
4180
4181 * conform/data/signal.h-data (union sigval): Expect also if
4182 [XOPEN2K].
4183 (struct sigevent): Likewise.
4184 (SIGEV_NONE): Likewise.
4185 (SIGEV_SIGNAL): Likewise.
4186 (SIGEV_THREAD): Likewise.
4187 (SIGRTMIN): Likewise.
4188 (SIGRTMAX): Likewise.
4189 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4190 variable.
4191 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4192
4193 2016-04-27 Florian Weimer <fweimer@redhat.com>
4194
4195 [BZ #19830]
4196 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4197 (gaih_getanswer_slice): Likewise.
4198 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4199 Also check for availability of RR metadata.
4200
4201 2016-04-27 Florian Weimer <fweimer@redhat.com>
4202
4203 [BZ #19825]
4204 * resolv/res_send.c (send_vc): Remove early *resplen2
4205 initialization. Set *resplen2 on socket error. Call
4206 close_and_return_error for other errors.
4207
4208 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4209
4210 * sysdeps/unix/sysv/linux/netiucv/iucv.h
4211 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4212 (SCM_IUCV_TRGCLS): New define.
4213
4214 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4215
4216 [BZ #20005]
4217 * libio/fmemopen.c (fmemopen_write): Update internal position after
4218 write.
4219 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4220 * stdio-common/tst-fmemopen4.c: New file..
4221
4222 2016-04-26 Joseph Myers <joseph@codesourcery.com>
4223
4224 [BZ #19996]
4225 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4226 not [__USE_XOPEN2K].
4227 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4228 variable.
4229
4230 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4231 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4232 variable.
4233
4234 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4235 [__USE_XOPEN2K8].
4236 [__USE_LARGEFILE64] (off64_t): Likewise.
4237 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4238 variable.
4239
4240 2016-04-25 Joseph Myers <joseph@codesourcery.com>
4241
4242 [BZ #19989]
4243 * libio/stdio.h (cuserid): Do not declare if
4244 [__USE_XOPEN2K && !__USE_GNU].
4245 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4246 variable.
4247
4248 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4249
4250 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4251 (sysdep_routines): Add P8 and PPC64 strcspn targets.
4252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4253 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4254 ifunc'ed strcspn.
4255 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4256 [EALIGN]: Removed.
4257 [END]: Likewise
4258 [STRSPN]: Define instead of the above to control symbol name.
4259 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4260 New file.
4261 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4262 Likewise.
4263 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4264 Likewise.
4265 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4266 Likewise.
4267 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4268 [INITIAL_MASK]: New macro.
4269 [STRCSPN]: Likewise.
4270 [UPDATE_MASK]: Likewise.
4271 [USE_AS_STRCSPN]: Lisewise.
4272
4273 2016-04-25 Florian Weimer <fweimer@redhat.com>
4274
4275 [BZ #19931]
4276 * stdio-common/tst-vfprintf-width-prec.c: New file.
4277 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4278 (tests-special): Add tst-vfprintf-width-prec-mem.out.
4279 (generated): Add mtrace-related files.
4280 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4281 (tst-%-mem.out): New pattern rule, replaces
4282 tst-printf-bz18872-mem.out.
4283 * stdio-common/vfprintf.c (vfprintf): When handling a precision
4284 specifier, deallocate any previously allocated work buffer.
4285
4286 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4287
4288 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4289 Add nop before __startcontext, add explaining comments.
4290
4291 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
4292
4293 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4294 any more. Notably since IPV6_PKTINFO has been reintroduced with a
4295 completely different API.
4296
4297 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4298 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4299 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4300 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4301 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4302 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4303 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4304 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4305 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4306 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4307
4308 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
4309
4310 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4311
4312 2016-04-23 Mike Frysinger <vapier@gentoo.org>
4313
4314 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4315 when it is the default of 0.
4316
4317 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4318
4319 * sysdeps/powerpc/locale-defines.sym: Add new macros.
4320 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4321 (sysdep_routines): Add new strcasestr targets.
4322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4323 (__libc_ifunc_impl_list): Likewise.
4324 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4325 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4326 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4327 * sysdeps/powerpc/powerpc64/power8/Makefile:
4328 New file to add strcasestr-ppc64 to sysdep_routines.
4329 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4330 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4331
4332 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
4333
4334 * benchtests/Makefile (wcsmbs-benchset): Include only for
4335 native builds and runs.
4336 (LOCALES): Likewise.
4337 (bench-build): Build timing-type here instead of the bench
4338 target. Generate locale only for native builds.
4339 * benchtests/README: Add note for cross-building.
4340
4341 * benchtests/Makefile (bench-clean): Clean up extra-objs.
4342
4343 * benchtests/README: Update README to include instructions on
4344 using bench-build.
4345
4346 * Makefile.in (bench-build): New target.
4347 * Rules (PHONY): Add bench-build target.
4348 * benchtests/Makefile (bench): Depend on bench-build.
4349 (bench-build): New target.
4350
4351 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
4352
4353 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4354 profil_reply_port.
4355 (profile_waiter): Do not initialize profil_reply_port.
4356 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4357 frequency instead of tick length in us.
4358
4359 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
4360
4361 [BZ #18712]
4362 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4363 (__old_mempcpy_small): Likewise.
4364 (__old_strcpy_small): Likewise.
4365 (__old_stpcpy_small): Likewise.
4366 (__old_strpbrk_c2): Fix compat symbol name.
4367 (__old_strpbrk_c3): Likewise.
4368 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4369 (__mempcpy_small): Remove.
4370 (__strcpy_small): Remove.
4371 (__stpcpy_small): Remove.
4372
4373 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
4374
4375 [BZ #19400]
4376 * locale/iso-639.def: Add the Talossan/tzl language.
4377
4378 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4379
4380 [BZ #16983]
4381 * locale/programs/ld-address.c (address_finish): Update postal_fmt
4382 comment. Add "ln" to strchr check on postal_fmt.
4383
4384 2016-04-16 Mike Frysinger <vapier@gentoo.org>
4385
4386 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4387 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
4388 tel_dom_fmt.
4389
4390 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
4391
4392 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4393 (sysdep_routines): Added __strlen_power8.
4394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4395 __strlen_power8 entry.
4396 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4397 Implementation for POWER8.
4398 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4399 for __strlen_power8.
4400 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4401 Implementation for POWER8.
4402
4403 2016-04-15 Mike Frysinger <vapier@gentoo.org>
4404
4405 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4406
4407 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
4408
4409 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4410 Goldmont and Airmont processors.
4411
4412 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
4413
4414 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4415 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4416 (__STRING2_SMALL_GET32): Remove.
4417 (memset): Remove.
4418 (__memset_1): Remove.
4419 (__memset_gc): Remove.
4420 (__mempcpy): Remove.
4421 (mempcpy): Remove.
4422 (__mempcpy_args): Remove.
4423 (strchr): Remove.
4424 (strcpy): Remove.
4425 (strcpy_args): Remove.
4426 (__stpcpy_args): Remove.
4427 (__strcmp_cc): Remove.
4428 (__strcmp_gc): Remove.
4429 (strstr): Remove.
4430
4431 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
4432
4433 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4434 * nis/nis_call.c (nis_server_cache_add): Likewise.
4435
4436 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4437
4438 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4439
4440 2016-04-14 Florian Weimer <fweimer@redhat.com>
4441
4442 * malloc/arena.c (__malloc_fork_lock_parent)
4443 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
4444 internal_function attribute.
4445
4446 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
4447
4448 * stdio-common/printf_fp.c (__printf_fp_l):
4449 Rename ___printf_fp_l to __printf_fp_l and
4450 remove strong alias. Use libc_hidden_def instead
4451 of ldbl_hidden_def macro.
4452
4453 2016-04-14 Florian Weimer <fweimer@redhat.com>
4454
4455 Remove malloc hooks from fork handler. They are no longer needed
4456 because malloc runs right before fork, and no malloc calls from
4457 other fork handlers are not possible anymore.
4458 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
4459 declarations.
4460 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
4461 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
4462 (atfork_recursive_cntr): Remove.
4463 (__malloc_fork_lock_parent): Do not override malloc hooks and
4464 thread_arena.
4465 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
4466 thread_arena.
4467 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
4468 thread_arena instead of save_arena.
4469
4470 2016-04-14 Florian Weimer <fweimer@redhat.com>
4471
4472 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
4473 (thread_atfork, thread_atfork_static): Remove.
4474 * sysdeps/mach/hurd/malloc-machine.h:
4475 (thread_atfork, thread_atfork_static): Remove.
4476
4477 2016-04-14 Florian Weimer <fweimer@redhat.com>
4478
4479 [BZ #19431]
4480 Run the malloc fork handler as late as possible to avoid deadlocks.
4481 * malloc/malloc-internal.h: New file.
4482 * malloc/malloc.c: Include it.
4483 * malloc/arena.c (ATFORK_MEM): Remove.
4484 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
4485 Update comment.
4486 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
4487 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
4488 Remove outdated comment.
4489 (ptmalloc_init): Do not call thread_atfork. Remove
4490 thread_atfork_static.
4491 * malloc/tst-malloc-fork-deadlock.c: New file.
4492 * Makefile (tests): Add tst-malloc-fork-deadlock.
4493 (tst-malloc-fork-deadlock): Link against libpthread.
4494 * manual/memory.texi (Aligned Memory Blocks): Update safety
4495 annotation comments.
4496 * sysdeps/nptl/fork.c (__libc_fork): Call
4497 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4498 __malloc_fork_unlock_child.
4499 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
4500
4501 2016-04-14 Florian Weimer <fweimer@redhat.com>
4502
4503 [BZ #19613]
4504 Remove union wait.
4505 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
4506 (w_stopsig, w_stopval): Remove.
4507 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
4508 stat_loc argument.
4509 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
4510 (__WAIT_STATUS_DEFN): Remove.
4511 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4512 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
4513 (wait, wait3, wait4): Use int * for the stat_loc argument.
4514 * posix/wait.c (__wait): Likewise.
4515 * posix/wait3.c (__wait3): Likewise.
4516 * posix/wait4.c (__wait4): Likewise.
4517 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
4518 (__WAIT_STATUS_DEFN): Remove.
4519 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
4520 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
4521 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
4522 argument.
4523 * sysdeps/posix/wait.c (__libc_wait): Likewise.
4524 * sysdeps/posix/wait3.c (__wait3): Likewise.
4525 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
4526 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
4527 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
4528 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
4529 stat_loc argument.
4530 * manual/process.texi (BSD Wait Functions): Remove union wait.
4531
4532 2016-04-13 Andreas Schwab <schwab@suse.de>
4533
4534 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
4535 (test-extras): Add tst-tlsalign-vars.
4536 * math/Makefile: Wrap long lines.
4537 (libm-vec-test-wrappers): Define.
4538 (test-extras): Add $(libm-vec-test-wrappers).
4539 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
4540 * nss/Makefile (extra-test-objs): Add nss_test1.os.
4541 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
4542 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
4543 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
4544 (extra-test-objs): Add corresponding objects.
4545
4546 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
4547
4548 [BZ #19928]
4549 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
4550 New.
4551 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
4552 times of shared cache size.
4553 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
4554 (VMOVNT): New.
4555 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
4556 (VMOVNT): Likewise.
4557 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
4558 (VMOVNT): Likewise.
4559 (VMOVU): Changed to movups for smaller code sizes.
4560 (VMOVA): Changed to movaps for smaller code sizes.
4561 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
4562 comments.
4563 (PREFETCH): New.
4564 (PREFETCH_SIZE): Likewise.
4565 (PREFETCHED_LOAD_SIZE): Likewise.
4566 (PREFETCH_ONE_SET): Likewise.
4567 Rewrite to use forward and backward loops, which move 4 vector
4568 registers at a time, to support overlapping addresses and use
4569 non temporal store if size is above the threshold and there is
4570 no overlap between destination and source.
4571
4572 2016-04-12 Alex Smith <alex.smith@imgtec.com>
4573
4574 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
4575 Include dl-vdso.
4576 * sysdeps/unix/sysv/linux/mips/Versions: Add
4577 __vdso_clock_gettime.
4578 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
4579 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
4580 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
4581 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
4582 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
4583 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
4584 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4585 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4587
4588 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4589
4590 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
4591 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
4592 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4593 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4594 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4595 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4598 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
4599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
4600 syscalls generation.
4601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4602 [__NR_pwrite64] (__NR_write): Remove define.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4604 [__NR_pwrite64] (__NR_write): Remove define.
4605 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
4606 Remove define.
4607 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
4608 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
4609 Remove define.
4610 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
4611 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
4612 Linux implementation as base.
4613 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4614
4615 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
4616 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
4617 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4618 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
4620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4621 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
4622 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
4623 syscall generation.
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4625 [__NR_pread64] (__NR_pread): Remove define.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4627 [__NR_pread64] (__NR_pread): Likewise.
4628 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
4629 define.
4630 (__libc_pread): Use SYSCALL_LL macro on offset argument.
4631 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
4632 Remove define.
4633 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
4634 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
4635 Linux implementation as base.
4636 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4637 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4638 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4639
4640 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
4641 definition.
4642 (__ALIGNMENT_COUNT): Likewise.
4643 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
4644 (__ALIGNMENT_COUNT): Likewise.
4645 (SYSCALL_LL): New define.
4646 (SYSCALL_LL64): Likewise.
4647 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
4648 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
4649 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
4650 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
4651
4652 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4653 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
4654 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4655 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4656 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4657 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
4658
4659 2016-04-11 Florian Weimer <fweimer@redhat.com>
4660
4661 [BZ #19865]
4662 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
4663 original buffer before retry.
4664
4665 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4666
4667 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
4668 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
4669 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
4670 GLRO(dl_auxv) list.
4671 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
4672 including <ldsodefs.h>.
4673 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
4674
4675 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
4676
4677 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
4678 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
4679 $(CPPFLAGS).
4680
4681 2016-04-09 Khem Raj <raj.khem@gmail.com>
4682
4683 [BZ #17950]
4684 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
4685 Add -mfpmath=387.
4686
4687 2016-04-09 Mike Frysinger <vapier@gentoo.org>
4688
4689 * sysdeps/i386/configure.ac: Change == to = when calling test.
4690 * sysdeps/x86_64/configure.ac: Likewise.
4691 * sysdeps/i386/configure: Regenerated.
4692 * sysdeps/x86_64/configure: Likewise.
4693
4694 2016-04-08 Mike Frysinger <vapier@gentoo.org>
4695
4696 [BZ #16137]
4697 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
4698 * benchtests/bench-strcoll.c (input_files): Likewise.
4699 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
4700 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
4701 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
4702
4703 2016-04-08 Joseph Myers <joseph@codesourcery.com>
4704
4705 [BZ #19929]
4706 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
4707 [__USE_XOPEN2K8 && !__USE_GNU].
4708 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
4709 variable.
4710
4711 [BZ #19925]
4712 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
4713 define if [!__USE_MISC && __USE_XOPEN2K].
4714 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
4715 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
4716 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
4719 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
4720 variable.
4721 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
4722
4723 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4724
4725 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4726 (sysdep_routines): Add new strspn targets.
4727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4728 (__libc_ifunc_impl_list): Add strspn.
4729 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4730 New file.
4731 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
4732 Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
4734 Likewise.
4735 * sysdeps/powerpc/powerpc64/power8/strspn.S:
4736 Likewise.
4737
4738 2016-04-07 Florian Weimer <fweimer@redhat.com>
4739
4740 * misc/hsearch_r.c: Include <limits.h>.
4741
4742 2016-04-07 Florian Weimer <fweimer@redhat.com>
4743
4744 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
4745
4746 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4749 (MEMCPY_SYMBOL): New.
4750 (MEMPCPY_SYMBOL): Likewise.
4751 (MEMMOVE_CHK_SYMBOL): Likewise.
4752 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
4753 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
4754 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
4755 Provide alias for memcpy in libc.a and ld.so.
4756
4757 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4758
4759 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4760 (MEMSET_CHK_SYMBOL): New. Define if not defined.
4761 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
4762 Disabled fro now.
4763 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
4764 symbols. Properly check USE_MULTIARCH on __memset symbols.
4765
4766 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
4767
4768 * benchtests/Makefile (string-benchset): Add memcpy-large,
4769 memmove-large and memset-large.
4770 * benchtests/bench-memcpy-large.c: New file.
4771 * benchtests/bench-memmove-large.c: Likewise.
4772 * benchtests/bench-memmove-large.c: Likewise.
4773 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
4774
4775 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4778 32-bit displacement to avoid long nop between instructions.
4779
4780 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
4781
4782 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
4783 a comment on VMOVU and VMOVA.
4784
4785 2016-04-04 Florian Weimer <fweimer@redhat.com>
4786
4787 [BZ #19633]
4788 Use specified locale for number formatting in strfmon_l.
4789 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
4790 (__nl_lookup_word): New inline functions.
4791 * include/printf.h (__print_fp_l): Declare.
4792 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
4793 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
4794 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
4795 (___printf_fp): New function.
4796 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
4797 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
4798 * stdlib/tst-strfmon_l.c (do_test): New test.
4799 * stdlib/Makefile (tests): Add kt.
4800 (LOCALES): Build additional locales.
4801 (tst-strfmon_l.out): Require locales.
4802
4803 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4804
4805 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
4806 if not in libc.
4807 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4808 Likewise.
4809 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
4810 Likewise.
4811 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4812 Likewise.
4813
4814 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
4815
4816 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4817 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
4818 with unaligned_erms.
4819 (__memmove_erms): Skip if source == destination.
4820 (__memmove_unaligned_erms): Don't check source == destination
4821 first.
4822
4823 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4824
4825 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
4826 bit_arch_Fast_Copy_Backward for Intel Core proessors.
4827
4828 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4829
4830 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
4831 * string/strspn.c (strspn): Likewise.
4832
4833 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4834
4835 * benchtests/bench-memset.c (do_test): Support 64-byte
4836 alignment.
4837 (test_main): Test 64-byte alignment.
4838
4839 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4840
4841 * benchtests/bench-memmove.c (test_main): Test 64-byte
4842 alignment.
4843
4844 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
4845
4846 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
4847
4848 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4849
4850 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4851 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
4852 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
4853
4854 * string/strpbrk.c (strpbrk): Rewrite function.
4855 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
4856 (__strpbrk_c2): Likewise.
4857 (__strpbrk_c3): Likewise.
4858 * string/string-inlines.c
4859 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
4860 Likewise.
4861 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
4862 Likewise.
4863
4864 * string/strspn.c (strcspn): Rewrite function.
4865 * string/bits/string2.h (strspn): Use __builtin_strcspn.
4866 (__strspn_c1): Remove inline function.
4867 (__strspn_c2): Likewise.
4868 (__strspn_c3): Likewise.
4869 * string/string-inlines.c
4870 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
4871 compatibility symbol.
4872 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
4873 Likewise.
4874 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
4875 Likewise.
4876 * string/string-inlines.c: Include generic version.
4877
4878 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
4879 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4880
4881 * string/Version (libc): Add GLIBC_2.24.
4882 * string/strcspn.c (strcspn): Rewrite function.
4883 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
4884 (__strcspn_c1): Remove inline function.
4885 (__strcspn_c2): Likewise.
4886 (__strcspn_c3): Likewise.
4887 * string/string-inline.c
4888 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
4889 compatibility symbol.
4890 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
4891 Likewise.
4892 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
4893 Likewise.
4894 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
4895
4896 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4897
4898 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
4899 Use ahi instead of aghi to adjust stack pointer.
4900
4901 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4902
4903 [BZ #19853]
4904 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
4905 TEST to take significant digits as second parameter.
4906 [TEST]: Redefine in terms of TEST_N taking 30
4907 significant digits.
4908 (do_test): Add test case to demonstrate precision
4909 failure in the ldbl-128ibm printf.
4910 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
4911 (__mpn_extract_long_double): Carry 7 extra intermediate
4912 bits of precision to aide computing difference when
4913 signs differ.
4914
4915 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 [BZ #19881]
4918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4919 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
4920 memset-avx512-unaligned-erms.
4921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4922 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
4923 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
4924 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
4925 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
4926 __memset_sse2_unaligned_erms, __memset_erms,
4927 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
4928 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4929 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
4930 file.
4931 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4932 Likewise.
4933 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
4934 Likewise.
4935 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
4936 Likewise.
4937
4938 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
4939
4940 [BZ #19776]
4941 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4942 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
4943 memmove-avx512-unaligned-erms.
4944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4945 (__libc_ifunc_impl_list): Test
4946 __memmove_chk_avx512_unaligned_2,
4947 __memmove_chk_avx512_unaligned_erms,
4948 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
4949 __memmove_chk_sse2_unaligned_2,
4950 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
4951 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
4952 __memmove_avx512_unaligned_erms, __memmove_erms,
4953 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
4954 __memcpy_chk_avx512_unaligned_2,
4955 __memcpy_chk_avx512_unaligned_erms,
4956 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
4957 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
4958 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
4959 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
4960 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
4961 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
4962 __mempcpy_chk_avx512_unaligned_erms,
4963 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
4964 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
4965 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
4966 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
4967 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
4968 __mempcpy_erms.
4969 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
4970 file.
4971 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4972 Likwise.
4973 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
4974 Likwise.
4975 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4976 Likwise.
4977
4978 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4979
4980 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
4981 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
4982 (La_s390_64_regs): Likewise.
4983 (La_s390_32_retval): Append vector register lrv_v24.
4984 (La_s390_64_retval): Likeweise.
4985 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
4986 Handle extended structs La_s390_32_regs and La_s390_32_retval.
4987 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
4988 Handle extended structs La_s390_64_regs and La_s390_64_retval.
4989
4990 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
4991
4992 [BZ #19916]
4993 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
4994 to create a non-vector/vector version for _dl_runtime_resolve and
4995 _dl_runtime_profile. Move implementation to ...
4996 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
4997 (_dl_runtime_resolve) Save and restore fpr/vrs.
4998 (_dl_runtime_profile) Save and restore vrs and fix some issues
4999 if _dl_call_pltexit is called.
5000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5001 Choose the correct resolver function if running on a machine with vx.
5002 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5003 to create a non-vector/vector version for _dl_runtime_resolve and
5004 _dl_runtime_profile. Move implementation to ...
5005 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5006 (_dl_runtime_resolve) Save and restore fpr/vrs.
5007 (_dl_runtime_profile) Save and restore vrs and fix some issues
5008 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5009 Choose the correct resolver function if running on a machine with vx.
5010
5011 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5012
5013 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5014
5015 2016-03-31 Florian Weimer <fweimer@redhat.com>
5016
5017 [BZ #19509]
5018 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5019 skip_map != NULL.
5020 * elf/tst-dlsym-error.c: New file.
5021 * elf/Makefile (tests): Add tst-dlsym-error.
5022 (tst-dlsym-error): Link against libdl.
5023
5024 2016-03-29 Joseph Myers <joseph@codesourcery.com>
5025
5026 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5027 (__ASSUME_FUTIMESAT): Remove macro.
5028 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5029
5030 2016-03-29 Florian Weimer <fweimer@redhat.com>
5031
5032 [BZ #19879]
5033 CVE-2016-3075
5034 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5035 copy name.
5036
5037 2016-03-29 Florian Weimer <fweimer@redhat.com>
5038
5039 [BZ #19837]
5040 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5041 error if parse_line fails.
5042
5043 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5044
5045 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5046 (index_cpu_ERMS): Likewise.
5047 (reg_ERMS): Likewise.
5048
5049 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
5050
5051 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5052 PER_LINUX_FDPIC): Add.
5053
5054 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5057 memcpy-avx512-no-vzeroupper.
5058 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5059 to ...
5060 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5061 (MEMCPY): Don't define.
5062 (MEMCPY_CHK): Likewise.
5063 (MEMPCPY): Likewise.
5064 (MEMPCPY_CHK): Likewise.
5065 (MEMPCPY_CHK): Renamed to ...
5066 (__mempcpy_chk_avx512_no_vzeroupper): This.
5067 (MEMPCPY_CHK): Renamed to ...
5068 (__mempcpy_chk_avx512_no_vzeroupper): This.
5069 (MEMCPY_CHK): Renamed to ...
5070 (__memmove_chk_avx512_no_vzeroupper): This.
5071 (MEMCPY): Renamed to ...
5072 (__memmove_avx512_no_vzeroupper): This.
5073 (__memcpy_avx512_no_vzeroupper): New alias.
5074 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5075
5076 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5077
5078 [BZ #18858]
5079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5080 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5081 and mempcpy-avx512-no-vzeroupper.
5082 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5083 New.
5084 (MEMPCPY): Likewise.
5085 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5086 (MEMPCPY_CHK): New.
5087 (MEMPCPY): Likewise.
5088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5089 (MEMPCPY): Likewise.
5090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5091 (MEMPCPY): Likewise.
5092 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5093 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5094 Likewise.
5095 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5096 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5097
5098 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
5099 Amit Pawar <Amit.Pawar@amd.com>
5100
5101 [BZ #19583]
5102 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5103 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5104 processors. Set Fast_Copy_Backward for AMD Excavator
5105 processors.
5106 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5107 New.
5108 (index_arch_Fast_Unaligned_Copy): Likewise.
5109 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5110 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5111
5112 2016-03-25 Florian Weimer <fweimer@redhat.com>
5113
5114 [BZ #19791]
5115 * resolv/res_send.c (close_and_return_error): New function.
5116 (send_dg): Initialize *resplen2 after reopen failure. Call
5117 close_and_return_error for error returns. On error paths without
5118 __res_iclose, initialze *resplen2 explicitly. Update comment for
5119 successful return.
5120
5121 2016-03-25 Florian Weimer <fweimer@redhat.com>
5122
5123 [BZ# 19860]
5124 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5125 zero if the compiler does not provide the AVX512F bit.
5126
5127 2016-03-24 Joseph Myers <joseph@codesourcery.com>
5128
5129 [BZ #19848]
5130 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5131 from 8 to 4.
5132 (__ieee754_powl): Compare integer exponent against 4 not 8.
5133 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5134 from 8 to 4.
5135 (__ieee754_powl): Compare integer exponent against 4 not 8.
5136 * math/auto-libm-test-in: Add more tests of pow.
5137 * math/auto-libm-test-out: Regenerated.
5138 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5140
5141 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5142
5143 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5144 Make code unconditional.
5145 [!__NR_utimensat]: Remove conditional code.
5146 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5147 Make code unconditional.
5148 [!__NR_utimensat]: Remove conditional code.
5149 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5150 Make code unconditional.
5151 [!__NR_utimensat]: Remove conditional code.
5152
5153 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
5154
5155 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5156 Make code unconditional.
5157
5158 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
5159
5160 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5161 call-clobbered %eax on retry path.
5162 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5163
5164 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5165
5166 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5167 Don't set %rcx twice before "rep movsb".
5168
5169 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
5170
5171 [BZ #19583]
5172 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5173 inline. Check family before setting family, model and
5174 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
5175 bits here.
5176 (init_cpu_features): Replace HAS_CPU_FEATURE and
5177 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5178 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
5179 for Intel processors with usable AVX2. Call get_common_indeces
5180 for other processors with family == NULL.
5181 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5182 (CPU_FEATURES_ARCH_P): Likewise.
5183 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5184 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5185
5186 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5187
5188 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5189 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5190 $(shared-thread-library) instead of hardcoding the path to libpthread.
5191
5192 2016-03-22 Joseph Myers <joseph@codesourcery.com>
5193
5194 * sysdeps/unix/sysv/linux/kernel-features.h
5195 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5196 * sysdeps/unix/sysv/linux/getdents.c
5197 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5198 [!have_no_getdents64_defined]: Likewise.
5199 (__GETDENTS): Remove __have_no_getdents64 conditional.
5200
5201 2016-03-21 Joseph Myers <joseph@codesourcery.com>
5202
5203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5204 Remove macro.
5205 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5206 <kernel-features.h>.
5207 (signalfd) [__NR_signalfd4]: Make code unconditional.
5208 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5209
5210 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5211
5212 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5213 style.
5214
5215 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
5216
5217 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5218 (__pthread_enable_asynccancel): Use JUMPTARGET to call
5219 __pthread_unwind.
5220 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5221 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5222 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5223 (__condvar_cleanup1): Likewise.
5224
5225 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
5226
5227 [BZ #19822]
5228 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5229 move it to the final $@ location.
5230
5231 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5232
5233 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5234 access where posix_spawn success and pid argument is null.
5235 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5236 success case.
5237
5238 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
5239
5240 * sysdeps/mach/hurd/i386/c++-types.data: New file.
5241
5242 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5243
5244 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5245 and __fcntl.
5246 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5247 __fcntl only.
5248 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5249 adding attribute_hidden to __open and __fcntl.
5250
5251 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5252 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5253 depend on libc-modules.h,
5254 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5255
5256 2016-03-17 Joseph Myers <joseph@codesourcery.com>
5257
5258 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5259 Remove macro.
5260 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5261 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5262 entry.
5263
5264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5265 Remove macro.
5266 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5267 include <kernel-features.h>.
5268 [!__ASSUME_FALLOCATE]: Remove conditional code.
5269 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5270
5271 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
5272
5273 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5274 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5275 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5276 (_ZGVdN4v_cos_avx2): Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5278 (_ZGVdN4v_cos): Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5280 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5281 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5282 (_ZGVdN4v_exp_avx2): Likewise.
5283 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5284 (_ZGVdN4v_exp): Likewise.
5285 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5286 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5287 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5288 (_ZGVdN4v_log_avx2): Likewise.
5289 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5290 (_ZGVdN4v_log): Likewise.
5291 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5292 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5293 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5294 (_ZGVdN4vv_pow_avx2): Likewise.
5295 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5296 (_ZGVdN4vv_pow): Likewise.
5297 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5298 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5299 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5300 (_ZGVdN4v_sin_avx2): Likewise.
5301 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5302 (_ZGVdN4v_sin): Likewise.
5303 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5304 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5305 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5306 (_ZGVdN4vvv_sincos_avx2): Likewise.
5307 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5308 (_ZGVdN4vvv_sincos): Likewise.
5309 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5310 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5311 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5312 (_ZGVbN4v_cosf_sse4): Likewise.
5313 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5314 (_ZGVdN8v_cosf_avx2): Likewise.
5315 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5316 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5317 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5318 (_ZGVbN4v_expf_sse4): Likewise.
5319 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5320 (_ZGVdN8v_expf_avx2): Likewise.
5321 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5322 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5323 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5324 (_ZGVbN4v_logf_sse4): Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5326 (_ZGVdN8v_logf_avx2): Likewise.
5327 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5328 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5329 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5330 (_ZGVbN4vv_powf_sse4): Likewise.
5331 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5332 (_ZGVdN8vv_powf_avx2): Likewise.
5333 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5334 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5335 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5336 (_ZGVbN4vvv_sincosf_sse4): Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5338 (_ZGVdN8vvv_sincosf_avx2): Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5340 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5341 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5342 (_ZGVbN4v_sinf_sse4): Likewise.
5343 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5344 (_ZGVdN8v_sinf_avx2): Likewise.
5345 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5346 Use JUMPTARGET to call callee.
5347 (WRAPPER_IMPL_SSE2_ff): Likewise.
5348 (WRAPPER_IMPL_SSE2_fFF): Likewise.
5349 (WRAPPER_IMPL_AVX): Likewise.
5350 (WRAPPER_IMPL_AVX_ff): Likewise.
5351 (WRAPPER_IMPL_AVX_fFF): Likewise.
5352 (WRAPPER_IMPL_AVX512): Likewise.
5353 (WRAPPER_IMPL_AVX512_ff): Likewise.
5354 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5355 Likewise.
5356 (WRAPPER_IMPL_SSE2_ff): Likewise.
5357 (WRAPPER_IMPL_SSE2_fFF): Likewise.
5358 (WRAPPER_IMPL_AVX): Likewise.
5359 (WRAPPER_IMPL_AVX_ff): Likewise.
5360 (WRAPPER_IMPL_AVX_fFF): Likewise.
5361 (WRAPPER_IMPL_AVX512): Likewise.
5362 (WRAPPER_IMPL_AVX512_ff): Likewise.
5363 (WRAPPER_IMPL_AVX512_fFF): Likewise.
5364
5365 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5366
5367 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5368 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5369 qualifier.
5370 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5371 internal_function qualifiers.
5372
5373 2016-03-15 Carlos O'Donell <carlos@redhat.com>
5374
5375 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5376 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5377 * math/atest-exp.c (exp_mpn): Mark chk unused.
5378 * math/atest-exp2.c (exp_mpn): Likwise.
5379 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5380 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5381
5382 2016-03-15 Joseph Myers <joseph@codesourcery.com>
5383
5384 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5385 Remove macro.
5386 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5387 <kernel-features.h>.
5388 [__NR_ppoll]: Make code unconditional.
5389 [!__ASSUME_PPOLL]: Remove conditional code.
5390
5391 * sysdeps/unix/sysv/linux/kernel-features.h
5392 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5393 (__ASSUME_ACCEPT4): Likewise.
5394 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5395 Define.
5396 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5397 Likewise.
5398 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5399 Likewise.
5400 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5401 Likewise.
5402 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5403 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5404 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5405 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5406 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5407 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5408 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5409 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5410 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5411 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5412 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5413 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5414 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5415 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5416 * sysdeps/unix/sysv/linux/i386/kernel-features.h
5417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5418 Likewise.
5419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5420 Likewise.
5421 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5422 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5423 0x040300].
5424 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5425 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5426 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5427 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5428 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5429 0x030300].
5430 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5431 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5432 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5433 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5434 0x040300].
5435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5436 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5438 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5439 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5440 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5441 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5442 0x030300].
5443 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5444 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5446 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5447 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5448 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5449 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5450 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5451 * sysdeps/unix/sysv/linux/s390/kernel-features.h
5452 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5453 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5454 0x040300].
5455 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5456 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5457 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5458 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5459 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5460 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5461 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5462 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5463 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5464 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5466 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5467 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5468 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5469 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5470 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5472 Likewise.
5473 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5474 Likewise.
5475
5476 2016-03-15 Andreas Schwab <schwab@suse.de>
5477
5478 [BZ #19257]
5479 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
5480 statp->_u._ext.nscount as loop count.
5481
5482 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
5483
5484 * math/test-signgam-finite-c99.c: Also #undef
5485 __LIBC_INTERNAL_MATH_INLINES.
5486 * math/test-signgam-main.c: Likewise.
5487
5488 2016-03-14 Joseph Myers <joseph@codesourcery.com>
5489
5490 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
5491 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
5492 (MADV_FREE): Likewise.
5493 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
5494 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
5495 EPOLLEXCLUSIVE.
5496
5497 2016-03-14 Carlos O'Donell <carlos@redhat.com>
5498
5499 * timezone/README: Remove mention of checktab.awk. Mention wiki
5500 SharedSourceFiles.
5501
5502 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
5503
5504 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
5505 WUNTRACED.
5506
5507 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5508
5509 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
5510 order to match the type of p when calling atomic_exchange_acq().
5511
5512 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5513
5514 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
5515 cfi_offset calls.
5516 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
5517 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
5518 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
5519 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
5520 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
5521
5522 2016-03-10 Carlos O'Donell <carlos@redhat.com>
5523
5524 * timezone/checktab.awk: Removed.
5525
5526 2016-03-10 Joseph Myers <joseph@codesourcery.com>
5527
5528 * manual/math.texi (Errors in Math Functions): Document relaxed
5529 accuracy goals for IBM long double.
5530 * math/libm-test.inc (test_exceptions): Always allow spurious
5531 "underflow" and "inexact" exceptions for IBM long double.
5532
5533 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 [BZ #19762]
5536 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5537 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
5538 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
5539 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
5540 (bit_arch_*): This for feature array.
5541 (bit_*): Renamed to ...
5542 (bit_cpu_*): This for cpu array.
5543 (index_*): Renamed to ...
5544 (index_arch_*): This for feature array.
5545 (index_*): Renamed to ...
5546 (index_cpu_*): This for cpu array.
5547 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
5548 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
5549 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
5550 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
5551 bit_##name with index_cpu_##name and bit_cpu_##name.
5552 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
5553 bit_##name with index_arch_##name and bit_arch_##name.
5554
5555 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
5556
5557 [BZ #19792]
5558 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
5559 Terminate FDE before return label.
5560
5561 2016-03-09 Joseph Myers <joseph@codesourcery.com>
5562
5563 [BZ #19790]
5564 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
5565 (rintl): Define as macro.
5566 [USE_AS_NEARBYINTL] (__rintl): Likewise.
5567 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
5568 of fesetround. Ensure results are evaluated before end of scope.
5569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
5570 USE_AS_NEARBYINTL and include s_rintl.c.
5571 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
5572 Disable exception traps in new environment.
5573 (libc_feholdsetround_ppc_ctx): Likewise.
5574
5575 2016-03-08 Roland McGrath <roland@hack.frob.com>
5576
5577 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
5578 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
5579 (tst_audit10_aux) [__AVX512F__]: ... here.
5580
5581 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
5582
5583 * include/sys/auxv.h: New file.
5584
5585 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5586
5587 [BZ #19759]
5588 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
5589
5590 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5591
5592 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
5593 operand modifier.
5594 (feclearexcept): Likewise.
5595
5596 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5597
5598 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
5599 to reflect the entire 32-bit HWCAP.
5600 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
5601 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
5602
5603 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
5604
5605 [BZ #19783]
5606 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
5607 $(test-via-rtld-prefix).
5608 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
5609
5610 2016-03-08 Florian Weimer <fweimer@redhat.com>
5611
5612 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
5613 union wait. Report any non-zero exit status as error.
5614
5615 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5616
5617 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
5618 configured with --enable-hardcoded-path-in-tests.
5619
5620 2016-03-08 Joseph Myers <joseph@codesourcery.com>
5621
5622 [BZ #19677]
5623 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
5624 (__ieee754_remainderl): Put zero low parts in canonical form.
5625 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
5626 file. Based on
5627 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
5628 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
5629 with wrapper round test-fmodrem-ldbl-128ibm.c.
5630 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
5631 file.
5632 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
5633 Likewise.
5634 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5635 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
5636
5637 2016-03-07 Florian Weimer <fweimer@redhat.com>
5638
5639 [BZ #19610]
5640 * elf/ldconfig.c (opt_link): Update comment.
5641 (options): Update help string for option -X.
5642 (search_dir): Unlink stale symbolic link only if updating symbolic
5643 links.
5644 * elf/tst-ldconfig-X.sh: New file.
5645 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
5646 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
5647
5648 2016-03-07 Andreas Schwab <schwab@suse.de>
5649
5650 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
5651 needed arguments.
5652
5653 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
5654
5655 [BZ #15333]
5656 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
5657 to lstat64.
5658
5659 2016-03-07 Florian Weimer <fweimer@redhat.com>
5660
5661 * libio/filedoalloc.c (isatty): Remove.
5662 (local_isatty): Add comment. Call __isatty directly.
5663 (_IO_file_doallocate): Update comment. Assume _LIBC.
5664 * libio/wfiledoalloc.c (isatty): Remove.
5665 (_IO_wfile_doallocate): Update comment.
5666
5667 2016-03-07 Florian Weimer <fweimer@redhat.com>
5668
5669 [BZ #19269]
5670 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
5671 tst-audit4-aux.o.
5672 (tst-audit10): Depend on tst-audit10-aux.o.
5673 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
5674 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
5675 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
5676 instead of inline AVX code.
5677 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
5678 instead of inline AVX512 code.
5679 * sysdeps/x86_64/tst-audit4-aux.c: New file
5680 * sysdeps/x86_64/tst-audit10-aux.c: New file
5681
5682 [BZ #19648]
5683 * test-skeleton.c (main): Do not set RLIMIT_DATA.
5684
5685 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5686
5687 [BZ #14750]
5688 [BZ #10354]
5689 [BZ #18433]
5690 * include/sched.h (__clone): Add hidden prototype.
5691 (__clone2): Likewise.
5692 * include/unistd.h (__dup): Likewise.
5693 * posix/Makefile (tests): Add tst-spawn2.
5694 * posix/tst-spawn2.c: New file.
5695 * sysdeps/posix/dup.c (__dup): Add hidden definition.
5696 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
5697 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5698 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5699 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5700 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5701 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
5702 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5703 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
5704 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5705 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5707 Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5709 Likewise.
5710 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5711 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5712 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5713 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5714 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5715 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5716 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5717 * sysdeps/unix/sysv/linux/nptl-signals.h
5718 (____nptl_is_internal_signal): New function.
5719 * sysdeps/unix/sysv/linux/spawni.c: New file.
5720
5721 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
5722 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
5723 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
5724 * posix/tst-execvp2.c (do_test): Likewise.
5725 * posix/tst-execvp3.c (do_test): Likewise.
5726 * posix/tst-execvp4.c (do_test): Likewise.
5727 * posix/tst-execvpe1.c: New file.
5728 * posix/tst-execvpe2.c: Likewise.
5729 * posix/tst-execvpe3.c: Likewise.
5730 * posix/tst-execvpe4.c: Likewise.
5731 * posix/tst-execvpe5.c: Likewise.
5732 * posix/tst-execvpe6.c: Likewise.
5733
5734 [BZ #19534]
5735 * posix/execl.c (execl): Remove dynamic memory allocation.
5736 * posix/execle.c (execle): Likewise.
5737 * posix/execlp.c (execlp): Likewise.
5738
5739 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5740
5741 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
5742 Replace .text with .text.avx512.
5743 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5744 Likewise.
5745
5746 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
5747
5748 * sysdeps/generic/libnsl.abilist: New file.
5749 * sysdeps/generic/libutil.abilist: New file.
5750
5751 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
5752
5753 [BZ #19762]
5754 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
5755 HAS_ARCH_FEATURE with Fast_Rep_String.
5756 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
5757 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
5758 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
5759 Likewise.
5760 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
5761 Likewise.
5762 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
5763 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
5764 Likewise.
5765 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
5766 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
5767 Likewise.
5768
5769 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5770
5771 [BZ #19745]
5772 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
5773 with *%rax in call.
5774
5775 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 [BZ #19745]
5778 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
5779 with *__libc_start_main@GOTPCREL(%rip) in call.
5780
5781 2016-03-04 Roland McGrath <roland@hack.frob.com>
5782
5783 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
5784 inside conditional for nonempty $(CXX).
5785
5786 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
5787 nonempty.
5788
5789 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
5790 to test for empty $(CXX) rather than $(CXX) of "no".
5791
5792 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
5793
5794 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
5795
5796 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
5797 H.J. Lu <hongjiu.lu@intel.com>
5798
5799 [BZ #18880]
5800 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
5801 instead of Slow_BSF, and also check for Fast_Copy_Backward to
5802 enable __memcpy_ssse3_back.
5803
5804 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5805
5806 [BZ #19758]
5807 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
5808 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
5809
5810 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5811
5812 [BZ #19490]
5813 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
5814 (__fentry__): Likewise.
5815
5816 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
5817
5818 * gmon/Makefile (noprof): Add $(sysdep_noprof).
5819 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
5820
5821 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5822
5823 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
5824 __mcount_internal directly.
5825 (C_LABEL(__fentry__)): Likewise.
5826 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
5827 directly.
5828
5829 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
5830
5831 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
5832 (__start_context): Call __setcontext directly.
5833
5834 2016-02-26 Joseph Myers <joseph@codesourcery.com>
5835
5836 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5837 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5838 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
5839 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5841 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5842 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
5843 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5844 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5845 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
5846 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5847 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5848 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5849 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5850 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5851 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5852 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
5853 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5854 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5855 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
5856 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
5857 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5858 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5859 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
5860 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
5861 Remove conditional code.
5862 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5863 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
5864 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5865 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5866 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
5867 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5868 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
5869 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5870 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
5871 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5872 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5873 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
5874
5875 2016-02-24 Marko Myllynen <myllynen@redhat.com>
5876
5877 * NEWS (2.23): Fix typo in bug 19048 text.
5878
5879 2016-02-24 Carlos O'Donell <carlos@redhat.com>
5880
5881 [BZ #14259]
5882 * Makeconfig: Rename msgcatdir to localedir.
5883 Rename inst_msgcatdir to inst_localedir.
5884 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
5885 * config.make.in: Add localedir.
5886 * elf/Makefile ($(objpfx)sotruss): Use localedir.
5887 (ldd-rewrite): Likewise.
5888 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
5889 (install-others): Use inst_localedir.
5890 (CPPFLAGS): Use localedir.
5891 * locale/Makefile (locale-CPPFLAGS): Likewise.
5892 * po/Makefile (mo-installed): Use inst_localedir.
5893
5894 [BZ #19575]
5895 * localedata/charmaps/GB18030: Update comments regarding PAU to
5896 non-PUA mappings.
5897
5898 2016-02-24 Joseph Myers <joseph@codesourcery.com>
5899
5900 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
5901 test for header.
5902 * sysdeps/unix/sysv/linux/configure: Regenerated.
5903 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
5904 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
5905 Remove conditional code.
5906 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
5907
5908 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5909 Define to 3.2.0.
5910 (arch_minimum_kernel): Likewise.
5911 * sysdeps/unix/sysv/linux/configure: Regenerated.
5912 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5913 Define to 2.6.32.
5914 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5915 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5916 (arch_minimum_kernel): Define to 2.6.32.
5917 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5918 * README: Document Linux 3.2 requirement.
5919 * manual/install.texi (Linux): Document Linux 3.2 headers
5920 requirement.
5921 * INSTALL: Regenerated.
5922
5923 2016-02-24 Andreas Schwab <schwab@suse.de>
5924
5925 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
5926 if !NO_LONG_DOUBLE.
5927
5928 2016-02-22 Roland McGrath <roland@hack.frob.com>
5929
5930 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
5931 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
5932
5933 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
5934
5935 [BZ #19512]
5936 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
5937
5938 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
5939
5940 * posix/tst-dir.c: Include libc-internal.h.
5941
5942 2016-02-20 Florian Weimer <fweimer@redhat.com>
5943
5944 [BZ #19056]
5945 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
5946 * manual/filesys.texi (Reading/Closing Directory): Mention
5947 deprecaion.
5948 * posix/tst-dir.c (main): Disable deprecation warning in test.
5949
5950 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
5951
5952 [BZ #19679]
5953 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
5954 Renamed to ...
5955 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
5956 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5957 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
5958 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5959 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5960 * sysdeps/x86_64/dl-trampoline.h
5961 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
5962 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
5963
5964 2016-02-19 Mark Wielaard <mjw@redhat.com>
5965
5966 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
5967
5968 2016-02-19 Mark Wielaard <mjw@redhat.com>
5969
5970 * elf/elf.h (R_386_GOT32X): New.
5971 (R_386_NUM): Update.
5972 (R_X86_64_GOTPCRELX: New.
5973 (R_X86_64_REX_GOTPCRELX): New.
5974 (R_X86_64_NUM): Update.
5975
5976 2016-02-19 Mike Frysinger <vapier@gentoo.org>
5977
5978 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
5979
5980 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
5981
5982 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
5983 assign attr->stackaddr to it, and adjust it down when
5984 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
5985 [_STACK_GROWS_UP]: Delete assert.
5986 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
5987 Implement stack grows up logic.
5988 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
5989 stack grows up logic.
5990
5991 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5992
5993 * NEWS: Update with 2.24 template.
5994
5995 2016-02-19 Joseph Myers <joseph@codesourcery.com>
5996
5997 [BZ #19678]
5998 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5999 Ensure +0.0 is returned when taking the next value below the least
6000 positive value.
6001
6002 2016-02-19 Florian Weimer <fweimer@redhat.com>
6003
6004 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6005 available. Do not define NO_THREADS.
6006 * malloc/malloc.c: Do not check NO_THREADS.
6007 * malloc/arena.c: Likewise.
6008
6009 2016-02-19 Florian Weimer <fweimer@redhat.com>
6010
6011 * malloc/malloc.c (__libc_mallinfo): Update comment.
6012 (struct malloc_par): Remove max_total_mem member, it was always 0.
6013 (int_mallinfo): Store 0 into usmblks (no functional change).
6014 * malloc/hooks.c (struct malloc_state): Document that
6015 max_total_mem is always 0.
6016 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6017 always 0.
6018 * manual/memory.texi (Statistics of Malloc): Likewise.
6019
6020 2016-02-19 Florian Weimer <fweimer@redhat.com>
6021
6022 * malloc/malloc.c (sysmalloc): Do not update arena_max.
6023 * malloc/arena.c (arena_max): Remove.
6024 (heap_trim, _int_new_arena): Do not update arena_max.
6025
6026 2016-02-19 Florian Weimer <fweimer@redhat.com>
6027
6028 * resolv/res_init.c (res_ninit): Update comment.
6029
6030 2016-02-19 Florian Weimer <fweimer@redhat.com>
6031
6032 [BZ #19505]
6033 * posix/spawn_int.h: Add headers and include guard.
6034 (__spawn_valid_fd): New function.
6035 * posix/spawn_faction_addopen.c
6036 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6037 * posix/spawn_faction_addclose.c
6038 (posix_spawn_file_actions_addclose): Likewise.
6039 * posix/spawn_faction_adddup2.c
6040 (posix_spawn_file_actions_adddup2): Likewise. Add check for
6041 second file descriptor.
6042 * posix/spawn_valid_fd.c: New file.
6043 * posix/tst-posix_spawn-fd.c: New file.
6044 * posix/Makefile (routines): Add spawn_valid_fd.
6045 (tests): Add tst-posix_spawn-fd.
6046
6047 2016-02-19 Florian Weimer <fweimer@redhat.com>
6048
6049 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6050 (do_test): Limit the number of arenas, so that we can use fewer
6051 outer threads. Limit timeout to 3 seconds, in preparation for a
6052 larger TIMEOUT value.
6053
6054 2016-02-19 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #19674]
6057 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6058 sign in overflowing and underflowing results when overflow or
6059 underflow is detected early. Include sign in result before rather
6060 than after scaling.
6061
6062 [BZ #19603]
6063 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6064 (__ieee754_remainderl): Adjust sign of integer version of low part
6065 when taking absolute value of high part.
6066 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6067 * math/libm-test.inc (remainder_test_data): Add another test.
6068 (remquo_test_data): Likewise.
6069
6070 2016-02-18 Joseph Myers <joseph@codesourcery.com>
6071
6072 [BZ #19602]
6073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6074 equal high parts and both low parts zero specially.
6075 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6076 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6077 Add test-fmodl-ldbl-128ibm.
6078
6079 [BZ #19595]
6080 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6081 common logic for all cases of shifting subnormal results. Do not
6082 insert sign bit in shifted mantissa. Always pass -1023 as biased
6083 exponent to ldbl_insert_mantissa in subnormal case.
6084
6085 [BZ #19594]
6086 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6087 on high and low parts then adjust result and use
6088 ldbl_canonicalize_int if needed.
6089
6090 [BZ #19593]
6091 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6092 on high part and __floor or __ceil on low part then use
6093 ldbl_canonicalize_int if needed.
6094
6095 [BZ #19592]
6096 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6097 high and low parts then use ldbl_canonicalize_int if needed.
6098
6099 [BZ #17899]
6100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6101 New function.
6102 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6103 on high and low parts then use ldbl_canonicalize_int if needed.
6104
6105 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6106
6107 * configure: Regenerated.
6108
6109 * po/libc.pot: Regenerated.
6110
6111 * po/be.po: Updated translation.
6112 * po/bg.po: Likewise.
6113 * po/ca.po: Likewise.
6114 * po/cs.po: Likewise.
6115 * po/da.po: Likewise.
6116 * po/el.po: Likewise.
6117 * po/eo.po: Likewise.
6118 * po/es.po: Likewise.
6119 * po/fi.po: Likewise.
6120 * po/fr.po: Likewise.
6121 * po/gl.po: Likewise.
6122 * po/hr.po: Likewise.
6123 * po/hu.po: Likewise.
6124 * po/ia.po: Likewise.
6125 * po/id.po: Likewise.
6126 * po/it.po: Likewise.
6127 * po/ja.po: Likewise.
6128 * po/lt.po: Likewise.
6129 * po/nb.po: Likewise.
6130 * po/nl.po: Likewise.
6131 * po/pt_BR.po: Likewise.
6132 * po/rw.po: Likewise.
6133 * po/sk.po: Likewise.
6134 * po/sl.po: Likewise.
6135 * po/sv.po: Likewise.
6136 * po/tr.po: Likewise.
6137 * po/zh_CN.po: Likewise.
6138 * po/zh_TW.po: Likewise.
6139
6140 * version.h (RELEAES): Set to "development".
6141 (VERSION): Set to 2.23.90.
6142
6143 * version.h (RELEASE): Set to "stable".
6144 (VERSION): Set to 2.23.
6145 * include/feature.h (__GLIBC_MINOR__): Set to 23.
6146
6147 * NEWS: Updated fixed bugs.
6148
6149 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
6150 Wilco Dijkstra <wdijkstr@arm.com>
6151
6152 [BZ #19462]
6153 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6154 (_STRING_INLINE_unaligned): This.
6155 * include/string.h: Include <string_private.h>.
6156 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6157 _STRING_INLINE_unaligned.
6158 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6159 (_STRING_INLINE_unaligned): New.
6160 * sysdeps/aarch64/string_private.h: New file.
6161 * sysdeps/generic/string_private.h: Likewise.
6162 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6163 * sysdeps/s390/string_private.h: Likewise.
6164 * sysdeps/x86/string_private.h: Likewise.
6165 * sysdeps/m68k/m680x0/m68020/bits/string.h
6166 (_STRING_ARCH_unaligned): Renamed to ...
6167 (_STRING_INLINE_unaligned): This.
6168 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6169 to ...
6170 (_STRING_INLINE_unaligned): This.
6171 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6172 to ...
6173 (_STRING_INLINE_unaligned): This.
6174 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6175 to ...
6176 (_STRING_INLINE_unaligned): This.
6177
6178 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
6179 H.J. Lu <hongjiu.lu@intel.com>
6180
6181 [BZ #19590]
6182 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6183 relocation.
6184
6185 2016-02-15 Carlos O'Donell <carlos@redhat.com>
6186
6187 [BZ #18665]
6188 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6189 *herrno_p.
6190 (gaih_getanswer): Document functional behviour. Return tryagain
6191 if any result is tryagain.
6192 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6193 when freed.
6194 * resolv/res_send.c: Add copyright text.
6195 (__libc_res_nsend): Document that MAXPACKET is expected.
6196 (send_vc): Document. Remove buffer reuse.
6197 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6198 size of the buffer. Add Dprint for truncated UDP buffer.
6199
6200 2016-02-14 Carlos O'Donell <carlos@redhat.com>
6201
6202 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6203 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6204 * INSTALL: Regenerate.
6205
6206 2016-02-14 Jakub Jelinek <jakub@redhat.com>
6207 Jonathan Wakely <jwakely@redhat.com>
6208 Carlos O'Donell <carlos@redhat.com>
6209
6210 [BZ 19439]
6211 * math/Makefile (tests): Add test-math-isinff.
6212 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6213 * math/bits/mathcalls.h [__USE_MISC]: Use
6214 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6215 functions not in C++11 and which don't conflict e.g. isinff,
6216 isinfl etc.
6217 * math/test-math-isinff.cc: New file.
6218
6219 2016-02-12 Florian Weimer <fweimer@redhat.com>
6220
6221 * misc/bug18240.c (do_test): Set RLIMIT_AS.
6222
6223 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6224
6225 [BZ #19529]
6226 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6227
6228 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6229
6230 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6231
6232 2016-02-01 Joseph Myers <joseph@codesourcery.com>
6233
6234 [BZ #19550]
6235 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6236 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6237 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6238 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6239 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6240 New syscall entry.
6241 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6242 New syscall entry.
6243 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6244 syscall entry.
6245
6246 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
6247
6248 [BZ #18240]
6249 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6250 unsigned int wraparound.
6251
6252 2016-01-27 Florian Weimer <fweimer@redhat.com>
6253
6254 [BZ #18240]
6255 * misc/bug18240.c: New test.
6256 * misc/Makefile (tests): Add it.
6257
6258 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
6259 Joseph Myers <joseph@codesourcery.com>
6260
6261 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6262 load in branch delay slot when less than a word of input left.
6263
6264 2016-01-27 Andreas Schwab <schwab@suse.de>
6265
6266 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6267 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6268 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6269 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6270
6271 2016-01-26 David S. Miller <davem@davemloft.net>
6272
6273 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6274
6275 2016-01-25 David S. Miller <davem@davemloft.net>
6276
6277 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6278 __sqrtl_finite.
6279 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6280 instead using versioned_symbol.
6281 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6282 of entries.
6283
6284 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6285 __sqrtl_finite to GLIBC_2.23
6286
6287 2016-01-25 Ricchard Henderson <rth@redhat.com>
6288
6289 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6290
6291 2016-01-25 Andreas Schwab <schwab@suse.de>
6292
6293 [BZ #17514]
6294 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6295 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6296 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6297 * nptl/tst-mutex-errorcheck.c: New file.
6298
6299 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6300
6301 [BZ #18560]
6302 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6303 (IPCOP_semop): Likewise.
6304 (IPCOP_semget): Likewise.
6305 (IPCOP_semctl): Likewise.
6306 (IPCOP_msgsnd): Likewise.
6307 (IPCOP_msgrcv): Likewise.
6308 (IPCOP_msgget): Likewise.
6309 (IPCOP_msgctl): Likewise.
6310 (IPCOP_shmat): Likewise.
6311 (IPCOP_shmdt): Likewise.
6312 (IPCOP_shmget): Likewise.
6313 (IPCOP_shmctl): Likewise.
6314
6315 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
6316
6317 * string/tst-endian.c: Include <libc-internal.h>.
6318 (do_test): Ignore tautological-compare warnings around
6319 "htobeXX (beXXtoh (i)) != i" and
6320 "htoleXX (leXXtoh (i)) != i" if-statements.
6321
6322 2016-01-24 David S. Miller <davem@davemloft.net>
6323
6324 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6325 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6326 alias.
6327 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6328 __sqrtl_finite.
6329
6330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6331
6332 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
6333
6334 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6335 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6336 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6337
6338 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6339
6340 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6341 (thread_func): Use new function to simplify barrier check.
6342 (do_test): Use new function to simplify checking barrier exit
6343 code, and actually join the child thread.
6344
6345 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6346
6347 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6348 semicolon.
6349 (__libc_tend): Likewise.
6350 (__libc_tabort): Likewise.
6351
6352 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
6353
6354 * sysdeps/nios2/libm-test-ulps: Update.
6355 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6356 (__gtsf2): Likewise.
6357 (__unorddf2): Likewise.
6358 (__unordsf2): Likewise.
6359 (__ledf2): Likewise.
6360
6361 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
6362
6363 * nis/nis_table.c (__follow_path): Disable diagnostic for
6364 uninitialized variable that is a false positive for gcc 4.7.
6365 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6366
6367 2016-01-20 Roland McGrath <roland@hack.frob.com>
6368
6369 * sysdeps/nacl/lowlevellock-futex.h
6370 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6371 Always evaluate PRIVATE argument.
6372
6373 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
6374
6375 [BZ #19490]
6376 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6377 (pthread_cond_broadcast): Use ENTRY/END
6378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6379 (pthread_cond_signal): Likewise.
6380 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6381 Likewise.
6382 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6383 Likewise.
6384 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6385 Likewise.
6386
6387 2016-01-20 Joseph Myers <joseph@codesourcery.com>
6388
6389 * sysdeps/ieee754/dbl-64/s_finite.c
6390 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6391 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6392 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6394 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6395
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6397 (__gtsf2): Add as optional for libc.so.
6398 (__unordsf2): Likewise.
6399 (__signbit): Remove for libc.so.
6400 (__signbitl): Likewise.
6401
6402 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
6403
6404 * iconvdata/bug-iconv11.c (test_ibm93x):
6405 Use %zu printf format specifier for size_t argument.
6406
6407 2016-01-19 Joseph Myers <joseph@codesourcery.com>
6408
6409 * math/gen-libm-test.pl (parse_ulps): Do not reduce
6410 already-recorded ulps.
6411 * sysdeps/arm/libm-test-ulps: Regenerated.
6412 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6413 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6414 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6415
6416 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
6417 Paul Pluzhnikov <ppluzhnikov@google.com>
6418
6419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6420 assembler not supporting AVX-512.
6421
6422 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6423
6424 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6425
6426 2016-01-18 Joseph Myers <joseph@codesourcery.com>
6427
6428 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6429 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6430
6431 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6432
6433 * sysdeps/arm/libm-test-ulps: Regenerated.
6434
6435 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6436
6437 [BZ #19451]
6438 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6439
6440 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
6441
6442 [BZ #19486]
6443 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
6444 * sysdeps/generic/fix-fp-int-convert-overflow.h
6445 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
6446 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
6447 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
6448 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
6449 Likewise.
6450 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
6451 Avoid conversions to long int where inexact exceptions
6452 could be raised.
6453 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
6454 Likewise.
6455 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
6456 Avoid conversions to long long int where inexact exceptions
6457 could be raised.
6458 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
6459 Likewise.
6460
6461 2016-01-17 Mike Frysinger <vapier@gentoo.org>
6462
6463 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
6464 * configure: Regenerated.
6465
6466 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6467
6468 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
6469
6470 2016-01-16 Mike Frysinger <vapier@gentoo.org>
6471
6472 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
6473 outside of comment.
6474
6475 2016-01-15 Torvald Riegel <triegel@redhat.com>
6476
6477 * nptl/tst-barrier1.c: Add description on first line.
6478 * nptl/tst-barrier2.c: Likewise.
6479 * nptl/tst-barrier3.c: Likewise.
6480 * nptl/tst-barrier4.c: Likewise.
6481 * nptl/tst-barrier5.c: Likewise.
6482
6483 2016-01-15 Torvald Riegel <triegel@redhat.com>
6484
6485 [BZ #18868]
6486 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
6487
6488 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
6489
6490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
6491 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
6492 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
6493 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
6494 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
6495 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
6496 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6497 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6498 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6499 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6500 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6501
6502 2016-01-15 Torvald Riegel <triegel@redhat.com>
6503
6504 [BZ #13065]
6505 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
6506 new implementation.
6507 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
6508 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
6509 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
6510 (BARRIER_IN_THRESHOLD): New macro.
6511 * nptl/pthread_barrierattr_setpshared.c
6512 (pthread_barrierattr_setpshared): Clean up.
6513 * nptl/tst-barrier4.c: Correct comment.
6514 * nptl/tst-barrier5.c: New file.
6515 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
6516 (gen-as-const-headers): Remove lowlevelbarrier.sym.
6517 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
6518 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
6519 * nptl/lowlevelbarrier.sym: Remove.
6520 * nptl/DESIGN-barrier.txt: Remove.
6521 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
6522 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
6523 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
6524 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
6525 error.
6526 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
6527 implementation.
6528
6529 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6530
6531 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
6532 (do_child): Mask SIGRTMIN while thr is running.
6533
6534 2016-01-15 Martin Sebor <msebor@redhat.com>
6535
6536 [BZ #19432]
6537 * iconvdata/Makefile: Add bug-iconv11.
6538 * iconvdata/bug-iconv11.c: New test.
6539 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
6540 * iconvdata/ibm933.c: Same.
6541 * iconvdata/ibm935.c: Same.
6542 * iconvdata/ibm937.c: Same.
6543 * iconvdata/ibm939.c: Same.
6544
6545 2016-01-15 Martin Sebor <msebor@redhat.com>
6546
6547 [BZ #19443]
6548 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
6549 [DEBUG] (_ufc_set_bits): Declare used.
6550 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
6551 [DEBUG] (print_all): Declare used.
6552 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
6553 operands of the ternary ?: expression to target type.
6554 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
6555 calling the undeclared abort.
6556 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
6557
6558 2016-01-15 Martin Sebor <msebor@redhat.com>
6559
6560 [BZ #18755]
6561 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
6562 warnings.
6563 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
6564 (__gai_create_helper_thread): Same.
6565 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
6566 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
6567 to suppress -Wmaybe-uninitialized warnings.
6568
6569 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
6570
6571 [BZ #19465]
6572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
6573 inside if.
6574 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6575 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6576 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6577
6578 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
6579
6580 [BZ #19466]
6581 * time/tst-mktime2.c (time_t_max): Removed.
6582 (time_t_min): Likewise.
6583 (TYPE_SIGNED): New.
6584 (TYPE_MINIMUM): Likewise.
6585 (TYPE_MAXIMUM): Likewise.
6586 (TIME_T_MIN): Likewise.
6587 (TIME_T_MAX): Likewise.
6588 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
6589 and TIME_T_MIN.
6590 (do_test): Likewise.
6591
6592 2016-01-14 Amit Pawar <amit.pawar@amd.com>
6593
6594 [BZ #19467]
6595 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6596 index_Fast_Unaligned_Load flag for Excavator family CPUs.
6597
6598 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
6599
6600 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
6601
6602 2016-01-13 Carlos O'Donell <carlos@redhat.com>
6603
6604 * benchtests/Makefile (PYTHON): Define.
6605 (bench-func): Use $(PYTHON) to run python scripts.
6606 ($(objpfx)bench-%.c): Likewise.
6607
6608 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
6609
6610 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
6611 leading slash when `file_name' is "/".
6612
6613 2016-01-12 Joseph Myers <joseph@codesourcery.com>
6614
6615 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
6616 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
6617 Likewise.
6618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
6619 Likewise.
6620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
6621 Likewise.
6622 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
6623 enum constant and macro.
6624 (PTRACE_SETSIGMASK): Likewise.
6625 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6626 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
6627 (PTRACE_GETSIGMASK): Likewise.
6628 (PTRACE_SETSIGMASK): Likewise.
6629 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6630 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
6631 Likewise.
6632 (PTRACE_SETSIGMASK): Likewise.
6633 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
6635 (PTRACE_GETSIGMASK): Likewise.
6636 (PTRACE_SETSIGMASK): Likewise.
6637 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6638 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
6639 Likewise.
6640 (PTRACE_SETSIGMASK): Likewise.
6641 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6642 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
6643 Likewise.
6644 (PTRACE_SETSIGMASK): Likewise.
6645 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6646 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
6647 Likewise.
6648 (PTRACE_SETSIGMASK): Likewise.
6649 (PTRACE_SECCOMP_GET_FILTER): Likewise.
6650
6651 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
6652 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6653
6654 [BZ #19439]
6655 * math/bits/mathcalls.h
6656 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
6657 prototype.
6658 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
6659
6660 2016-01-11 Andreas Schwab <schwab@suse.de>
6661
6662 [BZ #19253]
6663 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
6664 cache when TZDEFRULES was used.
6665 * time/tst-tzname.c: New file.
6666 * time/Makefile (test): Add tst-tzname.
6667 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
6668 * timezone/Makefile (test-zones): Add $(posixrules-file).
6669 ($(testdata)/$(posixrules-file)): New rule.
6670
6671 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
6672
6673 Fix doc quoting problems with Texinfo 5
6674 Without this change, in the info file output, Texinfo 5 quotes code
6675 in text with undirected single quotes 'like this' and generates
6676 code examples that with many PDF readers cannot be cut out of PDFs
6677 and pasted into code.
6678 * manual/libc.texinfo: Configure the libc manual like the GNU
6679 Emacs manual, by using @documentencoding and setting
6680 txicodequoteundirected and txicodequotebacktick. This way,
6681 Texinfo 5 quotes code in text with directed single quotes ‘like
6682 this’ and produces examples that can be cut out of PDFs. This
6683 change causes Texinfo 5 to generate info files that contain UTF-8
6684 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
6685 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
6686
6687 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6688
6689 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
6690 __libc_tabort, __libc_tend): New wrappers that enforce compiler
6691 barriers to their respective compiler built-ins.
6692 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
6693 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
6694 * sysdeps/powerpc/sysdep.h: Likewise.
6695 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
6696 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
6697 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
6698
6699 2016-01-08 Marko Myllynen <myllynen@redhat.com>
6700
6701 * scripts/config.guess: Revert previous shebang change.
6702 * scripts/config.sub: Likewise.
6703 * scripts/mkinstalldirs: Likewise.
6704
6705 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6706
6707 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
6708 PPC_FEATURE2_HAS_IEEE128.
6709 * sysdeps/powerpc/dl-procinfo.c:
6710 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
6711
6712 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
6713
6714 [BZ #19415]
6715 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
6716 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
6717 (_dl_lookup_address): Rewrite using function resolver trampoline.
6718 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
6719 two bits in address.
6720
6721 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6722
6723 * longlong.h: Change !__SHMEDIA__ to
6724 (!defined (__SHMEDIA__) || !__SHMEDIA__).
6725 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
6726
6727 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
6728 Joseph Myers <joseph@codesourcery.com>
6729 Mark Shinwell <shinwell@codesourcery.com>
6730 Andrew Stubbs <ams@codesourcery.com>
6731 Rich Felker <dalias@libc.org>
6732
6733 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
6734
6735 2016-01-07 Richard Henderson <rth@redhat.com>
6736
6737 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
6738
6739 2016-01-07 Mike Frysinger <vapier@gentoo.org>
6740
6741 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
6742 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
6743 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6744 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6745 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
6746
6747 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
6748 Joseph Myers <joseph@codesourcery.com>
6749
6750 * timezone/private.h: Update from tzcode 2015g.
6751 * timezone/tzfile.h: Likewise.
6752 * timezone/tzselect.ksh: Likewise.
6753 * timezone/zdump.c: Likewise.
6754 * timezone/zic.c: Likewise.
6755 * timezone/ialloc.c: Remove file.
6756 * timezone/scheck.c: Likewise.
6757 * timezone/Makefile (extra-objs): Remove variable.
6758 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
6759 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
6760 -Wno-maybe-uninitialized.
6761 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
6762 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
6763 (CFLAGS-ialloc.c): Remove variable.
6764 (CFLAGS-scheck.c): Likewise.
6765 * timezone/README: Update list of files from tzcode.
6766
6767 2016-01-07 Khem Raj <raj.khem@gmail.com>
6768
6769 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
6770 instead of __fxprintf when _LIBC is undefined.
6771
6772 2016-01-07 Marko Myllynen <myllynen@redhat.com>
6773
6774 * catgets/test-gencat.sh: Remove space after shebang.
6775 * conform/GlibcConform.pm: Likewise.
6776 * conform/check-header-lists.sh: Likewise.
6777 * conform/conformtest.pl: Likewise.
6778 * conform/linknamespace.pl: Likewise.
6779 * conform/list-header-symbols.pl: Likewise.
6780 * debug/catchsegv.sh: Likewise.
6781 * elf/genrtldtbl.awk: Likewise.
6782 * elf/tst-pathopt.sh: Likewise.
6783 * elf/tst-rtld-load-self.sh: Likewise.
6784 * grp/tst_fgetgrent.sh: Likewise.
6785 * iconvdata/gen-8bit-gap-1.sh: Likewise.
6786 * iconvdata/gen-8bit-gap.sh: Likewise.
6787 * iconvdata/gen-8bit.sh: Likewise.
6788 * iconvdata/run-iconv-test.sh: Likewise.
6789 * intl/tst-gettext.sh: Likewise.
6790 * intl/tst-gettext2.sh: Likewise.
6791 * intl/tst-gettext4.sh: Likewise.
6792 * intl/tst-gettext6.sh: Likewise.
6793 * intl/tst-translit.sh: Likewise.
6794 * io/ftwtest-sh: Likewise.
6795 * libio/test-freopen.sh: Likewise.
6796 * locale/gen-translit.pl: Likewise.
6797 * malloc/tst-mtrace.sh: Likewise.
6798 * manual/check-safety.sh: Likewise.
6799 * manual/libc-texinfo.sh: Likewise.
6800 * manual/tsort.awk: Likewise.
6801 * manual/xtract-typefun.awk: Likewise.
6802 * nptl/tst-cancel-wrappers.sh: Likewise.
6803 * nptl/tst-tls6.sh: Likewise.
6804 * posix/globtest.sh: Likewise.
6805 * posix/tst-getconf.sh: Likewise.
6806 * posix/wordexp-tst.sh: Likewise.
6807 * scripts/check-c++-types.sh: Likewise.
6808 * scripts/check-local-headers.sh: Likewise.
6809 * scripts/config.guess: Likewise.
6810 * scripts/config.sub: Likewise.
6811 * scripts/cpp: Likewise.
6812 * scripts/cross-test-ssh.sh: Likewise.
6813 * scripts/documented.sh: Likewise.
6814 * scripts/evaluate-test.sh: Likewise.
6815 * scripts/gen-libc-abis: Likewise.
6816 * scripts/gen-sorted.awk: Likewise.
6817 * scripts/list-fixed-bugs.py: Likewise.
6818 * scripts/merge-test-results.sh: Likewise.
6819 * scripts/mkinstalldirs: Likewise.
6820 * scripts/rellns-sh: Likewise.
6821 * scripts/test-installation.pl: Likewise.
6822 * scripts/update-copyrights: Likewise.
6823 * stdio-common/tst-printf.sh: Likewise.
6824 * stdio-common/tst-unbputc.sh: Likewise.
6825 * stdlib/tst-fmtmsg.sh: Likewise.
6826 * stdlib/tst-setcontext3.sh: Likewise.
6827 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
6828 * sysdeps/unix/make-syscalls.sh: Likewise.
6829
6830 2016-01-06 John David Anglin <dave.anglin@bell.net>
6831
6832 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
6833 asm stw with atomic_exchange_rel. Add explanatory comment.
6834 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
6835 Likewise.
6836
6837 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6838
6839 [BZ #19122]
6840 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
6841 * sysdeps/generic/dl-unistd.h: New file.
6842 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
6843
6844 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
6845
6846 [BZ #19122]
6847 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
6848 * sysdeps/generic/dl-mman.h: New file.
6849 * sysdeps/mach/hurd/dl-mman.h: Likewise.
6850
6851 2016-01-05 Joseph Myers <joseph@codesourcery.com>
6852
6853 * manual/texinfo.tex: Update to version 2016-01-04.21 with
6854 trailing whitespace removed.
6855 * scripts/config.guess: Update to version 2016-01-01.
6856 * scripts/config.sub: Update to version 2016-01-01.
6857 * scripts/move-if-change: Update from gnulib.
6858
6859 2016-01-04 Anton Blanchard <anton@samba.org>
6860
6861 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
6862 for array indices.
6863 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
6864
6865 2016-01-04 Joseph Myers <joseph@codesourcery.com>
6866
6867 * NEWS: Update copyright dates.
6868 * catgets/gencat.c (print_version): Likewise.
6869 * csu/version.c (banner): Likewise.
6870 * debug/catchsegv.sh: Likewise.
6871 * debug/pcprofiledump.c (print_version): Likewise.
6872 * debug/xtrace.sh (do_version): Likewise.
6873 * elf/ldconfig.c (print_version): Likewise.
6874 * elf/ldd.bash.in: Likewise.
6875 * elf/pldd.c (print_version): Likewise.
6876 * elf/sotruss.sh: Likewise.
6877 * elf/sprof.c (print_version): Likewise.
6878 * iconv/iconv_prog.c (print_version): Likewise.
6879 * iconv/iconvconfig.c (print_version): Likewise.
6880 * locale/programs/locale.c (print_version): Likewise.
6881 * locale/programs/localedef.c (print_version): Likewise.
6882 * login/programs/pt_chown.c (print_version): Likewise.
6883 * malloc/memusage.sh (do_version): Likewise.
6884 * malloc/memusagestat.c (print_version): Likewise.
6885 * malloc/mtrace.pl: Likewise.
6886 * manual/libc.texinfo: Likewise.
6887 * nptl/version.c (banner): Likewise.
6888 * nscd/nscd.c (print_version): Likewise.
6889 * nss/getent.c (print_version): Likewise.
6890 * nss/makedb.c (print_version): Likewise.
6891 * posix/getconf.c (main): Likewise.
6892 * scripts/test-installation.pl: Likewise.
6893 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6894
6895 * All files with FSF copyright notices: Update copyright dates
6896 using scripts/update-copyrights.
6897 * intl/plural.c: Regenerated.
6898 * locale/programs/charmap-kw.h: Likewise.
6899 * locale/programs/locfile-kw.h: Likewise.
6900
6901 2016-01-02 Helge Deller <deller@gmx.de>
6902
6903 [BZ #19285]
6904 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
6905 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
6906 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
6907 (MADV_xxK_PAGES): Remove.
6908
6909 2016-01-01 Mike Frysinger <vapier@gentoo.org>
6910
6911 [BZ #15421]
6912 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
6913 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
6914 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
6915 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
6916
6917 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
6918
6919 [BZ #19408]
6920 * sysdeps/unix/sysv/linux/personality.c: New file.
6921 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
6922 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
6923 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
6924 (sysdep_routines): Add personality.
6925 (tests): Add tst-personality.
6926 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
6927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
6928 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
6929 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
6930 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
6931 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
6932 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
6933 Likewise.
6934 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
6935 Likewise.
6936 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
6937 Likewise.
6938 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
6939 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
6940 Likewise.
6941
6942 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
6943
6944 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
6945 (PATH_ARM_SYSTYPE): Remove.
6946 (PATH_CPUINFO): Likewise.
6947 (IO_BASE_FOOTBRIDGE): Likewise.
6948 (IO_SHIFT_FOOTBRIDGE): Likewise.
6949 (struct platform): Likewise.
6950 (init_iosys): Remove compatibility code for 2.4 kernels.
6951 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
6952
6953 2015-12-29 Florian Weimer <fweimer@redhat.com>
6954
6955 * malloc/tst-malloc-thread-fail.c: New file.
6956 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
6957 (tst-malloc-thread-fail): Link against libpthread.
6958
6959 2015-12-29 Mike Frysinger <vapier@gentoo.org>
6960
6961 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
6962 (get_parser): New function.
6963 (main): New function.
6964
6965 2015-12-29 Rob Wu <rob@robwu.nl>
6966
6967 [BZ #19369]
6968 * resolv/res_init.c (__res_vinit): Reset defdname before use.
6969
6970 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
6971
6972 [BZ #19270]
6973 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
6974
6975 2015-12-28 Mike Frysinger <vapier@gentoo.org>
6976
6977 [BZ #15421]
6978 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
6979
6980 2015-12-23 Torvald Riegel <triegel@redhat.com>
6981
6982 [BZ #13690]
6983 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
6984 after releasing it.
6985 (__lll_robust_unlock): Likewise.
6986 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6987 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
6988 (lll_robust_unlock): Likewise.
6989 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
6990 Prevent warnings in callers.
6991
6992 2015-12-23 Florian Weimer <fweimer@redhat.com>
6993
6994 * malloc/arena.c (list_lock): Update comment.
6995
6996 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
6997
6998 * sysdeps/powerpc/hwcapinfo.c: Export symbol
6999 __parse_hwcap_and_convert_at_platform to libc.a.
7000
7001 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7002
7003 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7004 platform and feature support for POWER9.
7005 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7006 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7007 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7008 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7009 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7010 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7011 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7012 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7013
7014 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
7015
7016 Harmonize generic stdio-lock support with nptl
7017
7018 This fixes build when _IO_funlockfile is a macro, fixes build where
7019 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7020 stack unwind.
7021
7022 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7023 _IO_release_lock ): Use cleanup attribute on new
7024 _IO_acquire_lock_file variable instead of assuming that
7025 _IO_release_lock will be called.
7026 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7027 _IO_acquire_lock_needs_exceptions_enabled.
7028 (_IO_acquire_lock_clear_flags2): New macro.
7029
7030 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7031
7032 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7033
7034 2015-12-21 Florian Weimer <fweimer@redhat.com>
7035
7036 [BZ #19182]
7037 * malloc/arena.c (list_lock): Document lock ordering requirements.
7038 (free_list_lock): New lock.
7039 (ptmalloc_lock_all): Comment on free_list_lock.
7040 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7041 (detach_arena): Update comment. free_list_lock is now needed.
7042 (_int_new_arena): Use free_list_lock around detach_arena call.
7043 Acquire arena lock after list_lock. Add comment, including FIXME
7044 about incorrect synchronization.
7045 (get_free_list): Switch to free_list_lock.
7046 (reused_arena): Acquire free_list_lock around detach_arena call
7047 and attached threads counter update. Add two FIXMEs about
7048 incorrect synchronization.
7049 (arena_thread_freeres): Switch to free_list_lock.
7050 * malloc/malloc.c (struct malloc_state): Update comments to
7051 mention free_list_lock.
7052
7053 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
7054
7055 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7056 Remove functions.
7057 (sloww, sloww1): Accept argument to offset quadrant.
7058 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7059 quadrant.
7060 (__sin, __cos): Consolidate common code into new functions.
7061 (reduce_sincos_1, do_sincos_1): New functions.
7062 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7063
7064 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7065 code to new functions.
7066 (reduce_sincos_2, do_sincos_2): New functions.
7067 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7068
7069 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7070 common code for sincos.
7071 (__cos) [!IN_SINCOS]: Likewise.
7072 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7073 New function.
7074 (__sincos): Use it.
7075
7076 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
7077
7078 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7079 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7080 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7081
7082 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
7083
7084 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7087 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7088 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7089 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7090 index_Prefer_No_VZEROUPPER): New feature.
7091 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7092 Prefer_No_VZEROUPPER for Knights Landing.
7093
7094 015-12-18 Torvald Riegel <triegel@redhat.com>
7095
7096 * math/atest-exp2.c (mp_exp_m1): Remove.
7097
7098 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7099
7100 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7101 syscalls.
7102 (__SYSCALL0): New macro.
7103 (__SYSCALL1): Likewise.
7104 (__SYSCALL2): Likewise.
7105 (__SYSCALL3): Likewise.
7106 (__SYSCALL4): Likewise.
7107 (__SYSCALL5): Likewise.
7108 (__SYSCALL6): Likewise.
7109 (__SYSCALL_CONCAT_X): Likewise.
7110 (__SYSCALL_CONCAT): Likewise.
7111 (__SYSCALL_DIST): Likewise.
7112 (__SYSCALL_CALL): Likewise.
7113
7114 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
7115
7116 [BZ #19363]
7117 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7118
7119 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7120
7121 [BZ #19375]
7122 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7123 negative subnormals.
7124
7125 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7128 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7129 (INTERNAL_SYSCALL_NCS): Use it.
7130 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7131
7132 2015-12-16 Florian Weimer <fweimer@redhat.com>
7133
7134 [BZ #19243]
7135 * malloc/arena.c (get_free_list): Remove assert and adjust
7136 reference count handling. Add comment about reused_arena
7137 interaction.
7138 (reused_arena): Add comments abount get_free_list interaction.
7139 * malloc/tst-malloc-thread-exit.c: New file.
7140 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7141 (tst-malloc-thread-exit): Link against libpthread.
7142
7143 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7144
7145 [BZ #19367]
7146 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7147 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7148 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7149 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7150 (index_Prefer_MAP_32BIT_EXEC): Likewise.
7151
7152 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
7153
7154 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7155 Silvermont optimizations for Knights Landing.
7156
7157 2015-12-15 Andreas Schwab <schwab@suse.de>
7158
7159 [BZ #17197]
7160 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7161 immediately after emitting SI.
7162 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7163 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7164 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7165 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7166 * iconvdata/bug-iconv10.c: New file.
7167 * iconvdata/Makefile (tests): Add bug-iconv10.
7168 ($(objpfx)bug-iconv10.out): New rule.
7169
7170 2015-12-15 Florian Weimer <fweimer@redhat.com>
7171
7172 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7173 aliasing violation.
7174
7175 2015-12-14 Joseph Myers <joseph@codesourcery.com>
7176
7177 [BZ #18472]
7178 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7179 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7180 conditionals for them.
7181 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7182 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7184 sys/kdaemon.h.
7185 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7186 compat-only syscall, obsoleted in glibc 2.23.
7187 (create_module): Likewise.
7188 (get_kernel_syms): Likewise.
7189 (query_module): Likewise.
7190 (uselib): Likewise.
7191 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7192
7193 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
7194
7195 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7196 <linux/version.h>.
7197 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7198 conditional code.
7199 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7200 and ioshift_name initialization.
7201
7202 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7203
7204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7205 Fix indentation.
7206
7207 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7208
7209 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7210
7211 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
7212
7213 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7214
7215 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
7216 Jakub Wilk <jwilk@debian.org>
7217
7218 [BZ #19347]
7219 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7220 to change the group of the device to the tty group.
7221
7222 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
7223
7224 Split large string section; add truncation advice
7225 * manual/examples/strncat.c: Remove.
7226 This example was misleading, as the code would have undefined
7227 behavior if "hello" was longer than SIZE. Anyway, the manual
7228 shouldn't encourage strncpy+strncat for this sort of thing.
7229 * manual/string.texi (Copying Strings and Arrays): Split into
7230 three sections Copying Strings and Arrays, Concatenating Strings,
7231 and Truncating Strings, as this section was way too long. All
7232 cross-referenced changed. Add advice about string-truncation
7233 functions. Remove misleading strncat example.
7234
7235 2015-12-10 Carlos O'Donell <carlos@redhat.com>
7236
7237 * manual/nss.texi (NSS Modules Interface): Document
7238 NSS_STATUS_NOTFOUND and SUCCESS.
7239
7240 2015-12-09 Mike FABIAN <mfabian@redhat.com>
7241
7242 [BZ 18568]
7243 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7244 201505L, for Unicode 8.
7245
7246 2015-12-09 Carlos O'Donell <carlos@redhat.com>
7247
7248 * locale/C-translit.h: Regenerate.
7249
7250 2015-12-09 Mike FABIAN <mfabian@redhat.com>
7251
7252 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7253 and U+0153.
7254
7255 2015-12-09 Joseph Myers <joseph@codesourcery.com>
7256
7257 [BZ #19351]
7258 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7259 expanding log(1+z), compare z rather than its square with epsilon
7260 to determine when to avoid evaluating the expansion.
7261
7262 [BZ #19350]
7263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7264 Increase overflow threshold.
7265
7266 [BZ #19349]
7267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7268 when small.
7269
7270 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7271 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7272 New macro.
7273 [__LINUX_KERNEL_VERSION >= 0x040300]
7274 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7275 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7276 Likewise.
7277 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7278 Likewise.
7279 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7280 Likewise.
7281 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7282 Likewise.
7283 [__LINUX_KERNEL_VERSION >= 0x040300]
7284 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7285 [__LINUX_KERNEL_VERSION >= 0x040300]
7286 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7287 [__LINUX_KERNEL_VERSION >= 0x040300]
7288 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7289 [__LINUX_KERNEL_VERSION >= 0x040300]
7290 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7291 [__LINUX_KERNEL_VERSION >= 0x040300]
7292 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7293 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7294 Likewise.
7295 [__LINUX_KERNEL_VERSION >= 0x040300]
7296 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7297 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7298 Likewise.
7299 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7300 Likewise.
7301 [__LINUX_KERNEL_VERSION >= 0x040300]
7302 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7303 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7304 Likewise.
7305 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7306 Likewise.
7307 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7308 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7309 Likewise.
7310 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7311 Likewise.
7312 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7313 Likewise.
7314 [__LINUX_KERNEL_VERSION >= 0x040300]
7315 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7316 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7317 Likewise.
7318 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7319 Likewise.
7320 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7321 Likewise.
7322 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7323 Likewise.
7324 [__LINUX_KERNEL_VERSION >= 0x040300]
7325 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7326 [__LINUX_KERNEL_VERSION >= 0x040300]
7327 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7328 [__LINUX_KERNEL_VERSION >= 0x040300]
7329 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7330 [__LINUX_KERNEL_VERSION >= 0x040300]
7331 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7332 [__LINUX_KERNEL_VERSION >= 0x040300]
7333 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7334 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7335 Likewise.
7336 [__LINUX_KERNEL_VERSION >= 0x040300]
7337 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7338 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7339 Likewise.
7340 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7341 Likewise.
7342 [__LINUX_KERNEL_VERSION >= 0x040300]
7343 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7344 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7345 Likewise.
7346 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7347 Likewise.
7348 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7349 (__ASSUME_SOCKET_SYSCALL): Likewise.
7350 (__ASSUME_BIND_SYSCALL): Likewise.
7351 (__ASSUME_CONNECT_SYSCALL): Likewise.
7352 (__ASSUME_LISTEN_SYSCALL): Likewise.
7353 (__ASSUME_ACCEPT_SYSCALL): Likewise.
7354 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7355 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7356 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7357 (__ASSUME_SEND_SYSCALL): Likewise.
7358 (__ASSUME_SENDTO_SYSCALL): Likewise.
7359 (__ASSUME_RECV_SYSCALL): Likewise.
7360 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7361 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7362 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7363 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7364 (__ASSUME_SENDMSG_SYSCALL): Likewise.
7365 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7366 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7367 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7368 Likewise.
7369 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7370 Likewise.
7371 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7372 Likewise.
7373 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7374 Likewise.
7375 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7376 Likewise.
7377 [__LINUX_KERNEL_VERSION >= 0x020625]
7378 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7379 [__LINUX_KERNEL_VERSION >= 0x020625]
7380 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7381 [__LINUX_KERNEL_VERSION >= 0x020625]
7382 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7383 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7384 Likewise.
7385 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7386 Likewise.
7387 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7388 Likewise.
7389 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7390 Likewise.
7391 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7392 Likewise.
7393 [__LINUX_KERNEL_VERSION >= 0x020625]
7394 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7395 [__LINUX_KERNEL_VERSION >= 0x020625]
7396 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7397 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7398 Likewise.
7399 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7400 Likewise.
7401
7402 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7403
7404 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7405 record the current if the current ABI and CPU support the FP64
7406 extension.
7407 (has-modd-spreg): Define to record the current if the current ABI and
7408 CPU support 32-bit floating point values in odd FPU registers.
7409 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7410 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7411 $(has-modd-spreg) equals yes.
7412 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7413 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7414 $(has-modd-spreg) equal yes.
7415
7416 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
7417
7418 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7419 basename.
7420
7421 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
7422
7423 * benchtests/Makefile (bench-math): Move ffs and ffsll...
7424 (bench-string): ... here.
7425 (bench): Add bench-string.
7426 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7427 to *-benchset to reflect what they are.
7428 (benchset): Adjust.
7429
7430 * benchtests/sincos-inputs: Add inputs from sin-inputs and
7431 cos-inputs.
7432
7433 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
7434
7435 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7436 __attribute__ ((__simd__)) for vector math function declarations.
7437
7438 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7439
7440 Fix typo in strncat, wcsncat manual entries
7441 * manual/string.texi (Copying and Concatenation): Fix typos in
7442 sample implementations of strncat and wcsncat, by having them use
7443 the old value of the destination length, not the new one.
7444
7445 2015-12-04 Joseph Myers <joseph@codesourcery.com>
7446
7447 [BZ #16961]
7448 [BZ #16962]
7449 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
7450 string on the stack for strtod.
7451 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
7452 a string on the stack for strtof.
7453 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
7454 constructing a string on the stack for strtold.
7455 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
7456 __strtold_nan to GLIBC_PRIVATE.
7457 * math/test-nan-overflow.c: New file.
7458 * math/test-nan-payload.c: Likewise.
7459 * math/Makefile (tests): Add test-nan-overflow and
7460 test-nan-payload.
7461
7462 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
7463
7464 Consistency about byte vs character in string.texi
7465 * manual/string.texi (String and Array Utilities):
7466 Distinguish more carefully among bytes, multibyte characters,
7467 and wide characters. Use "byte" when talking about C 'char',
7468 to distinguish it more clearly from multibyte characters.
7469 Say "wide character" or "multibyte character" instead of
7470 "character", when a wide or multibyte character is intended.
7471 Similarly for "multibyte string" versus "string".
7472 Define these terms more carefully.
7473
7474 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
7475
7476 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
7477 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
7478 Likewise.
7479 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7480 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
7481 * sysdeps/sh/math_private.h: New file.
7482 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
7483 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
7484 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
7485 long double function name.
7486 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7487 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7489 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
7492 Remove __finitel, __isinfl, and __isnanl.
7493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7494 Likewise.
7495 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7496 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7497 Remove __finitel.
7498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7499 Likewise.
7500 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7501
7502 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
7503
7504 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
7505 installed libmvec_nonshared.a.
7506
7507 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7508
7509 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
7510 (sysdep_routines): Likewise.
7511 (sysdep-rtld-routines): Likewise.
7512 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
7513 [$(subdir) = nptl](tests-static): test-get_hwcap-static
7514 * sysdeps/powerpc/Versions: Added new
7515 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
7516 * sysdeps/powerpc/hwcapinfo.c: New file.
7517 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
7518 and parse hwcap, hwcap2 and platform number information.
7519 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
7520 to store HWCAP+HWCAP2 and platform number.
7521 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
7522 for HWCAP+HWCAP2 and platform number in the TCB.
7523 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
7524 the HWCAP, HWCAP2 and platform number in the TCB.
7525 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
7526 (TLS_INIT_TP): Included calls to add the hwcap and
7527 at_platform values in the TCB in TP initialization.
7528 (TLS_DEFINE_INIT_TP): Likewise.
7529 (THREAD_GET_HWCAP): New macro.
7530 (THREAD_SET_HWCAP): Likewise.
7531 (THREAD_GET_AT_PLATFORM): Likewise.
7532 (THREAD_SET_AT_PLATFORM): Likewise.
7533 * sysdeps/powerpc/powerpc32/dl-machine.h:
7534 (dl_platform_init): New function that calls
7535 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
7536 powerpc32.
7537 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
7538 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
7539 this functionality, static linking case.
7540 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
7541 linking case.
7542 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
7543 __parse_hwcap_and_convert_at_platform for the static linking case.
7544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
7545 Included the new __parse_hwcap_and_convert_at_platform symbol in the
7546 ABI list for GLIBC 2.23.
7547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
7548 Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
7550 Likewise.
7551
7552 2015-12-02 Ludovic Courtès <ludo@gnu.org>
7553
7554 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
7555 * configure: Regenerate.
7556 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
7557 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
7558
7559 2015-12-02 Carlos O'Donell <carlos@redhat.com>
7560
7561 * iconvdata/ibm930.c: Add comment explaining encoding uses.
7562 * iconvdata/ibm933.c: Likewise.
7563 * iconvdata/ibm935.c: Likewise.
7564 * iconvdata/ibm937.c: Likewise.
7565 * iconvdata/ibm939.c: Likewise.
7566
7567 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7568
7569 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
7570 pthread_join.
7571 * nptl/tst-cancel21.c (tf): Likewise.
7572
7573 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
7574
7575 [BZ #19313]
7576 * bits/typesizes.h (__CPU_MASK_TYPE): New.
7577 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7578 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
7579 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
7580 Likewise.
7581 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
7582 Likewise.
7583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
7584 Likewise.
7585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
7588 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
7589 unsigned long int with __CPU_MASK_TYPE.
7590
7591 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7592
7593 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7594
7595 2015-12-01 Joseph Myers <joseph@codesourcery.com>
7596
7597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
7598 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
7599 t512.x.
7600 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
7601
7602 2015-11-30 Amit Pawar <amit.pawar@amd.com>
7603
7604 [BZ #19214]
7605 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
7606 argument to return extended model. Update family and model
7607 with extended family and model when family == 0x0f.
7608 (init_cpu_features): Updated.
7609
7610 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
7611
7612 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
7613 signed off_t, so 32bit bigger than 2GiB values are fine actually.
7614
7615 * sysdeps/mach/hurd/mmap64.c: New file.
7616
7617 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
7618
7619 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
7620 rights for its main user thread in NEWTASK.
7621
7622 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
7623
7624 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
7625 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
7626
7627 2015-11-27 Carlos O'Donell <carlos@redhat.com>
7628
7629 [BZ #14259]
7630 * Makeconfig: Rename localedir to complocaledir.
7631 Rename inst_localedir to inst_complocaledir.
7632 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
7633 * config.make.in: Use complocaledir and libc_cv_complocaledir.
7634 * configure.ac: Use libc_cv_complocaledir.
7635 * configure: Regenerate.
7636 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
7637 -DCOMPLOCALEDIR.
7638 * locale/findlocale.c: Use COMPLOCALEDIR.
7639 * locale/loadarchive.c: Likewise.
7640 * locale/programs/locale.c: Likewise.
7641 * locale/programs/localedef.c: Likewise.
7642 * locale/programs/locarchive.c: Likewise.
7643 * localedata/Makefile: Use inst_complocaledir.
7644 * sysdeps/gnu/configure: Regenerate.
7645 * sysdeps/hppa/configure: Regenerate.
7646 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
7647 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7649 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
7650 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
7651 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
7652 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
7653
7654 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
7655
7656 [BZ #19058]
7657 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
7658 AS_NEEDED.
7659 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
7660 workaround.
7661 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
7662 libmvec-static-only-routines): Added new file.
7663 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
7664
7665 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
7666
7667 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
7668 of interrupted RPC instead of restoring it.
7669
7670 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
7671 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
7672 libc_hidden_def.
7673 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
7674 into initialized data instead of common. Define rtld_hidden_data_def.
7675 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
7676 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
7677 libc_hidden_def.
7678 (if_freenameindex): Add libc_hidden_weak.
7679 (if_nameindex): Add libc_hidden_weak.
7680 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
7681 __open64.
7682 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
7683 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
7684 * sysdeps/mach/nanosleep.c: Include <time.h>
7685 (__nanosleep): Rename to __libc_nanosleep.
7686 (__nanosleep): Add weak_alias.
7687 (nanosleep): Update alias.
7688
7689 2015-11-24 Joseph Myers <joseph@codesourcery.com>
7690
7691 * stdlib/strtod_nan.c: New file.
7692 * stdlib/strtod_nan_double.h: Likewise.
7693 * stdlib/strtod_nan_float.h: Likewise.
7694 * stdlib/strtod_nan_main.c: Likewise.
7695 * stdlib/strtod_nan_narrow.h: Likewise.
7696 * stdlib/strtod_nan_wide.h: Likewise.
7697 * stdlib/strtof_nan.c: Likewise.
7698 * stdlib/strtold_nan.c: Likewise.
7699 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
7700 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
7701 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
7702 * wcsmbs/wcstod_nan.c: Likewise.
7703 * wcsmbs/wcstof_nan.c: Likewise.
7704 * wcsmbs/wcstold_nan.c: Likewise.
7705 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
7706 strtold_nan.
7707 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
7708 wcstof_nan.
7709 * include/stdlib.h (__strtof_nan): Declare and use
7710 libc_hidden_proto.
7711 (__strtod_nan): Likewise.
7712 (__strtold_nan): Likewise.
7713 (__wcstof_nan): Likewise.
7714 (__wcstod_nan): Likewise.
7715 (__wcstold_nan): Likewise.
7716 * include/wchar.h (____wcstoull_l_internal): Declare.
7717 * stdlib/strtod_l.c: Do not include <ieee754.h>.
7718 (____strtoull_l_internal): Remove declaration.
7719 (STRTOF_NAN): Define macro.
7720 (SET_MANTISSA): Remove macro.
7721 (STRTOULL): Likewise.
7722 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
7723 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
7724 (STRTOF_NAN): Define macro.
7725 (SET_MANTISSA): Remove macro.
7726 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
7727 (SET_MANTISSA): Remove macro.
7728 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
7729 macro.
7730 (SET_MANTISSA): Remove macro.
7731 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
7732 macro.
7733 (SET_MANTISSA): Remove macro.
7734 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
7735 (SET_MANTISSA): Remove macro.
7736 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
7737 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
7738 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
7739
7740 [BZ #19266]
7741 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
7742 upper case and lower case letters inside NAN(), not using TOLOWER.
7743 * stdlib/tst-strtod-nan-locale-main.c: New file.
7744 * stdlib/tst-strtod-nan-locale.c: Likewise.
7745 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
7746 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
7747 Depend on $(gen-locales).
7748 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
7749 * wcsmbs/tst-wcstod-nan-locale.c: New file.
7750 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
7751 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
7752 Depend on $(gen-locales).
7753 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
7754
7755 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
7756
7757 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
7758
7759 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
7761 __finitel, __isinfl, and __isnanl.
7762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7763 Likewise.
7764 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
7766 __finitel.
7767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7768 Likewise.
7769 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7770
7771 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
7772
7773 * malloc/memusage.c (me): Remove redundant getenv call.
7774
7775 2015-10-24 Florian Weimer <fweimer@redhat.com>
7776
7777 [BZ #19143]
7778 [BZ #19164]
7779 * nptl/check-cpuset.h: Remove.
7780 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
7781 Remove CPU set size check.
7782 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
7785 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7786 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
7787 (__pthread_setaffinity_new): Remove CPU set size check.
7788 * sysdeps/unix/sysv/linux/sched_setaffinity.c
7789 (__kernel_cpumask_size): Remove.
7790 (__sched_setaffinity_new): Remove CPU set size check.
7791 * manual/threads.texi (Default Thread Attributes): Remove stale
7792 reference to check_cpuset_attr, determine_cpumask_size in comment.
7793 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
7794 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
7795 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
7796 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
7797 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
7798 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
7799 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
7800 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
7801 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
7802 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
7803 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
7804 skeleton test file.
7805 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
7806 tst-affinity-pid.
7807
7808 2015-11-24 Florian Weimer <fweimer@redhat.com>
7809
7810 * scripts/update-abilist.sh: New file.
7811 * Makefile (+subdir_targets): Add subdir_update-all-abi.
7812 * Makerules (update-all-abi-%, update-all-abi)
7813 (subdir_update-all-abi): New targets.
7814 * elf/Makefile (update-all-abi): New target.
7815
7816 2015-11-24 Florian Weimer <fweimer@redhat.com>
7817
7818 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
7819 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
7820 (__libc_lock_define_initialized): Use it.
7821 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
7822 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
7823 * malloc/malloc.c (main_arena): Likewise.
7824 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7825 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
7826
7827 2015-11-23 Joseph Myers <joseph@codesourcery.com>
7828
7829 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7830 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
7831 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7832 (PTRACE_O_MASK): Update value.
7833 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
7834 New value in enum __ptrace_setoptions.
7835 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7836 (PTRACE_O_MASK): Update value.
7837 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7838 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7839 (PTRACE_O_MASK): Update value.
7840 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
7841 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7842 (PTRACE_O_MASK): Update value.
7843 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
7844 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
7845 (PTRACE_O_MASK): Update value.
7846 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
7847 New value in enum __ptrace_setoptions.
7848 (PTRACE_O_MASK): Update value.
7849 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
7850 New value in enum __ptrace_setoptions.
7851 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
7852 (PTRACE_O_MASK): Update value.
7853
7854 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
7855 New macro.
7856 (PACKET_AUXDATA): Likewise.
7857 (PACKET_ORIGDEV): Likewise.
7858 (PACKET_VERSION): Likewise.
7859 (PACKET_HDRLEN): Likewise.
7860 (PACKET_RESERVE): Likewise.
7861 (PACKET_TX_RING): Likewise.
7862 (PACKET_LOSS): Likewise.
7863 (PACKET_VNET_HDR): Likewise.
7864 (PACKET_TX_TIMESTAMP): Likewise.
7865 (PACKET_TIMESTAMP): Likewise.
7866 (PACKET_FANOUT): Likewise.
7867 (PACKET_TX_HAS_OFF): Likewise.
7868 (PACKET_QDISC_BYPASS): Likewise.
7869 (PACKET_ROLLOVER_STATS): Likewise.
7870 (PACKET_FANOUT_DATA): Likewise.
7871 (PACKET_MR_UNICAST): Likewise.
7872
7873 [BZ #19242]
7874 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
7875 (TOUPPER): Likewise.
7876 * stdlib/tst-strtol-locale-main.c: New file.
7877 * stdlib/tst-strtol-locale.c: Likewise.
7878 * stdlib/Makefile (tests): Add tst-strtol-locale.
7879 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
7880 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
7881 Depend on $(gen-locales).
7882 * wcsmbs/tst-wcstol-locale.c: New file.
7883 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
7884 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
7885 tr_TR.ISO-8859-9.
7886 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
7887 Depend on $(gen-locales).
7888
7889 2015-11-20 Roland McGrath <roland@hack.frob.com>
7890
7891 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
7892 __glibc_likely instead of __builtin_expect. After falling back to
7893 dyncode_create in a non-ET_DYN case, use the allocate_code_data
7894 system interface to register the code pages as occupied.
7895
7896 2015-11-20 Joseph Myers <joseph@codesourcery.com>
7897
7898 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7899 [!ARM_MATH_PRIVATE_H].
7900 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
7901 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7902 [!HPPA_MATH_PRIVATE_H].
7903 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
7904 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
7905 to [!I386_MATH_PRIVATE_H].
7906 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
7907 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
7908 Change guard to [!M68K_MATH_PRIVATE_H].
7909 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
7910 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
7911 guard to [!MICROBLAZE_MATH_PRIVATE_H].
7912 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
7913 macro.
7914 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7915 [!MIPS_MATH_PRIVATE_H].
7916 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
7917 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7918 [!NIO2_MATH_PRIVATE_H].
7919 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
7920 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
7921 [!TILE_MATH_PRIVATE_H].
7922 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
7923
7924 [BZ #15421]
7925 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
7926 initialize with 0 and define as weak alias of __signgam.
7927 * include/math.h [!_ISOMAC] (__signgam): Declare.
7928 * math/Makefile (libm-calls): Add w_lgamma_compat.
7929 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
7930 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
7931 test-signgam-ullong-init.
7932 (tests-static): Add test-signgam-uchar-static,
7933 test-signgam-uchar-init-static, test-signgam-uint-static,
7934 test-signgam-uint-init-static, test-signgam-ullong-static and
7935 test-signgam-ullong-init-static.
7936 (CFLAGS-test-signgam-uchar.c): New variable.
7937 (CFLAGS-test-signgam-uchar-init.c): Likewise.
7938 (CFLAGS-test-signgam-uchar-static.c): Likewise.
7939 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
7940 (CFLAGS-test-signgam-uint.c): Likewise.
7941 (CFLAGS-test-signgam-uint-init.c): Likewise.
7942 (CFLAGS-test-signgam-uint-static.c): Likewise.
7943 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
7944 (CFLAGS-test-signgam-ullong.c): Likewise.
7945 (CFLAGS-test-signgam-ullong-init.c): Likewise.
7946 (CFLAGS-test-signgam-ullong-static.c): Likewise.
7947 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
7948 * math/Versions (libm): Add GLIBC_2.23.
7949 * math/lgamma-compat.h: New file.
7950 * math/test-signgam-main.c: Likewise.
7951 * math/test-signgam-uchar-init-static.c: Likewise.
7952 * math/test-signgam-uchar-init.c: Likewise.
7953 * math/test-signgam-uchar-static.c: Likewise.
7954 * math/test-signgam-uchar.c: Likewise.
7955 * math/test-signgam-uint-init-static.c: Likewise.
7956 * math/test-signgam-uint-init.c: Likewise.
7957 * math/test-signgam-uint-static.c: Likewise.
7958 * math/test-signgam-uint.c: Likewise.
7959 * math/test-signgam-ullong-init-static.c: Likewise.
7960 * math/test-signgam-ullong-init.c: Likewise.
7961 * math/test-signgam-ullong-static.c: Likewise.
7962 * math/test-signgam-ullong.c: Likewise.
7963 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
7964 wrapper of w_lgamma_main.c.
7965 * math/w_lgamma_compat.c: New file.
7966 * math/w_lgamma_compatf.c: Likewise.
7967 * math/w_lgamma_compatl.c: Likewise.
7968 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
7969 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7970 defining compatibility symbols.
7971 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
7972 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
7973 wrapper of w_lgammaf_main.c.
7974 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
7975 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7976 defining compatibility symbols.
7977 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
7978 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
7979 wrapper of w_lgammal_main.c.
7980 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
7981 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
7982 defining compatibility symbols.
7983 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
7984 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
7985 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
7986 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
7987 <lgamma-compat.h>.
7988 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
7989 (__ieee754_gamma): Define as alias.
7990 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
7991 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
7992 <lgamma-compat.h>.
7993 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
7994 (__ieee754_gammaf): Define as alias.
7995 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
7996 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
7997 <lgamma-compat.h>.
7998 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
7999 (__ieee754_gammal): Define as alias.
8000 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8001 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
8002 <math/w_lgamma_compat.c>.
8003 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8004 Define as alias of __lgamma_compat and use in defining lgammal.
8005 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8006 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
8007 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8008 (USE_AS_COMPAT): New macro.
8009 (LGAMMA_OLD_VER): Undefine and redefine.
8010 (lgammal): Do not define here.
8011 (gammal): Only define here if [GAMMA_ALIAS].
8012 * conform/linknamespace.pl (@whitelist): Remove signgam.
8013 * sysdeps/nacl/libm.abilist: Update.
8014 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8015 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8016 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8017 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8018 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8019 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8020 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8021 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8022 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8023 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8024 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8025 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8027 Likewise.
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8029 Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8031 Likewise.
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8033 Likewise.
8034 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8035 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8036 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8037 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8040 Likewise.
8041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8042 Likewise.
8043 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8044 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8045 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8046
8047 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8048
8049 [BZ #16364]
8050 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8051 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8052
8053 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8054
8055 * sysdeps/s390/fpu/bits/mathinline.h:
8056 Use __asm__ [__volatile__] instead of asm [volatile].
8057 * sysdeps/s390/abort-instr.h: Likewise.
8058 * sysdeps/s390/atomic-machine.h: Likewise.
8059 * sysdeps/s390/bits/string.h: Likewise.
8060 * sysdeps/s390/dl-tls.h: Likewise.
8061 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8062 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8063 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8064 * sysdeps/s390/fpu/fesetround.c: Likewise.
8065 * sysdeps/s390/fpu/fpu_control.h: Likewise.
8066 * sysdeps/s390/fpu/s_fma.c: Likewise.
8067 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8068 * sysdeps/s390/memusage.h: Likewise.
8069 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8070 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8071 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8072 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8073 * sysdeps/s390/nptl/tls.h: Likewise.
8074 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8075 * sysdeps/s390/s390-32/backtrace.c: Likewise.
8076 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8077 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8078 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8079 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8080 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8081 * sysdeps/s390/s390-64/backtrace.c: Likewise.
8082 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8083 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8084 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8085 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8086 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8087 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8088 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8089 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8090 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8091 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8093 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8094 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8096 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8097
8098 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8099 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8100
8101 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8102 Add lwarx hint, and use macro for acquire instruction.
8103 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8104 Likewise.
8105 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8106 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8107 update to use new atomic macros.
8108
8109 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8110
8111 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8112 (__lll_trylock_elision): Fix setting of adapt_count.
8113 * sysdeps/unix/sysv/linux/powerpc/htm.h
8114 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8115 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8116 (_ABORT_SYSCALL): Renumber, and clarify definition.
8117 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8118
8119 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8120
8121 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8122 after system headers to prevent MIN/MAX redefinition. Define
8123 HAVE_ALLOCA to preserve builtin alloca usage.
8124
8125 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
8126
8127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8128 static and don't set or restore rounding.
8129 (__cos)[IN_SINCOS]: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8131 (__sincos): Set and restore rounding mode. Remove check for infinite
8132 or NaN input.
8133
8134 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8135
8136 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8137 as used.
8138
8139 2015-11-16 Florian Weimer <fweimer@redhat.com>
8140
8141 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8142
8143 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
8144
8145 * config.make.in (have-glob-dat-reloc): New.
8146 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
8147 target supports GLOB_DAT relocaton. AC_SUBST.
8148 * configure: Regenerated.
8149 * elf/Makefile (tests): Add tst-prelink.
8150 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8151 (tst-prelink-ENV): New.
8152 ($(objpfx)tst-prelink-conflict.out): Likewise.
8153 ($(objpfx)tst-prelink-cmp.out): Likewise.
8154 * sysdeps/x86/tst-prelink.c: Moved to ...
8155 * elf/tst-prelink.c: Here.
8156 * sysdeps/x86/tst-prelink.exp: Moved to ...
8157 * elf/tst-prelink.exp: Here.
8158 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8159 (tst-prelink-ENV): Removed.
8160 ($(objpfx)tst-prelink-conflict.out): Likewise.
8161 ($(objpfx)tst-prelink-cmp.out): Likewise.
8162 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8163
8164 2015-11-13 Joseph Myers <joseph@codesourcery.com>
8165
8166 [BZ #14551]
8167 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8168 (__mpn_construct_long_double): If high part overflows to infinity,
8169 set errno and recompute overflowed result of the correct sign.
8170 * sysdeps/ieee754/ldbl-128ibm/Makefile
8171 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8172 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8173 $(libm).
8174 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8175
8176 2015-11-12 Joseph Myers <joseph@codesourcery.com>
8177
8178 [BZ #15479]
8179 [BZ #19238]
8180 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8181 floating-point state after first operation on input. Restore full
8182 state rather than just rounding mode.
8183 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8184 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8185 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8186
8187 [BZ #19235]
8188 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8189 add 0.5 to integer arguments.
8190 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8191 Likewise.
8192 (.LC2): New object.
8193
8194 2015-11-11 Mike Frysinger <vapier@gentoo.org>
8195
8196 * scripts/pylintrc (reports): Set to no.
8197
8198 2015-11-10 Roland McGrath <roland@hack.frob.com>
8199
8200 * elf/dl-load.c (open_verify): Take new argument FD.
8201 Skip __open call if passed FD is not -1.
8202 (_dl_map_object, open_path): Update callers.
8203 * elf/dl-sysdep-open.h: New file.
8204 * elf/dl-load.c: Include it.
8205 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8206 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8207 * sysdeps/nacl/dl-sysdep-open.h: New file.
8208 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8209 from libc to rtld.
8210
8211 2015-11-10 Joseph Myers <joseph@codesourcery.com>
8212
8213 [BZ #19228]
8214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8215 and restore full floating-point state.
8216 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8217 Likewise.
8218 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8219 Likewise.
8220 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8221 Likewise.
8222 * math/test-nearbyint-except-2.c: New file.
8223 * math/Makefile (tests): Add test-nearbyint-except-2.
8224
8225 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
8226
8227 [BZ #19178]
8228 * sysdeps/x86/Makefile (tests): Add tst-prelink.
8229 (tst-prelink-ENV): New.
8230 ($(objpfx)tst-prelink-conflict.out): Likewise.
8231 ($(objpfx)tst-prelink-cmp.out): Likewise.
8232 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8233 * sysdeps/x86/tst-prelink.c: New file.
8234 * sysdeps/x86/tst-prelink.exp: Likewise.
8235
8236 2015-11-10 Joseph Myers <joseph@codesourcery.com>
8237
8238 * math/auto-libm-test-in: Add another test of pow.
8239 * math/auto-libm-test-out: Regenerated.
8240 * math/libm-test.inc (pow_test_data): Add another test.
8241
8242 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8243
8244 [BZ #19219]
8245 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8246 weak_alias to nearbyintl.
8247
8248 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
8249
8250 * sysdeps/aarch64/bits/string.h: New file.
8251 (_STRING_ARCH_unaligned): Define.
8252
8253 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
8254
8255 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8256 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8257 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8258 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8260
8261 2015-11-09 Ulrich Drepper <drepper@gmail.com>
8262
8263 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8264 for original name of the DSO. Add it to the name list of the DSO
8265 if it is actually given.
8266 (_dl_map_object): Keep track of whether an audit module rewrote
8267 the file name. If yes, pass the original name to
8268 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
8269 debugging is enabled, log the change of the file name.
8270 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8271 _dl_map_object_from_fd.
8272 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8273 * elf/tst-audit11.c: New file
8274 * elf/tst-auditmod11.c: New file.
8275 * elf/tst-audit11mod1.c: New file.
8276 * elf/tst-audit11mod2.c: New file.
8277 * elf/tst-audit11mod2.map: New file.
8278 * elf/tst-audit12.c: New file
8279 * elf/tst-auditmod12.c: New file.
8280 * elf/tst-audit12mod1.c: New file.
8281 * elf/tst-audit12mod2.c: New file.
8282 * elf/tst-audit12mod2.map: New file.
8283 * elf/tst-audit12mod3.c: New file.
8284
8285 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
8286
8287 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8288 Don't create weak aliases,
8289 because versioned symbols are created later.
8290 * sysdeps/s390/s390-32/setjmp.S
8291 (setjmp, _setjmp): Remove weak and rename to an unique name
8292 in SHARED case due to existing versioned symbols.
8293 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8294 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8295 (getcontext): Create weak alias only in non SHARED case.
8296 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8297
8298 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
8299
8300 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8301 (__ASSUME_*_SYSCALL) Define new macros.
8302 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8303 Remove socketcall syscalls.
8304 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8305 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8306 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8307 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8308 * sysdeps/unix/sysv/linux/send.c (__libc_send):
8309 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8310
8311 2015-11-09 Florian Weimer <fweimer@redhat.com>
8312
8313 [BZ #12926]
8314 Terminate process on invalid netlink response.
8315 * sysdeps/unix/sysv/linux/netlinkaccess.h
8316 (__netlink_assert_response): Declare.
8317 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8318 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8319 (sysdep_routines): Add netlink_assert_response.
8320 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8321 __netlink_assert_response.
8322 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8323 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8324 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8325 __netlink_assert_response.
8326
8327 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
8328
8329 [BZ #19178]
8330 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8331 (RTYPE_CLASS_PLT): Likewise.
8332 (RTYPE_CLASS_COPY): Likewise.
8333 (RTYPE_CLASS_TLS): Likewise.
8334 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8335 to set relocation type class for DL_DEBUG_PRELINK. Keep only
8336 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8337 DL_DEBUG_PRELINK.
8338
8339 2015-11-06 Joseph Myers <joseph@codesourcery.com>
8340
8341 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8342 calls with argument -0.5.
8343 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8344
8345 * configure.ac (libc_cv_z_nodelete): Remove configure test.
8346 (libc_cv_z_nodlopen): Likewise.
8347 (libc_cv_z_initfirst): Likewise.
8348 * configure: Regenerated.
8349
8350 2015-11-06 Florian Weimer <fweimer@redhat.com>
8351
8352 Simplify abilist format to be line-based.
8353 * scripts/abilist.awk: Collect descriptors in the descs variable.
8354 (emit): Write descs variable and sort it
8355 externally, with sort.
8356 * sysdeps/**/*.abilist: Convert to new format.
8357
8358 2015-11-06 Mark Wielaard <mjw@redhat.com>
8359
8360 [BZ #11460]
8361 * io/Makefile (routines): Add fts64.
8362 (tests): Add tst-fts and tst-fts-lfs.
8363 (CFLAGS-fts64.c): New.
8364 * io/Versions (GLIBC_2.23): New.
8365 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8366 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8367 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8368 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8369 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8370 (FTSENT64): Likewise.
8371 (fts64_children): Likewise.
8372 (fts64_close): Likewise.
8373 (fts64_open): Likewise.
8374 (fts64_read): Likewise.
8375 (fts64_set): Likewise.
8376 * io/fts64.c: New file.
8377 * io/tst-fts.c: New test.
8378 * io/tst-fts-lfs.c: Likewise.
8379 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8380 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8381 fts64_set.
8382 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8383 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8384 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8385 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8386 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8387 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8388 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8389 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8390 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8391 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8392 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8393 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8394 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8396 Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8398 Likewise.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8401 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8402 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8403 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8404 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8405 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8408 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8409 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8410 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8411 * sysdeps/wordsize-64/fts.c: New file.
8412 * sysdeps/wordsize-64/fts64.c: Likewise.
8413 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8414 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8415 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8416 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8417
8418 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8419
8420 * math/libm-test.inc (NON_FINITE): New macro.
8421 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8422 * math/gen-libm-test.pl (show_exceptions): Add argument
8423 $non_finite.
8424 (parse_args): Update call to show_exceptions.
8425 * math/test-math-finite.h: New file.
8426 * math/test-math-no-finite.h: Likewise.
8427 * math/test-double-finite.c: Likewise.
8428 * math/test-float-finite.c: Likewise.
8429 * math/test-ldouble-finite.c: Likewise.
8430 * math/test-double.c: Include "test-math-no-finite.h".
8431 * math/test-float.c: Include "test-math-no-finite.h".
8432 * math/test-ldouble.c: Include "test-math-no-finite.h".
8433 * math/test-math-inline.h (TEST_FINITE): New macro.
8434 * math/test-math-vector.h (TEST_FINITE): Likewise.
8435 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8436 (libm-tests): Add test-float-finite and test-double-finite.
8437 ($(objpfx)test-float-finite.o): New dependency on
8438 $(objpfx)libm-test.stmp.
8439 ($(objpfx)test-double-finite.o): Likewise.
8440 ($(objpfx)test-ldouble-finite.o): Likewise.
8441 (libm-test-no-inline-cflags): New variable.
8442 (libm-test-finite-cflags): Likewise.
8443 (CFLAGS-test-float-finite.c): Likewise.
8444 (CFLAGS-test-double-finite.c): Likewise.
8445 (CFLAGS-test-ldouble-finite.c): Likewise.
8446 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
8447 (CFLAGS-test-double.c): Likewise.
8448 (CFLAGS-test-ldouble.c): Likewise.
8449
8450 2015-11-05 Roland McGrath <roland@hack.frob.com>
8451
8452 * io/fcntl.c (__fcntl): Add ... to prototype.
8453 * misc/ioctl.c (__ioctl): Likewise.
8454 * misc/syscall.c (syscall): Likewise.
8455
8456 2015-11-05 Joseph Myers <joseph@codesourcery.com>
8457
8458 * scripts/list-fixed-bugs.py: New file.
8459
8460 [BZ #19213]
8461 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
8462 returned for argument 1.
8463 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
8464 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
8465 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
8466 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
8467 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
8468 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
8469
8470 [BZ #19211]
8471 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
8472 __USE_XOPEN], not if [!__USE_ISOC99].
8473 (lgammaf): Likewise.
8474 (lgammal): Likewise.
8475 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
8476 (gammaf): Likewise.
8477 (gammal): Likewise.
8478 * math/test-signgam-finite-c11.c: New file.
8479 * math/test-signgam-finite-c99.c: Likewise.
8480 * math/test-signgam-finite.c: Likewise.
8481 * math/Makefile (tests): Add test-signgam-finite,
8482 test-signgam-finite-c99 and test-signgam-finite-c11.
8483 (CFLAGS-test-signgam-finite.c): New variable.
8484 (CFLAGS-test-signgam-finite-c99.c): Likewise.
8485 (CFLAGS-test-signgam-finite-c11.c): Likewise.
8486
8487 [BZ #19212]
8488 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
8489 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
8490 500].
8491 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
8492 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
8493 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
8494 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
8495 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
8496 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
8497 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
8498 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
8499 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
8500 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
8501
8502 [BZ #19209]
8503 * math/bits/math-finite.h (ldexp): Remove declaration.
8504 (ldexpf): Likewise.
8505 (ldexpl): Likewise.
8506
8507 [BZ #19205]
8508 * math/bits/math-finite.h (acosf): Condition declaration on
8509 [__USE_ISOC99].
8510 (acosl): Likewise.
8511 (acoshf): Likewise.
8512 (acoshl): Likewise.
8513 (asinf): Likewise.
8514 (asinl): Likewise.
8515 (atan2f): Likewise.
8516 (atan2l): Likewise.
8517 (atanhf): Likewise.
8518 (atanhl): Likewise.
8519 (coshf): Likewise.
8520 (coshl): Likewise.
8521 (expf): Likewise.
8522 (expl): Likewise.
8523 (fmodf): Likewise.
8524 (fmodl): Likewise.
8525 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
8526 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
8527 (j0l): Likewise.
8528 (y0f): Likewise.
8529 (y0l): Likewise.
8530 (j1f): Likewise.
8531 (j1l): Likewise.
8532 (y1f): Likewise.
8533 (y1l): Likewise.
8534 (jnf): Likewise.
8535 (jnl): Likewise.
8536 (ynf): Likewise.
8537 (ynl): Likewise.
8538 (lgammaf_r): Condition declaration on [__USE_ISOC99].
8539 (lgammal_r): Likewise.
8540 (__lgamma_r_finite): New declaration.
8541 (__lgammaf_r_finite): Likewise.
8542 (__lgammal_r_finite): Likewise.
8543 (lgamma): Use __lgamma_r_finite.
8544 (lgammaf): Condition definition on [__USE_ISOC99]. Use
8545 __lgammaf_r_finite.
8546 (lgammal): Condition definition on [__USE_ISOC99]. Use
8547 __lgammal_r_finite.
8548 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
8549 __lgamma_r_finite.
8550 (gammaf): Condition definition on [__USE_ISOC99]. Use
8551 __lgammaf_r_finite.
8552 (gammal): Condition definition on [__USE_ISOC99]. Use
8553 __lgammal_r_finite.
8554 (logf): Condition declaration on [__USE_ISOC99].
8555 (logl): Likewise.
8556 (log10f): Likewise.
8557 (log10l): Likewise.
8558 (ldexpf): Likewise.
8559 (ldexpl): Likewise.
8560 (powf): Likewise.
8561 (powl): Likewise.
8562 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
8563 __USE_ISOC99].
8564 (remainderf): Condition declaration on [__USE_ISOC99].
8565 (remainderl): Likewise.
8566 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
8567 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
8568 (scalbl): Likewise.
8569 (sinhf): Condition declaration on [__USE_ISOC99].
8570 (sinhl): Likewise.
8571 (sqrtf): Likewise.
8572 (sqrtl): Likewise.
8573
8574 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8575
8576 * sysdeps/arm/atomic-machine.h
8577 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8578 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8579 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
8580 Remove conditional code.
8581 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
8582 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
8583 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
8584 Change conditional to [__ASSEMBLER__].
8585 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8586 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
8587 [!__ASSEMBLER__].
8588 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
8589 code.
8590 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
8591 conditional macro definitions.
8592 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
8593 (__arch_compare_and_exchange_val_16_acq): Likewise.
8594 (__arch_compare_and_exchange_val_32_acq): Likewise.
8595 (atomic_exchange_and_add): Likewise.
8596 (atomic_add): Likewise.
8597 (atomic_add_negative): Likewise.
8598 (atomic_add_zero): Likewise.
8599 (atomic_bit_set): Likewise.
8600 (atomic_bit_test_set): Likewise.
8601 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
8602 code unconditional.
8603 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8604
8605 * math/test-math-errno.h: New file.
8606 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
8607 empty.
8608 (TEST_ERRNO): New macro.
8609 (TEST_EXCEPTIONS): Likewise.
8610 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
8611 (TEST_EXCEPTIONS): Likewise.
8612 * math/test-math-vector.h (TEST_ERRNO): Likewise.
8613 * math/test-double.c: Include "test-math-errno.h".
8614 * math/test-float.c: Likewise.
8615 * math/test-ldouble.c: Likewise.
8616 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
8617 code unconditional.
8618 (test_exceptions): Only run code if TEST_EXCEPTIONS.
8619 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
8620 unconditional.
8621 (test_errno): Only run code if TEST_ERRNO.
8622 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
8623
8624 2015-11-04 Florian Weimer <fweimer@redhat.com>
8625
8626 * nptl/tst-once5.cc: Remove attribution.
8627
8628 2015-11-04 Joseph Myers <joseph@codesourcery.com>
8629
8630 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
8631 sqrt, tan, tanh, y0, y1 and yn.
8632 * math/auto-libm-test-out: Regenerated.
8633 * math/libm-test.inc (scalb_test_data): Add more tests.
8634 (scalbn_test_data): Likewise.
8635 (scalbln_test_data): Likewise.
8636 (signbit_test_data): Likewise.
8637 (sin_test_data): Likewise.
8638 (sincos_test_data): Likewise.
8639 (sinh_test_data): Likewise.
8640 (sqrt_test_data): Likewise.
8641 (tan_test_data): Likewise.
8642 (tanh_test_data): Likewise.
8643 (tgamma_test_data): Likewise.
8644 (y0_test_data): Likewise.
8645 (y1_test_data): Likewise.
8646 (yn_test_data): Likewise.
8647 (significand_test_data): Likewise.
8648 * sysdeps/i386/fpu/libm-test-ulps: Update.
8649
8650 2015-11-03 David Kastrup <dak@gnu.org>
8651
8652 [BZ #18604]
8653 * assert/assert.h (assert): Don't macro-expand failed assertion
8654 expression in error message.
8655 * malloc/malloc.c (assert): Likewise.
8656
8657 2015-11-03 Joseph Myers <joseph@codesourcery.com>
8658
8659 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
8660 test.
8661 * configure: Regenerated.
8662
8663 2015-11-02 Joseph Myers <joseph@codesourcery.com>
8664
8665 * math/libm-test.inc (modf_test_data): Add more tests.
8666 (nearbyint_test_data): Likewise.
8667 (nextafter_test_data): Likewise.
8668 (nexttoward_test_data): Likewise.
8669 (pow_test_data): Likewise.
8670 (remainder_test_data): Likewise.
8671 (remquo_test_data): Likewise.
8672 (rint_test_data): Likewise.
8673
8674 [BZ #19201]
8675 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8676 Check for zero remainder in case of large exponents and ensure
8677 correct sign of result in that case.
8678 * math/libm-test.inc (remainder_test_data): Add more tests.
8679
8680 [BZ #6799]
8681 * math/s_nextafter.c: Include <errno.h>.
8682 (__nextafter): Set errno on overflow and underflow.
8683 * math/s_nexttowardf.c: Include <errno.h>.
8684 (__nexttowardf): Set errno on overflow and underflow.
8685 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
8686 (__nextafterl): Set errno on overflow and underflow.
8687 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
8688 (__nexttoward): Set errno on overflow and underflow.
8689 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
8690 (__nexttowardf): Set errno on overflow and underflow.
8691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
8692 (__nextafterf): Set errno on overflow and underflow.
8693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
8694 (__nextafterl): Set errno on overflow and underflow.
8695 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
8696 (__nexttoward): Set errno on overflow and underflow.
8697 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
8698 (__nexttowardf): Set errno on overflow and underflow.
8699 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
8700 (__nextafterl): Set errno on overflow and underflow.
8701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
8702 (__nexttoward): Set errno on overflow and underflow.
8703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
8704 (__nexttowardf): Set errno on overflow and underflow.
8705 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
8706 (__nexttoward): Set errno on overflow and underflow.
8707 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
8708 (__nexttowardf): Set errno on overflow and underflow.
8709 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
8710 (__nldbl_nexttowardf): Set errno on overflow and underflow.
8711 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
8712 (__nextafterl): Set errno on overflow and underflow.
8713 * math/libm-test.inc (nextafter_test_data): Do not allow errno
8714 setting to be missing on overflow. Add more tests.
8715 (nexttoward_test_data): Likewise.
8716
8717 * configure.ac (libc_cv_initfini_array): Remove configure test.
8718 * configure: Regenerated.
8719
8720 2015-10-29 Joseph Myers <joseph@codesourcery.com>
8721
8722 [BZ #19189]
8723 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
8724 non-finite argument handle arguments with negative sign.
8725
8726 * math/libm-test.inc (j0_test_data): Do not test sign of zero
8727 result from infinite argument.
8728 (j1_test_data): Likewise.
8729 (jn_test_data): Likewise.
8730 (y0_test_data): Likewise.
8731 (y1_test_data): Likewise.
8732 (yn_test_data): Likewise.
8733
8734 [BZ #16171]
8735 * math/w_remainder.c (drem): Define as weak alias of __remainder.
8736 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
8737 * math/w_remainderf.c (dremf): Define as weak alias of
8738 __remainderf.
8739 * math/w_remainderl.c (dreml): Define as weak alias of
8740 __remainderl.
8741 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
8742 __remainder.
8743 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
8744 __remainderf.
8745 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
8746 __remainderl.
8747 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
8748 weak alias of remainderl.
8749 * sysdeps/ieee754/ldbl-opt/w_remainder.c
8750 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
8751 alias of __remainder.
8752 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
8753 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
8754 strong alias of __remainderl.
8755 (dreml): Use long_double_symbol.
8756 * math/Makefile (libm-calls): Remove w_drem.
8757 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
8758 (CFLAGS-nldbl-drem.c): Remove variable.
8759 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
8760 * math/w_drem.c: Remove file.
8761 * math/w_dremf.c: Likewise.
8762 * math/w_dreml.c: Likewise.
8763 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
8764 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
8765 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
8766
8767 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
8768 * sysdeps/i386/configure: Regenerated.
8769 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
8770 * sysdeps/x86_64/configure: Regenerated.
8771
8772 * configure.ac (libc_cv_asm_protected_directive): Remove configure
8773 test.
8774 (libc_cv_visibility_attribute): Likewise.
8775 (libc_cv_protected_data): Test unconditionally.
8776 (libc_cv_broken_visibility_attribute): Remove configure test.
8777 (libc_cv_have_sdata_section): Test unconditionally.
8778 * configure: Regenerated.
8779
8780 * include/libc-internal.h (libc_max_align_t): Remove typedef.
8781 * include/scratch_buffer.h: Include <stddef.h> instead of
8782 <libc-internal.h>.
8783 (struct scratch_buffer): Use max_align_t instead of
8784 libc_max_align_t.
8785
8786 2015-10-29 Florian Weimer <fweimer@redhat.com>
8787
8788 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
8789 instead of extend_alloca. Change control flow to avoid a goto.
8790 Remove assert which is trivially always true.
8791
8792 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8793
8794 [BZ #16068]
8795 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
8796 (FE_ALL_EXCEPT_X86): New macro.
8797 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8798 FE_ALL_EXCEPT. Ensure precision control is included in
8799 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8800 handle "denormal operand exception" and clear FZ and DAZ bits.
8801 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
8802 (FE_ALL_EXCEPT_X86): New macro.
8803 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
8804 FE_ALL_EXCEPT. Ensure precision control is included in
8805 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
8806 handle "denormal operand exception" and clear FZ and DAZ bits.
8807 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
8808 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
8809 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8810 test-fenv-x87 and test-fenv-sse-2.
8811 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
8812
8813 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
8814 * math/test-double.h (BUILD_COMPLEX): New macro.
8815 * math/test-float.h (BUILD_COMPLEX): Likewise.
8816 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
8817
8818 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
8819 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
8820 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
8821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
8822 instead of DBL_DENORM_MIN in comment.
8823 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
8824 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
8826 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
8827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
8828 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
8829
8830 2015-10-28 Florian Weimer <fweimer@redhat.com>
8831
8832 [BZ# 19048]
8833 * malloc/malloc.c (struct malloc_state): Update comment. Add
8834 attached_threads member.
8835 (main_arena): Initialize attached_threads.
8836 * malloc/arena.c (list_lock): Update comment.
8837 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
8838 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
8839 (deattach_arena): New function.
8840 (_int_new_arena): Initialize arena reference count and deattach
8841 replaced arena.
8842 (get_free_list, reused_arena): Update reference count and deattach
8843 replaced arena.
8844 (arena_thread_freeres): Update arena reference count and only put
8845 unreferenced arenas on the free list.
8846
8847 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8848
8849 [BZ #19181]
8850 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
8851 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
8852 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
8853 * math/test-fenv-clear-main.c: New file.
8854 * math/test-fenv-clear.c: Likewise.
8855 * math/Makefile (tests): Add test-fenv-clear.
8856 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
8857 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8858 test-fenv-clear-sse.
8859 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
8860
8861 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
8862 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
8863 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
8864
8865 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8866
8867 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
8868 static libc.
8869
8870 2015-10-28 Joseph Myers <joseph@codesourcery.com>
8871
8872 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
8873 test.
8874 * sysdeps/i386/configure: Regenerated.
8875 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
8876 test.
8877 * sysdeps/x86_64/configure: Regenerated.
8878 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
8879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8880 memset-avx2 unconditionally instead of conditionally on
8881 [$(config-cflags-avx2) = yes].
8882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8883 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
8884 unconditional.
8885 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
8886 * sysdeps/x86_64/multiarch/memset_chk.S
8887 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
8888 to [IS_IN (libc) && SHARED].
8889
8890 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8891
8892 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
8893 configure test.
8894 * sysdeps/arm/configure: Regenerated.
8895 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
8896 Define variable if not already defined.
8897
8898 [BZ #17404]
8899 * sysdeps/mips/atomic-machine.h
8900 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
8901 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
8902 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
8903
8904 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
8905 unconditional.
8906 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
8907 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8908 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
8909 unconditional.
8910 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8911 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
8912 unconditional.
8913 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8914 * stdlib/setenv.c
8915 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
8916 code unconditional.
8917 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
8918 Remove conditional code.
8919 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8920 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
8921 unconditional.
8922 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8923 code.
8924 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8925 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
8926 unconditional.
8927 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8928 code.
8929 * sysdeps/ieee754/ldbl-128/k_tanl.c
8930 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8931 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8932 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8933 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8934 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8935 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8936 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
8937 unconditional.
8938 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
8939 code.
8940 * sysdeps/ieee754/ldbl-96/k_tanl.c
8941 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
8942 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
8943
8944 * nptl/tst-initializers1-c11.c: New file.
8945 * nptl/tst-initializers1-gnu11.c: Likewise.
8946 * nptl/Makefile (tests): Add these new tests.
8947 (CFLAGS-tst-initializers1-c11.c): New variable.
8948 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
8949
8950 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
8951 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
8952 instead of -std=gnu99.
8953 * configure.ac (systemtap): Test with -std=gnu11 instead of
8954 -std=gnu99.
8955 * configure: Regenerated.
8956 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
8957 in compilation command in comment.
8958
8959 * sysdeps/nptl/configure.ac: Remove file.
8960 * sysdeps/nptl/configure: Remove generated file.
8961 * configure.ac (libc_cv_forced_unwind): Do not substitute.
8962 * configure: Regenerated.
8963 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
8964 * config.make.in (have-forced-unwind): Remove variable.
8965 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8966 unconditional.
8967 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
8968 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
8969 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
8970 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
8971 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
8972 unconditional.
8973
8974 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8975
8976 [BZ #19174]
8977 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
8978 .skip_lock_out_of_tbegin_retries.
8979 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8980 (__lll_lock_elision): Likewise, and respect a value of
8981 try_tbegin <= 0.
8982
8983 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8984
8985 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
8986 statement.
8987
8988 2015-10-27 Joseph Myers <joseph@codesourcery.com>
8989
8990 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
8991 variable.
8992 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8993 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8994
8995 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
8996 of -std=c1x -D_ISOC11_SOURCE.
8997
8998 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
8999 * configure: Regenerated.
9000 * manual/install.texi (Tools for Compilation): Document
9001 requirement for GCC 4.7 or later.
9002 * INSTALL: Regenerated.
9003
9004 2015-10-27 Ludovic Courtès <ludo@gnu.org>
9005
9006 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9007 on CNT to a conditional jump to 'puntdata'.
9008
9009 2015-10-27 Joseph Myers <joseph@codesourcery.com>
9010
9011 * configure.ac (libc_cv_gcc___thread): Remove configure test.
9012 (libc_cv_gcc_tls_model_attr): Likewise.
9013 * configure: Regenerated.
9014
9015 * configure.ac (libc_cv_need_minus_P): Remove configure test.
9016 * configure: Regenerated.
9017 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9018
9019 2015-10-26 Joseph Myers <joseph@codesourcery.com>
9020
9021 * configure.ac (old_glibc_headers): Remove configure test.
9022 * configure: Regenerated.
9023 * config.make.in (old-glibc-headers): Remove variable.
9024 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9025 (install): Remove dependency on remove-old-headers.
9026 (headers2_0): Remove variable.
9027 (remove-old-headers): Remove rule.
9028
9029 * configure.ac (libc_cv_dot_text): Remove configure test.
9030 (libc_cv_asm_set_directive): Use .text instead of
9031 ${libc_cv_dot_text} in configure test.
9032 * configure: Regenerated.
9033
9034 2015-10-26 Florian Weimer <fweimer@redhat.com>
9035
9036 [BZ #19168]
9037 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9038
9039 2015-10-26 Florian Weimer <fweimer@redhat.com>
9040
9041 * configure.ac (CXX): Clear the variable if the C++ toolchain does
9042 not support static linking.
9043 * configure: Regenerate.
9044
9045 2015-10-23 Joseph Myers <joseph@codesourcery.com>
9046
9047 * math/libm-test.inc (check_float_internal): Do not special-case
9048 errors up to 0.5 ulp.
9049
9050 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9051 log2.
9052 * math/auto-libm-test-out: Regenerated.
9053 * math/libm-test.inc (MAX_EXP): New macro.
9054 (ilogb_test_data): Add more tests.
9055 (isfinite_test_data): Likewise.
9056 (isgreater_test_data): Likewise.
9057 (isgreaterequal_test_data): Likewise.
9058 (isinf_test_data): Likewise.
9059 (isless_test_data): Likewise.
9060 (islessequal_test_data): Likewise.
9061 (islessgreater_test_data): Likewise.
9062 (isnan_test_data): Likewise.
9063 (isnormal_test_data): Likewise.
9064 (issignaling_test_data): Likewise.
9065 (isunordered_test_data): Likewise.
9066 (j0_test_data): Likewise.
9067 (j1_test_data): Likewise.
9068 (jn_test_data): Likewise.
9069 (lgamma_test_data): Likewise.
9070 (log_test_data): Likewise.
9071 (log10_test_data): Likewise.
9072 (log1p_test_data): Likewise.
9073 (log2_test_data): Likewise.
9074 (logb_test_data): Likewise.
9075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9076
9077 [BZ #18611]
9078 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9079 avoid excess range and precision on underflow.
9080 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9081 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9082 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9083 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9084 underflow.
9085 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9087 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9088 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9089 * math/auto-libm-test-in: Do not allow missing errno setting for
9090 tests of j1 and jn.
9091 * math/auto-libm-test-out: Regenerated.
9092
9093 2015-10-22 Joseph Myers <joseph@codesourcery.com>
9094
9095 [BZ #15491]
9096 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9097 floating-point environment instead of clearing all exceptions.
9098 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9099 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9100 merging in "invalid" exceptions from frndint.
9101 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9102 * math/test-nearbyint-except.c: New file.
9103 * math/Makefile (tests): Add test-nearbyint-except.
9104
9105 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
9106
9107 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9108
9109 * sysdeps/tile/libm-test-ulps: Regenerated.
9110
9111 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9112
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9114 (__NR_sync_file_range2): Assume it is always defined.
9115 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9116 (__NR_sync_file_range): Assume it is always defined.
9117
9118 2015-10-22 Andreas Schwab <schwab@suse.de>
9119
9120 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9121 INTERNAL_SYSCALL_ERRNO.
9122 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9123 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9124 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9125 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9126 Likewise.
9127 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9128
9129 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9130
9131 * io/tst-fcntl.c (fd): New static variable.
9132 (do_prepare): Open temporary file here....
9133 (do_test): ...not here.
9134
9135 * io/ftwtest-sh: Also trap on exit to remove temporary files.
9136
9137 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9140 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9141 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9142 Moved before "#ifdef __ASSEMBLER__".
9143
9144 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9145
9146 [BZ #19156]
9147 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9148 arguments very close to 0.
9149
9150 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
9151
9152 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9153 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9154
9155 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
9156
9157 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9158 New. Defined for GCC 5 and above when not compiling for
9159 profiling.
9160 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9161
9162 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9163 Renamed to ...
9164 (CFLAGS-epoll_pwait.o): This.
9165 (CFLAGS-mmap.c): Renamed to ...
9166 (CFLAGS-mmap.o): This.
9167 (CFLAGS-mmap64.c): Renamed to ...
9168 (CFLAGS-mmap64.o): This.
9169 (CFLAGS-epoll_pwait.os): New.
9170 (CFLAGS-mmap.os): Likewise.
9171 (CFLAGS-mmap64.os): Likewise.
9172 (CFLAGS-semtimedop.os): Likewise.
9173 (CFLAGS-semtimedop.c): Renamed to ...
9174 (CFLAGS-semtimedop.o): This.
9175
9176 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9177
9178 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9179 warning message.
9180
9181 2015-10-21 Joseph Myers <joseph@codesourcery.com>
9182
9183 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9184 * Makefile ($(objpfx)c++-types-check.out): Filter out
9185 $(+gccwarn-c) instead of -Wstrict-prototypes.
9186
9187 * io/fts.c (fts_open): Convert to prototype-style function
9188 definition.
9189 * malloc/mcheck.c (mcheck): Likewise.
9190 (mcheck_pedantic): Likewise.
9191 * posix/regexec.c (re_search_2_stub): Likewise. Use
9192 internal_function.
9193 (re_search_internal): Likewise.
9194 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9195 prototype-style function definition.
9196 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9197 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9198 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9199 (xdr_utmpptr): Likewise.
9200 (xdr_utmparr): Likewise.
9201 (xdr_utmpidle): Likewise.
9202 (xdr_utmpidleptr): Likewise.
9203 (xdr_utmpidlearr): Likewise.
9204
9205 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9206 log, log10 and log2.
9207 * math/auto-libm-test-out: Regenerated.
9208 * math/libm-test.inc (fmod_test_data): Add more tests.
9209 (fpclassify_test_data): Likewise.
9210 (frexp_test_data): Likewise.
9211 (hypot_test_data): Likewise.
9212 (ilogb_test_data): Likewise.
9213
9214 2015-10-20 Joseph Myers <joseph@codesourcery.com>
9215
9216 * debug/fortify_fail.c (__fortify_fail): Convert to
9217 prototype-style function definition. Use internal_function.
9218 * libio/genops.c (save_for_backup): Convert to prototype-style
9219 function definition.
9220 * libio/wgenops.c (save_for_wbackup): Likewise.
9221 * login/grantpt.c (grantpt): Likewise.
9222 * login/ptsname.c (ptsname): Likewise.
9223 (__ptsname_r): Likewise.
9224 * login/unlockpt.c (unlockpt): Likewise.
9225 * mach/msgserver.c (__mach_msg_server): Likewise.
9226 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9227 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9228 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9229 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9230 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9231 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9232 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9233 Likewise.
9234 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
9235 internal_function.
9236 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9237 prototype-style function definition.
9238 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9239 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9240 (__pthread_create_2_0): Likewise.
9241 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9242 * nptl/register-atfork.c (__register_atfork): Likewise.
9243 * posix/glob.c (glob): Likewise.
9244 * posix/regcomp.c (re_comp): Likewise.
9245 * posix/regexec.c (re_exec): Likewise.
9246 * stdlib/add_n.c [__STDC__]: Make code unconditional.
9247 [!__STDC__]: Remove conditional code.
9248 * stdlib/cmp.c [__STDC__]: Make code unconditional.
9249 [!__STDC__]: Remove conditional code.
9250 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9251 [!__STDC__]: Remove conditional code.
9252 * stdlib/divrem.c [__STDC__]: Make code unconditional.
9253 [!__STDC__]: Remove conditional code.
9254 * stdlib/lshift.c [__STDC__]: Make code unconditional.
9255 [!__STDC__]: Remove conditional code.
9256 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9257 [!__STDC__]: Remove conditional code.
9258 * stdlib/mul.c [__STDC__]: Make code unconditional.
9259 [!__STDC__]: Remove conditional code.
9260 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9261 [!__STDC__]: Remove conditional code.
9262 * stdlib/rshift.c [__STDC__]: Make code unconditional.
9263 [!__STDC__]: Remove conditional code.
9264 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9265 function definition.
9266 (STRTOF): Likewise.
9267 * stdlib/strtod_l.c (__STRTOF): Likewise.
9268 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9269 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9270 (__strtol_l): Likewise.
9271 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9272 [!__STDC__]: Remove conditional code.
9273 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9274 definition.
9275 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9276 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9277 type.
9278 (__strcasecmp): Convert to prototype-style function definition.
9279 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9280 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9281 type.
9282 (__strncasecmp): Convert to prototype-style function definition.
9283 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9284 * sunrpc/xdr.c (xdr_union): Likewise.
9285 * sunrpc/xdr_array.c (xdr_array): Likewise.
9286 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9287 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9288 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9289 Likewise.
9290 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9291 Likewise.
9292 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9293 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9294 Likewise.
9295 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9296 (LOCALE_PARAM_PROTO): Likewise.
9297 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9298 argument type.
9299 (ut_argument_spec): Remove macro.
9300 (ut_argument_spec_iso): Rename to ut_argument_spec.
9301 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
9302 prototype-style function definition.
9303 (memcpy_uppcase): Likewise.
9304 (__strftime_internal): Likewise.
9305 (my_strftime): Likewise.
9306 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9307 (LOCALE_PARAM_DECL): Likewise.
9308 [_LIBC] (LOCALE_PARAM): Include argument type.
9309 (__strptime_internal): Convert to prototype-style function
9310 definition.
9311 (strptime): Likewise.
9312 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9313 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9314 type.
9315 (__wcscasecmp): Convert to prototype-style function definition.
9316 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9317 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9318 type.
9319 (__wcsncasecmp): Convert to prototype-style function definition.
9320
9321 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9322 function definition.
9323 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9324 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9325 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9326 * elf/dl-minimal.c (_itoa): Likewise.
9327 * hurd/hurdmalloc.c (malloc): Likewise.
9328 (free): Likewise.
9329 (realloc): Likewise.
9330 * inet/inet6_option.c (inet6_option_space): Likewise.
9331 (inet6_option_init): Likewise.
9332 (inet6_option_append): Likewise.
9333 (inet6_option_alloc): Likewise.
9334 (inet6_option_next): Likewise.
9335 (inet6_option_find): Likewise.
9336 * io/ftw.c (FTW_NAME): Likewise.
9337 (NFTW_NAME): Likewise.
9338 (NFTW_NEW_NAME): Likewise.
9339 (NFTW_OLD_NAME): Likewise.
9340 * libio/iofwide.c (_IO_fwide): Likewise.
9341 * libio/strops.c (_IO_str_init_static_internal): Likewise.
9342 (_IO_str_init_static): Likewise.
9343 (_IO_str_init_readonly): Likewise.
9344 (_IO_str_overflow): Likewise.
9345 (_IO_str_underflow): Likewise.
9346 (_IO_str_count): Likewise.
9347 (_IO_str_seekoff): Likewise.
9348 (_IO_str_pbackfail): Likewise.
9349 (_IO_str_finish): Likewise.
9350 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9351 (_IO_wstr_overflow): Likewise.
9352 (_IO_wstr_underflow): Likewise.
9353 (_IO_wstr_count): Likewise.
9354 (_IO_wstr_seekoff): Likewise.
9355 (_IO_wstr_pbackfail): Likewise.
9356 (_IO_wstr_finish): Likewise.
9357 * locale/programs/localedef.c (normalize_codeset): Likewise.
9358 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9359 (add_locales_to_archive): Likewise.
9360 (delete_locales_from_archive): Likewise.
9361 * malloc/malloc.c (__libc_mallinfo): Likewise.
9362 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9363 * misc/tsearch.c (__tfind): Likewise.
9364 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9365 * nptl/pthread_attr_getdetachstate.c
9366 (__pthread_attr_getdetachstate): Likewise.
9367 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9368 Likewise.
9369 * nptl/pthread_attr_getinheritsched.c
9370 (__pthread_attr_getinheritsched): Likewise.
9371 * nptl/pthread_attr_getschedparam.c
9372 (__pthread_attr_getschedparam): Likewise.
9373 * nptl/pthread_attr_getschedpolicy.c
9374 (__pthread_attr_getschedpolicy): Likewise.
9375 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9376 Likewise.
9377 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9378 Likewise.
9379 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9380 Likewise.
9381 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9382 Likewise.
9383 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9384 (__pthread_attr_init_2_0): Likewise.
9385 * nptl/pthread_attr_setdetachstate.c
9386 (__pthread_attr_setdetachstate): Likewise.
9387 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9388 Likewise.
9389 * nptl/pthread_attr_setinheritsched.c
9390 (__pthread_attr_setinheritsched): Likewise.
9391 * nptl/pthread_attr_setschedparam.c
9392 (__pthread_attr_setschedparam): Likewise.
9393 * nptl/pthread_attr_setschedpolicy.c
9394 (__pthread_attr_setschedpolicy): Likewise.
9395 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9396 Likewise.
9397 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9398 Likewise.
9399 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9400 Likewise.
9401 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9402 Likewise.
9403 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9404 Likewise.
9405 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9406 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9407 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9408 use internal_function.
9409 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9410 prototype-style function definition.
9411 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9412 (__pthread_mutex_cond_lock_adjust): Likewise. Use
9413 internal_function.
9414 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9415 Convert to prototype-style function definition.
9416 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9417 Likewise.
9418 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9419 Likewise.
9420 (__pthread_mutex_unlock): Likewise.
9421 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9422 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9423 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9424 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9425 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9426 * nss/makedb.c (process_input): Likewise.
9427 * posix/fnmatch.c (__strchrnul): Likewise.
9428 (__wcschrnul): Likewise.
9429 (fnmatch): Likewise.
9430 * posix/fnmatch_loop.c (FCT): Likewise.
9431 * posix/glob.c (globfree): Likewise.
9432 (__glob_pattern_type): Likewise.
9433 (__glob_pattern_p): Likewise.
9434 * posix/regcomp.c (re_compile_pattern): Likewise.
9435 (re_set_syntax): Likewise.
9436 (re_compile_fastmap): Likewise.
9437 (regcomp): Likewise.
9438 (regerror): Likewise.
9439 (regfree): Likewise.
9440 * posix/regexec.c (regexec): Likewise.
9441 (re_match): Likewise.
9442 (re_search): Likewise.
9443 (re_match_2): Likewise.
9444 (re_search_2): Likewise.
9445 (re_search_stub): Likewise. Use internal_function
9446 (re_copy_regs): Likewise.
9447 (re_set_registers): Convert to prototype-style function
9448 definition.
9449 (prune_impossible_nodes): Likewise. Use internal_function.
9450 * resolv/inet_net_pton.c (inet_net_pton): Convert to
9451 prototype-style function definition.
9452 (inet_net_pton_ipv4): Likewise.
9453 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9454 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
9455 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
9456 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
9457 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9458 Make variadic.
9459 * time/strptime_l.c (localtime_r): Convert to prototype-style
9460 function definition.
9461 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9462 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9463 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9464 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9465
9466 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
9467 definition.
9468 (_ufc_doit_r): Likewise.
9469 * crypt/crypt_util.c (_ufc_copymem): Likewise.
9470 (_ufc_output_conversion_r): Likewise.
9471 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
9472 * inet/rcmd.c (rcmd_af): Likewise.
9473 (rcmd): Likewise.
9474 (ruserok_af): Likewise.
9475 (ruserok): Likewise.
9476 (ruserok2_sa): Likewise.
9477 (ruserok_sa): Likewise.
9478 (iruserok_af): Likewise.
9479 (iruserok): Likewise.
9480 (__ivaliduser): Likewise.
9481 (__validuser2_sa): Likewise.
9482 * inet/rexec.c (rexec_af): Likewise.
9483 (rexec): Likewise.
9484 * inet/ruserpass.c (ruserpass): Likewise.
9485 * locale/programs/xmalloc.c (xcalloc): Likewise.
9486 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
9487 * math/w_drem.c (__drem): Likewise.
9488 * math/w_dremf.c (__dremf): Likewise.
9489 * math/w_dreml.c (__dreml): Likewise.
9490 * misc/daemon.c (daemon): Likewise.
9491 * resolv/res_debug.c (p_fqnname): Likewise.
9492 * stdlib/div.c (div): Likewise.
9493 * string/memcmp.c (memcmp_bytes): Likewise.
9494 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
9495 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
9496
9497 * crypt/cert.c (main): Convert to prototype-style function
9498 definition.
9499 * io/pipe.c (__pipe): Likewise.
9500 * io/pipe2.c (__pipe2): Likewise.
9501 * misc/futimesat.c (futimesat): Likewise.
9502 * misc/utimes.c (__utimes): Likewise.
9503 * posix/execve.c (__execve): Likewise.
9504 * posix/execvp.c (execvp): Likewise.
9505 * posix/execvpe.c (__execvpe): Likewise.
9506 * posix/fexecve.c (fexecve): Likewise.
9507 * socket/socketpair.c (socketpair): Likewise.
9508 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9509 * stdlib/erand48.c (erand48): Likewise.
9510 * stdlib/erand48_r.c (__erand48_r): Likewise.
9511 * stdlib/jrand48.c (jrand48): Likewise.
9512 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
9513 * stdlib/lcong48.c (lcong48): Likewise.
9514 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
9515 * stdlib/nrand48.c (nrand48): Likewise.
9516 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
9517 * stdlib/seed48.c (seed48): Likewise.
9518 * stdlib/seed48_r.c (__seed48_r): Likewise.
9519 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
9520 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
9521 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
9522
9523 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9524
9525 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
9526 * configure: Regenerated.
9527 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
9528 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
9529 unconditional.
9530 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9531 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9532 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9533 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
9534 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
9535 unconditional.
9536 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
9537
9538 * posix/Makefile (CFLAGS-regex.c): Remove variable.
9539 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
9540
9541 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
9542 function definition.
9543 * crypt/crypt_util.c (__encrypt_r): Likewise.
9544 * libio/genops.c (_IO_no_init): Likewise.
9545 * libio/iofopncook.c (_IO_fopencookie): Likewise.
9546 (_IO_old_fopencookie): Likewise.
9547 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9548 * libio/iogetline.c (_IO_getline): Likewise.
9549 (_IO_getline_info): Likewise.
9550 * libio/iogetwline.c (_IO_getwline): Likewise.
9551 (_IO_getwline_info): Likewise.
9552 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
9553 * libio/vswprintf.c (_IO_vswprintf): Likewise.
9554 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
9555 (find_entry): Likewise.
9556 (iterate_table): Likewise.
9557 (lookup): Likewise.
9558 * login/forkpty.c (forkpty): Likewise.
9559 * misc/hsearch_r.c (__hsearch_r): Likewise.
9560 * misc/select.c (__select): Likewise.
9561 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
9562 Likewise.
9563 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
9564 Likewise.
9565 * nptl/old_pthread_cond_timedwait.c
9566 (__pthread_cond_timedwait_2_0): Likewise.
9567 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
9568 * nptl/pthread_barrierattr_getpshared.c
9569 (pthread_barrierattr_getpshared): Likewise.
9570 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9571 Likewise.
9572 * nptl/pthread_mutex_setprioceiling.c
9573 (pthread_mutex_setprioceiling): Likewise.
9574 * nptl/pthread_mutexattr_getprioceiling.c
9575 (pthread_mutexattr_getprioceiling): Likewise.
9576 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
9577 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9578 Likewise.
9579 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9580 Likewise.
9581 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
9582 Likewise.
9583 * socket/recvfrom.c (__recvfrom): Likewise.
9584 * socket/sendto.c (__sendto): Likewise.
9585 * socket/setsockopt.c (__setsockopt): Likewise.
9586 * stdio-common/_itoa.c (_itoa): Likewise.
9587 * stdio-common/_itowa.c (_itowa): Likewise.
9588 * stdio-common/reg-printf.c (__register_printf_specifier):
9589 Likewise.
9590 (__register_printf_function): Likewise.
9591 * stdio-common/tempname.c (__path_search): Likewise.
9592 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
9593 * stdlib/mul_1.c (mpn_mul_1): Likewise.
9594 * stdlib/random_r.c (__initstate_r): Likewise.
9595 * stdlib/setenv.c (__add_to_environ): Likewise.
9596 * stdlib/submul_1.c (mpn_submul_1): Likewise.
9597 * streams/getpmsg.c (getpmsg): Likewise.
9598 * streams/putmsg.c (putmsg): Likewise.
9599 * streams/putpmsg.c (putpmsg): Likewise.
9600 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
9601 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
9602 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
9603 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
9604 * sunrpc/pm_getport.c (pmap_getport): Likewise.
9605 * sunrpc/svc_udp.c (cache_get): Likewise.
9606 * sunrpc/xdr_array.c (xdr_vector): Likewise.
9607 * sysdeps/mach/hurd/getcwd.c
9608 (__canonicalize_directory_name_internal): Likewise.
9609 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
9610 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
9611 * sysdeps/mach/hurd/select.c (__select): Likewise.
9612 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
9613 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
9614 * sysdeps/sparc/nptl/pthread_barrier_init.c
9615 (__pthread_barrier_init): Likewise.
9616 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
9617 (__pthread_cond_timedwait): Likewise.
9618 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
9619 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
9620 Likewise.
9621 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
9622 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
9623 Likewise.
9624 * sysvipc/semtimedop.c (semtimedop): Likewise.
9625 * time/setitimer.c (__setitimer): Likewise.
9626 * time/strftime_l.c (emacs_strftime): Likewise.
9627
9628 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9629
9630 * config.make.in (have-ssp): Delete.
9631 (stack-protector): New variable.
9632 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
9633 cache test for -fstack-protector-strong. Export stack_protector to
9634 the best ssp flag.
9635 * configure: Regenerated.
9636 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
9637 * nscd/Makefile (CFLAGS-nscd): Likewise.
9638 * resolv/Makefile (CFLAGS-libresolv): Likewise.
9639
9640 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
9641
9642 [BZ #19122]
9643 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
9644 attribute_hidden.
9645
9646 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9647
9648 [BZ #18743]
9649 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
9650 code to...
9651 (ELIDE_LOCK): ...here.
9652 (__get_new_count): New function with part of the code from
9653 __elide_lock that updates the value of adapt_count after a
9654 transaction abort.
9655 (__elided_trylock): Moved this code to...
9656 (ELIDE_TRYLOCK): ...here.
9657
9658 2015-10-19 Mike Frysinger <vapier@gentoo.org>
9659
9660 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
9661 * configure: Regenerate.
9662 * INSTALL: Regenerate.
9663 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
9664 and tweak grammar.
9665
9666 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
9667
9668 * login/programs/pt_chown.c: Include signal.h
9669 (main): Clear any signal mask from the parent process.
9670
9671 2015-10-19 Joseph Myers <joseph@codesourcery.com>
9672
9673 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
9674 * configure: Regenerated.
9675 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
9676 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
9677 $(gnu89-inline-CFLAGS).
9678
9679 * configure.ac (libc_cv_asm_weak_directive): Remove configure
9680 test.
9681 (libc_cv_asm_weakext_directive): Likewise.
9682 * configure: Regenerated.
9683 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
9684 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
9685 * include/libc-symbols.h
9686 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
9687 #error.
9688 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
9689 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
9690
9691 * sysdeps/arm/backtrace.c (__backtrace): Convert to
9692 prototype-style function definition.
9693 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9694 * sysdeps/i386/ffs.c (__ffs): Likewise.
9695 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9696 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
9697 Likewise.
9698 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9699 Likewise.
9700 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9702 Likewise.
9703 * sysdeps/m68k/ffs.c (__ffs): Likewise.
9704 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
9705 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
9706 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
9707 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
9708 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
9709 * sysdeps/mach/hurd/access.c (__access): Likewise.
9710 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
9711 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
9712 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
9713 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
9714 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
9715 (cthread_getspecific): Likewise.
9716 (cthread_setspecific): Likewise.
9717 (__libc_getspecific): Likewise.
9718 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
9719 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
9720 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
9721 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
9722 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
9723 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
9724 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
9725 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
9726 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
9727 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
9728 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
9729 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
9730 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
9731 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
9732 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
9733 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
9734 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
9735 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
9736 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
9737 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
9738 * sysdeps/mach/hurd/link.c (__link): Likewise.
9739 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
9740 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
9741 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
9742 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
9743 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9744 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
9745 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
9746 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
9747 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
9748 * sysdeps/mach/hurd/rename.c (rename): Likewise.
9749 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
9750 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
9751 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
9752 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
9753 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
9754 * sysdeps/mach/hurd/send.c (__send): Likewise.
9755 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
9756 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
9757 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
9758 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
9759 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
9760 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
9761 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
9762 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
9763 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
9764 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
9765 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
9766 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
9767 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
9768 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
9769 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
9770 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
9771 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
9772 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
9773 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
9774 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
9775 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
9776 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
9777 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
9778 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
9779 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
9780 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
9781 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
9782 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
9783 * sysdeps/posix/alarm.c (alarm): Likewise.
9784 * sysdeps/posix/cuserid.c (cuserid): Likewise.
9785 * sysdeps/posix/dirfd.c (dirfd): Likewise.
9786 * sysdeps/posix/dup.c (__dup): Likewise.
9787 * sysdeps/posix/dup2.c (__dup2): Likewise.
9788 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
9789 (main): Likewise.
9790 * sysdeps/posix/flock.c (__flock): Likewise.
9791 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
9792 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
9793 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
9794 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
9795 * sysdeps/posix/isatty.c (__isatty): Likewise.
9796 * sysdeps/posix/killpg.c (killpg): Likewise.
9797 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
9798 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
9799 * sysdeps/posix/raise.c (raise): Likewise.
9800 * sysdeps/posix/remove.c (remove): Likewise.
9801 * sysdeps/posix/rename.c (rename): Likewise.
9802 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
9803 * sysdeps/posix/seekdir.c (seekdir): Likewise.
9804 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
9805 * sysdeps/posix/sigignore.c (sigignore): Likewise.
9806 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
9807 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
9808 * sysdeps/posix/sigset.c (sigset): Likewise.
9809 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
9810 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
9811 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
9812 * sysdeps/posix/time.c (time): Likewise.
9813 * sysdeps/posix/ttyname.c (getttyname): Likewise.
9814 (ttyname): Likewise.
9815 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
9816 * sysdeps/posix/utime.c (utime): Likewise.
9817 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
9818 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9819 Likewise.
9820 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
9821 (pthread_spin_trylock): Likewise.
9822 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
9823 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
9824 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
9825 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
9826 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
9827 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
9828 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
9829 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
9830 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
9831 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
9832 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
9833 * sysdeps/s390/ffs.c (__ffs): Likewise.
9834 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
9835 Likewise.
9836 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9837 Likewise.
9838 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
9839 Likewise.
9840 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
9841 (pthread_barrier_destroy): Likewise.
9842 * sysdeps/sparc/nptl/pthread_barrier_wait.c
9843 (__pthread_barrier_wait): Likewise.
9844 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
9845 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
9846 (__pthread_barrier_wait): Likewise.
9847 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
9848 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
9849 (memcmp_not_common_alignment): Likewise.
9850 (MEMCMP): Likewise.
9851 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
9852 (_wordcopy_fwd_dest_aligned): Likewise.
9853 (_wordcopy_bwd_aligned): Likewise.
9854 (_wordcopy_bwd_dest_aligned): Likewise.
9855 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
9856 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
9857 * sysdeps/unix/bsd/stty.c (stty): Likewise.
9858 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
9859 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
9860 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
9861 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
9862 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
9863 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
9864 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
9865 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
9866 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9867 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
9868 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
9869 * sysdeps/unix/stime.c (stime): Likewise.
9870 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
9871 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
9872 Likewise. Use internal_function.
9873 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
9874 Convert to prototype-style function definition.
9875 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9876 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9877 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
9878 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9879 Likewise. Use internal_function.
9880 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
9881 prototype-style function definition
9882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9883 Likewise.
9884 (__getlogin_r): Likewise.
9885 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
9886 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
9887 (__pthread_cond_broadcast): Likewise.
9888 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
9889 (__pthread_cond_destroy): Likewise.
9890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
9891 (__pthread_cond_init): Likewise.
9892 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
9893 (__pthread_cond_signal): Likewise.
9894 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
9895 (__pthread_cond_wait): Likewise.
9896 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
9897 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
9898 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
9899 Likewise.
9900 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
9901 Likewise.
9902 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
9903 Likewise.
9904 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
9905 Likewise.
9906 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
9908 (__ftruncate64): Likewise.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
9910 (truncate64): Likewise.
9911 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
9912 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
9913 (pthread_getcpuclockid): Likewise.
9914 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
9915 Likewise.
9916 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
9917 Likewise.
9918 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
9919 Likewise.
9920 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
9921 Likewise.
9922 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
9923 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
9924 (__libc_sigaction): Likewise.
9925 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
9926 Likewise.
9927 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
9928 (__sigprocmask): Likewise.
9929 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
9930 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
9931 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
9932 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
9933 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9934 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
9935 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
9938 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
9939 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9940 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
9941 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
9942 Likewise.
9943 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
9944 (__sigprocmask): Likewise.
9945 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
9946 (cfgetispeed): Likewise.
9947 (cfsetospeed): Likewise.
9948 (cfsetispeed): Likewise.
9949 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
9950 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
9951 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9952 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
9953 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
9954 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
9955 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
9956 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
9957 Likewise.
9958 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
9959 Likewise.
9960 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
9961 Likewise.
9962 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
9963 Likewise.
9964 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9965
9966 2015-10-17 Florian Weimer <fweimer@redhat.com>
9967
9968 sunrpc: Rewrite with explicit TLS access using __thread.
9969 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
9970 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
9971 directly.
9972 (__rpc_thread_variables): Access thread_rpc_vars directly.
9973 Eliminate redundant assignment of the tvp variable.
9974
9975 2015-10-17 Florian Weimer <fweimer@redhat.com>
9976
9977 malloc: Rewrite with explicit TLS access using __thread.
9978 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
9979 (tsd_setspecific, tsd_getspecific): Remove.
9980 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
9981 (tsd_setspecific, tsd_getspecific): Likewise.
9982 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
9983 (tsd_setspecific, tsd_getspecific): Likewise.
9984 * malloc/arena.c (thread_arena): New TLS variable.
9985 (arena_key): Remove variable.
9986 (arena_get): Use thread_arena.
9987 (arena_lookup): Remove macro.
9988 (malloc_atfork, free_atfork, ptmalloc_lock_all)
9989 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
9990 (_int_new_arena, get_free_list, reused_arena)
9991 (arena_thread_freeres): Use thread_arena.
9992 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
9993 tsd_getspecific, tsd_setspecific from safety annotations.
9994 (Allocating Cleared Space): Remove arena_lookup from safety
9995 annotations.
9996
9997 2015-10-17 Florian Weimer <fweimer@redhat.com>
9998
9999 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10000 struct scratch_buffer instead of extend_alloca.
10001
10002 2015-10-17 Florian Weimer <fweimer@redhat.com>
10003
10004 * sysdeps/unix/sysv/linux/kernel-features.h
10005 (__ASSUME_SOCK_CLOEXEC): Remove.
10006 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10007 (__have_paccept): Remove unused macro.
10008 * include/unistd.h (__have_sock_cloexec): Remove declaration.
10009 * misc/syslog.c (openlog_internal): Remove fallback code for
10010 !__ASSUME_SOCK_CLOEXEC.
10011 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10012 missing SOCK_CLOEXEC.
10013 * nscd/connections.c (have_sock_cloexec): Remove definition.
10014 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10015 * nscd/nscd_helper.c (open_socket): Remove fallback code for
10016 !__ASSUME_SOCK_CLOEXEC.
10017 * resolv/res_send.c (__have_o_nonblock): Remove definition.
10018 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10019 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10020 definition.
10021 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10022 code for !__ASSUME_SOCK_CLOEXEC.
10023
10024 2015-10-17 Florian Weimer <fweimer@redhat.com>
10025
10026 [BZ #18982]
10027 * manual/stdio.texi (Variable Arguments Output): Add portability
10028 note, explaining that vfprintf clobbers the va_list pointer.
10029
10030 2015-10-16 Joseph Myers <joseph@codesourcery.com>
10031
10032 * math/libm-test.inc (fabs_test_data): Add more tests.
10033 (fdim_test_data): Likewise.
10034 (fma_test_data): Likewise.
10035 (fmax_test_data): Likewise.
10036 (fmin_test_data): Likewise.
10037 (fmod_test_data): Likewise.
10038
10039 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
10040
10041 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
10042 data.
10043
10044 2015-10-16 Joseph Myers <joseph@codesourcery.com>
10045
10046 * math/libm-test.inc (ceil_test_data): Add more tests and more
10047 expectations for "inexact".
10048 (floor_test_data): Add more tests.
10049 (round_test_data): Likewise.
10050 (trunc_test_data): Likewise.
10051
10052 * crypt/cert.c (good_bye): Convert to prototype-style function
10053 definition.
10054 (get8): Likewise.
10055 (put8): Likewise.
10056 * crypt/crypt-entry.c (crypt): Likewise.
10057 (__fcrypt): Likewise.
10058 * crypt/crypt_util.c (_ufc_prbits): Likewise.
10059 (_ufc_set_bits): Likewise.
10060 (_ufc_clearmem): Likewise.
10061 (__init_des_r): Likewise.
10062 (shuffle_sb): Likewise.
10063 (shuffle_sb): Likewise.
10064 (_ufc_setup_salt_r): Likewise.
10065 (_ufc_mk_keytab_r): Likewise.
10066 (_ufc_dofinalperm_r): Likewise.
10067 (encrypt): Likewise.
10068 (__setkey_r): Likewise.
10069 (setkey): Likewise.
10070 * crypt/md5.c (md5_init_ctx): Likewise.
10071 (md5_read_ctx): Likewise.
10072 (md5_finish_ctx): Likewise.
10073 (md5_stream): Likewise.
10074 (md5_buffer): Likewise.
10075 (md5_process_bytes): Likewise.
10076 * crypt/sha256.c (__sha256_init_ctx): Likewise.
10077 (__sha256_finish_ctx): Likewise.
10078 (__sha256_process_bytes): Likewise.
10079 * crypt/sha512.c (__sha512_init_ctx): Likewise.
10080 (__sha512_finish_ctx): Likewise.
10081 (__sha512_process_bytes): Likewise.
10082 * ctype/isctype.c (__isctype): Likewise.
10083 * debug/backtrace.c (__backtrace): Likewise.
10084 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10085 * debug/fgets_chk.c (__fgets_chk): Likewise.
10086 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10087 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10088 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10089 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10090 * debug/memset_chk.c (__memset_chk): Likewise.
10091 * debug/strcat_chk.c (__strcat_chk): Likewise.
10092 * debug/strncat_chk.c (__strncat_chk): Likewise.
10093 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10094 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10095 * dirent/dirfd.c (dirfd): Likewise.
10096 * dirent/getdents.c (__getdirentries): Likewise.
10097 * dirent/getdents64.c (getdirentries64): Likewise.
10098 * dirent/rewinddir.c (__rewinddir): Likewise.
10099 * dirent/seekdir.c (seekdir): Likewise.
10100 * dirent/telldir.c (telldir): Likewise.
10101 * elf/sln.c (makesymlinks): Likewise.
10102 (makesymlink): Likewise.
10103 * gmon/gmon.c (__moncontrol): Likewise.
10104 (__monstartup): Likewise.
10105 (write_hist): Likewise.
10106 (write_call_graph): Likewise.
10107 (write_bb_counts): Likewise.
10108 * grp/setgroups.c (setgroups): Likewise.
10109 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10110 * inet/inet_net.c (inet_network): Likewise.
10111 * inet/inet_netof.c (inet_netof): Likewise.
10112 * inet/rcmd.c (rresvport_af): Likewise.
10113 (rresvport): Likewise.
10114 * io/access.c (__access): Likewise.
10115 * io/chdir.c (__chdir): Likewise.
10116 * io/chmod.c (__chmod): Likewise.
10117 * io/chown.c (__chown): Likewise.
10118 * io/close.c (__close): Likewise.
10119 * io/creat.c (creat): Likewise.
10120 * io/creat64.c (creat64): Likewise.
10121 * io/dup.c (__dup): Likewise.
10122 * io/dup2.c (__dup2): Likewise.
10123 * io/dup3.c (__dup3): Likewise.
10124 * io/euidaccess.c (__euidaccess): Likewise.
10125 * io/faccessat.c (faccessat): Likewise.
10126 * io/fchmod.c (__fchmod): Likewise.
10127 * io/fchmodat.c (fchmodat): Likewise.
10128 * io/fchown.c (__fchown): Likewise.
10129 * io/fchownat.c (fchownat): Likewise.
10130 * io/fcntl.c (__fcntl): Likewise.
10131 * io/flock.c (__flock): Likewise.
10132 * io/fts.c (fts_load): Likewise.
10133 (fts_close): Likewise.
10134 (fts_read): Likewise.
10135 (fts_set): Likewise.
10136 (fts_children): Likewise.
10137 (fts_build): Likewise.
10138 (fts_stat): Likewise.
10139 (fts_sort): Likewise.
10140 (fts_alloc): Likewise.
10141 (fts_lfree): Likewise.
10142 (fts_palloc): Likewise.
10143 (fts_padjust): Likewise.
10144 (fts_maxarglen): Likewise.
10145 (fts_safe_changedir): Likewise.
10146 * io/getwd.c (getwd): Likewise.
10147 * io/isatty.c (__isatty): Likewise.
10148 * io/lchown.c (__lchown): Likewise.
10149 * io/link.c (__link): Likewise.
10150 * io/linkat.c (linkat): Likewise.
10151 * io/lseek.c (__libc_lseek): Likewise.
10152 * io/mkdir.c (__mkdir): Likewise.
10153 * io/mkdirat.c (mkdirat): Likewise.
10154 * io/mkfifo.c (mkfifo): Likewise.
10155 * io/mkfifoat.c (mkfifoat): Likewise.
10156 * io/open.c (__libc_open): Likewise.
10157 * io/open64.c (__libc_open64): Likewise.
10158 * io/readlink.c (__readlink): Likewise.
10159 * io/readlinkat.c (readlinkat): Likewise.
10160 * io/rmdir.c (__rmdir): Likewise.
10161 * io/symlink.c (__symlink): Likewise.
10162 * io/symlinkat.c (symlinkat): Likewise.
10163 * io/ttyname.c (ttyname): Likewise.
10164 * io/ttyname_r.c (__ttyname_r): Likewise.
10165 * io/umask.c (__umask): Likewise.
10166 * io/unlink.c (__unlink): Likewise.
10167 * io/unlinkat.c (unlinkat): Likewise.
10168 * io/utime.c (utime): Likewise.
10169 * libio/clearerr.c (clearerr): Likewise.
10170 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10171 * libio/feof.c (_IO_feof): Likewise.
10172 * libio/feof_u.c (feof_unlocked): Likewise.
10173 * libio/ferror.c (_IO_ferror): Likewise.
10174 * libio/ferror_u.c (ferror_unlocked): Likewise.
10175 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10176 * libio/fileno.c (__fileno): Likewise.
10177 * libio/fputc.c (fputc): Likewise.
10178 * libio/fputc_u.c (fputc_unlocked): Likewise.
10179 * libio/fputwc.c (fputwc): Likewise.
10180 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10181 * libio/freopen.c (freopen): Likewise.
10182 * libio/freopen64.c (freopen64): Likewise.
10183 * libio/fseek.c (fseek): Likewise.
10184 * libio/fseeko.c (fseeko): Likewise.
10185 * libio/fseeko64.c (fseeko64): Likewise.
10186 * libio/ftello.c (__ftello): Likewise.
10187 * libio/ftello64.c (ftello64): Likewise.
10188 * libio/fwide.c (fwide): Likewise.
10189 * libio/genops.c (_IO_un_link): Likewise.
10190 (_IO_link_in): Likewise.
10191 (_IO_least_marker): Likewise.
10192 (_IO_switch_to_main_get_area): Likewise.
10193 (_IO_switch_to_backup_area): Likewise.
10194 (_IO_switch_to_get_mode): Likewise.
10195 (_IO_free_backup_area): Likewise.
10196 (_IO_switch_to_put_mode): Likewise.
10197 (__overflow): Likewise.
10198 (__underflow): Likewise.
10199 (__uflow): Likewise.
10200 (_IO_setb): Likewise.
10201 (_IO_doallocbuf): Likewise.
10202 (_IO_default_underflow): Likewise.
10203 (_IO_default_uflow): Likewise.
10204 (_IO_default_xsputn): Likewise.
10205 (_IO_sgetn): Likewise.
10206 (_IO_default_xsgetn): Likewise.
10207 (_IO_sync): Likewise.
10208 (_IO_default_setbuf): Likewise.
10209 (_IO_default_seekpos): Likewise.
10210 (_IO_default_doallocate): Likewise.
10211 (_IO_init): Likewise.
10212 (_IO_old_init): Likewise.
10213 (_IO_default_sync): Likewise.
10214 (_IO_default_finish): Likewise.
10215 (_IO_default_seekoff): Likewise.
10216 (_IO_sputbackc): Likewise.
10217 (_IO_sungetc): Likewise.
10218 (_IO_set_column): Likewise.
10219 (_IO_set_column): Likewise.
10220 (_IO_adjust_column): Likewise.
10221 (_IO_get_column): Likewise.
10222 (_IO_init_marker): Likewise.
10223 (_IO_remove_marker): Likewise.
10224 (_IO_marker_difference): Likewise.
10225 (_IO_marker_delta): Likewise.
10226 (_IO_seekmark): Likewise.
10227 (_IO_unsave_markers): Likewise.
10228 (_IO_nobackup_pbackfail): Likewise.
10229 (_IO_default_pbackfail): Likewise.
10230 (_IO_default_seek): Likewise.
10231 (_IO_default_stat): Likewise.
10232 (_IO_default_read): Likewise.
10233 (_IO_default_write): Likewise.
10234 (_IO_default_showmanyc): Likewise.
10235 (_IO_default_imbue): Likewise.
10236 (_IO_iter_next): Likewise.
10237 (_IO_iter_file): Likewise.
10238 * libio/getc.c (_IO_getc): Likewise.
10239 * libio/getwc.c (_IO_getwc): Likewise.
10240 * libio/iofclose.c (_IO_new_fclose): Likewise.
10241 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10242 * libio/iofflush.c (_IO_fflush): Likewise.
10243 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10244 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10245 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10246 * libio/iofgets.c (_IO_fgets): Likewise.
10247 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10248 * libio/iofgetws.c (fgetws): Likewise.
10249 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10250 * libio/iofopen64.c (_IO_fopen64): Likewise.
10251 * libio/iofopncook.c (_IO_cookie_read): Likewise.
10252 (_IO_cookie_write): Likewise.
10253 (_IO_cookie_seek): Likewise.
10254 (_IO_cookie_close): Likewise.
10255 (_IO_cookie_seekoff): Likewise.
10256 (_IO_old_cookie_seek): Likewise.
10257 * libio/iofputs.c (_IO_fputs): Likewise.
10258 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10259 * libio/iofputws.c (fputws): Likewise.
10260 * libio/iofputws_u.c (fputws_unlocked): Likewise.
10261 * libio/iofread.c (_IO_fread): Likewise.
10262 * libio/iofread_u.c (__fread_unlocked): Likewise.
10263 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10264 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10265 * libio/ioftell.c (_IO_ftell): Likewise.
10266 * libio/iofwrite.c (_IO_fwrite): Likewise.
10267 * libio/iogetdelim.c (_IO_getdelim): Likewise.
10268 * libio/iogets.c (_IO_gets): Likewise.
10269 * libio/iopadn.c (_IO_padn): Likewise.
10270 * libio/iopopen.c (_IO_new_proc_open): Likewise.
10271 (_IO_new_popen): Likewise.
10272 (_IO_new_proc_close): Likewise.
10273 * libio/ioputs.c (_IO_puts): Likewise.
10274 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10275 (_IO_seekoff): Likewise.
10276 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10277 (_IO_seekpos): Likewise.
10278 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10279 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10280 * libio/ioungetc.c (_IO_ungetc): Likewise.
10281 * libio/ioungetwc.c (ungetwc): Likewise.
10282 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10283 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10284 * libio/iowpadn.c (_IO_wpadn): Likewise.
10285 * libio/libc_fatal.c (__libc_fatal): Likewise.
10286 * libio/memstream.c (__open_memstream): Likewise.
10287 (_IO_mem_sync): Likewise.
10288 (_IO_mem_finish): Likewise.
10289 * libio/oldfileops.c (_IO_old_file_init): Likewise.
10290 (_IO_old_file_close_it): Likewise.
10291 (_IO_old_file_finish): Likewise.
10292 (_IO_old_file_fopen): Likewise.
10293 (_IO_old_file_attach): Likewise.
10294 (_IO_old_file_setbuf): Likewise.
10295 (_IO_old_do_write): Likewise.
10296 (old_do_write): Likewise.
10297 (_IO_old_file_underflow): Likewise.
10298 (_IO_old_file_overflow): Likewise.
10299 (_IO_old_file_sync): Likewise.
10300 (_IO_old_file_seekoff): Likewise.
10301 (_IO_old_file_write): Likewise.
10302 (_IO_old_file_xsputn): Likewise.
10303 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10304 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10305 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10306 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10307 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10308 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10309 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10310 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10311 (_IO_old_popen): Likewise.
10312 (_IO_old_proc_close): Likewise.
10313 * libio/oldpclose.c (__old_pclose): Likewise.
10314 * libio/pclose.c (__new_pclose): Likewise.
10315 * libio/peekc.c (_IO_peekc_locked): Likewise.
10316 * libio/putc.c (_IO_putc): Likewise.
10317 * libio/putc_u.c (putc_unlocked): Likewise.
10318 * libio/putchar.c (putchar): Likewise.
10319 * libio/putchar_u.c (putchar_unlocked): Likewise.
10320 * libio/putwc.c (putwc): Likewise.
10321 * libio/putwc_u.c (putwc_unlocked): Likewise.
10322 * libio/putwchar.c (putwchar): Likewise.
10323 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10324 * libio/rewind.c (rewind): Likewise.
10325 * libio/setbuf.c (setbuf): Likewise.
10326 * libio/setlinebuf.c (setlinebuf): Likewise.
10327 * libio/vasprintf.c (_IO_vasprintf): Likewise.
10328 * libio/vscanf.c (_IO_vscanf): Likewise.
10329 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10330 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10331 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10332 * libio/wgenops.c (_IO_least_wmarker): Likewise.
10333 (_IO_switch_to_main_wget_area): Likewise.
10334 (_IO_switch_to_wbackup_area): Likewise.
10335 (_IO_wsetb): Likewise.
10336 (_IO_wdefault_pbackfail): Likewise.
10337 (_IO_wdefault_finish): Likewise.
10338 (_IO_wdefault_uflow): Likewise.
10339 (__woverflow): Likewise.
10340 (__wuflow): Likewise.
10341 (__wunderflow): Likewise.
10342 (_IO_wdefault_xsputn): Likewise.
10343 (_IO_wdefault_xsgetn): Likewise.
10344 (_IO_wdoallocbuf): Likewise.
10345 (_IO_wdefault_doallocate): Likewise.
10346 (_IO_switch_to_wget_mode): Likewise.
10347 (_IO_free_wbackup_area): Likewise.
10348 (_IO_switch_to_wput_mode): Likewise.
10349 (_IO_sputbackwc): Likewise.
10350 (_IO_sungetwc): Likewise.
10351 (_IO_adjust_wcolumn): Likewise.
10352 (_IO_init_wmarker): Likewise.
10353 (_IO_wmarker_delta): Likewise.
10354 (_IO_seekwmark): Likewise.
10355 (_IO_unsave_wmarkers): Likewise.
10356 * libio/wmemstream.c (open_wmemstream): Likewise.
10357 (_IO_wmem_sync): Likewise.
10358 (_IO_wmem_finish): Likewise.
10359 * locale/nl_langinfo.c (nl_langinfo): Likewise.
10360 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10361 * locale/programs/simple-hash.c (init_hash): Likewise.
10362 (delete_hash): Likewise.
10363 (insert_entry): Likewise.
10364 (set_entry): Likewise.
10365 (next_prime): Likewise.
10366 (is_prime): Likewise.
10367 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10368 (xmalloc): Likewise.
10369 (xrealloc): Likewise.
10370 * locale/programs/xstrdup.c (xstrdup): Likewise.
10371 * localedata/collate-test.c (xstrcoll): Likewise.
10372 * localedata/xfrm-test.c (xstrcmp): Likewise.
10373 * login/getlogin_r.c (__getlogin_r): Likewise.
10374 * login/getpt.c (__posix_openpt): Likewise.
10375 * login/login_tty.c (login_tty): Likewise.
10376 * login/setlogin.c (setlogin): Likewise.
10377 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10378 (mach_msg_destroy_port): Likewise.
10379 (mach_msg_destroy_memory): Likewise.
10380 * malloc/mcheck.c (flood): Likewise.
10381 * misc/acct.c (acct): Likewise.
10382 * misc/brk.c (__brk): Likewise.
10383 * misc/chflags.c (chflags): Likewise.
10384 * misc/chroot.c (chroot): Likewise.
10385 * misc/fchflags.c (fchflags): Likewise.
10386 * misc/fstab.c (getfsspec): Likewise.
10387 (getfsfile): Likewise.
10388 * misc/fsync.c (fsync): Likewise.
10389 * misc/ftruncate.c (__ftruncate): Likewise.
10390 * misc/ftruncate64.c (__ftruncate64): Likewise.
10391 * misc/getdomain.c (getdomainname): Likewise.
10392 (getdomainname): Likewise.
10393 * misc/gethostname.c (__gethostname): Likewise.
10394 * misc/getpass.c (getpass): Likewise.
10395 * misc/getttyent.c (skip): Likewise.
10396 (value): Likewise.
10397 * misc/gtty.c (gtty): Likewise.
10398 * misc/hsearch.c (hsearch): Likewise.
10399 (hcreate): Likewise.
10400 * misc/hsearch_r.c (__hcreate_r): Likewise.
10401 (__hdestroy_r): Likewise.
10402 * misc/ioctl.c (__ioctl): Likewise.
10403 * misc/mkdtemp.c (mkdtemp): Likewise.
10404 * misc/mkostemp.c (mkostemp): Likewise.
10405 * misc/mkostemp64.c (mkostemp64): Likewise.
10406 * misc/mkostemps.c (mkostemps): Likewise.
10407 * misc/mkostemps64.c (mkostemps64): Likewise.
10408 * misc/mkstemp.c (mkstemp): Likewise.
10409 * misc/mkstemp64.c (mkstemp64): Likewise.
10410 * misc/mkstemps.c (mkstemps): Likewise.
10411 * misc/mkstemps64.c (mkstemps64): Likewise.
10412 * misc/mktemp.c (__mktemp): Likewise.
10413 * misc/preadv.c (preadv): Likewise.
10414 * misc/preadv64.c (preadv64): Likewise.
10415 * misc/pwritev.c (pwritev): Likewise.
10416 * misc/pwritev64.c (pwritev64): Likewise.
10417 * misc/readv.c (__readv): Likewise.
10418 * misc/revoke.c (revoke): Likewise.
10419 * misc/setdomain.c (setdomainname): Likewise.
10420 * misc/setegid.c (setegid): Likewise.
10421 * misc/seteuid.c (seteuid): Likewise.
10422 * misc/sethostid.c (sethostid): Likewise.
10423 * misc/sethostname.c (sethostname): Likewise.
10424 * misc/setregid.c (__setregid): Likewise.
10425 * misc/setreuid.c (__setreuid): Likewise.
10426 * misc/sstk.c (sstk): Likewise.
10427 * misc/stty.c (stty): Likewise.
10428 * misc/syscall.c (syscall): Likewise.
10429 * misc/syslog.c (setlogmask): Likewise.
10430 * misc/truncate.c (__truncate): Likewise.
10431 * misc/truncate64.c (truncate64): Likewise.
10432 * misc/ualarm.c (ualarm): Likewise.
10433 * misc/usleep.c (usleep): Likewise.
10434 * misc/ustat.c (ustat): Likewise.
10435 * misc/writev.c (__writev): Likewise.
10436 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10437 * nptl/old_pthread_cond_broadcast.c
10438 (__pthread_cond_broadcast_2_0): Likewise.
10439 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10440 Likewise.
10441 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10442 Likewise.
10443 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
10444 Likewise.
10445 * nptl/pt-raise.c (raise): Likewise.
10446 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
10447 Likewise.
10448 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
10449 * nptl/pthread_barrierattr_destroy.c
10450 (pthread_barrierattr_destroy): Likewise.
10451 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
10452 Likewise.
10453 * nptl/pthread_barrierattr_setpshared.c
10454 (pthread_barrierattr_setpshared): Likewise.
10455 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10456 Likewise.
10457 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
10458 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
10459 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
10460 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
10461 Likewise.
10462 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
10463 Likewise.
10464 * nptl/pthread_condattr_getpshared.c
10465 (pthread_condattr_getpshared): Likewise.
10466 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
10467 Likewise.
10468 * nptl/pthread_condattr_setpshared.c
10469 (pthread_condattr_setpshared): Likewise.
10470 * nptl/pthread_detach.c (pthread_detach): Likewise.
10471 * nptl/pthread_equal.c (__pthread_equal): Likewise.
10472 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
10473 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
10474 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
10475 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
10476 Likewise.
10477 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
10478 Likewise.
10479 * nptl/pthread_mutex_getprioceiling.c
10480 (pthread_mutex_getprioceiling): Likewise.
10481 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
10482 Likewise.
10483 * nptl/pthread_mutexattr_getprotocol.c
10484 (pthread_mutexattr_getprotocol): Likewise.
10485 * nptl/pthread_mutexattr_getpshared.c
10486 (pthread_mutexattr_getpshared): Likewise.
10487 * nptl/pthread_mutexattr_getrobust.c
10488 (pthread_mutexattr_getrobust): Likewise.
10489 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10490 Likewise.
10491 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
10492 Likewise.
10493 * nptl/pthread_mutexattr_setprioceiling.c
10494 (pthread_mutexattr_setprioceiling): Likewise.
10495 * nptl/pthread_mutexattr_setprotocol.c
10496 (pthread_mutexattr_setprotocol): Likewise.
10497 * nptl/pthread_mutexattr_setpshared.c
10498 (pthread_mutexattr_setpshared): Likewise.
10499 * nptl/pthread_mutexattr_setrobust.c
10500 (pthread_mutexattr_setrobust): Likewise.
10501 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
10502 Likewise.
10503 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
10504 Likewise.
10505 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
10506 Likewise.
10507 * nptl/pthread_rwlockattr_getkind_np.c
10508 (pthread_rwlockattr_getkind_np): Likewise.
10509 * nptl/pthread_rwlockattr_getpshared.c
10510 (pthread_rwlockattr_getpshared): Likewise.
10511 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
10512 Likewise.
10513 * nptl/pthread_rwlockattr_setkind_np.c
10514 (pthread_rwlockattr_setkind_np): Likewise.
10515 * nptl/pthread_rwlockattr_setpshared.c
10516 (pthread_rwlockattr_setpshared): Likewise.
10517 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
10518 Likewise.
10519 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
10520 Likewise.
10521 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
10522 Likewise.
10523 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10524 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
10525 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
10526 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
10527 * nptl/sem_close.c (sem_close): Likewise.
10528 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
10529 * nptl/sem_init.c (__old_sem_init): Likewise.
10530 * nptl/sigaction.c (__sigaction): Likewise.
10531 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
10532 * posix/_exit.c (_exit): Likewise.
10533 * posix/alarm.c (alarm): Likewise.
10534 * posix/confstr.c (confstr): Likewise.
10535 * posix/fpathconf.c (__fpathconf): Likewise.
10536 * posix/getgroups.c (__getgroups): Likewise.
10537 * posix/getpgid.c (__getpgid): Likewise.
10538 * posix/group_member.c (__group_member): Likewise.
10539 * posix/pathconf.c (__pathconf): Likewise.
10540 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
10541 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
10542 * posix/setgid.c (__setgid): Likewise.
10543 * posix/setpgid.c (__setpgid): Likewise.
10544 * posix/setuid.c (__setuid): Likewise.
10545 * posix/sleep.c (__sleep): Likewise.
10546 * posix/sysconf.c (__sysconf): Likewise.
10547 * posix/times.c (__times): Likewise.
10548 * posix/uname.c (__uname): Likewise.
10549 * posix/waitid.c (__waitid): Likewise.
10550 * pwd/getpw.c (__getpw): Likewise.
10551 * resolv/base64.c (b64_pton): Likewise.
10552 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
10553 * resolv/gethnamaddr.c (Dprintf): Likewise.
10554 (gethostbyname): Likewise.
10555 (gethostbyname2): Likewise.
10556 (gethostbyaddr): Likewise.
10557 (_sethtent): Likewise.
10558 (_gethtbyname): Likewise.
10559 (_gethtbyname2): Likewise.
10560 (_gethtbyaddr): Likewise.
10561 (map_v4v6_address): Likewise.
10562 (map_v4v6_hostent): Likewise.
10563 (addrsort): Likewise.
10564 (ht_sethostent): Likewise.
10565 (ht_gethostbyname): Likewise.
10566 (ht_gethostbyaddr): Likewise.
10567 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
10568 (inet_net_ntop_ipv4): Likewise.
10569 * resolv/inet_neta.c (inet_neta): Likewise.
10570 * resolv/inet_ntop.c (inet_ntop): Likewise.
10571 (inet_ntop4): Likewise.
10572 (inet_ntop6): Likewise.
10573 * resolv/inet_pton.c (__inet_pton): Likewise.
10574 (inet_pton4): Likewise.
10575 (inet_pton6): Likewise.
10576 * resolv/res_debug.c (loc_aton): Likewise.
10577 (loc_ntoa): Likewise.
10578 * resource/getpriority.c (__getpriority): Likewise.
10579 * resource/getrusage.c (__getrusage): Likewise.
10580 * resource/nice.c (nice): Likewise.
10581 * resource/setpriority.c (__setpriority): Likewise.
10582 * resource/setrlimit64.c (setrlimit64): Likewise.
10583 * resource/vlimit.c (vlimit): Likewise.
10584 * resource/vtimes.c (vtimes): Likewise.
10585 * rt/aio_error.c (aio_error): Likewise.
10586 * rt/aio_return.c (aio_return): Likewise.
10587 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
10588 * signal/kill.c (__kill): Likewise.
10589 * signal/killpg.c (killpg): Likewise.
10590 * signal/raise.c (raise): Likewise.
10591 * signal/sigaction.c (__sigaction): Likewise.
10592 * signal/sigaddset.c (sigaddset): Likewise.
10593 * signal/sigaltstack.c (sigaltstack): Likewise.
10594 * signal/sigandset.c (sigandset): Likewise.
10595 * signal/sigblock.c (__sigblock): Likewise.
10596 * signal/sigdelset.c (sigdelset): Likewise.
10597 * signal/sigempty.c (sigemptyset): Likewise.
10598 * signal/sigfillset.c (sigfillset): Likewise.
10599 * signal/sighold.c (sighold): Likewise.
10600 * signal/sigignore.c (sigignore): Likewise.
10601 * signal/sigintr.c (siginterrupt): Likewise.
10602 * signal/sigisempty.c (sigisemptyset): Likewise.
10603 * signal/sigismem.c (sigismember): Likewise.
10604 * signal/signal.c (signal): Likewise.
10605 * signal/sigorset.c (sigorset): Likewise.
10606 * signal/sigpause.c (__sigpause): Likewise.
10607 * signal/sigpending.c (sigpending): Likewise.
10608 * signal/sigprocmask.c (__sigprocmask): Likewise.
10609 * signal/sigrelse.c (sigrelse): Likewise.
10610 * signal/sigreturn.c (__sigreturn): Likewise.
10611 * signal/sigset.c (sigset): Likewise.
10612 * signal/sigsetmask.c (__sigsetmask): Likewise.
10613 * signal/sigstack.c (sigstack): Likewise.
10614 * signal/sigsuspend.c (__sigsuspend): Likewise.
10615 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
10616 * signal/sysv_signal.c (__sysv_signal): Likewise.
10617 * socket/accept.c (accept): Likewise.
10618 * socket/accept4.c (__libc_accept4): Likewise.
10619 * socket/bind.c (__bind): Likewise.
10620 * socket/connect.c (__connect): Likewise.
10621 * socket/getpeername.c (getpeername): Likewise.
10622 * socket/getsockname.c (__getsockname): Likewise.
10623 * socket/getsockopt.c (getsockopt): Likewise.
10624 * socket/listen.c (__listen): Likewise.
10625 * socket/recv.c (__recv): Likewise.
10626 * socket/recvmsg.c (__recvmsg): Likewise.
10627 * socket/send.c (__send): Likewise.
10628 * socket/sendmsg.c (__sendmsg): Likewise.
10629 * socket/shutdown.c (shutdown): Likewise.
10630 * socket/sockatmark.c (sockatmark): Likewise.
10631 * socket/socket.c (__socket): Likewise.
10632 * stdio-common/ctermid.c (ctermid): Likewise.
10633 * stdio-common/cuserid.c (cuserid): Likewise.
10634 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
10635 * stdio-common/remove.c (remove): Likewise.
10636 * stdio-common/rename.c (rename): Likewise.
10637 * stdio-common/renameat.c (renameat): Likewise.
10638 * stdio-common/tempname.c (__gen_tempname): Likewise.
10639 * stdio-common/xbug.c (InitBuffer): Likewise.
10640 (AppendToBuffer): Likewise.
10641 (ReadFile): Likewise.
10642 * stdlib/a64l.c (a64l): Likewise.
10643 * stdlib/drand48_r.c (drand48_r): Likewise.
10644 * stdlib/getcontext.c (getcontext): Likewise.
10645 * stdlib/getenv.c (getenv): Likewise.
10646 * stdlib/l64a.c (l64a): Likewise.
10647 * stdlib/llabs.c (llabs): Likewise.
10648 * stdlib/lldiv.c (lldiv): Likewise.
10649 * stdlib/lrand48_r.c (lrand48_r): Likewise.
10650 * stdlib/mrand48_r.c (mrand48_r): Likewise.
10651 * stdlib/putenv.c (putenv): Likewise.
10652 * stdlib/random.c (__srandom): Likewise.
10653 (__initstate): Likewise.
10654 (__setstate): Likewise.
10655 * stdlib/random_r.c (__srandom_r): Likewise.
10656 (__setstate_r): Likewise.
10657 (__random_r): Likewise.
10658 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
10659 * stdlib/setcontext.c (setcontext): Likewise.
10660 * stdlib/setenv.c (setenv): Likewise.
10661 (unsetenv): Likewise.
10662 * stdlib/srand48.c (srand48): Likewise.
10663 * stdlib/srand48_r.c (__srand48_r): Likewise.
10664 * stdlib/swapcontext.c (swapcontext): Likewise.
10665 * stdlib/system.c (__libc_system): Likewise.
10666 * stdlib/tst-strtod.c (expand): Likewise.
10667 * stdlib/tst-strtol.c (expand): Likewise.
10668 * stdlib/tst-strtoll.c (expand): Likewise.
10669 * streams/fattach.c (fattach): Likewise.
10670 * streams/fdetach.c (fdetach): Likewise.
10671 * streams/getmsg.c (getmsg): Likewise.
10672 * streams/isastream.c (isastream): Likewise.
10673 * string/ffs.c (__ffs): Likewise.
10674 * string/ffsll.c (ffsll): Likewise.
10675 * string/memcmp.c (memcmp_common_alignment): Likewise.
10676 (memcmp_not_common_alignment): Likewise.
10677 (MEMCMP): Likewise.
10678 * string/memcpy.c (memcpy): Likewise.
10679 * string/memmove.c (MEMMOVE): Likewise.
10680 * string/memset.c (memset): Likewise.
10681 * string/rawmemchr.c (RAWMEMCHR): Likewise.
10682 * string/strchrnul.c (STRCHRNUL): Likewise.
10683 * string/strerror.c (strerror): Likewise.
10684 * string/strndup.c (__strndup): Likewise.
10685 * string/strverscmp.c (__strverscmp): Likewise.
10686 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
10687 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
10688 (clnttcp_freeres): Likewise.
10689 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
10690 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
10691 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
10692 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
10693 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
10694 (xdr_callhdr): Likewise.
10695 * sunrpc/rpcinfo.c (udpping): Likewise.
10696 (tcpping): Likewise.
10697 (pstatus): Likewise.
10698 (pmapdump): Likewise.
10699 (brdcst): Likewise.
10700 (deletereg): Likewise.
10701 (getprognum): Likewise.
10702 (getvers): Likewise.
10703 (get_inet_address): Likewise.
10704 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
10705 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10706 (svcudp_stat): Likewise.
10707 (svcudp_recv): Likewise.
10708 (svcudp_reply): Likewise.
10709 (svcudp_getargs): Likewise.
10710 (svcudp_freeargs): Likewise.
10711 (svcudp_destroy): Likewise.
10712 * sunrpc/xdr.c (xdr_bytes): Likewise.
10713 (xdr_netobj): Likewise.
10714 (xdr_string): Likewise.
10715 (xdr_wrapstring): Likewise.
10716 * sunrpc/xdr_float.c (xdr_float): Likewise.
10717 (xdr_double): Likewise.
10718 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
10719 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
10720 * sysvipc/ftok.c (ftok): Likewise.
10721 * sysvipc/msgctl.c (msgctl): Likewise.
10722 * sysvipc/msgget.c (msgget): Likewise.
10723 * sysvipc/msgrcv.c (msgrcv): Likewise.
10724 * sysvipc/msgsnd.c (msgsnd): Likewise.
10725 * sysvipc/semget.c (semget): Likewise.
10726 * sysvipc/semop.c (semop): Likewise.
10727 * sysvipc/shmat.c (shmat): Likewise.
10728 * sysvipc/shmctl.c (shmctl): Likewise.
10729 * sysvipc/shmdt.c (shmdt): Likewise.
10730 * sysvipc/shmget.c (shmget): Likewise.
10731 * termios/cfmakeraw.c (cfmakeraw): Likewise.
10732 * termios/speed.c (cfgetospeed): Likewise.
10733 (cfgetispeed): Likewise.
10734 (cfsetospeed): Likewise.
10735 (cfsetispeed): Likewise.
10736 * termios/tcflow.c (tcflow): Likewise.
10737 * termios/tcflush.c (tcflush): Likewise.
10738 * termios/tcgetattr.c (__tcgetattr): Likewise.
10739 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
10740 * termios/tcgetsid.c (tcgetsid): Likewise.
10741 * termios/tcsendbrk.c (tcsendbreak): Likewise.
10742 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
10743 * time/adjtime.c (__adjtime): Likewise.
10744 * time/dysize.c (dysize): Likewise.
10745 * time/ftime.c (ftime): Likewise.
10746 * time/getitimer.c (__getitimer): Likewise.
10747 * time/gettimeofday.c (__gettimeofday): Likewise.
10748 * time/gmtime.c (__gmtime_r): Likewise.
10749 (gmtime): Likewise.
10750 * time/localtime.c (__localtime_r): Likewise.
10751 (localtime): Likewise.
10752 * time/offtime.c (__offtime): Likewise.
10753 * time/settimeofday.c (__settimeofday): Likewise.
10754 * time/stime.c (stime): Likewise.
10755 * time/strftime_l.c (tm_diff): Likewise.
10756 (iso_week_days): Likewise.
10757 * time/strptime.c (strptime): Likewise.
10758 * time/time.c (time): Likewise.
10759 * time/timespec_get.c (timespec_get): Likewise.
10760 * time/tzset.c (tzset_internal): Likewise.
10761 (compute_change): Likewise.
10762 (__tz_compute): Likewise.
10763 * wcsmbs/btowc.c (__btowc): Likewise.
10764 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
10765 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
10766 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
10767 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
10768 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
10769 * wcsmbs/wcscat.c (__wcscat): Likewise.
10770 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
10771 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
10772 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
10773 * wcsmbs/wcscspn.c (wcscspn): Likewise.
10774 * wcsmbs/wcsdup.c (wcsdup): Likewise.
10775 * wcsmbs/wcslen.c (__wcslen): Likewise.
10776 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
10777 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
10778 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
10779 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
10780 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
10781 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
10782 * wcsmbs/wcsspn.c (wcsspn): Likewise.
10783 * wcsmbs/wcsstr.c (wcsstr): Likewise.
10784 * wcsmbs/wcstok.c (wcstok): Likewise.
10785 * wcsmbs/wctob.c (wctob): Likewise.
10786 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
10787 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10788 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
10789 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
10790 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
10791 * wcsmbs/wmemset.c (__wmemset): Likewise.
10792 * wctype/wcfuncs.c (__towlower): Likewise.
10793 (__towupper): Likewise.
10794
10795 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
10796 (lll_unlock_elision): Add adapt_count parameter.
10797
10798 2015-10-15 Joseph Myers <joseph@codesourcery.com>
10799
10800 * sysdeps/nptl/configure.ac: Do not give errors based on the
10801 results of top-level configure tests.
10802 * sysdeps/nptl/configure: Regenerated.
10803
10804 * configure.ac (libc_cv_Bgroup): Remove configure test.
10805 * configure: Regenerated.
10806 * config.make.in (have-Bgroup): Remove variable.
10807
10808 * configure.ac (sizeof_long_double): Remove configure test.
10809 * configure: Regenerated.
10810 * config.make.in (sizeof-long-double): Remove variable.
10811
10812 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
10813 * configure: Regenerated.
10814 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
10815 variable.
10816 (exceptions): Likewise.
10817 * sysdeps/arm/configure: Regenerated.
10818 * config.make.in (exceptions): Remove variable.
10819 * Makeconfig (uses-callbacks): Use -fexceptions instead of
10820 $(exceptions).
10821 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
10822 (CFLAGS-vdprintf_chk.c): Likewise.
10823 (CFLAGS-printf_chk.c): Likewise.
10824 (CFLAGS-fprintf_chk.c): Likewise.
10825 (CFLAGS-vprintf_chk.c): Likewise.
10826 (CFLAGS-vfprintf_chk.c): Likewise.
10827 (CFLAGS-gets_chk.c): Likewise.
10828 (CFLAGS-fgets_chk.c): Likewise.
10829 (CFLAGS-fgets_u_chk.c): Likewise.
10830 (CFLAGS-fread_chk.c): Likewise.
10831 (CFLAGS-fread_u_chk.c): Likewise.
10832 (CFLAGS-wprintf_chk.c): Likewise.
10833 (CFLAGS-fwprintf_chk.c): Likewise.
10834 (CFLAGS-vwprintf_chk.c): Likewise.
10835 (CFLAGS-vfwprintf_chk.c): Likewise.
10836 (CFLAGS-fgetws_chk.c): Likewise.
10837 (CFLAGS-fgetws_u_chk.c): Likewise.
10838 * libio/Makefile (CFLAGS-fileops.c): Likewise.
10839 (CFLAGS-fputc.c): Likewise.
10840 (CFLAGS-fputwc.c): Likewise.
10841 (CFLAGS-freopen64.c): Likewise.
10842 (CFLAGS-freopen.c): Likewise.
10843 (CFLAGS-fseek.c): Likewise.
10844 (CFLAGS-fseeko64.c): Likewise.
10845 (CFLAGS-fseeko.c): Likewise.
10846 (CFLAGS-ftello64.c): Likewise.
10847 (CFLAGS-ftello.c): Likewise.
10848 (CFLAGS-fwide.c): Likewise.
10849 (CFLAGS-genops.c): Likewise.
10850 (CFLAGS-getc.c): Likewise.
10851 (CFLAGS-getchar.c): Likewise.
10852 (CFLAGS-getwc.c): Likewise.
10853 (CFLAGS-getwchar.c): Likewise.
10854 (CFLAGS-iofclose.c): Likewise.
10855 (CFLAGS-iofflush.c): Likewise.
10856 (CFLAGS-iofgetpos64.c): Likewise.
10857 (CFLAGS-iofgetpos.c): Likewise.
10858 (CFLAGS-iofgets.c): Likewise.
10859 (CFLAGS-iofgetws.c): Likewise.
10860 (CFLAGS-iofputs.c): Likewise.
10861 (CFLAGS-iofputws.c): Likewise.
10862 (CFLAGS-iofread.c): Likewise.
10863 (CFLAGS-iofsetpos64.c): Likewise.
10864 (CFLAGS-iofsetpos.c): Likewise.
10865 (CFLAGS-ioftell.c): Likewise.
10866 (CFLAGS-iofwrite.c): Likewise.
10867 (CFLAGS-iogetdelim.c): Likewise.
10868 (CFLAGS-iogetline.c): Likewise.
10869 (CFLAGS-iogets.c): Likewise.
10870 (CFLAGS-iogetwline.c): Likewise.
10871 (CFLAGS-ioputs.c): Likewise.
10872 (CFLAGS-ioseekoff.c): Likewise.
10873 (CFLAGS-ioseekpos.c): Likewise.
10874 (CFLAGS-iosetbuffer.c): Likewise.
10875 (CFLAGS-iosetvbuf.c): Likewise.
10876 (CFLAGS-ioungetc.c): Likewise.
10877 (CFLAGS-ioungetwc.c): Likewise.
10878 (CFLAGS-oldfileops.c): Likewise.
10879 (CFLAGS-oldiofclose.c): Likewise.
10880 (CFLAGS-oldiofgetpos64.c): Likewise.
10881 (CFLAGS-oldiofgetpos.c): Likewise.
10882 (CFLAGS-oldiofsetpos64.c): Likewise.
10883 (CFLAGS-oldiofsetpos.c): Likewise.
10884 (CFLAGS-peekc.c): Likewise.
10885 (CFLAGS-putc.c): Likewise.
10886 (CFLAGS-putchar.c): Likewise.
10887 (CFLAGS-putwc.c): Likewise.
10888 (CFLAGS-putwchar.c): Likewise.
10889 (CFLAGS-rewind.c): Likewise.
10890 (CFLAGS-wfileops.c): Likewise.
10891 (CFLAGS-wgenops.c): Likewise.
10892 (CFLAGS-oldiofopen.c): Likewise.
10893 (CFLAGS-iofopen.c): Likewise.
10894 (CFLAGS-iofopen64.c): Likewise.
10895 (CFLAGS-oldtmpfile.c): Likewise.
10896 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
10897 (CFLAGS-fprintf.c): Likewise.
10898 (CFLAGS-printf.c): Likewise.
10899 (CFLAGS-vfwprintf.c): Likewise.
10900 (CFLAGS-vfscanf.c): Likewise.
10901 (CFLAGS-vfwscanf.c): Likewise.
10902 (CFLAGS-fscanf.c): Likewise.
10903 (CFLAGS-scanf.c): Likewise.
10904 (CFLAGS-isoc99_vfscanf.c): Likewise.
10905 (CFLAGS-isoc99_vscanf.c): Likewise.
10906 (CFLAGS-isoc99_fscanf.c): Likewise.
10907 (CFLAGS-isoc99_scanf.c): Likewise.
10908 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
10909 (CFLAGS-isoc99_fwscanf.c): Likewise.
10910 (CFLAGS-isoc99_vwscanf.c): Likewise.
10911 (CFLAGS-isoc99_vfwscanf.c): Likewise.
10912
10913 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
10914 after mkstemp64.
10915 * login/tst-utmp.c (do_prepare): Likewise.
10916 * rt/tst-aio.c (do_prepare): Likewise.
10917 * rt/tst-aio64.c (do_prepare): Likewise.
10918
10919 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10920
10921 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10922 (__lll_lock_elision): Remove adapt_count decrement...
10923 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10924 (__lll_trylock_elision): Likewise.
10925 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10926 (__lll_unlock_elision): ... to here. And utilize
10927 new adapt_count parameter.
10928 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10929 (__lll_unlock_elision): Update to include adapt_count
10930 parameter.
10931 (lll_unlock_elision): Pass pointer to adapt_count
10932 variable.
10933
10934 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10935
10936 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
10937 Add elision adapt_count parameter to list of arguments.
10938 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
10939 (lll_unlock_elision): Update with new parameter list
10940 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
10941 (lll_unlock_elision): Likewise.
10942 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
10943 (lll_unlock_elision): Likewise.
10944
10945 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
10946
10947 [BZ #19122]
10948 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
10949 attribute_hidden.
10950
10951 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
10952 attribute_hidden.
10953 [IS_IN (rtld)] (__strdup): Likewise.
10954 [IS_IN (rtld)] (__strerror_r): Likewise.
10955 [IS_IN (rtld)] (__strsep_g): Likewise.
10956 [IS_IN (rtld)] (memchr): Likewise.
10957 [IS_IN (rtld)] (memcmp): Likewise.
10958 [IS_IN (rtld)] (memcpy): Likewise.
10959 [IS_IN (rtld)] (memmove): Likewise.
10960 [IS_IN (rtld)] (memset): Likewise.
10961 [IS_IN (rtld)] (rawmemchr): Likewise.
10962 [IS_IN (rtld)] (stpcpy): Likewise.
10963 [IS_IN (rtld)] (strchr): Likewise.
10964 [IS_IN (rtld)] (strcmp): Likewise.
10965 [IS_IN (rtld)] (strlen): Likewise.
10966 [IS_IN (rtld)] (strnlen): Likewise.
10967 [IS_IN (rtld)] (strsep): Likewise.
10968
10969 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
10970 attribute_hidden.
10971 [IS_IN (rtld)] (__strtoul_internal): Likewise.
10972
10973 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
10974 attribute_hidden.
10975 [IS_IN (rtld)] (__libc_sigaction): Likewise.
10976
10977 * include/setjmp.h (__longjmp): Add attribute_hidden.
10978 [IS_IN (rtld)] (__sigsetjmp): Likewise.
10979
10980 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
10981 Add attribute_hidden.
10982
10983 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
10984 [IS_IN (rtld)] (__open): Likewise.
10985 [IS_IN (rtld)] (__fcntl): Likewise.
10986
10987 * include/dirent.h (__opendirat): Add attribute_hidden.
10988 (__getdents): Likewise.
10989 (__getdents64): Likewise.
10990 (__alloc_dir): Likewise.
10991 [IS_IN (rtld)] (__closedir): Likewise.
10992 [IS_IN (rtld)] (__fdopendir): Likewise.
10993 [IS_IN (rtld)] (__readdir): Likewise.
10994 [IS_IN (rtld)] (__readdir64): Likewise.
10995 [IS_IN (rtld)] (__rewinddir): Likewise.
10996
10997 * include/dlfcn.h (_dl_catch_error): Moved to ...
10998 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
10999 attribute_hidden.
11000
11001 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11002 (_itoa_word): Likewise.
11003
11004 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11005 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11006 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11007 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11008 (_dl_higher_prime_number): Likewise.
11009 (_dl_debug_printf_c): Likewise.
11010 (_dl_signal_cerror): Likewise.
11011 (_dl_receive_error): Likewise.
11012 (_dl_reloc_bad_type): Likewise.
11013 (_dl_resolve_conflicts): Likewise.
11014 (_dl_check_all_versions): Likewise.
11015 (_dl_check_map_versions): Likewise.
11016 (_dl_sort_fini): Likewise.
11017 (_dl_debug_initialize): Likewise.
11018 (_dl_init_paths): Likewise.
11019 (_dl_show_auxv): Likewise.
11020 (_dl_next_ld_env_entry): Likewise.
11021 (_dl_important_hwcaps): Likewise.
11022 (_dl_load_cache_lookup): Likewise.
11023 (_dl_update_slotinfo): Likewise.
11024 (_dl_show_scope): Likewise.
11025
11026 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11027 attribute_hidden.
11028 (_wordcopy_fwd_dest_aligned): Likewise.
11029 (_wordcopy_bwd_aligned): Likewise.
11030 (_wordcopy_bwd_dest_aligned): Likewise.
11031
11032 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11033 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11034 Likewise.
11035 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11036 Likewise.
11037 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11038
11039 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11042 GCC 5 requirement.
11043
11044 2015-10-15 Joseph Myers <joseph@codesourcery.com>
11045
11046 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11047 test.
11048 * sysdeps/i386/configure: Regenerated.
11049 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11050 code unconditional.
11051
11052 * configure.ac (libc_cv_asm_previous_directive): Remove configure
11053 test.
11054 (libc_cv_asm_popsection_directive): Likewise.
11055 * configure: Regenerated.
11056 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11057 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11058 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11059 (__make_section_unallocated): Make definition unconditional.
11060 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11061 Remove conditional definition.
11062 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11063 (__make_section_unallocated): Likewise.
11064
11065 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11066 * configure: Regenerated.
11067 * config.make.in (static-libgcc): Remove variable.
11068 * Makerules (build-shlib-helper): Use -static-libgcc instead of
11069 $(static-libgcc).
11070 (build-module-helper): Likewise.
11071
11072 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11073 * configure: Regenerated.
11074
11075 2015-10-15 Florian Weimer <fweimer@redhat.com>
11076
11077 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11078 (struct char_buffer): New type.
11079 (char_buffer_start, char_buffer_size, char_buffer_error)
11080 (char_buffer_rewind, char_buffer_add): New functions.
11081 (ADDW): Remove macro, replaced by the char_buffer_add function.
11082 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11083 of extend_alloca. Make control flow more explicit.
11084
11085 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 [BZ #19137]
11088 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11089 Add -fomit-frame-pointer.
11090 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11091
11092 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11095 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11097 only if !__GNUC_PREREQ (5,0).
11098 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11099 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11100 (INTERNAL_SYSCALL_NCS): Likewise.
11101 (LOADREGS_0): New macro for GCC 5.
11102 (ASMARGS_0): Likewise.
11103 (LOADREGS_1): Likewise.
11104 (ASMARGS_1): Likewise.
11105 (LOADREGS_2): Likewise.
11106 (ASMARGS_2): Likewise.
11107 (LOADREGS_3): Likewise.
11108 (ASMARGS_3): Likewise.
11109 (LOADREGS_4): Likewise.
11110 (ASMARGS_4): Likewise.
11111 (LOADREGS_5): Likewise.
11112 (ASMARGS_5): Likewise.
11113 (LOADREGS_6): Likewise.
11114 (ASMARGS_6): Likewise.
11115
11116 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
11117
11118 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11119 -fomit-frame-pointer.
11120 (CFLAGS-mmap64.c): Likewise.
11121 (CFLAGS-semtimedop.c): Likewise.
11122 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11123 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11124 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11125 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11126
11127 2015-10-15 Florian Weimer <fweimer@redhat.com>
11128
11129 [BZ #18928]
11130 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11131 _dl_pointer_guard member.
11132 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11133 initializer.
11134 (security_init): Always set up pointer guard.
11135 (process_envvars): Do not process LD_POINTER_GUARD.
11136
11137 2015-10-14 Joseph Myers <joseph@codesourcery.com>
11138
11139 [BZ #19134]
11140 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11141 (.LC2): Likewise.
11142 (.LC3): Likewise.
11143 (__lround): Do not add 0.5 to integer or out-of-range arguments.
11144
11145 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
11146
11147 [BZ #19129]
11148 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11149 r0 and r1.
11150
11151 2015-10-14 Namhyung Kim <namhyung@gmail.com>
11152
11153 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11154
11155 2015-10-14 Carlos O'Donell <carlos@redhat.com>
11156
11157 * include/stap-probe.h: Fix macro definition formatting.
11158
11159 2015-10-14 Florian Weimer <fweimer@redhat.com>
11160
11161 [BZ #19074]
11162 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11163 load and store num_ifs.
11164
11165 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11166
11167 [BZ #18822]
11168 * sysdeps/unix/sysv/linux/sched_getaffinity.c
11169 (__sched_getaffinity_new): Add libc_hidden_proto and
11170 libc_hidden_def.
11171
11172 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11173
11174 [BZ #19007]
11175 * scripts/localplt.awk: Also allow GOT references.
11176 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11177 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11178 with "+ REL R_386_GLOB_DAT".
11179 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11180 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11181
11182 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
11183
11184 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11185 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11186 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11187 Likewise.
11188 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11189 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11190 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11191 INTERNAL_SYSCALLINTERNAL_SYSCALL and
11192 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11193 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11194 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11195 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11196 Likewise.
11197 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11198
11199 2015-10-13 Joseph Myers <joseph@codesourcery.com>
11200
11201 [BZ #19125]
11202 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11203 <math_private.h> and <stdint.h>.
11204 (__llround): Avoid conversions to and from long long int, and
11205 subtractions, where those might raise spurious exceptions.
11206 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11207 <math_private.h> and <stdint.h>.
11208 (__llroundf): Avoid conversions to and from long long int, and
11209 subtractions, where those might raise spurious exceptions.
11210
11211 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11214 INLINE_SYSCALL_ERROR_RETURN_VALUE.
11215 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11216 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11217 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11218 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11219 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11220 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11221 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11222 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11223 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11224 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11225 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11226 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11227 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11228 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11229 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11230 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11231 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11232 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11233 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11234 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11235 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11236 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11237 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11238 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11239 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11240 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11241 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11242 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11243 (__xstat64_conv): Likewise.
11244 (__xstat32_conv): Likewise.
11245
11246 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 * sysdeps/unix/sysv/linux/sysdep.h: New file.
11249 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11250 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11251 <sysdeps/unix/sysv/linux/sysdep.h>.
11252 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11253 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11254 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11255 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11256 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11257 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11258 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11259 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11260 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11265 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11266 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11267 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11268 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11269 (sysdep-dl-routines): Add sysdep.
11270 [$(subdir) == nptl] (libpthread-routines): Likewise.
11271 [$(subdir) == rt] (librt-routines): Likewise.
11272 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11273 PIC when branching to SYSCALL_ERROR_LABEL.
11274 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11276 <sysdeps/unix/sysv/linux/sysdep.h>.
11277 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11278 (SYSCALL_ERROR_ERRNO): Removed.
11279 (SYSCALL_ERROR_HANDLER): Changed to empty.
11280 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11281 (__syscall_error): New prototype.
11282 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11283 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11284
11285 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
11286
11287 [BZ #19124]
11288 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11289 (_dl_runtime_resolve_avx512): Make it a hidden alias of
11290 _dl_runtime_resolve_avx.
11291 (_dl_runtime_profile_avx512): Make it a hidden alias of
11292 _dl_runtime_profile_avx.
11293
11294 2015-10-13 Joseph Myers <joseph@codesourcery.com>
11295
11296 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11297 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11298 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11299 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11300
11301 [BZ #16422]
11302 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11303 New configure test.
11304 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11305 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11306 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11307 <math_private.h> and <stdint.h>.
11308 (__llrint): Avoid conversions to long long int where those might
11309 raise spurious exceptions.
11310 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11311 <math_private.h> and <stdint.h>.
11312 (__llrintf): Avoid conversions to long long int where those might
11313 raise spurious exceptions.
11314
11315 2015-10-12 Andreas Schwab <schwab@suse.de>
11316
11317 [BZ #18969]
11318 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
11319 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11320 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
11321 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11322 $(gen-locales).
11323 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
11324 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11325 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11326 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11327 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11328 $(gen-locales).
11329 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
11330 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11331 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11332 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11333 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11334 ($(objpfx)tst-ftell-active-handler.out)
11335 ($(objpfx)tst-ftell-append.out)
11336 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11337 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11338 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11339 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11340 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
11341 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11342 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11343 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11344 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11345 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11346 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11347 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11348 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11349 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11350 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11351 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11352 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11353 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11354 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
11355 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11356 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11357 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11358 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11359 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
11360 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11361 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11362 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11363 $(gen-locales).
11364 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
11365 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11366 $(gen-locales).
11367 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
11368 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11369 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11370 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11371 $(gen-locales).
11372 * libio/tst_wprintf2.c (main): Use explicit locale.
11373 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11374
11375 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11376
11377 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11378 __msg_sig_post.
11379 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11380
11381 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11382
11383 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11384 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11385
11386 * sysdeps/arm/libm-test-ulps: Regenerated.
11387
11388 [BZ #15470]
11389 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11390
11391 [BZ #16399]
11392 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11393 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11394 and <fix-fp-int-convert-overflow.h>.
11395 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11396 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11397 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11398 and <fix-fp-int-convert-overflow.h>.
11399 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11400 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11401 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11402 <fix-fp-int-convert-overflow.h>.
11403 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11404 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11405 * sysdeps/ieee754/dbl-64/s_lround.c: Include
11406 <fix-fp-int-convert-overflow.h>.
11407 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11408 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11409 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11410 and <fix-fp-int-convert-overflow.h>.
11411 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11412 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11413 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11414 <limits.h> and <fix-fp-int-convert-overflow.h>.
11415 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11416 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11417 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11418 and <fix-fp-int-convert-overflow.h>.
11419 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11420 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11421 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11422 and <fix-fp-int-convert-overflow.h>.
11423 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11424 FIX_DBL_LLONG_CONVERT_OVERFLOW.
11425 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11426
11427 2015-10-09 Carlos O'Donell <carlos@redhat.com>
11428
11429 [BZ #18589]
11430 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11431 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11432 $(gen-locales).
11433
11434 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11435 Phil Blundell <pb@pbcl.net>
11436
11437 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11438 * nptl/tst-cancel26.c: New file.
11439 * nptl/tst-cancel27.c: Likewise.
11440
11441 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
11444 __ILP32__ isn't defined.
11445 (lrint): Likewise.
11446 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
11447 (lrintf): Likewise.
11448 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
11449 (lrintl): Likewise.
11450 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
11451 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
11452 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
11453
11454 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11455
11456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11457 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11458
11459 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
11460 file.
11461 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
11462 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
11463
11464 2015-10-09 Joseph Myers <joseph@codesourcery.com>
11465
11466 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
11467 configure test.
11468 * sysdeps/i386/configure: Regenerated.
11469 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
11470 configure test.
11471 * sysdeps/x86_64/configure: Regenerated.
11472 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
11473 Make code unconditional.
11474
11475 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
11476 test.
11477 * sysdeps/i386/configure: Regenerated.
11478 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
11479 test.
11480 * sysdeps/x86_64/configure: Regenerated.
11481 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
11482 Make code unconditional.
11483 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
11484 Likewise.
11485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
11486 Likewise.
11487 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11488 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
11489 code unconditional.
11490 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11491 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
11492 code unconditional.
11493 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11494 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
11495 code unconditional.
11496 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
11497 code unconditional.
11498 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11499 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
11500 code unconditional.
11501 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11502 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
11503 code unconditional.
11504 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11505 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
11506 code unconditional.
11507 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11508 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
11509 code unconditional.
11510 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
11511 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
11512
11513 [BZ #19095]
11514 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
11515 mantissa to long int before shifting left.
11516
11517 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11518
11519 [BZ #19094]
11520 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
11521 <limits.h>.
11522 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11523 when result overflows but exception would not result from cast.
11524 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
11525 <limits.h>.
11526 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11527 when result overflows but exception would not result from cast.
11528 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
11529 <limits.h>.
11530 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11531 when result overflows but exception would not result from cast.
11532 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
11533 <limits.h>.
11534 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11535 when result overflows but exception would not result from cast.
11536 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
11537 <limits.h>.
11538 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
11539 when result overflows but exception would not result from cast.
11540 * math/libm-test.inc (lrint_test_data): Add more tests.
11541 (llrint_test_data): Likewise.
11542
11543 2015-10-08 Roland McGrath <roland@hack.frob.com>
11544
11545 [BZ #18872]
11546 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
11547 Move out from under [$(run-built-tests) = yes] conditional.
11548 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
11549 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
11550
11551 2015-10-08 Carlos O'Donell <carlos@redhat.com>
11552
11553 [BZ #18589]
11554 * string/Makefile (tests): Add bug-strcoll2.
11555 (LOCALES): Add cs_CZ.UTF-8.
11556 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
11557
11558 [BZ #18589]
11559 * string/bug-strcoll2.c: New file.
11560 * locale/categories.def: Revert commit
11561 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
11562 * locale/langinfo.h: Likewise.
11563 * locale/localeinfo.h: Likewise.
11564 * locale/C-collate.c: Likewise.
11565 * locale/programs/ld-collate.c (collate_output): Likewise.
11566 * string/strcoll_l.c (STRDIFF): Likewise.
11567 (STRCOLL): Likewise.
11568 * wcsmbs/wcscoll_l.c: Likewise.
11569
11570 2015-10-08 Joseph Myers <joseph@codesourcery.com>
11571
11572 * math/libm-test.inc (lround_test_data): Do not expect the absence
11573 of "inexact" for some tests with non-integer arguments.
11574 (llround_test_data): Likewise.
11575
11576 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
11577 test.
11578 (libc_cv_cc_sse2avx): Likewise.
11579 * sysdeps/i386/configure: Regenerated.
11580 * sysdeps/i386/i686/multiarch/Makefile
11581 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
11582 [$(subdir) = math].
11583 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
11584 code unconditional.
11585 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11586 Likewise.
11587 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
11588 Likewise.
11589 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11590 Likewise.
11591 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
11592 test.
11593 (libc_cv_cc_sse2avx): Likewise.
11594 * sysdeps/x86_64/configure: Regenerated.
11595 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
11596 unconditional.
11597 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
11598 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
11599 unconditional.
11600 (_dl_runtime_profile)
11601 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
11602 conditional code.
11603 * sysdeps/x86_64/fpu/multiarch/Makefile
11604 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
11605 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
11606 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11607 * sysdeps/x86_64/fpu/multiarch/e_exp.c
11608 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11609 * sysdeps/x86_64/fpu/multiarch/e_log.c
11610 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11611 * sysdeps/x86_64/fpu/multiarch/s_atan.c
11612 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11613 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
11614 Likewise.
11615 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
11616 Likewise.
11617 * sysdeps/x86_64/fpu/multiarch/s_sin.c
11618 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11619 * sysdeps/x86_64/fpu/multiarch/s_tan.c
11620 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11621 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
11622 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
11623 (HAVE_SSE2AVX_SUPPORT): Likewise.
11624
11625 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
11626
11627 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
11628 instead of #pragma optimize.
11629
11630 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11631
11632 [BZ #17195]
11633 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
11634 as is similarly done in systrim and _int_free already.
11635
11636 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
11637
11638 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
11639
11640 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11641
11642 [BZ #19088]
11643 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
11644 <limits.h>.
11645 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11646 overflows but exception would not result from cast.
11647 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
11648 and <limits.h>.
11649 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
11650 overflows but exception would not result from cast.
11651 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
11652 <limits.h>.
11653 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11654 overflows but exception would not result from cast.
11655 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
11656 <limits.h>.
11657 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11658 overflows but exception would not result from cast.
11659 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
11660 <limits.h>.
11661 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
11662 overflows but exception would not result from cast.
11663 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
11664 <limits.h>.
11665 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
11666 overflows but exception would not result from cast.
11667 * math/libm-test.inc (lround_test_data): Add more tests.
11668 (llround_test_data): Likewise.
11669
11670 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
11671
11672 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
11673 (CFLAGS-ialloc.c): Ditto.
11674 (CFLAGS-scheck.c): Ditto.
11675
11676 2015-10-07 Carlos O'Donell <carlos@redhat.com>
11677
11678 [BZ #19086]
11679 * manual/filesys.texi (Storage Allocation): Fix argument order for
11680 posix_fallocate64.
11681
11682 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11683
11684 [BZ #19085]
11685 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
11686 exponent below 48 inside case for non-overflowing exponent.
11687 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
11688
11689 2015-10-07 Florian Weimer <fweimer@redhat.com>
11690
11691 * iconvdata/cp737.h (from_idx): Add const.
11692 * iconvdata/cp775.h (from_idx): Likewise.
11693
11694 2015-10-07 Joseph Myers <joseph@codesourcery.com>
11695
11696 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
11697 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
11698 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
11699
11700 [BZ #19079]
11701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
11702 file, conditioned on [!_LP64].
11703 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
11704 [!_LP64] (__lround): Do not define as function or alias.
11705 [!_LP64] (lround): Likewise.
11706 [!_LP64] (__lroundl): Likewise.
11707 [!_LP64] (lroundl): Likewise.
11708 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
11709 macro.
11710 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11711 Likewise.
11712
11713 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11714
11715 * math/libm-test.inc (lrint_test_data): Add more tests.
11716 (llrint_test_data): Likewise.
11717 (lround_test_data): Likewise.
11718 (llround_test_data): Likewise.
11719
11720 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
11721 (llrint_test_data): Add tests used for lrint.
11722
11723 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
11724 test.
11725 * sysdeps/i386/configure: Regenerated.
11726 * sysdeps/i386/i686/multiarch/Makefile
11727 [$(config-cflags-sse4) = yes]: Make code unconditional.
11728 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11729 Likewise.
11730 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
11731 Likewise.
11732 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
11733 test.
11734 * sysdeps/x86_64/configure: Regenerated.
11735 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
11736 Make code unconditional.
11737 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
11738 Likewise.
11739 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
11740 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
11741
11742 * scripts/rpm2dynsym.sh: Remove file.
11743
11744 2015-10-06 Florian Weimer <fweimer@redhat.com>
11745
11746 * configure.ac (libc_cv_cxx_thread_local): Define.
11747 * configure: Regenerate.
11748 * config.make.in (have-cxx-thread_local): Define.
11749 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
11750 (LDLIBS-tst-thread_local1): Define.
11751 (tests): Add tst-thread_local1.
11752 [have-cxx-thread_local != yes] (tests-unsupported): Add
11753 tst-thread_local1.
11754 * nptl/tst-thread_local1.cc: New file.
11755
11756 2015-10-06 Joseph Myers <joseph@codesourcery.com>
11757
11758 [BZ #19078]
11759 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
11760 (u_thres): Likewise.
11761 (__expl): Determine whether to call __kernel_standard_l based on
11762 value of result, not argument.
11763
11764 * math/libm-test.inc (scalb_test_data): Add more expectations for
11765 the "inexact" exception.
11766
11767 [BZ #19077]
11768 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
11769 0.0L for argument 1.0L.
11770
11771 [BZ #19076]
11772 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
11773 constant 0.0L when computing infinite result.
11774
11775 2015-10-06 Florian Weimer <fweimer@redhat.com>
11776
11777 [BZ #10432]
11778 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
11779 malloc_usable_size.
11780
11781 2015-10-06 Florian Weimer <fweimer@redhat.com>
11782
11783 [BZ #19018]
11784 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
11785 Mangle function pointer before storing it.
11786 (__call_tls_dtors): Demangle function pointer before calling it.
11787
11788 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11789
11790 [BZ #19012]
11791 * iconv/gconv_db.c (gen_steps): Check for additional errors.
11792 Clean up on failure.
11793
11794 2015-10-05 Joseph Myers <joseph@codesourcery.com>
11795
11796 [BZ #19071]
11797 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
11798 long int variable to store possibly incremented high part of
11799 mantissa.
11800 * math/libm-test.inc (lround_test_data): Add tests used for
11801 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
11802 for tests requiring 64-bit long. Do not condition tests on
11803 [TEST_FLOAT] unnecessarily.
11804 (llround_test_data): Add tests used for lround. Add another
11805 expectation for the "inexact" exception. Do not condition tests
11806 on [TEST_FLOAT] unnecessarily.
11807
11808 [BZ #887]
11809 [BZ #19049]
11810 [BZ #19050]
11811 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
11812 * sysdeps/ieee754/dbl-64/e_log10.c: Include
11813 <fix-int-fp-convert-zero.h>.
11814 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11815 * sysdeps/ieee754/dbl-64/e_log2.c: Include
11816 <fix-int-fp-convert-zero.h>.
11817 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11818 * sysdeps/ieee754/dbl-64/s_erf.c: Include
11819 <fix-int-fp-convert-zero.h>.
11820 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11821 * sysdeps/ieee754/dbl-64/s_logb.c: Include
11822 <fix-int-fp-convert-zero.h>.
11823 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11824 * sysdeps/ieee754/flt-32/e_log10f.c: Include
11825 <fix-int-fp-convert-zero.h>.
11826 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11827 * sysdeps/ieee754/flt-32/e_log2f.c: Include
11828 <fix-int-fp-convert-zero.h>.
11829 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11830 * sysdeps/ieee754/flt-32/s_erff.c: Include
11831 <fix-int-fp-convert-zero.h>.
11832 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11833 * sysdeps/ieee754/flt-32/s_logbf.c: Include
11834 <fix-int-fp-convert-zero.h>.
11835 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11836 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
11837 <fix-int-fp-convert-zero.h>.
11838 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
11840 <fix-int-fp-convert-zero.h>.
11841 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
11842 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
11843 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
11844 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
11845 file.
11846 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
11847
11848 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11849
11850 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11851
11852 2015-10-02 Joseph Myers <joseph@codesourcery.com>
11853
11854 [BZ #19059]
11855 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
11856 overflowing computation.
11857 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11858 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
11859 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11860 Likewise.
11861 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11862 Likewise.
11863 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
11864 Likewise.
11865 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11866 Likewise.
11867 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11868 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11869 Likewise.
11870 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11871 Likewise.
11872 * math/libm-test.inc (nexttoward_test_data): Add more tests.
11873
11874 * nss/rewrite_field.c (__nss_rewrite_field): Use
11875 internal_function.
11876 * nss/valid_field.c (__nss_valid_field): Likewise.
11877 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
11878
11879 2015-10-02 Florian Weimer <fweimer@redhat.com>
11880
11881 [BZ #18724]
11882 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
11883 (__nss_invalid_field_characters, __nss_valid_field)
11884 (__nss_valid_list_field, __nss_rewrite_field): Declare.
11885 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
11886 tst-field.c: New file.
11887 * nss/Makefile (routines): Add valid_field, rewrite_field.
11888 (tests-static): Define unconditionally.
11889 (tests): Include tests-static.
11890 [build-static-nss] (tests-static): Use append.
11891 [build-static-nss] (tests): Remove modification.
11892 * nss/getent.c (print_group): Call putgrent. Report error.
11893 (print_gshadow): Call putsgent. Report error.
11894 (print_passwd): Call putpwent. Report error.
11895 (print_shadow): Call putspent. Report error.
11896 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
11897 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
11898 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
11899 name, password, directory, shell fields for valid syntax. Rewrite
11900 GECOS field to match syntax.
11901 * pwd/Makefile (tests): Add tst-putpwent.
11902 * pwd/tst-putpwent.c: New file.
11903 * grp/putgrent.c (putgrent): Convert to ISO function definition.
11904 Check grName, grpasswd, gr_mem fields for valid syntax.
11905 Change loop variable i to size_t.
11906 * grp/Makefile (tests): Add tst-putgrent.
11907 * grp/tst-putgrent.c: New file.
11908 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
11909 valid syntax.
11910 * shadow/Makefile (tests): Add tst-putspent.
11911 * shadow/tst-putspent.c: New file.
11912 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
11913 sg_mem fields for valid syntax.
11914 * gshadow/Makefile (tests): Add tst-putsgent.
11915 * gshadow/tst-putsgent.c: New file.
11916
11917 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11918
11919 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
11920 assembly instructions.
11921
11922 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11923
11924 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
11925 prefix from operands.
11926
11927 2015-10-01 Joseph Myers <joseph@codesourcery.com>
11928
11929 [BZ #16347]
11930 [BZ #19046]
11931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
11932 <libc-internal.h>.
11933 (MAXLGM): Do not use diagnostic control macros.
11934 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
11935 threshold for ldbl-128ibm.
11936 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
11937 instead of multiplying by log then subtracting.
11938 * math/auto-libm-test-in: Add more tests of lgamma.
11939 * math/auto-libm-test-out: Regenerated.
11940
11941 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
11942 (TYPE_HEX_DIG): Likewise.
11943 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
11944 precisions when printing floating-point numbers.
11945 (check_float_internal): Likewise.
11946
11947 2015-09-30 Joseph Myers <joseph@codesourcery.com>
11948
11949 [BZ #16620]
11950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
11951 of log (10) rounded downward to 48 bits.
11952 (log10_low): Use corresponding low part of log (10).
11953
11954 [BZ #19032]
11955 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
11956 compute result as (x - x) / (x - x) not as 0 / 0.
11957 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11958 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
11959
11960 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11961 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
11962 and expm1.
11963 * math/auto-libm-test-out: Regenerated.
11964 * math/libm-test.inc (acos_test_data): Add more tests.
11965 (asin_test_data): Likewise.
11966 (asinh_test_data): Likewise.
11967 (atan_test_data): Likewise.
11968 (atanh_test_data): Likewise.
11969 (atan2_test_data): Likewise.
11970 (cbrt_test_data): Likewise.
11971 (ceil_test_data): Likewise.
11972 (copysign_test_data): Likewise.
11973 (cos_test_data): Likewise.
11974 (cosh_test_data): Likewise.
11975 (erf_test_data): Likewise.
11976 (erfc_test_data): Likewise.
11977 (exp_test_data): Likewise.
11978 (exp10_test_data): Likewise.
11979 (exp2_test_data): Likewise.
11980 (expm1_test_data): Likewise.
11981 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11982
11983 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 [BZ #19006]
11986 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
11987 to ...
11988 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
11989 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
11990 to ...
11991 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
11992 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
11993 to ...
11994 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
11995 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
11996 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
11997 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
11998 to ...
11999 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12000 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12001 Moved to ...
12002 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12003 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12004 Moved to ...
12005 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12006 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12007 to ...
12008 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12010 Moved to ...
12011 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12012 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12013 to ...
12014 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12015 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12016 Removed.
12017 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12018 Likewise.
12019 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12020 Likewise.
12021 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12022 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12023 Likewise.
12024 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12025 Likewise.
12026 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12027 Likewise.
12028 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12029 Likewise.
12030 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12031 Likewise.
12032 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12033 Likewise.
12034 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12035 Likewise.
12036 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12037 Likewise.
12038 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12039 Likewise.
12040 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12041 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12042 Likewise.
12043 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12044 Likewise.
12045 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12046 Likewise.
12047 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12048 Likewise.
12049 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12050 Likewise.
12051 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12052 Replace ../i486/pthread_cond_timedwait.S with
12053 ../pthread_cond_timedwait.S.
12054
12055 2015-09-30 Joseph Myers <joseph@codesourcery.com>
12056
12057 * math/libm-test.inc (acos_test_data): Refine expectations for
12058 errno and "inexact" exceptions.
12059 (acosh_test_data): Likewise.
12060 (asin_test_data): Likewise.
12061 (asinh_test_data): Likewise.
12062 (atan_test_data): Likewise.
12063 (atanh_test_data): Likewise.
12064 (atan2_test_data): Likewise.
12065 (cbrt_test_data): Likewise.
12066 (ceil_test_data): Likewise.
12067 (copysign_test_data): Likewise.
12068 (cosh_test_data): Likewise.
12069 (erf_test_data): Likewise.
12070 (erfc_test_data): Likewise.
12071 (exp_test_data): Likewise.
12072 (exp10_test_data): Likewise.
12073 (exp2_test_data): Likewise.
12074 (expm1_test_data): Likewise.
12075 (fabs_test_data): Likewise.
12076 (floor_test_data): Likewise.
12077 (fma_test_data): Likewise.
12078 (fmax_test_data): Likewise.
12079 (fmin_test_data): Likewise.
12080 (fmod_test_data): Likewise.
12081 (fpclassify_test_data): Likewise.
12082 (frexp_test_data): Likewise.
12083 (hypot_test_data): Likewise.
12084 (ilogb_test_data): Likewise.
12085 (isgreater_test_data): Likewise.
12086 (isgreaterequal_test_data): Likewise.
12087 (isinf_test_data): Likewise.
12088 (isless_test_data): Likewise.
12089 (islessequal_test_data): Likewise.
12090 (islessgreater_test_data): Likewise.
12091 (isnan_test_data): Likewise.
12092 (isnormal_test_data): Likewise.
12093 (issignaling_test_data): Likewise.
12094 (isunordered_test_data): Likewise.
12095 (j0_test_data): Likewise.
12096 (j1_test_data): Likewise.
12097 (jn_test_data): Likewise.
12098 (lgamma_test_data): Likewise.
12099 (lrint_test_data): Likewise.
12100 (llrint_test_data): Likewise.
12101 (log_test_data): Likewise.
12102 (log10_test_data): Likewise.
12103 (log1p_test_data): Likewise.
12104 (log2_test_data): Likewise.
12105 (logb_test_data): Likewise.
12106 (lround_test_data): Likewise.
12107 (llround_test_data): Likewise.
12108 (modf_test_data): Likewise.
12109 (nearbyint_test_data): Likewise.
12110 (nextafter_test_data): Likewise.
12111 (nexttoward_test_data): Likewise.
12112 (pow_test_data): Likewise.
12113 (remainder_test_data): Likewise.
12114 (remquo_test_data): Likewise.
12115 (rint_test_data): Likewise.
12116 (round_test_data): Likewise.
12117 (signbit_test_data): Likewise.
12118 (sinh_test_data): Likewise.
12119 (sqrt_test_data): Likewise.
12120 (tanh_test_data): Likewise.
12121 (tgamma_test_data): Likewise.
12122 (trunc_test_data): Likewise.
12123 (y0_test_data): Likewise.
12124 (y1_test_data): Likewise.
12125 (yn_test_data): Likewise.
12126 (significand_test_data): Likewise.
12127
12128 2015-09-29 Carlos O'Donell <carlos@redhat.com>
12129
12130 * manual/filesys.texi (Storage Allocation): Document that
12131 posix_fallocate emulation fails when fd is open with O_WRONLY.
12132
12133 2015-09-28 Joseph Myers <joseph@codesourcery.com>
12134
12135 [BZ #19016]
12136 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12137 allow more cases with X^2 + Y^2 >= 0.5.
12138 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
12139 normal element in sum instead of special-casing based on values of
12140 arguments.
12141 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12142 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
12143 -1 as normal element in sum instead of special-casing based on
12144 values of arguments.
12145 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12146 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12147 (__x2y2m1): Update comment.
12148 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
12149 as normal element in sum instead of special-casing based on values
12150 of arguments.
12151 * math/s_clog.c (__clog): Handle more cases using log1p without
12152 hypot.
12153 * math/s_clog10.c (__clog10): Likewise.
12154 * math/s_clog10f.c (__clog10f): Likewise.
12155 * math/s_clog10l.c (__clog10l): Likewise.
12156 * math/s_clogf.c (__clogf): Likewise.
12157 * math/s_clogl.c (__clogl): Likewise.
12158 * math/auto-libm-test-in: Add more tests of clog and clog10.
12159 * math/auto-libm-test-out: Regenerated.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12162
12163 2015-09-28 Martin Sebor <msebor@redhat.com>
12164
12165 [BZ #18969]
12166 * string/Makefile (LOCALES): Define.
12167 (gen-locales.mk): Include.
12168 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12169 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12170 * string/tst-strxfrm2.c (do_test): Print the name of the locale
12171 on setlocale failure.
12172
12173 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12174
12175 [BZ #18985]
12176 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12177 (__strftime_internal): Likewise.
12178 * time/tst-strftime.c (do_bz18985): New test.
12179 (do_test): Call it.
12180
12181 2015-09-26 Joseph Myers <joseph@codesourcery.com>
12182
12183 [BZ #18956]
12184 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12185 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
12186 extracting high part.
12187 * math/auto-libm-test-in: Add another test of pow.
12188 * math/auto-libm-test-out: Regenerated.
12189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12190
12191 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12192
12193 [BZ #18825]
12194 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12195 New macro.
12196 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12197 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12198 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12199 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12200 DBL_NARROW_EVAL, reloading the PIC register as needed.
12201 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12202 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12203 FLT_NARROW_EVAL. Use separate return path for case when first
12204 argument is NaN.
12205 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
12206 DEFINE_LDBL_MIN.
12207 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12208 PIC register.
12209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12210 math_check_force_underflow_nonneg.
12211 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12212 underflow for subnormal result.
12213 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12214 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12215 math_check_force_underflow_nonneg.
12216 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12217 math_check_force_underflow.
12218 * sysdeps/x86_64/fpu/x86_64-math-asm.h
12219 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12220 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
12221 DEFINE_LDBL_MIN.
12222 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12223 * math/auto-libm-test-in: Add more tests of pow.
12224 * math/auto-libm-test-out: Regenerated.
12225
12226 2015-09-25 Florian Weimer <fweimer@redhat.com>
12227
12228 * nss/bug17079.c (init_test_items): Add diagnostic for
12229 inconsistent entries.
12230 (test_buffer_size): Skip inconsistent entries.
12231
12232 2015-09-25 Joseph Myers <joseph@codesourcery.com>
12233
12234 [BZ #13304]
12235 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12236 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12237 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12238
12239 [BZ #13304]
12240 * sysdeps/microblaze/s_fma.c: New file.
12241 * sysdeps/microblaze/s_fmaf.c: Likewise.
12242 * sysdeps/microblaze/sfp-machine.h: Likewise.
12243
12244 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
12245
12246 [BZ #17250]
12247 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12248 member.
12249
12250 2015-09-24 Joseph Myers <joseph@codesourcery.com>
12251
12252 [BZ #18803]
12253 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12254 (MO): New macro.
12255 (__ieee754_hypot) [PIC]: Load PIC register.
12256 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12257 DBL_NARROW_EVAL.
12258 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12259 math_check_force_underflow_nonneg in case where result might be
12260 tiny.
12261 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12262 Likewise.
12263 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12264 Likewise.
12265 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12266 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12267 * math/auto-libm-test-in: Add more tests of hypot.
12268 * math/auto-libm-test-out: Regenerated.
12269
12270 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
12271
12272 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12273
12274 2015-09-24 Joseph Myers <joseph@codesourcery.com>
12275
12276 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12277 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12278 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12279 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12280 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12281 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12282 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12283
12284 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12285 LOAD_PIC_REG.
12286
12287 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12288 (FLT_CHECK_FORCE_UFLOW): Likewise.
12289 (DBL_CHECK_FORCE_UFLOW): Likewise.
12290 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12291 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12292 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12293 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12294 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12295 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12296 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12297 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12298 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12299 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12300 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12301 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12302 (flt_min): Replace with use of DEFINE_FLT_MIN.
12303 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12304 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12305 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12306 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12307 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12308 (flt_min): Replace with use of DEFINE_FLT_MIN.
12309 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12310 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12311 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12312 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12313 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12314 (flt_min): Replace with use of DEFINE_FLT_MIN.
12315 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12316 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12317 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12318 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12319 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12320 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12321 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12322 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12323 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12324 (__atan): Use DBL_CHECK_FORCE_UFLOW.
12325 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12326 (flt_min): Replace with use of DEFINE_FLT_MIN.
12327 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12328 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12329 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12330 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
12331 main computation.
12332 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12333 (flt_min): Replace with use of DEFINE_FLT_MIN.
12334 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
12335 main computation.
12336 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12337 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12338 (MO): New macro.
12339 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12340 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12341 (flt_min): Replace with use of DEFINE_FLT_MIN.
12342 (MO): New macro.
12343 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12344 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12345 (__log1pl): Use MO.
12346
12347 [BZ #19003]
12348 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12349 $(config-cflags-nofma).
12350
12351 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
12352
12353 * sysdeps/aarch64/libm-test-ulps: Regenerated.
12354
12355 2015-09-23 Joseph Myers <joseph@codesourcery.com>
12356
12357 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12358 (TWO127): Likewise.
12359
12360 * sysdeps/generic/math_private.h (fabs_tg): New macro.
12361 (min_of_type): Likewise.
12362 (math_check_force_underflow): Likewise.
12363 (math_check_force_underflow_nonneg): Likewise.
12364 (math_check_force_underflow_complex): Likewise.
12365 * math/e_exp2l.c (__ieee754_exp2l): Use
12366 math_check_force_underflow_nonneg.
12367 * math/k_casinh.c (__kernel_casinh): Likewise.
12368 * math/k_casinhf.c (__kernel_casinhf): Likewise.
12369 * math/k_casinhl.c (__kernel_casinhl): Likewise.
12370 * math/s_catan.c (__catan): Use
12371 math_check_force_underflow_complex.
12372 * math/s_catanf.c (__catanf): Likewise.
12373 * math/s_catanh.c (__catanh): Likewise.
12374 * math/s_catanhf.c (__catanhf): Likewise.
12375 * math/s_catanhl.c (__catanhl): Likewise.
12376 * math/s_catanl.c (__catanl): Likewise.
12377 * math/s_ccosh.c (__ccosh): Likewise.
12378 * math/s_ccoshf.c (__ccoshf): Likewise.
12379 * math/s_ccoshl.c (__ccoshl): Likewise.
12380 * math/s_cexp.c (__cexp): Likewise.
12381 * math/s_cexpf.c (__cexpf): Likewise.
12382 * math/s_cexpl.c (__cexpl): Likewise.
12383 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12384 * math/s_clog10.c (__clog10): Likewise.
12385 * math/s_clog10f.c (__clog10f): Likewise.
12386 * math/s_clog10l.c (__clog10l): Likewise.
12387 * math/s_clogf.c (__clogf): Likewise.
12388 * math/s_clogl.c (__clogl): Likewise.
12389 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12390 * math/s_csinf.c (__csinf): Likewise.
12391 * math/s_csinh.c (__csinh): Likewise.
12392 * math/s_csinhf.c (__csinhf): Likewise.
12393 * math/s_csinhl.c (__csinhl): Likewise.
12394 * math/s_csinl.c (__csinl): Likewise.
12395 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12396 * math/s_csqrtf.c (__csqrtf): Likewise.
12397 * math/s_csqrtl.c (__csqrtl): Likewise.
12398 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12399 * math/s_ctanf.c (__ctanf): Likewise.
12400 * math/s_ctanh.c (__ctanh): Likewise.
12401 * math/s_ctanhf.c (__ctanhf): Likewise.
12402 * math/s_ctanhl.c (__ctanhl): Likewise.
12403 * math/s_ctanl.c (__ctanl): Likewise.
12404 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12405 instead of volatile.
12406 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12407 math_check_force_underflow.
12408 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12409 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12410 volatile when forcing underflow.
12411 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12412 math_check_force_underflow_nonneg.
12413 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12414 Likewise.
12415 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12416 math_check_force_underflow.
12417 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12418 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12419 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12421 math_check_force_underflow_nonneg.
12422 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12423 math_check_force_underflow.
12424 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12426 instead of volatile.
12427 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12428 math_check_force_underflow.
12429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12431 math_check_force_underflow_nonneg.
12432 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12433 math_check_force_underflow.
12434 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12435 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12436 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12437 math_check_force_underflow_nonneg.
12438 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12439 Likewise.
12440 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12441 math_check_force_underflow.
12442 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12443 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12444 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
12445 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
12446 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
12447 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
12448 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
12449 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
12450 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12451 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
12452 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
12453 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
12454 Likewise.
12455 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
12456 math_check_force_underflow_nonneg.
12457 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12458 Likewise.
12459 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
12460 math_check_force_underflow.
12461 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12462 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
12463 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12464 Likewise.
12465 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
12466 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
12467 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
12468 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
12469 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
12470 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
12471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
12472 instead of volatile.
12473 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
12474 math_check_force_underflow.
12475 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
12476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
12477 math_check_force_underflow.
12478 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
12479 Likewise.
12480 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12481 Use math_check_force_underflow_nonneg.
12482 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
12483 math_check_force_underflow.
12484 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12485 Likewise.
12486 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12487 Likewise.
12488 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12489 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12490 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12491 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12492 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
12493 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12494 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
12495 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
12496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
12497 math_check_force_underflow_nonneg.
12498 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
12499 math_check_force_underflow.
12500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12501 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
12502 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
12503 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
12504 math_check_force_underflow_nonneg.
12505 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
12506 math_check_force_underflow.
12507 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
12508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
12509 instead of volatile.
12510 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
12511 math_check_force_underflow.
12512
12513 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
12514 * stdlib/strtod_l.c: Include <math_private.h>.
12515 (overflow_value): Use math_narrow_eval.
12516 (underflow_value): Likewise.
12517 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12518 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12519 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
12520 (__ieee754_gamma_r): Likewise.
12521 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
12522 Likewise.
12523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12524 Likewise.
12525 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
12526 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
12527 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
12528 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
12529 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
12530 (__ieee754_gammaf_r): Likewise.
12531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12532 Likewise.
12533 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
12534 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
12535 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
12536 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
12537 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
12538 volatile.
12539 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
12540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
12541 math_narrow_eval.
12542 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12543 Likewise.
12544 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12545 Likewise.
12546 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
12547 Likewise.
12548 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
12549 volatile.
12550 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
12551 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
12552 math_narrow_eval.
12553 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12554 Likewise.
12555 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12556 Likewise.
12557
12558 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 * nptl/Versions: Remove ignored symbols.
12561
12562 2015-09-22 Florian Weimer <fweimer@redhat.com>
12563
12564 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
12565 * nss/Makefile (tests): Update.
12566
12567 2015-09-22 Florian Weimer <fweimer@redhat.com>
12568
12569 * nss/bug18287.c: New file.
12570 * nss/Makefile (tests): Add bug18287.
12571
12572 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12573
12574 * mach/Versions (__mach_host_self_): Add symbol.
12575
12576 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
12577
12578 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
12579 vm_page_size.
12580
12581 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12582
12583 Really fix sysdeps/i386/fpu/s_scalbn.S build
12584
12585 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
12586 (libc: GLIBC_2_22): Remove unused version set.
12587
12588 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12589
12590 * config.make.in (enable-timezone-tools): New variable.
12591 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
12592 (enable_timezone_tools): Export to generated files.
12593 * configure: Regenerate.
12594 * INSTALL: Regenerate.
12595 * manual/install.texi (--disable-timezone-tools): Document new flag.
12596 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
12597 ifeq ($(enable-timezone-tools),yes) check.
12598
12599 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12600
12601 * timezone/Makefile: Revert previous change.
12602
12603 [BZ #18980]
12604 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
12605 (DEFINE_DBL_MIN): Likewise.
12606 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12607 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
12608 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12609 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
12610 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
12611 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12612 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12613 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
12614 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
12615 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12616 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12617 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
12618 (flt_min): Replace with use of DEFINE_FLT_MIN.
12619 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12620 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
12621 (dbl_min): Replace with use of DEFINE_DBL_MIN.
12622 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
12623 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
12624 (flt_min): Replace with use of DEFINE_FLT_MIN.
12625 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12626 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
12627 (flt_min): Replace with use of DEFINE_FLT_MIN.
12628 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
12629 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
12630 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
12631 (__ieee754_hypot): Use DBL_NARROW_EVAL.
12632 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
12633 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
12634 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
12635 (__ieee754_pow): Use DBL_NARROW_EVAL.
12636 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
12637 (__ieee754_powf): Use FLT_NARROW_EVAL.
12638 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
12639 (__ieee754_expf_sse2): Convert double-precision result to single
12640 precision.
12641 * sysdeps/i386/fpu/libm-test-ulps: Update.
12642
12643 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12644
12645 * timezone/Makefile: Ignore unused variable errors due to private.h
12646 (time_t_min) and (time_t_max).
12647 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
12648 Likewise.
12649
12650 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12651
12652 [BZ #18981]
12653 * sysdeps/i386/fpu/i386-math-asm.h: New file.
12654 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
12655 (__ieee754_scalb): Use DBL_NARROW_EVAL.
12656 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
12657 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
12658 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
12659 (__scalbn): Use DBL_NARROW_EVAL.
12660 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12661 (__scalbnf): Use FLT_NARROW_EVAL.
12662
12663 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12664
12665 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
12666 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
12667 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
12668 * stdio-common/printf_fp.c (___printf_fp):
12669 Use signbit to get the sign. Use isinf macro to allow inlining.
12670 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
12671 * stdio-common/printf_size.c (__printf_size): Likewise.
12672
12673 2015-09-18 Mike Frysinger <vapier@gentoo.org>
12674
12675 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
12676
12677 2015-09-18 Joseph Myers <joseph@codesourcery.com>
12678
12679 [BZ #18980]
12680 * sysdeps/generic/math_private.h: Include <float.h>.
12681 (math_narrow_eval): New macro.
12682 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
12683 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
12684 math_narrow_eval on overflowing return value.
12685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
12686 Likewise.
12687 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12688 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
12689 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
12690 Likewise.
12691 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
12692
12693 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12694
12695 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
12696 * math/Makefile: Remove isinf_ns.c.
12697 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
12698 * math/multc3.c (__multc3): Likewise.
12699 * math/s_casin.c (__casin): Likewise.
12700 * math/s_casinf.c (__casinf): Likewise.
12701 * math/s_casinl.c (__casinl): Likewise.
12702 * math/s_cproj.c (__cproj): Likewise.
12703 * math/s_cprojf.c (__cprojf): Likewise.
12704 * math/s_cprojl.c (__cprofl): Likewise.
12705 * math/s_ctan.c (__ctan): Likewise.
12706 * math/s_ctanf.c (__ctanf): Likewise.
12707 * math/s_ctanh.c (__ctanh): Likewise.
12708 * math/s_ctanhf.c (__ctanhf): Likewise.
12709 * math/s_ctanhl.c (__ctanhl): Likewise.
12710 * math/s_ctanl.c (__ctanl): Likewise.
12711 * math/w_fmod.c (__fmod): Likewise.
12712 * math/w_fmodf.c (__fmodf): Likewise.
12713 * math/w_fmodl.c (_fmodl): Likewise.
12714 * math/w_remainder.c (__remainder): Likewise.
12715 * math/w_remainderf.c (__remainderf): Likewise.
12716 * math/w_remainderl.c (__remainderl): Likewise.
12717 * math/w_scalb.c (__scalb): Likewise.
12718 * math/w_scalbf.c (__scalbf): Likewise.
12719 * math/w_scalbl.c (__scalbl): Likewise.
12720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
12721 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
12722 with isinf.
12723 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
12724 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
12725 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
12726 __isinf_nsf with isinf.
12727 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
12728 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
12729 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
12730 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
12731 with isinf.
12732 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
12733 __isinf_nsl with isinf.
12734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
12735 with isinf.
12736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
12737 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
12738 __isinf_nsl with isinf.
12739 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
12740 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
12741 with isinf.
12742
12743 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12744
12745 * resolv/base64.c (rcsid): Remove unused static.
12746 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
12747 static. (tqpi1): Likewise.
12748 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
12749 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
12750 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
12751 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
12752 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
12753 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
12754 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
12755 * timezone/private.h (time_t_min): Likewise. (time_t_max):
12756 Likewise.
12757
12758 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
12761 <nptl/pthreadP.h>.
12762 (_longjmp_unwind): Use __libc_ptf_call.
12763 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
12764
12765 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
12766
12767 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
12768 * sysdeps/arm/__longjmp.S: Likewise.
12769
12770 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12771
12772 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
12773 Use __builtin_signbit.
12774 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
12775 Use __builtin_signbitf.
12776 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
12777 Use __builtin_signbitl.
12778 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12779 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
12780
12781 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12782
12783 [BZ #15367]
12784 [BZ #17441]
12785
12786 * math/Makefile: Build test-snan.c with -fsignaling-nans.
12787 * math/math.h (fpclassify): Use __builtin_fpclassify when
12788 available. (signbit): Use __builtin_signbit(f/l).
12789 (isfinite): Use__builtin_isfinite. (isnormal): Use
12790 __builtin_isnormal. (isnan): Use __builtin_isnan.
12791 (isinf): Use __builtin_isinf_sign.
12792
12793 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
12794
12795 * benchtests/Makefile: Add bench-math-inlines, link with libm.
12796 * benchtests/bench-math-inlines.c: New benchmark.
12797 * benchtests/bench-util.h: New file.
12798 * benchtests/bench-util.c: New file.
12799 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
12800
12801 2015-09-18 Carlos O'Donell <carlos@redhat.com>
12802
12803 * elf/tst-dlmopen1.c: Define TEST_SO.
12804 (do_test): Use TEST_SO.
12805
12806 * elf/dl-load.c: Include libc-internal.h.
12807 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
12808
12809 2015-09-18 Vincent Bernat <vincent@bernat.im>
12810
12811 [BZ #17887]
12812 * time/strptime_l.c (__strptime_internal): Make %z accept
12813 [+-]HH:MM time zones.
12814
12815 2015-09-18 Vincent Bernat <vincent@bernat.im>
12816
12817 [BZ #17886]
12818 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
12819 valid time zone.
12820
12821 2015-09-17 Mike Frysinger <vapier@gentoo.org>
12822
12823 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
12824 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
12825 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12826 (__ASSUME_FDATASYNC): Delete.
12827
12828 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12829
12830 * conform/linknamespace.pl: Require weak undefined symbols to be
12831 in the standard namespace.
12832 (%strong_syms): Rename to %seen_syms.
12833 (%strong_seen): Rename to %seen_where.
12834
12835 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
12836
12837 [BZ #18970]
12838 * misc/error.c (error): Replace pthread_setcancelstate with
12839 __pthread_setcancelstate.
12840 (error_at_line): Likewise.
12841 * posix/wordexp.c (parse_comm): Likewise.
12842 * stdlib/fmtmsg.c (fmtmsg): Likewise.
12843 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
12844 (__pthread_setcancelstate): This.
12845 (pthread_setcancelstate): Add an alias.
12846 * nptl/nptl-init.c (pthread_functions): Replace
12847 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
12848 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
12849 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
12850 hidden_proto.
12851 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
12852 it with hidden_def.
12853 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
12854 (pthread_setcancelstate): Renamed to ...
12855 (__pthread_setcancelstate): This.
12856 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
12857 __libc_ptf_call with __pthread_setcancelstate.
12858
12859 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12860 Andreas Schwab <schwab@suse.de>
12861
12862 [BZ #17118]
12863 * math/s_ctan.c (__ctan): Determine sign of zero real part of
12864 result when imaginary part of argument is infinite using sine and
12865 cosine.
12866 * math/s_ctanf.c (__ctanf): Likewise.
12867 * math/s_ctanl.c (__ctanl): Likewise.
12868 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
12869 of result when real part of argument is infinite using sine and
12870 cosine.
12871 * math/s_ctanhf.c (__ctanhf): Likewise.
12872 * math/s_ctanhl.c (__ctanhl): Likewise.
12873 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
12874 (ctanh_test_data): Add more tests of ctanh.
12875
12876 2015-09-17 Joseph Myers <joseph@codesourcery.com>
12877
12878 [BZ #15384]
12879 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
12880 bit-mask as in subtraction.
12881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
12882 Likewise.
12883 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
12884 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
12885 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
12886
12887 [BZ #18951]
12888 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
12889 underflow exception for small results.
12890 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12891 Likewise.
12892 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
12893 Likewise.
12894 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12895 Likewise.
12896 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12897 Likewise.
12898 * math/auto-libm-test-in: Add more tests of tgamma.
12899 * math/auto-libm-test-out: Regenerated.
12900
12901 2015-09-17 Andreas Schwab <schwab@suse.de>
12902
12903 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
12904
12905 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12906
12907 [BZ #18977]
12908 * math/bits/mathcalls.h
12909 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
12910 not declare.
12911 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12912 Likewise.
12913 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
12914 Likewise.
12915 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
12916 Likewise.
12917 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
12918 Likewise.
12919 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
12920 Likewise.
12921 * conform/data/math.h-data
12922 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
12923 function.
12924 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
12925 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
12926 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
12927 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
12928 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
12929 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
12930 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
12931 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
12932 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
12933 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
12934 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
12935
12936 [BZ #6803]
12937 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
12938 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
12939 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
12940 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
12941 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
12942 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
12943 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
12944 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
12945 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
12947 Likewise.
12948 [NO_LONG_DOUBLE] (scalbnl): Likewise.
12949 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
12950 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
12951 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
12952 long_double_symbol calls.
12953 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
12954 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
12955 strong alias of __ldexpl.
12956 (scalbnl): Define using long_double_symbol.
12957 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
12958 Remove alias.
12959 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
12960 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
12961 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
12962 (scalbln_test_data): Add more errno expectations.
12963
12964 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
12965
12966 Cache the host port like we cache the task port. This way we do not
12967 need to call the kernel just to get the port. Furthermore, we no
12968 longer increase the reference count on every invocation of
12969 `mach_host_self'.
12970
12971 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
12972 Protect declarations against the macro expansion.
12973 * mach/mach_init.c (__mach_host_self_): New variable.
12974 (mach_init): Initialize `__mach_host_self_'.
12975 * mach/mach_init.h (__mach_host_self_): New declaration.
12976 (__mach_host_self, mach_host_self): New macros.
12977 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
12978 Release reference.
12979
12980 2015-09-16 Joseph Myers <joseph@codesourcery.com>
12981
12982 [BZ #4404]
12983 * po/de.po: Update from Translation Project.
12984
12985 [BZ #16415]
12986 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
12987 (__expm1l): Remove code to handle positive infinity and overflow.
12988 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
12989 variable.
12990 (__expm1l): Remove code to handle positive infinity and overflow.
12991
12992 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
12993 Paul Pluzhnikov <ppluzhnikov@google.com>
12994
12995 [BZ #18872]
12996 * stdio-common/Makefile (tst-printf-bz18872): New test.
12997 (tst-printf-bz18872-mem.out): Likewise.
12998 * stdio-common/tst-printf-bz18872.sh: Generate new test.
12999 * stdio-common/vfprintf.c: Fix memory leaks.
13000
13001 2015-09-16 Andreas Schwab <schwab@suse.de>
13002
13003 [BZ #17244]
13004 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13005 Remove extra va_start/va_end calls.
13006
13007 [BZ #17243]
13008 * posix/execl.c (execl): Add missing va_end.
13009 * posix/execle.c (execle): Likewise.
13010 * posix/execlp.c (execlp): Likewise.
13011
13012 2015-09-15 Roland McGrath <roland@hack.frob.com>
13013
13014 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13015 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13016
13017 2015-09-15 Joseph Myers <joseph@codesourcery.com>
13018
13019 [BZ #18967]
13020 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
13021 undefine around includes of <bits/mathcalls.h>.
13022 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13023 not declare function.
13024 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13025 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13026 (scalb): Likewise.
13027 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13028 not define macro.
13029 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13030 variable.
13031 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13032 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13033 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13034
13035 [BZ #18857]
13036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13037 return non-finite argument without doing ordered comparisons on
13038 it.
13039
13040 [BZ #16296]
13041 * math/fenv.h (fegetround): Use __attribute_pure__.
13042 * include/fenv.h (__fegetround): Likewise.
13043
13044 [BZ #18595]
13045 * math/s_ctan.c (__ctan): Force underflow exception for results
13046 whose real or imaginary part has small absolute value.
13047 * math/s_ctanf.c (__ctanf): Likewise.
13048 * math/s_ctanh.c (__ctanh): Likewise.
13049 * math/s_ctanhf.c (__ctanhf): Likewise.
13050 * math/s_ctanhl.c (__ctanhl): Likewise.
13051 * math/s_ctanl.c (__ctanl): Likewise.
13052 * math/auto-libm-test-in: Do not allow missing underflow for ctan
13053 and ctanh. Add more tests of ctan and ctanh.
13054
13055 [BZ #15918]
13056 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13057 handling of cases where one argument is an infinity.
13058
13059 [BZ #18875]
13060 [BZ #18966]
13061 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13062 (MO): New macro.
13063 (__ieee754_exp10): For small results, force underflow exception
13064 and remove excess range and precision from return value.
13065 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13066 (MO): New macro.
13067 (__ieee754_exp10f): For small results, force underflow exception
13068 and remove excess range and precision from return value.
13069 * math/auto-libm-test-in: Add more tests of exp10.
13070 * math/auto-libm-test-out: Regenerated.
13071
13072 2015-09-14 Joseph Myers <joseph@codesourcery.com>
13073
13074 [BZ #18875]
13075 [BZ #18961]
13076 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13077 (MO): New macro.
13078 (__ieee754_exp): For small results, force underflow exception and
13079 remove excess range and precision from return value.
13080 (__exp_finite): Likewise.
13081 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13082 (MO): New macro.
13083 (__ieee754_expf): For small results, force underflow exception and
13084 remove excess range and precision from return value.
13085 (__expf_finite): Likewise.
13086 * math/auto-libm-test-in: Add more tests of exp.
13087 * math/auto-libm-test-out: Regenerated.
13088
13089 [BZ #16521]
13090 [BZ #18875]
13091 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13092 small results.
13093 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13094 (MO): New macro.
13095 (__ieee754_exp2): For small results, force underflow exception and
13096 remove excess range and precision from return value.
13097 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13098 (MO): New macro.
13099 (__ieee754_exp2f): For small results, force underflow exception
13100 and remove excess range and precision from return value.
13101 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13102 (MO): New macro.
13103 (__ieee754_exp2l): Force underflow exception for small results.
13104 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13105 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13106 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13107 (MO): New macro.
13108 (__ieee754_exp2l): Force underflow exception for small results.
13109 * math/auto-libm-test-in: Add more tests or exp2.
13110 * math/auto-libm-test-out: Regenerated.
13111
13112 2015-09-14 Carlos O'Donell <carlos@redhat.com>
13113
13114 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13115
13116 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13117 /dev/null.
13118
13119 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13120
13121 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13122 io fs process)): Drop spurious backslash.
13123
13124 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13125
13126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13127 Use sysinfo system call instead of parsing /proc/meminfo.
13128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13129 Likewise.
13130
13131 2015-09-11 Mike Frysinger <vapier@gentoo.org>
13132
13133 [BZ #16985]
13134 * programs/localedef.c (main): Display argv[remaining] when
13135 output_path is NULL.
13136
13137 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13138
13139 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13140 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13141 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13142 tanh.
13143 * math/auto-libm-test-out: Regenerated.
13144 * sysdeps/i386/fpu/libm-test-ulps: Update.
13145 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13146 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13148
13149 2015-09-11 Roland McGrath <roland@hack.frob.com>
13150
13151 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13152 Use 'override' keyword to freeze the value here, preventing
13153 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13154
13155 2015-09-11 Joseph Myers <joseph@codesourcery.com>
13156
13157 [BZ #14912]
13158 * sysdeps/aarch64/bits/atomic.h: Move to ...
13159 * sysdeps/aarch64/atomic-machine.h: ...here.
13160 (_AARCH64_BITS_ATOMIC_H): Rename macro to
13161 _AARCH64_ATOMIC_MACHINE_H.
13162 * sysdeps/alpha/bits/atomic.h: Move to ...
13163 * sysdeps/alpha/atomic-machine.h: ...here.
13164 * sysdeps/arm/bits/atomic.h: Move to ...
13165 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
13166 * bits/atomic.h: Move to ...
13167 * sysdeps/generic/atomic-machine.h: ...here.
13168 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13169 * sysdeps/i386/bits/atomic.h: Move to ...
13170 * sysdeps/i386/atomic-machine.h: ...here.
13171 * sysdeps/ia64/bits/atomic.h: Move to ...
13172 * sysdeps/ia64/atomic-machine.h: ...here.
13173 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13174 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13175 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13176 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13177 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13178 * sysdeps/microblaze/bits/atomic.h: Move to ...
13179 * sysdeps/microblaze/atomic-machine.h: ...here.
13180 * sysdeps/mips/bits/atomic.h: Move to ...
13181 * sysdeps/mips/atomic-machine.h: ...here.
13182 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13183 * sysdeps/powerpc/bits/atomic.h: Move to ...
13184 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
13185 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13186 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
13187 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
13188 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13189 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
13190 <atomic-machine.h> instead of <bits/atomic.h>.
13191 * sysdeps/s390/bits/atomic.h: Move to ...
13192 * sysdeps/s390/atomic-machine.h: ...here.
13193 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13194 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13195 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13196 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13197 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13198 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13199 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13200 * sysdeps/tile/bits/atomic.h: Move to ...
13201 * sysdeps/tile/atomic-machine.h: ...here.
13202 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13203 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
13204 <sysdeps/tile/atomic-machine.h> instead of
13205 <sysdeps/tile/bits/atomic.h>.
13206 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13207 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13208 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
13209 <sysdeps/tile/atomic-machine.h> instead of
13210 <sysdeps/tile/bits/atomic.h>.
13211 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13212 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13213 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
13214 <sysdeps/arm/atomic-machine.h> instead of
13215 <sysdeps/arm/bits/atomic.h>.
13216 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13217 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13218 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13219 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13220 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13221 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13222 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13223 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13224 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13225 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13226 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13227 * sysdeps/x86_64/bits/atomic.h: Move to ...
13228 * sysdeps/x86_64/atomic-machine.h: ...here.
13229 * include/atomic.h: Include <atomic-machine.h> instead of
13230 <bits/atomic.h>.
13231
13232 * sysdeps/mips/mips32/libm-test-ulps: Update.
13233 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13234
13235 [BZ #18952]
13236 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13237 not convert non-integer negative arguments to int to determine the
13238 value of signgam.
13239 * math/auto-libm-test-in: Add more tests of lgamma.
13240 * math/auto-libm-test-out: Regenerated.
13241
13242 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13243 cosh, csqrt, erfc, expm1 and lgamma.
13244 * math/auto-libm-test-out: Regenerated.
13245 * sysdeps/i386/fpu/libm-test-ulps: Update.
13246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13247
13248 2015-09-10 Joseph Myers <joseph@codesourcery.com>
13249
13250 [BZ #2542]
13251 [BZ #2543]
13252 [BZ #2558]
13253 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13254 __lgamma_neg for arguments from -28.0 to -2.0.
13255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13256 __lgamma_negf for arguments from -15.0 to -2.0.
13257 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13258 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13259 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13260 Call __lgamma_negl for arguments from -33.0 to -2.0.
13261 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13262 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13263 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13264 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13265 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13266 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13267 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13268 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13269 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13270 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13271 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13272 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13273 (__lgamma_neg): Likewise.
13274 (__lgamma_negl): Likewise.
13275 (__lgamma_product): Likewise.
13276 (__lgamma_productl): Likewise.
13277 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13278 * math/auto-libm-test-in: Add more tests of lgamma.
13279 * math/auto-libm-test-out: Regenerated.
13280 * sysdeps/i386/fpu/libm-test-ulps: Update.
13281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13282
13283 2015-09-09 Justin Maggard <jmaggard@netgear.com>
13284
13285 [BZ #18675]
13286 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13287
13288 2015-09-08 Joseph Myers <joseph@codesourcery.com>
13289
13290 [BZ #14912]
13291 * bits/libc-lock.h: Move to ...
13292 * sysdeps/generic/libc-lock.h: ...here.
13293 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13294 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13295 * sysdeps/mach/hurd/libc-lock.h: ...here.
13296 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13297 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13298 * sysdeps/mach/bits/libc-lock.h: Move to ...
13299 * sysdeps/mach/libc-lock.h: ...here.
13300 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13301 * sysdeps/nptl/bits/libc-lock.h: Move to ...
13302 * sysdeps/nptl/libc-lock.h: ...here.
13303 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13304 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13305 * sysdeps/nptl/libc-lockP.h: ...here.
13306 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13307 * crypt/crypt_util.c: Include <libc-lock.h> instead of
13308 <bits/libc-lock.h>.
13309 * dirent/scandir-tail.c: Likewise.
13310 * dlfcn/dlerror.c: Likewise.
13311 * elf/dl-close.c: Likewise.
13312 * elf/dl-iteratephdr.c: Likewise.
13313 * elf/dl-lookup.c: Likewise.
13314 * elf/dl-open.c: Likewise.
13315 * elf/dl-support.c: Likewise.
13316 * elf/dl-writev.h: Likewise.
13317 * elf/rtld.c: Likewise.
13318 * grp/fgetgrent.c: Likewise.
13319 * gshadow/fgetsgent.c: Likewise.
13320 * gshadow/sgetsgent.c: Likewise.
13321 * iconv/gconv_conf.c: Likewise.
13322 * iconv/gconv_db.c: Likewise.
13323 * iconv/gconv_dl.c: Likewise.
13324 * iconv/gconv_int.h: Likewise.
13325 * iconv/gconv_trans.c: Likewise.
13326 * include/link.h: Likewise.
13327 * inet/getnameinfo.c: Likewise.
13328 * inet/getnetgrent.c: Likewise.
13329 * inet/getnetgrent_r.c: Likewise.
13330 * intl/bindtextdom.c: Likewise.
13331 * intl/dcigettext.c: Likewise.
13332 * intl/finddomain.c: Likewise.
13333 * intl/gettextP.h: Likewise.
13334 * intl/loadmsgcat.c: Likewise.
13335 * intl/localealias.c: Likewise.
13336 * intl/textdomain.c: Likewise.
13337 * libidn/idn-stub.c: Likewise.
13338 * libio/libioP.h: Likewise.
13339 * locale/duplocale.c: Likewise.
13340 * locale/freelocale.c: Likewise.
13341 * locale/newlocale.c: Likewise.
13342 * locale/setlocale.c: Likewise.
13343 * login/getutent_r.c: Likewise.
13344 * login/getutid_r.c: Likewise.
13345 * login/getutline_r.c: Likewise.
13346 * login/utmp-private.h: Likewise.
13347 * login/utmpname.c: Likewise.
13348 * malloc/mtrace.c: Likewise.
13349 * misc/efgcvt.c: Likewise.
13350 * misc/error.c: Likewise.
13351 * misc/fstab.c: Likewise.
13352 * misc/getpass.c: Likewise.
13353 * misc/mntent.c: Likewise.
13354 * misc/syslog.c: Likewise.
13355 * nis/nis_call.c: Likewise.
13356 * nis/nis_callback.c: Likewise.
13357 * nis/nss-default.c: Likewise.
13358 * nis/nss_compat/compat-grp.c: Likewise.
13359 * nis/nss_compat/compat-initgroups.c: Likewise.
13360 * nis/nss_compat/compat-pwd.c: Likewise.
13361 * nis/nss_compat/compat-spwd.c: Likewise.
13362 * nis/nss_nis/nis-alias.c: Likewise.
13363 * nis/nss_nis/nis-ethers.c: Likewise.
13364 * nis/nss_nis/nis-grp.c: Likewise.
13365 * nis/nss_nis/nis-hosts.c: Likewise.
13366 * nis/nss_nis/nis-network.c: Likewise.
13367 * nis/nss_nis/nis-proto.c: Likewise.
13368 * nis/nss_nis/nis-pwd.c: Likewise.
13369 * nis/nss_nis/nis-rpc.c: Likewise.
13370 * nis/nss_nis/nis-service.c: Likewise.
13371 * nis/nss_nis/nis-spwd.c: Likewise.
13372 * nis/nss_nisplus/nisplus-alias.c: Likewise.
13373 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13374 * nis/nss_nisplus/nisplus-grp.c: Likewise.
13375 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13376 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13377 * nis/nss_nisplus/nisplus-network.c: Likewise.
13378 * nis/nss_nisplus/nisplus-proto.c: Likewise.
13379 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13380 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13381 * nis/nss_nisplus/nisplus-service.c: Likewise.
13382 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13383 * nis/ypclnt.c: Likewise.
13384 * nptl/libc_pthread_init.c: Likewise.
13385 * nss/getXXbyYY.c: Likewise.
13386 * nss/getXXent.c: Likewise.
13387 * nss/getXXent_r.c: Likewise.
13388 * nss/nss_db/db-XXX.c: Likewise.
13389 * nss/nss_db/db-netgrp.c: Likewise.
13390 * nss/nss_db/nss_db.h: Likewise.
13391 * nss/nss_files/files-XXX.c: Likewise.
13392 * nss/nss_files/files-alias.c: Likewise.
13393 * nss/nsswitch.c: Likewise.
13394 * posix/regex_internal.h: Likewise.
13395 * posix/wordexp.c: Likewise.
13396 * pwd/fgetpwent.c: Likewise.
13397 * resolv/res_hconf.c: Likewise.
13398 * resolv/res_libc.c: Likewise.
13399 * shadow/fgetspent.c: Likewise.
13400 * shadow/lckpwdf.c: Likewise.
13401 * shadow/sgetspent.c: Likewise.
13402 * socket/opensock.c: Likewise.
13403 * stdio-common/reg-modifier.c: Likewise.
13404 * stdio-common/reg-printf.c: Likewise.
13405 * stdio-common/reg-type.c: Likewise.
13406 * stdio-common/vfprintf.c: Likewise.
13407 * stdio-common/vfscanf.c: Likewise.
13408 * stdlib/abort.c: Likewise.
13409 * stdlib/cxa_atexit.c: Likewise.
13410 * stdlib/fmtmsg.c: Likewise.
13411 * stdlib/random.c: Likewise.
13412 * stdlib/setenv.c: Likewise.
13413 * string/strsignal.c: Likewise.
13414 * sunrpc/auth_none.c: Likewise.
13415 * sunrpc/bindrsvprt.c: Likewise.
13416 * sunrpc/create_xid.c: Likewise.
13417 * sunrpc/key_call.c: Likewise.
13418 * sunrpc/rpc_thread.c: Likewise.
13419 * sysdeps/arm/backtrace.c: Likewise.
13420 * sysdeps/generic/ldsodefs.h: Likewise.
13421 * sysdeps/generic/stdio-lock.h: Likewise.
13422 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13423 * sysdeps/i386/backtrace.c: Likewise.
13424 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13425 * sysdeps/m68k/backtrace.c: Likewise.
13426 * sysdeps/mach/hurd/cthreads.c: Likewise.
13427 * sysdeps/mach/hurd/dirstream.h: Likewise.
13428 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13429 * sysdeps/nptl/malloc-machine.h: Likewise.
13430 * sysdeps/nptl/stdio-lock.h: Likewise.
13431 * sysdeps/posix/dirstream.h: Likewise.
13432 * sysdeps/posix/getaddrinfo.c: Likewise.
13433 * sysdeps/posix/system.c: Likewise.
13434 * sysdeps/pthread/aio_suspend.c: Likewise.
13435 * sysdeps/s390/s390-32/backtrace.c: Likewise.
13436 * sysdeps/s390/s390-64/backtrace.c: Likewise.
13437 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13438 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13439 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13440 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13441 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13442 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13443 * sysdeps/unix/sysv/linux/system.c: Likewise.
13444 * sysdeps/x86_64/backtrace.c: Likewise.
13445 * time/alt_digit.c: Likewise.
13446 * time/era.c: Likewise.
13447 * time/tzset.c: Likewise.
13448 * wcsmbs/wcsmbsload.c: Likewise.
13449 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
13450 instead of <bits/libc-lock.h> in comment.
13451
13452 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
13453
13454 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
13455 Only use .set mips2 if the current ISA is below mips2.
13456 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
13457 Likewise.
13458 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
13459 mips32r2 if the current ISA is below mips32r2.
13460 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
13461 (TLS_IE): Updated to use the TLD_RDHWR macro.
13462 (TLS_LE): Likewise.
13463 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
13464 __ASSEMBLER__ condition.
13465
13466 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
13467
13468 Fix parallel build of before-compile targets.
13469
13470 * sysdeps/mach/Makefile ($(patsubst
13471 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
13472 mach-before-compile target.
13473 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13474 io fs process)): Move rule to dedicated hurd-before-compile target.
13475
13476 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13477
13478 Fix rules generating headers in hurd/ and mach/ when initial make call
13479 has subdir= explicitly set.
13480
13481 * sysdeps/mach/Makefile ($(patsubst
13482 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
13483 calling $(MAKE).
13484 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13485 io fs process)): Force subdir to hurd when calling $(MAKE).
13486 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
13487 subdir to mach when calling $(MAKE).
13488
13489 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
13490
13491 Check sysheaders when looking for Mach and Hurd headers
13492
13493 * sysdeps/mach/configure.ac: Add sysheaders check.
13494 * sysdeps/mach/configure: Regenerate.
13495 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
13496 * sysdeps/mach/hurd/configure: Regenerate.
13497
13498 2015-09-04 Roland McGrath <roland@hack.frob.com>
13499
13500 [BZ #18921]
13501 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
13502 Fix inverted sense of test of 'o_directory_works' value.
13503 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
13504 Bernhard Voelker <mail@bernhard-voelker.de>.
13505
13506 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13507
13508 [BZ #14912]
13509 * bits/linkmap.h: Move to ...
13510 * sysdeps/generic/linkmap.h: ...here.
13511 * sysdeps/aarch64/bits/linkmap.h: Move to ...
13512 * sysdeps/aarch64/linkmap.h: ...here.
13513 * sysdeps/arm/bits/linkmap.h: Move to ...
13514 * sysdeps/arm/linkmap.h: ...here.
13515 * sysdeps/hppa/bits/linkmap.h: Move to ...
13516 * sysdeps/hppa/linkmap.h: ...here.
13517 * sysdeps/ia64/bits/linkmap.h: Move to ...
13518 * sysdeps/ia64/linkmap.h: ...here.
13519 * sysdeps/mips/bits/linkmap.h: Move to ...
13520 * sysdeps/mips/linkmap.h: ...here.
13521 * sysdeps/s390/bits/linkmap.h: Move to ...
13522 * sysdeps/s390/linkmap.h: ...here.
13523 * sysdeps/sh/bits/linkmap.h: Move to ...
13524 * sysdeps/sh/linkmap.h: ...here.
13525 * sysdeps/x86/bits/linkmap.h: Move to ...
13526 * sysdeps/x86/linkmap.h: ...here.
13527 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
13528
13529 2015-09-04 Andreas Schwab <schwab@suse.de>
13530
13531 [BZ #18635]
13532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
13533 (__makecontext): Terminate FDE before return label.
13534 (__novec_makecontext): Likewise.
13535
13536 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13537
13538 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
13539 first member of struct sv in syscall macro.
13540
13541 2015-09-04 Joseph Myers <joseph@codesourcery.com>
13542
13543 [BZ #14912]
13544 * bits/stdio-lock.h: Move to ...
13545 * sysdeps/generic/stdio-lock.h: ...here.
13546 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13547 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
13548 * sysdeps/nptl/stdio-lock.h: ...here.
13549 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
13550 * include/libio.h: Include <stdio-lock.h> instead of
13551 <bits/stdio-lock.h>.
13552 * sysdeps/nptl/fork.c: Likewise.
13553 * sysdeps/pthread/flockfile.c: Likewise.
13554 * sysdeps/pthread/ftrylockfile.c: Likewise.
13555 * sysdeps/pthread/funlockfile.c: Likewise.
13556
13557 [BZ #14912]
13558 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
13559 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
13560 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
13561 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
13562 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
13563 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
13564 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
13565
13566 2015-09-03 Roland McGrath <roland@hack.frob.com>
13567
13568 * elf/Makefile (test-xfail-tst-protected1a): New variable.
13569 (test-xfail-tst-protected1b): New variable.
13570
13571 2015-09-03 Joseph Myers <joseph@codesourcery.com>
13572
13573 [BZ #14912]
13574 * bits/libc-tsd.h: Move to ...
13575 * sysdeps/generic/libc-tsd.h: ...here.
13576 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
13577 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
13578 * sysdeps/mach/hurd/libc-tsd.h: ...here.
13579 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
13580 * include/ctype.h: Include <libc-tsd.h> instead of
13581 <bits/libc-tsd.h>.
13582 * include/rpc/rpc.h: Likewise.
13583 * locale/localeinfo.h: Likewise.
13584 * sunrpc/rpc_thread.c: Likewise.
13585 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13586 * sysdeps/nptl/malloc-machine.h: Likewise.
13587
13588 * Makefile (headers): Remove bits/libc-lock.h.
13589 * libio/Makefile (headers): Remove bits/stdio-lock.h.
13590
13591 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
13592 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
13593 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
13594 <bits/stdio-lock.h>.
13595 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
13596 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
13597
13598 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13599
13600 [BZ #18757]
13601 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
13602 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
13603 BZ #18757.
13604
13605 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
13606
13607 * malloc/mtrace.pl: Filter out NULL entries.
13608
13609 2015-09-01 Joseph Myers <joseph@codesourcery.com>
13610
13611 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
13612 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
13613 macro.
13614
13615 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
13616 (TCP_CC_INFO): Likewise.
13617 (TCP_SAVE_SYN): Likewise.
13618 (TCP_SAVED_SYN): Likewise.
13619
13620 2015-08-31 Brett Neumeier <brett@neumeier.us>
13621
13622 [BZ #18870]
13623 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
13624
13625 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
13626
13627 [BZ #18873]
13628 Fix broken overflow check in posix_fallocate
13629 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
13630 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13631 Fix parenthesization typo.
13632
13633 2015-08-28 Mike Frysinger <vapier@gentoo.org>
13634
13635 [BZ #18887]
13636 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
13637 tst-mntent-blank-passno.
13638 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
13639 * misc/tst-mntent-blank-corrupt.c: New test.
13640 * misc/tst-mntent-blank-passno.c: New test ripped from ...
13641 * misc/tst-mntent.c (do_test): ... here.
13642
13643 2015-08-29 Mike Frysinger <vapier@gentoo.org>
13644
13645 [BZ #4404]
13646 * po/de.po: Fix SIGALRM typo.
13647
13648 2015-08-28 James Perkins <james@loowit.net>
13649
13650 * time/tst-strptime2.c (tests): Replace short list of test
13651 strings for strptime %z specifier with code which exhaustively
13652 tests every combination of sign and 0 to 5 digits. Tests for
13653 rejection of invalid strings.
13654
13655 2015-08-28 James Perkins <james@loowit.net>
13656
13657 [BZ #16141]
13658 * time/strptime_l.c (__strptime_internal): Fix %z minutes
13659 calculation, removing incorrect decimal time rounding, so that
13660 all minute values result in a valid seconds value.
13661 * time/strptime_l.c (__strptime_internal): Extend %z time zone
13662 offset range limits to UTC-99:59 through UTC+99:59 to parse
13663 current and historical use cases.
13664 * time/tst-strptime2.c (tests): Modify and add tests for the
13665 strptime %z input field descriptor, specifically conversion of
13666 minutes to seconds and validating an offset range of -9959 to
13667 +9959.
13668
13669 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13670 Dmitry V. Levin <ldv@altlinux.org>
13671
13672 [BZ #18877]
13673 * posix/Makefile (tests): Add tst-mmap-offset.
13674 * posix/tst-mmap.c: New file.
13675 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
13676 offset calculation for negative values.
13677
13678 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13679
13680 * sysdeps/i386/init-arch.h: New file.
13681 * sysdeps/i386/i586/init-arch.h: Likewise.
13682 * sysdeps/i386/i686/init-arch.h: Likewise.
13683 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
13684 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
13685 * sysdeps/x86/cpu-features.h (bit_I586): New.
13686 (bit_I686): Likewise.
13687 (bit_CX8): Likewise.
13688 (bit_CMOV): Likewise.
13689 (index_CX8): Likewise.
13690 (index_CMOV): Likewise.
13691 (index_I586): Likewise.
13692 (index_I686): Likewise.
13693 (reg_CX8): Likewise.
13694 (reg_CMOV): Likewise.
13695 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
13696 available at compile-time.
13697 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
13698 available at compile-time.
13699 * sysdeps/x86/init-arch.h (USE_I586): New macro.
13700 (USE_I686): Likewise.
13701
13702 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13703
13704 * sysdeps/i386/bcopy.S: New file.
13705 * sysdeps/i386/bzero.S: Likewise.
13706 * sysdeps/i386/memcpy.S: Likewise.
13707 * sysdeps/i386/memmove.S: Likewise.
13708 * sysdeps/i386/mempcpy.S: Likewise.
13709 * sysdeps/i386/memset.S: Likewise.
13710 * sysdeps/i386/bzero.c: Removed.
13711 * sysdeps/i386/memset.c: Likewise.
13712 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
13713 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
13714 * sysdeps/i386/i586/memset_chk.S: Likewise.
13715 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
13716 * sysdeps/i386/memcpy_chk.S: Here.
13717 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
13718 * sysdeps/i386/memmove_chk.S: Here.
13719 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
13720 * sysdeps/i386/mempcpy_chk.S: Likewise.
13721 * sysdeps/i386/i686/memset_chk.S: Moved to ...
13722 * sysdeps/i386/memset_chk.S: Likewise.
13723
13724 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
13725
13726 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
13727 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
13728 file, move DIAG_POP_NEEDS_COMMENT to end of file.
13729 * soft-fp/fmadf4.c: Ditto.
13730 * soft-fp/fmatf4.c: Ditto.
13731
13732 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13733
13734 * sysdeps/i386/i586/Implies: Removed.
13735 * sysdeps/i386/i686/Implies: Likewise.
13736
13737 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13738
13739 * sysdeps/i386/i486/strlen.S: Moved to ...
13740 * sysdeps/i386/strlen.S: Here.
13741
13742 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13743
13744 * sysdeps/i386/i486/strcat.S: Moved to ...
13745 * sysdeps/i386/strcat.S: Here.
13746
13747 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13748
13749 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
13750 * sysdeps/i386/pthread_spin_trylock.S: Here.
13751 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
13752 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
13753
13754 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13755
13756 * sysdeps/i386/i486/string-inlines.c: Moved to ...
13757 * sysdeps/i386/string-inlines.c: Here.
13758
13759 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13760
13761 * sysdeps/i386/i486/htonl.S: Moved ...
13762 * sysdeps/i386/htonl.S: here.
13763
13764 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13765
13766 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
13767 * sysdeps/i386/bits/atomic.h: Here.
13768
13769 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/i386/i486/Versions: Removed.
13772
13773 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
13774
13775 [BZ #2898]
13776 * misc/mktemp.c: Add mkdtemp to the link_warning message.
13777 Based on patch by Aurelien Jarno.
13778
13779 2015-08-26 Stan Shebs <stanshebs@google.com>
13780
13781 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
13782 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
13783
13784 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13785
13786 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
13787 * sysdeps/powerpc/dl-procinfo.c:
13788 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
13789 feature so it shows when LD_SHOW_AUXV=1.
13790
13791 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13792
13793 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13794 (__arch_compare_and_exchange_val_32_acq): Remove and use common
13795 definition. ISA 2.07B no longer requires full sync.
13796
13797 2015-08-26 Mike Frysinger <vapier@gentoo.org>
13798
13799 [BZ #18863]
13800 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
13801 (si_call_addr): Define.
13802 (si_syscall): Define.
13803 (si_arch): Define.
13804
13805 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
13806
13807 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
13808 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
13809 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
13810 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13811 (__memset_zero_constant_len_parameter): New.
13812 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
13813 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
13814 (__memset_zero_constant_len_parameter): Don't define if
13815 __memset_chk or USE_AS_BZERO are defined.
13816
13817 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
13818 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
13819 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
13820
13821 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
13822 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
13823 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
13824 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
13825 comments.
13826 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
13827 -mno-mmx for $(all-rtld-routines).
13828 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
13829 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
13830 i386.
13831
13832 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13833
13834 * sysdeps/generic/unwind.h
13835 (_Unwind_Word): Use __mode__(__unwind_word__)
13836 instead of __mode__(__word__).
13837 (_Unwind_Sword): Likewise.
13838
13839 * sysdeps/s390/s390-64/utf8-utf16-z9.c
13840 (MAX_NEEDED_INPUT): New define.
13841 (MAX_NEEDED_OUTPUT): New define.
13842
13843 * NEWS: New item for IBM z13 string optimizations.
13844
13845 * sysdeps/s390/multiarch/memrchr-c.c: New File.
13846 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
13847 * sysdeps/s390/multiarch/memrchr.c: Likewise.
13848 * sysdeps/s390/multiarch/Makefile
13849 (sysdep_routines): Add memrchr functions.
13850 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13851 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
13852
13853 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
13854 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
13855 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
13856 * sysdeps/s390/multiarch/Makefile
13857 (sysdep_routines): Add wmemcmp functions.
13858 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13859 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
13860 * benchtests/bench-wmemcmp.c: New File.
13861 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
13862
13863 * sysdeps/s390/multiarch/wmemset-c.c: New File.
13864 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
13865 * sysdeps/s390/multiarch/wmemset.c: Likewise.
13866 * sysdeps/s390/multiarch/Makefile
13867 (sysdep_routines): Add wmemset functions.
13868 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13869 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
13870 * wcsmbs/wmemset.c: Use WMEMSET if defined.
13871 * string/test-memset.c: Add wmemset support.
13872 * wcsmbs/test-wmemset.c: New File.
13873 * wcsmbs/Makefile (strop-tests): Add wmemset.
13874 * benchtests/bench-memset.c: Add wmemset support.
13875 * benchtests/bench-wmemset.c: New File.
13876 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
13877
13878 * sysdeps/s390/multiarch/memccpy-c.c: New File.
13879 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
13880 * sysdeps/s390/multiarch/memccpy.c: Likewise.
13881 * sysdeps/s390/multiarch/Makefile
13882 (sysdep_routines): Add memccpy functions.
13883 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13884 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
13885 * string/memccpy.c: Use MEMCCPY if defined.
13886
13887 * sysdeps/s390/multiarch/memchr-vx.S: New File.
13888 * sysdeps/s390/multiarch/memchr.c: Likewise.
13889 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
13890 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
13891 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
13892 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
13893 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
13894 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13895 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
13896 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
13897 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
13898 and rawmemchr functions.
13899 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
13900 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
13901 and wmemchr.
13902 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
13903 * string/test-memchr.c: Add wmemchr support.
13904 * wcsmbs/test-wmemchr.c: New File.
13905 * wcsmbs/Makefile (strop-tests): Add wmemchr.
13906 * benchtests/bench-memchr.c: Add wmemchr support.
13907 * benchtests/bench-wmemchr.c: New File.
13908 * benchtests/Makefile (wcsmbs-bench): wmemchr.
13909
13910 * sysdeps/s390/multiarch/strcspn-c.c: New File.
13911 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
13912 * sysdeps/s390/multiarch/strcspn.c: Likewise.
13913 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
13914 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
13915 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
13916 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
13917 wcscspn functions.
13918 * sysdeps/s390/multiarch/ifunc-impl-list.c
13919 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
13920 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
13921 * string/test-strcspn.c: Add wcscspn support.
13922 * wcsmbs/test-wcscspn.c: New File.
13923 * wcsmbs/Makefile (strop-tests): Add wcscspn.
13924 * benchtests/bench-strcspn.c: Add wcscspn support.
13925 * benchtests/bench-wcscspn.c: New File.
13926 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
13927
13928 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
13929 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
13930 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
13931 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
13932 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
13933 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13934 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
13935 wcspbrk functions.
13936 * sysdeps/s390/multiarch/ifunc-impl-list.c
13937 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
13938 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
13939 * string/test-strpbrk.c: Add wcspbrk support.
13940 * wcsmbs/test-wcspbrk.c: New File.
13941 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
13942 * benchtests/bench-strpbrk.c: Add wcspbrk support.
13943 * benchtests/bench-wcspbrk.c: New File.
13944 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
13945
13946 * sysdeps/s390/multiarch/strspn-c.c: New File.
13947 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
13948 * sysdeps/s390/multiarch/strspn.c: Likewise.
13949 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
13950 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
13951 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13952 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
13953 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
13954 wcsspn functions.
13955 * sysdeps/s390/multiarch/ifunc-impl-list.c
13956 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
13957 * string/test-strspn.c: Add wcsspn support.
13958 * wcsmbs/test-wcsspn.c: New File.
13959 * wcsmbs/Makefile (strop-tests): Add wcsspn.
13960 * benchtests/bench-strspn.c: Add wcsspn support.
13961 * benchtests/bench-wcsspn.c: New File.
13962 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
13963
13964 * sysdeps/s390/multiarch/strrchr-c.c: New File.
13965 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
13966 * sysdeps/s390/multiarch/strrchr.c: Likewise.
13967 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
13968 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
13969 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
13970 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
13971 wcsrchr functions.
13972 * sysdeps/s390/multiarch/ifunc-impl-list.c
13973 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
13974 * benchtests/bench-wcsrchr.c: New File.
13975 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
13976
13977 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
13978 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
13979 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
13980 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
13981 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
13982 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
13983 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
13984 wcschrnul functions.
13985 * sysdeps/s390/multiarch/ifunc-impl-list.c
13986 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
13987 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
13988 * string/test-strchr.c: Add wcschrnul support.
13989 * wcsmbs/test-wcschrnul.c: New File.
13990 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
13991 * benchtests/bench-strchr.c: Add wcschrnul support.
13992 * benchtests/bench-wcschrnul.c: New File.
13993 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
13994
13995 * sysdeps/s390/multiarch/strchr-c.c: New File.
13996 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
13997 * sysdeps/s390/multiarch/strchr.c: Likewise.
13998 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
13999 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14000 * sysdeps/s390/multiarch/wcschr.c: Likewise.
14001 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14002 wcschr functions.
14003 * sysdeps/s390/multiarch/ifunc-impl-list.c
14004 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14005 * string/strchr.c (STRCHR): Define and use macro.
14006 * benchtests/bench-wcschr.c: New File.
14007 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14008
14009 * sysdeps/s390/multiarch/strncmp-c.c: New File.
14010 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14011 * sysdeps/s390/multiarch/strncmp.c: Likewise.
14012 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14013 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14014 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14015 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14016 wcsncmp functions.
14017 * sysdeps/s390/multiarch/ifunc-impl-list.c
14018 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14019 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14020 * benchtests/bench-strncmp.c: Add wcsncmp support.
14021 * benchtests/bench-wcsncmp.c: New File.
14022 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14023
14024 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14025 * sysdeps/s390/multiarch/strcmp.c: Likewise.
14026 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14027 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14028 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14029 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14030 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14031 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14032 wcscmp functions.
14033 * sysdeps/s390/multiarch/ifunc-impl-list.c
14034 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14035 * string/strcmp.c (STRCMP): Define and use macro.
14036 * benchtests/bench-wcscmp.c: New File.
14037 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14038 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14039 instead of _HAVE_STRING_ARCH_memchr.
14040
14041 * sysdeps/s390/multiarch/strncat-c.c: New File.
14042 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14043 * sysdeps/s390/multiarch/strncat.c: Likewise.
14044 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14045 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14046 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14047 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14048 wcsncat functions.
14049 * sysdeps/s390/multiarch/ifunc-impl-list.c
14050 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14051 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14052 * string/test-strncat.c: Add wcsncat support.
14053 * wcsmbs/test-wcsncat.c: New File.
14054 * wcsmbs/Makefile (strop-tests): Add wcsncat.
14055 * benchtests/bench-strncat.c: Add wcsncat support.
14056 * benchtests/bench-wcsncat.c: New File.
14057 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14058
14059 * sysdeps/s390/multiarch/strcat-c.c: New File.
14060 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14061 * sysdeps/s390/multiarch/strcat.c: Likewise.
14062 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14063 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14064 * sysdeps/s390/multiarch/wcscat.c: Likewise.
14065 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14066 wcscat functions.
14067 * sysdeps/s390/multiarch/ifunc-impl-list.c
14068 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14069 * string/strcat.c (STRCAT): Define and use macro.
14070 * wcsmbs/wcscat.c: Use WCSCAT if defined.
14071 * string/test-strcat.c: Add wcscat support.
14072 * wcsmbs/test-wcscat.c: New File.
14073 * wcsmbs/Makefile (strop-tests): Add wcscat.
14074 * benchtests/bench-strcat.c: Add wcscat support.
14075 * benchtests/bench-wcscat.c: New File.
14076 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14077
14078 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14079 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14080 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14081 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14082 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14083 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14084 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14085 wcpncpy functions.
14086 * sysdeps/s390/multiarch/ifunc-impl-list.c
14087 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14088 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14089 * string/test-stpncpy.c: Add wcpncpy support.
14090 * wcsmbs/test-wcpncpy.c: New File.
14091 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14092 * benchtests/bench-stpncpy.c: Add wcpncpy support.
14093 * benchtests/bench-wcpncpy.c: New File.
14094 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14095
14096 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14097 * sysdeps/s390/multiarch/strncpy.c: Likewise.
14098 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14099 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14100 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14101 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14102 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14103 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14104 wcsncpy functions.
14105 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14106 * sysdeps/s390/multiarch/ifunc-impl-list.c
14107 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14108 * string/test-strncpy.c: Add wcsncpy support.
14109 * wcsmbs/test-wcsncpy.c: New File.
14110 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14111 * benchtests/bench-strncpy.c: Add wcsncpy support.
14112 * benchtests/bench-wcsncpy.c: New File.
14113 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14114
14115 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14116 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14117 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14118 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14119 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14120 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14121 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14122 wcpcpy functions.
14123 * string/stpcpy.c: Use STPCPY if defined.
14124 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14125 * sysdeps/s390/multiarch/ifunc-impl-list.c
14126 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14127 * string/test-stpcpy.c: Add wcpcpy support.
14128 * wcsmbs/test-wcpcpy.c: New File.
14129 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14130 * benchtests/bench-stpcpy.c: Add wcpcpy support.
14131 * benchtests/bench-wcpcpy.c: New File.
14132 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14133
14134 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14135 * sysdeps/s390/multiarch/strcpy.c: Likewise.
14136 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14137 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14138 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14139 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14140 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14141 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14142 wcscpy functions.
14143 * sysdeps/s390/multiarch/ifunc-impl-list.c
14144 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14145 * benchtests/bench-wcscpy.c: New File.
14146 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14147
14148 * sysdeps/s390/multiarch/strnlen-c.c: New File.
14149 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14150 * sysdeps/s390/multiarch/strnlen.c: Likewise.
14151 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14152 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14153 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14154 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14155 wcsnlen functions.
14156 * sysdeps/s390/multiarch/ifunc-impl-list.c
14157 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14158 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14159 * string/test-strnlen.c: Add wcsnlen support.
14160 * wcsmbs/test-wcsnlen.c: New File.
14161 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14162 * benchtests/bench-strnlen.c: Add wcsnlen support.
14163 * benchtests/bench-wcsnlen.c: New File.
14164 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14165
14166 * sysdeps/s390/multiarch/Makefile: New File.
14167 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14168 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14169 * sysdeps/s390/multiarch/strlen.c: Likewise.
14170 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14171 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14172 * sysdeps/s390/multiarch/wcslen.c: Likewise.
14173 * string/strlen.c (STRLEN): Define and use macro.
14174 * sysdeps/s390/multiarch/ifunc-impl-list.c
14175 (IFUNC_VX_IMPL): New macro function.
14176 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14177 * benchtests/Makefile (wcsmbs-bench): New variable.
14178 (string-bench-all): Added wcsmbs-bench.
14179 * benchtests/bench-wcslen.c: New File.
14180
14181 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14182 s390_vx_libc_ifunc2): New macro function.
14183
14184 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14185 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14186 assembler support.
14187 * sysdeps/s390/configure: Regenerated.
14188
14189 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14190 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14191
14192 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14193 * sysdeps/s390/dl-procinfo.h: Add vector capability.
14194 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14195
14196 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14197 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14198 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14199 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14200 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14201 (memcmp, bcmp): Use __memcmp_default as alias source.
14202 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14203 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14204 Rename to __memcmp_default.
14205 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14206 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14207 (memcpy): Use __memcpy_default as alias source.
14208 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14209 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14210 Rename to __memcpy_default.
14211 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14212 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14213 (memset): Use __memset_default as alias source.
14214 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14215 * sysdeps/s390/s390-32/memset.S (__memset_g5):
14216 Rename to __memset_default.
14217 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14218 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14220 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14221 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14222 (memcmp, bcmp): Use __memcmp_default as alias source.
14223 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14224 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14225 Rename to __memcmp_default.
14226 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14227 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14228 (memcpy): Use __memcpy_default as alias source.
14229 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14230 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14231 Rename to __memcpy_default.
14232 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14233 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14234 (memset): Use __memset_default as alias source.
14235 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14236 * sysdeps/s390/s390-64/memset.S (__memset_z900):
14237 Rename to __memset_default.
14238 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14239 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14240
14241 [BZ #18610]
14242 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14243 __ieee_instruction_pointer to __unused.
14244 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14245 __ieee_instruction_pointer.
14246 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14247 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14248 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14249 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14250 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14251 Mark dxc-field as reserved.
14252
14253 2015-08-25 Roland McGrath <roland@hack.frob.com>
14254
14255 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14256 if the weak reference is not null.
14257
14258 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14259
14260 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14261
14262 [BZ #11214]
14263 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14264
14265 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14266
14267 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14268 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14269 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14270 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14271 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14272 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14273 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14274 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14275 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14276 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14277 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14278 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14279 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14280 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14281 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14282 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14283 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14284 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14285
14286 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14287
14288 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14289 register other than r0 for tabort, it has special meaning.
14290 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14291 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14292 transaction before starting syscall.
14293
14294 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14295
14296 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14297
14298 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14301
14302 * sysdeps/x86_64/rtld-memcmp.c: Removed.
14303 * sysdeps/x86_64/rtld-memset.S: Likewise.
14304 * sysdeps/x86_64/rtld-strchr.S: Likewise.
14305 * sysdeps/x86_64/rtld-strlen.S: Likewise.
14306 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14307 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14308
14309 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14310
14311 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
14312
14313 * debug/strcpy_chk.c: Improve performance.
14314 * debug/stpcpy_chk.c: Likewise.
14315 * sysdeps/x86_64/strcpy_chk.S: Remove.
14316 * sysdeps/x86_64/stpcpy_chk.S: Remove.
14317
14318 [BZ #18240]
14319 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14320
14321 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
14322
14323 [BZ #15128]
14324 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14325 ifuncmain8.
14326 (modules-names): Add ifuncmod8.
14327 ($(objpfx)ifuncmain8): New rule.
14328 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14329 <cpuid.h>.
14330 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14331 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14332 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14333 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14334 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14335 * sysdeps/x86_64/dl-trampoline.h: Likewise.
14336 * sysdeps/x86_64/ifuncmain8.c: New file.
14337 * sysdeps/x86_64/ifuncmod8.c: Likewise.
14338 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14339 Removed.
14340 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14341 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14342 Change rtld_savespace_sse to __glibc_unused2.
14343 (RTLD_CHECK_FOREIGN_CALL): Removed.
14344 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14345 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14346 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14347
14348 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14349
14350 * sysdeps/aarch64/bzero.S (__bzero): Remove.
14351
14352 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
14353
14354 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14355 Unconditionally set __fpcr to avoid uninialized warning.
14356 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14357
14358 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14359
14360 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14361 is corrupt.
14362
14363 * malloc/arena.c (arena_get2): Drop unused argument.
14364 (arena_lock): Adjust.
14365 (arena_get_retry): Likewise.
14366
14367 2015-08-24 Andreas Schwab <schwab@suse.de>
14368
14369 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14370 Don't define.
14371 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14372 (__ASSUME_IPC64): Don't undef.
14373 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14374 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14375 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14376 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14377 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14378 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14379 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14380 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14381 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14382 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14383 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14384 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14385 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14386 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14387 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14388 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14389 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14390 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14391 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14392 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14393 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14394
14395 2015-08-21 Mike Frysinger <vapier@gentoo.org>
14396
14397 * manual/Makefile (install): Only build manual when perl is available.
14398
14399 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14400
14401 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14402 '#undef memcpy' by '#undef memchr'.
14403
14404 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14405
14406 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14407 memchr not point to the internal __GI_memchr implementation.
14408
14409 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14410
14411 * timezone/Makefile (CFLAGS-zdump.c): Remove
14412 -Wno-strict-prototypes.
14413 (CFLAGS-zic.c): Likewise.
14414 (CFLAGS-ialloc.c): Likewise.
14415 (CFLAGS-scheck.c): Likewise.
14416
14417 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14418 -Wno-error=undef.
14419
14420 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14421
14422 * i386/i686/multiarch/strcasestr-c.c: Removed.
14423 * x86_64/multiarch/strcasestr.c: Likewise.
14424 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14425 Remove strcasestr.
14426
14427 2015-08-20 Joseph Myers <joseph@codesourcery.com>
14428
14429 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14430
14431 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14432 variables for high and low parts before possibly modifying them.
14433
14434 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14437 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14438 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14439 of "multiarch/init-arch.h".
14440 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14441 * sysdeps/x86/init-arch.h: This.
14442
14443 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
14444
14445 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
14446 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
14447
14448 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
14449
14450 [BZ #17787]
14451 * manual/macros.texi: Add twoexp macro.
14452 * manual/filesys.texi: Fix exponents.
14453 * manual/llio.texi: Likewise.
14454 * manual/stdio.texi: Likewise.
14455
14456 2015-08-20 Florian Weimer <fweimer@redhat.com>
14457
14458 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
14459 incorrect use.
14460
14461 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14462
14463 [BZ #18370]
14464 * math/s_csqrt.c (__csqrt): Force underflow exception for results
14465 whose real or imaginary part has small absolute value.
14466 * math/s_csqrtf.c (__csqrtf): Likewise.
14467 * math/s_csqrtl.c (__csqrtl): Likewise.
14468 * math/auto-libm-test-in: Add more tests of csqrt.
14469 * math/auto-libm-test-out: Regenerated.
14470 * sysdeps/i386/fpu/libm-test-ulps: Update.
14471
14472 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
14473
14474 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
14475 __ppc_set_ppr_very_low): New functions.
14476 * manual/platform.texi: Add documentation about
14477 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
14478
14479 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
14480
14481 * string/stpncpy.c (stpncpy): Improve performance using
14482 __strnlen/memcpy/memset.
14483
14484 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
14485
14486 [BZ #18796]
14487 * scripts/test-installation.pl: Don't add -lmvec to build options if
14488 libmvec wasn't built.
14489
14490 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
14491
14492 [BZ #14341]
14493 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
14494 case when there is a gap between DT_REL and DT_JMPREL sections.
14495 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
14496 (LDFLAGS-tst-split-dynreloc): New.
14497 (tst-split-dynreloc-ENV): Likewise.
14498 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
14499 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
14500
14501 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 [BZ #18822]
14504 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
14505 attribute_hidden.
14506 (__xstat64_conv): Likewise.
14507 (__xstat32_conv): Likewise.
14508
14509 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14510
14511 [BZ #18822]
14512 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
14513 Don't load %ebx when calling __setcontext. Call __setcontext
14514 with HIDDEN_JUMPTARGET.
14515 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
14516 libc_hidden_def.
14517
14518 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14519
14520 * sysdeps/i386/i686/Makefile
14521 [$(subdir) == string] (sysdep_routines): Moved to ...
14522 * sysdeps/i386/Makefile: Here.
14523 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
14524 * sysdeps/i386/cacheinfo.c: Here.
14525 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
14526 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
14527 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
14528 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
14529
14530 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
14531
14532 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
14533 __i586__ is defined.
14534 (HAS_I686): Defined to 1 if __i686__ is defined.
14535
14536 2015-08-19 Joseph Myers <joseph@codesourcery.com>
14537
14538 * elf/Makefile [$(have-z-execstack) = yes]
14539 (CPPFLAGS-tst-execstack.c): New variable.
14540
14541 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
14542 conditional to [defined UTMPX || _HAVE_UT_TYPE].
14543 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
14544 UTMPX || _HAVE_UT_TV].
14545 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
14546 UTMPX || _HAVE_UT_TV - 0].
14547
14548 2015-08-18 Joseph Myers <joseph@codesourcery.com>
14549
14550 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
14551 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
14552 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
14553
14554 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14555
14556 * sysdeps/powerpc/dl-procinfo.c:
14557 (_dl_powerpc_cap_flags): Added missing strings for some
14558 hwcap features.
14559 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
14560
14561 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
14562
14563 Port the 0x7efe...feff pattern to GCC 6.
14564 See Steve Ellcey's bug report in:
14565 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
14566 * string/memrchr.c (MEMRCHR):
14567 * string/rawmemchr.c (RAWMEMCHR):
14568 * string/strchr.c (strchr):
14569 * string/strchrnul.c (STRCHRNUL):
14570 Rewrite code to avoid issues with signed shift overflow.
14571
14572 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
14573
14574 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
14575 whether cpuid is available only if HAS_CPUID is 0.
14576 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
14577 (HAS_I586): Likewise.
14578 (HAS_I686): Likewise.
14579
14580 2015-08-18 Zack Weinberg <zackw@panix.com>
14581
14582 * misc/Versions (libc): Add GLIBC_2.23.
14583
14584 2015-08-18 Alan Modra <amodra@gmail.com>
14585
14586 [BZ #18421]
14587 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
14588 .Lp__global.
14589 (_start): Load %dp via .Lp__global.
14590 [!SHARED]: Use .section .rodata.
14591
14592 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14593
14594 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
14595 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
14596
14597 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14598
14599 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
14600 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
14601
14602 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14603
14604 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
14605 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
14606
14607 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14608
14609 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
14610 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
14611
14612 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14613
14614 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
14615 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
14616
14617 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14618
14619 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
14620 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
14621
14622 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14623
14624 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
14625
14626 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14627
14628 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
14629 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
14630 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14631 (__ASSUME_LWS_CAS): Delete.
14632
14633 2015-08-18 Mike Frysinger <vapier@gentoo.org>
14634
14635 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
14636 * sysdeps/hppa/configure: Regenerated.
14637 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
14638 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
14639 * sysdeps/hppa/nptl/tls.h: Likewise.
14640
14641 2015-08-17 Joseph Myers <joseph@codesourcery.com>
14642
14643 [BZ #18823]
14644 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
14645 for scaling up small arguments.
14646 * math/s_csqrtf.c (__csqrtf): Likewise.
14647 * math/s_csqrtl.c (__csqrtl): Likewise.
14648 * math/auto-libm-test-in: Add more tests of csqrt.
14649 * math/auto-libm-test-out: Regenerated.
14650
14651 2015-08-17 Andreas Schwab <schwab@suse.de>
14652
14653 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
14654 version set GLIBC_2.19.
14655
14656 2015-08-16 Zack Weinberg <zackw@panix.com>
14657
14658 [BZ #18681]
14659 * misc/regexp.h: This interface is no longer supported.
14660 Remove all contents, leaving only an #error directive.
14661 * misc/regexp.c (loc1, loc2, locs, step, advance):
14662 Demote to compatibility symbols.
14663
14664 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14665
14666 [BZ #18084]
14667 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
14668 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
14669 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14670 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
14671 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
14672 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
14673 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
14674 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
14675 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14676
14677 2015-08-15 Zack Weinberg <zackw@panix.com>
14678
14679 [BZ #18795]
14680 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
14681 buffer length is known to be too large, not if it's known to be
14682 small enough.
14683 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
14684 overflow at runtime, involving a length parameter, twice: once
14685 with a compile-time constant length parameter, once without.
14686
14687 2015-08-14 Joseph Myers <joseph@codesourcery.com>
14688
14689 [BZ #18824]
14690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
14691 scaling x * y up instead of down.
14692 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14694 * math/auto-libm-test-in: Add more tests of fma.
14695 * math/auto-libm-test-out: Regenerated.
14696
14697 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14698
14699 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14700
14701 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14702
14703 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
14704 unnecessary movq.
14705 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
14706 Likewise.
14707
14708 2015-08-13 Joseph Myers <joseph@codesourcery.com>
14709
14710 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14711 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
14712 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
14713 and tgamma.
14714 * math/auto-libm-test-out: Regenerated.
14715 * sysdeps/i386/fpu/libm-test-ulps: Update.
14716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14717
14718 [BZ #16520]
14719 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
14720 (__tanh): Force underflow exception for arguments with small
14721 absolute value.
14722 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
14723 (__tanhf): Force underflow exception for arguments with small
14724 absolute value.
14725 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
14726 (__tanhl): Force underflow exception for arguments with small
14727 absolute value.
14728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
14729 (__tanhl): Force underflow exception for arguments with small
14730 absolute value.
14731 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
14732 (__tanhl): Force underflow exception for arguments with small
14733 absolute value.
14734 * math/auto-libm-test-in: Add more tests of tanh.
14735 * math/auto-libm-test-out: Regenerated.
14736 * sysdeps/i386/fpu/libm-test-ulps: Update.
14737
14738 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14739
14740 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
14741 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
14742
14743 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14744
14745 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
14746 <cpuid.h>.
14747
14748 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14749
14750 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
14751 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
14752
14753 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14754
14755 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
14756 Remove $(objpfx)init-arch.o.
14757 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
14758 init-arch.
14759 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
14760 (INIT_ARCH_EXT): Defined as empty.
14761 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
14762 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
14763 __init_cpu_features call. Replace HAS_XXX with
14764 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14765 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
14766 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
14767 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
14768 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
14769 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
14770 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
14771 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
14772 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
14773 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
14774 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
14775 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
14776 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
14777 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
14778 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
14779 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
14780 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
14781 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
14782 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
14783 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
14784 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
14785 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
14786 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
14787 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
14788 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
14789 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
14790 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
14791 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
14792 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
14793 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
14794 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
14795 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
14796 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
14797 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
14798 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
14799 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
14800
14801 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14802
14803 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
14804 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14805 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14806 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
14807 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
14808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
14809 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
14810 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
14811 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
14812 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
14813 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
14814 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
14815 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14816 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14817 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14818 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14831 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14832 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14833 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14835 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14836 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14837 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14838 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14842 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14844 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14845 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14846
14847 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14848
14849 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
14850 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
14852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
14853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
14854 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
14855 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
14856 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
14857 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
14858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
14859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
14860 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
14861 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
14862 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
14863 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
14864 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
14865 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
14866 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
14867 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
14868 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
14869 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
14870 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
14871 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
14872 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14873 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14874 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
14875 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
14876 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
14877 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
14878 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14879 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14880 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14881 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14882 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14883 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14884 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14885 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14886 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14887 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14888 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14889 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14890 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14891 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14892
14893 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
14894
14895 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
14896 (dl_platform_init): Call init_cpu_features.
14897 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
14898 * sysdeps/i386/i686/cacheinfo.c
14899 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
14900 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
14901 * sysdeps/i386/i686/multiarch/Versions: Removed.
14902 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
14903 Removed.
14904 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
14905 * sysdeps/unix/sysv/linux/x86/Makefile
14906 (libpthread-sysdep_routines): Remove init-arch.
14907 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
14908 <sysdeps/x86_64/dl-procinfo.c> instead of
14909 sysdeps/generic/dl-procinfo.c>.
14910 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
14911 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
14912 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
14913 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
14914 [$(subdir) == elf] (tests-static): Add
14915 tst-get-cpu-features-static.
14916 * sysdeps/x86/Versions: New file.
14917 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
14918 * sysdeps/x86/cpu-features.c: Likewise.
14919 * sysdeps/x86/cpu-features.h: Likewise.
14920 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
14921 * sysdeps/x86/libc-start.c: Likewise.
14922 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14923 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
14924 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
14925 * sysdeps/x86_64/dl-procinfo.c: Likewise.
14926 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
14927 Assume USE_MULTIARCH is defined and don't check it.
14928 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
14929 (is_amd): Likewise.
14930 (max_cpuid): Likewise.
14931 (intel_check_word): Likewise.
14932 (__cache_sysconf): Don't call __init_cpu_features.
14933 (__x86_preferred_memory_instruction): Removed.
14934 (init_cacheinfo): Don't call __init_cpu_features. Replace
14935 __cpu_features with GLRO(dl_x86_cpu_features).
14936 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
14937 (dl_platform_init): Call init_cpu_features.
14938 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
14939 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
14940 * sysdeps/x86_64/multiarch/Versions: Removed.
14941 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
14942 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
14943 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
14944 Removed.
14945 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
14946
14947 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14948
14949 [BZ #18820]
14950 * libio/Makefile (test-fmemopen-mem): New test.
14951 * libio/test-fmemopen.c (do_bz18820): New test.
14952 * libio/fmemopen.c (__fmemopen): Fix memory leak.
14953 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
14954
14955 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14956
14957 [BZ #16734]
14958 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
14959 (FREE_BUF): Delete.
14960 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
14961 * libio/genops.c (_IO_setb): Use malloc and free directly.
14962 (_IO_default_doallocate, _IO_default_finish): Likewise.
14963 ( _IO_unbuffer_all): Likewise.
14964 ( libc_freeres_fn): Likewise.
14965 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14966 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14967 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
14968 (_IO_wdefault_doallocate): Likewise.
14969
14970 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14971
14972 [BZ #18086]
14973 * sysdeps/posix/nice.c (nice): Restore old errno.
14974 * posix/tst-nice.c (do_test): Add test for BZ #18086.
14975
14976 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
14977
14978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
14979
14980 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14981
14982 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
14983 __bcopy and add a weak_alias to bcopy.
14984 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
14985 for static build.
14986
14987 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
14988 cleanup macro usage.
14989 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
14990 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
14991 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
14992 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
14993 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
14994 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
14995 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
14996 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
14997 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14998 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
14999 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15000 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15002 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15003 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15004 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15005 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15006 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15007 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15008
15009 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15010 libc_hidden_def.
15011 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15012
15013 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15014 (sysdep_routines): Add strstr-ppc64.
15015 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15016
15017 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
15018
15019 [BZ #18778]
15020 * elf/Makefile (tests): Add Add tst-nodelete2.
15021 (modules-names): Add tst-nodelete2mod.
15022 (tst-nodelete2mod.so-no-z-defs): New.
15023 ($(objpfx)tst-nodelete2): Likewise.
15024 ($(objpfx)tst-nodelete2.out): Likewise.
15025 (LDFLAGS-tst-nodelete2): Likewise.
15026 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15027 out of loop through all loaded libraries.
15028 * elf/tst-nodelete2.c: New file.
15029 * elf/tst-nodelete2mod.c: Likewise.
15030 * elf/tst-znodelete-zlib.cc: Delete.
15031
15032 2015-08-11 Andreas Schwab <schwab@suse.de>
15033
15034 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15035 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15036 (__openat64_nocancel): Likewise.
15037
15038 2015-08-11 Joseph Myers <joseph@codesourcery.com>
15039
15040 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15041 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15042 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15043 * math/auto-libm-test-out: Regenerated.
15044 * sysdeps/i386/fpu/libm-test-ulps: Update.
15045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15046
15047 2015-08-10 Joseph Myers <joseph@codesourcery.com>
15048
15049 [BZ #18790]
15050 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15051 threshold for returning +/- 1.
15052 * math/auto-libm-test-in: Add more tests of tanh.
15053 * math/auto-libm-test-out: Regenerated.
15054 * sysdeps/i386/fpu/libm-test-ulps: Update.
15055
15056 2015-08-10 Andreas Schwab <schwab@suse.de>
15057
15058 [BZ #18781]
15059 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15060 MORE_OFLAGS to oflag.
15061 * io/test-lfs.c (do_test): Test openat64.
15062
15063 2015-08-10 Joseph Myers <joseph@codesourcery.com>
15064
15065 [BZ #18789]
15066 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15067 smaller threshold for returning the argument.
15068 * math/auto-libm-test-in: Add more tests of sinh.
15069 * math/auto-libm-test-out: Regenerated.
15070 * sysdeps/i386/fpu/libm-test-ulps: Update.
15071
15072 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
15073
15074 [BZ #18674]
15075 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15076 break.
15077
15078 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
15079
15080 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15081 (generated): Don't add $(addprefix z.,$(tzfiles)).
15082
15083 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15084
15085 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15086 * scripts/sysd-rules.awk: Likewise.
15087
15088 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15089
15090 * iconvdata/tst-tables.sh: Change echo -n to printf.
15091 * nss/db-Makefile: Likewise.
15092 * posix/tst-getconf.sh: Likewise.
15093 * stdio-common/tst-unbputc.sh: Likewise.
15094
15095 2015-08-09 Mike Frysinger <vapier@gentoo.org>
15096
15097 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15098 MADV_*_PAGES defines behind this feature check.
15099
15100 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
15101
15102 [BZ #18480]
15103 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15104 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15105 Define.
15106 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15107 LOAD_REGS_5, LOAD_REGS_6): Update.
15108 (INTERNAL_SYSCALL): Update using new LOAD defines.
15109 (INTERNAL_SYSCALL_NCS): Likewise.
15110 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15111
15112 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15113
15114 [BZ #16734]
15115 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15116
15117 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15118
15119 [BZ #17905]
15120 * catgets/Makefile (tst-catgets-mem): New test.
15121 * catgets/catgets.c (catopen): Don't use unbounded alloca.
15122 * catgets/open_catalog.c (__open_catalog): Likewise.
15123 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15124
15125 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
15126
15127 [BZ #18787]
15128 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15129 clobber registers.
15130 (atomic_compare_and_exchange_val_acq): Use register asms to assign
15131 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
15132 Cast return to __typeof (oldval).
15133
15134 2015-08-08 Mike Frysinger <vapier@gentoo.org>
15135
15136 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15137 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
15138 and delete sys/syscall.h include.
15139
15140 2015-08-07 Joseph Myers <joseph@codesourcery.com>
15141
15142 [BZ #16517]
15143 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15144 (tan): Force underflow exception for arguments with small absolute
15145 value.
15146 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15147 (__kernel_tanf): Force underflow exception for arguments with
15148 small absolute value.
15149 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15150 (__kernel_tanl): Force underflow exception for arguments with
15151 small absolute value.
15152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15153 (__kernel_tanl): Force underflow exception for arguments with
15154 small absolute value.
15155 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15156 (__kernel_tanl): Force underflow exception for arguments with
15157 small absolute value.
15158 * math/auto-libm-test-in: Add more tests of tan.
15159 * math/auto-libm-test-out: Regenerated.
15160
15161 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15162
15163 Fix sysdeps/i386/fpu/s_scalbn.S build
15164
15165 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15166
15167 2015-08-07 Mike Frysinger <vapier@gentoo.org>
15168
15169 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15170
15171 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
15172
15173 Fix gcrt0.o compilation
15174
15175 When static-start-installed-name is different from
15176 start-installed-name, we must not use the shared objects.
15177
15178 * csu/Makefile
15179 (extra-objs): Add gmon-start.o when building shared library and
15180 $(static-start-installed-name) is different from
15181 $(start-installed-name).
15182 $(objpfx)g$(static-start-installed-name): When building shared
15183 library and $(static-start-installed-name) is different from
15184 $(static-start-installed-name), revert to non-shared rule,
15185 i.e. using $(objpfx)% and gmon-start.o.
15186
15187 2015-08-06 Joseph Myers <joseph@codesourcery.com>
15188
15189 [BZ #16519]
15190 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15191 (__ieee754_sinh): Force underflow exception for arguments with
15192 small absolute value.
15193 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15194 (__ieee754_sinhf): Force underflow exception for arguments with
15195 small absolute value.
15196 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15197 (__ieee754_sinhl): Force underflow exception for arguments with
15198 small absolute value.
15199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15200 (__ieee754_sinhl): Force underflow exception for arguments with
15201 small absolute value.
15202 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15203 (__ieee754_sinhl): Force underflow exception for arguments with
15204 small absolute value.
15205 * math/auto-libm-test-in: Add more tests of sinh.
15206 * math/auto-libm-test-out: Regenerated.
15207 * sysdeps/i386/fpu/libm-test-ulps: Update.
15208
15209 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15210
15211 * libio/oldfileops.c: Include unistd.h.
15212
15213 2015-08-06 Mike Frysinger <vapier@gentoo.org>
15214
15215 * stdlib/isomac.c: Include ctype.h.
15216
15217 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
15218
15219 * dirent/tst-seekdir.c (main): Converted to ...
15220 (do_test): ... this.
15221 (TEST_FUNCTION): New macro.
15222 Include test-skeleton.c.
15223 * elf/tst-dlmodcount.c (main): Converted to ...
15224 (do_test): ... this.
15225 (TEST_FUNCTION): New macro.
15226 Include test-skeleton.c.
15227 * elf/tst-order-main.c (main): Converted to ...
15228 (do_test): ... this.
15229 (TEST_FUNCTION): New macro.
15230 Include test-skeleton.c.
15231 * elf/tst-pie2.c (main): Converted to ...
15232 (do_test): ... this.
15233 (TEST_FUNCTION): New macro.
15234 Include test-skeleton.c.
15235 * inet/tst-ether_aton.c (main): Converted to ...
15236 (do_test): ... this.
15237 (TEST_FUNCTION): New macro.
15238 Include test-skeleton.c.
15239 * misc/tst-mntent.c (main): Converted to ...
15240 (do_test): ... this.
15241 (TEST_FUNCTION): New macro.
15242 Include test-skeleton.c.
15243 * misc/tst-tsearch.c (main): Converted to ...
15244 (do_test): ... this.
15245 (TEST_FUNCTION): New macro.
15246 Include test-skeleton.c.
15247 * posix/tst-regexloc.c (main): Converted to ...
15248 (do_test): ... this.
15249 (TEST_FUNCTION): New macro.
15250 Include test-skeleton.c.
15251 * resolv/tst-aton.c (main): Converted to ...
15252 (do_test): ... this.
15253 (TEST_FUNCTION): New macro.
15254 Include test-skeleton.c.
15255 * stdio-common/test-fwrite.c (main): Converted to ...
15256 (do_test): ... this.
15257 (TEST_FUNCTION): New macro.
15258 Include test-skeleton.c.
15259 * stdio-common/tst-ferror.c (main): Converted to ...
15260 (do_test): ... this.
15261 (TEST_FUNCTION): New macro.
15262 Include test-skeleton.c.
15263 * stdio-common/tst-printf.c (main): Converted to ...
15264 (do_test): ... this.
15265 (TEST_FUNCTION): New macro.
15266 Include test-skeleton.c.
15267 * stdio-common/tst-printfsz.c (main): Converted to ...
15268 (do_test): ... this.
15269 (TEST_FUNCTION): New macro.
15270 Include test-skeleton.c.
15271 * stdlib/tst-strtod.c (main): Converted to ...
15272 (do_test): ... this.
15273 (TEST_FUNCTION): New macro.
15274 Include test-skeleton.c.
15275 * string/tst-strlen.c (main): Converted to ...
15276 (do_test): ... this.
15277 (TEST_FUNCTION): New macro.
15278 Include test-skeleton.c.
15279 * string/tst-svc.c (main): Converted to ...
15280 (do_test): ... this.
15281 (TEST_FUNCTION): New macro.
15282 Include test-skeleton.c.
15283 * time/tst-strptime.c (main): Converted to ...
15284 (do_test): ... this.
15285 (TEST_FUNCTION): New macro.
15286 Include test-skeleton.c.
15287 * timezone/tst-timezone.c (main): Converted to ...
15288 (do_test): ... this.
15289 (TEST_FUNCTION): New macro.
15290 Include test-skeleton.c.
15291
15292 2015-08-05 Zack Weinberg <zackw@panix.com>
15293
15294 * misc/regexp.h: Update comments.
15295
15296 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
15297
15298 [BZ #18635]
15299 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15300 before return label.
15301
15302 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15303
15304 [BZ #18661]
15305 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15306 when calling __errno_location.
15307 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15308 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15309
15310 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15311
15312 [BZ #18661]
15313 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15314 (__lll_timedwait_tid): Align stack to 16 bytes when calling
15315 __gettimeofday.
15316
15317 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15318
15319 [BZ #18661]
15320 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15321 (__start_context): Don't use pop to restore %rdi so that stack
15322 is aligned to 16 bytes when calling __setcontext.
15323
15324 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15325
15326 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15327 only for libc.
15328 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15329
15330 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15331
15332 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15333 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
15334 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15335
15336 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15337
15338 * string/memccpy.c (memccpy):
15339 Improve performance by using memchr/memcpy/__mempcpy.
15340
15341 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15342
15343 * string/strncpy.c (strncpy):
15344 Improve performance by using __strnlen/memcpy.
15345
15346 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15347
15348 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15349 Optimize to avoid an unnecessary FPCR read.
15350
15351 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
15352
15353 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15354 Optimize to reduce FPCR/FPSR accesses.
15355
15356 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15359 dead->data[category] != NULL.
15360
15361 2015-08-05 Joseph Myers <joseph@codesourcery.com>
15362
15363 [BZ #18647]
15364 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15365 and |x| close to 1, use absolute value of x when computing log.
15366 * math/auto-libm-test-in: Add more tests of pow.
15367 * math/auto-libm-test-out: Regenerated.
15368
15369 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15370
15371 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15372 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15373 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15374
15375 2015-08-05 Marko Myllynen <myllynen@redhat.com>
15376
15377 [BZ #18525]
15378 * locales/km_KH: Remove timezone definition.
15379 * locales/lo_LA: Likewise.
15380 * locales/my_MM: Likewise.
15381 * locales/nan_TW@latin: Likewise.
15382 * locales/th_TH: Likewise.
15383 * locales/uk_UA: Likewise.
15384
15385 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
15386
15387 [BZ #18265]
15388 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15389 (wcsncat): Likewise.
15390 (wcscmp): Likewise.
15391 (wcsncmp): Likewise.
15392
15393 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15394
15395 * test-skeleton.c (usage): New function.
15396 (main): Call usage when opt is '?'.
15397
15398 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15399
15400 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15401 before first use.
15402
15403 2015-08-05 Mike Frysinger <vapier@gentoo.org>
15404
15405 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15406 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
15407 in there too.
15408
15409 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
15410
15411 * version.h (RELEASE): Set to "development".
15412 (VERSION): Set to "2.22.90"
15413
15414 * version.h (RELEASE): Set to "stable".
15415 (VERSION): Set to "2.22"
15416 * include/features.h (__GLIBC_MINOR__): Set to 22.
15417
15418 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
15419
15420 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15421 Restructure macro to avoid "value computed is not used" warning.
15422 (atomic_compare_and_exchange_val_acq): Likewise.
15423
15424 2015-08-04 Andreas Schwab <schwab@suse.de>
15425
15426 [BZ #18635]
15427 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15428 ret.
15429 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15430
15431 2015-08-01 Carlos O'Donell <carlos@redhat.com>
15432
15433 * po/pl.po: Updated translation.
15434 * po/uk.po: Likewise.
15435 * po/fi.po: Likewise.
15436 * po/ko.po: Likewise.
15437 * po/ru.po: Likewise.
15438 * po/vi.po: Likewise.
15439
15440 2015-07-31 Zack Weinberg <zackw@panix.com>
15441
15442 [BZ #18681]
15443 * regexp.h: Add unconditional #warning stating that this header
15444 will be removed soon. Revise banner comment to match.
15445 (compile): Consistently use ERROR instead of RETURN to report
15446 errors (partial fix for bz#18681).
15447 * regexp.c: Don't include regexp.h. Remove some unnecessary
15448 declarations.
15449
15450 2015-07-31 Carlos O'Donell <carlos@redhat.com>
15451
15452 * po/libc.pot: Regenerated.
15453
15454 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
15455
15456 [BZ #18740]
15457 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
15458 float-vlen4-arch-ext-cflags): Removed.
15459 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
15460 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
15461
15462 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15463
15464 [BZ #14113]
15465 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
15466 aligned to __aligned__.
15467 (pthread_cond_t, pthread_rwlock_t): Likewise.
15468
15469 2015-07-30 Torvald Riegel <triegel@redhat.com>
15470
15471 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
15472
15473 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15474
15475 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
15476 (struct sigaction): Change sa_flags from a long to an int, and add
15477 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
15478
15479 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15480
15481 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
15482 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
15483 sysdeps/generic/sysdep.h include.
15484 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
15485 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
15486 sysdeps/hppa/sysdep.h.
15487 (ENTRY, PSEUDO): Undefine before defining.
15488
15489 2015-07-30 Mike Frysinger <vapier@gentoo.org>
15490
15491 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
15492 from scratch to use INTERNAL_SYSCALL.
15493
15494 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
15495
15496 [BZ #18078]
15497 * scripts/check-localplt.awk: Support alternate relocations.
15498 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
15499 sections.
15500 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
15501 malloc entries with + REL R_386_GLOB_DAT.
15502 * sysdeps/x86_64/localplt.data: New file.
15503
15504 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
15505
15506 [BZ #18731]
15507 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
15508 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15509 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15510
15511 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15512
15513 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
15514
15515 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15516
15517 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
15518 directly in terms of __sync_fetch_and_add and delete (int) cast.
15519
15520 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15521
15522 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
15523 the -D_ASM_IA64_CURRENT_H flag.
15524
15525 2015-07-27 Mike Frysinger <vapier@gentoo.org>
15526
15527 [BZ #18641]
15528 * pwd/pwd.h (putpwent): Delete __nonnull markings.
15529
15530 2015-07-27 Andreas Schwab <schwab@suse.de>
15531
15532 * conform/conformtest.pl (checknamespace): Filter out string
15533 literals while tokenizing.
15534
15535 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15536
15537 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15538 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
15539 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15540
15541 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
15542
15543 * nptl/tst-join7mod.c: Add #include <string.h>.
15544
15545 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15546
15547 * sysdeps/nios2/libm-test-ulps: Update.
15548
15549 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
15550
15551 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
15552 Fix order of arguments to the rt_sigprocmask syscall.
15553 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
15554 Likewise.
15555
15556 2015-07-24 Roland McGrath <roland@hack.frob.com>
15557
15558 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
15559
15560 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15561
15562 [BZ #18457]
15563 * nptl/Makefile (tests): New test case tst-join7.
15564 (modules-names): New test case module tst-join7mod.
15565 * nptl/tst-join7.c: New file.
15566 * nptl/tst-join7mod.c: New file.
15567 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
15568 all translation units in libc.so, libpthread.so and rtld.
15569
15570 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15571
15572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15573
15574 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
15575
15576 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
15577 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15578 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15579 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15580 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15581 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15582 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15583 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15584 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15585 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15586 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15587 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15588 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
15589 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
15590 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
15591 implementation.
15592
15593 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
15594
15595 [BZ #17711]
15596 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15597 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
15598 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15599 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
15600 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
15601 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
15602
15603 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
15606 instead of just saying load lock in the comments.
15607
15608 2015-07-23 Roland McGrath <roland@hack.frob.com>
15609
15610 * sysdeps/unix/Subdirs: Moved ...
15611 * sysdeps/posix/Subdirs: ... here.
15612 * login/pty.h (struct termios, struct winsize): Add forward decls.
15613 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
15614 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
15615 * sysdeps/arm/nacl/libc.abilist: Updated.
15616 * sysdeps/nacl/libutil.abilist: New file.
15617
15618 * bits/signum.h: Update comments to mention 1003.1-2013 too.
15619 (SIGWINCH): New macro.
15620
15621 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
15622 * sysdeps/arm/nacl/libc.abilist: Add it.
15623
15624 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15625
15626 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
15627
15628 2015-07-23 Mike Frysinger <vapier@gentoo.org>
15629
15630 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15631 Swap __glibc_reserved0 and sa_flags order.
15632
15633 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15634
15635 [BZ #18657]
15636 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
15637 are pending TLS destructor calls.
15638 * include/link.h (struct link_map): Add concurrency note for
15639 L_TLS_DTOR_COUNT.
15640 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15641 Don't touch the link map flag. Atomically increment
15642 l_tls_dtor_count.
15643 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
15644 Avoid taking the load lock and don't touch the link map flag.
15645 * stdlib/tst-tls-atexit-nodelete.c: New test case.
15646 * stdlib/Makefile (tests): Use it.
15647 * stdlib/tst-tls-atexit.c (do_test): dlopen
15648 tst-tls-atexit-lib.so again before dlclose. Add conditionals
15649 to allow tst-tls-atexit-nodelete test case to use it.
15650
15651 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15652
15653 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
15654 to bits/types.h.
15655 (msgqnum_t): New typedef.
15656 (msglen_t): Likewise.
15657 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
15658 and msg_qbytes type to msglen_t.
15659
15660 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15661
15662 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
15663 pad0 to __glibc_reserved0.
15664 (struct stat64): Likewise.
15665
15666 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15667
15668 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
15669 Change sa_flags from a long to an int and add __glibc_reserved0 before
15670 it for padding.
15671
15672 2015-07-22 Mike Frysinger <vapier@gentoo.org>
15673
15674 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
15675 anonymous by deleting "siginfo" name.
15676
15677 2015-07-21 Roland McGrath <roland@hack.frob.com>
15678
15679 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
15680 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
15681 rather than __nacl_irt_filename.
15682 * sysdeps/nacl/xstat.c (__xstat): Likewise.
15683
15684 * NEWS: New item for arm-nacl port.
15685 * sysdeps/arm/nacl/libc.abilist: New file.
15686 * sysdeps/nacl/ld.abilist: New file.
15687 * sysdeps/nacl/libBrokenLocale.abilist: New file.
15688 * sysdeps/nacl/libanl.abilist: New file.
15689 * sysdeps/nacl/libcrypt.abilist: New file.
15690 * sysdeps/nacl/libdl.abilist: New file.
15691 * sysdeps/nacl/libm.abilist: New file.
15692 * sysdeps/nacl/libpthread.abilist: New file.
15693 * sysdeps/nacl/libresolv.abilist: New file.
15694 * sysdeps/nacl/librt.abilist: New file.
15695
15696 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
15697
15698 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
15699 __startcontext to initialize the new context.
15700 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
15701 up CFI directive to forbid further backtracing.
15702
15703 2015-07-21 Marko Myllynen <myllynen@redhat.com>
15704
15705 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
15706 reference.
15707 * charmaps/ANSI_X3.4-1968: Likewise.
15708 * charmaps/BS_4730: Likewise.
15709 * charmaps/BS_VIEWDATA: Likewise.
15710 * charmaps/CP1250: Likewise.
15711 * charmaps/CP1251: Likewise.
15712 * charmaps/CP1252: Likewise.
15713 * charmaps/CP1253: Likewise.
15714 * charmaps/CP1254: Likewise.
15715 * charmaps/CP1255: Likewise.
15716 * charmaps/CP1256: Likewise.
15717 * charmaps/CSN_369103: Likewise.
15718 * charmaps/EBCDIC-DK-NO: Likewise.
15719 * charmaps/GB_1988-80: Likewise.
15720 * charmaps/GREEK-CCITT: Likewise.
15721 * charmaps/GREEK7: Likewise.
15722 * charmaps/INIS-8: Likewise.
15723 * charmaps/ISIRI-3342: Likewise.
15724 * charmaps/ISO_2033-1983: Likewise.
15725 * charmaps/ISO_5427-EXT: Likewise.
15726 * locales/POSIX: Likewise.
15727 * locales/ar_SA: Likewise.
15728 * locales/be_BY: Likewise.
15729 * locales/be_BY@latin: Likewise.
15730 * locales/ca_ES: Likewise.
15731 * locales/cs_CZ: Likewise.
15732 * locales/da_DK: Likewise.
15733 * locales/de_BE: Likewise.
15734 * locales/de_CH: Likewise.
15735 * locales/de_LU: Likewise.
15736 * locales/en_AU: Likewise.
15737 * locales/en_BW: Likewise.
15738 * locales/en_CA: Likewise.
15739 * locales/en_DK: Likewise.
15740 * locales/en_GB: Likewise.
15741 * locales/en_IE: Likewise.
15742 * locales/en_NZ: Likewise.
15743 * locales/en_ZA: Likewise.
15744 * locales/en_ZW: Likewise.
15745 * locales/es_AR: Likewise.
15746 * locales/es_BO: Likewise.
15747 * locales/es_CL: Likewise.
15748 * locales/es_CO: Likewise.
15749 * locales/es_DO: Likewise.
15750 * locales/es_EC: Likewise.
15751 * locales/es_ES: Likewise.
15752 * locales/es_HN: Likewise.
15753 * locales/es_MX: Likewise.
15754 * locales/es_PA: Likewise.
15755 * locales/es_PE: Likewise.
15756 * locales/es_PY: Likewise.
15757 * locales/es_SV: Likewise.
15758 * locales/es_US: Likewise.
15759 * locales/es_UY: Likewise.
15760 * locales/es_VE: Likewise.
15761 * locales/et_EE: Likewise.
15762 * locales/fa_IR: Likewise.
15763 * locales/fo_FO: Likewise.
15764 * locales/fr_CA: Likewise.
15765 * locales/fr_CH: Likewise.
15766 * locales/gv_GB: Likewise.
15767 * locales/he_IL: Likewise.
15768 * locales/hr_HR: Likewise.
15769 * locales/id_ID: Likewise.
15770 * locales/is_IS: Likewise.
15771 * locales/it_CH: Likewise.
15772 * locales/iw_IL: Likewise.
15773 * locales/kl_GL: Likewise.
15774 * locales/ko_KR: Likewise.
15775 * locales/kw_GB: Likewise.
15776 * locales/lg_UG: Likewise.
15777 * locales/lt_LT: Likewise.
15778 * locales/lv_LV: Likewise.
15779 * locales/mi_NZ: Likewise.
15780 * locales/nhn_MX: Likewise.
15781 * locales/nl_BE: Likewise.
15782 * locales/pl_PL: Likewise.
15783 * locales/sk_SK: Likewise.
15784 * locales/sl_SI: Likewise.
15785 * locales/sv_FI: Likewise.
15786 * locales/tl_PH: Likewise.
15787 * locales/tr_TR: Likewise.
15788 * locales/vi_VN: Likewise.
15789
15790 2015-07-21 Khem Raj <raj.khem@gmail.com>
15791
15792 [BZ #17475]
15793 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
15794 of tu_IN and bh_IN.
15795
15796 2015-07-21 Mike Frysinger <vapier@gentoo.org>
15797
15798 [BZ #18694]
15799 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
15800 bits/wordsize.h.
15801 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
15802
15803 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15804
15805 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
15806 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
15807 (spawn_thread): New function.
15808 (load): Rename to reg_dtor_and_close. Move dlopen to...
15809 (do_test): ... here. Use IS_LOADED to test for its
15810 availability.
15811
15812 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
15813
15814 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15815
15816 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
15817
15818 [BZ #18696]
15819 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
15820 si_addr_bnd.
15821 (si_lower): New.
15822 (si_upper): Likewise.
15823
15824 2015-07-16 David S. Miller <davem@davemloft.net>
15825
15826 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
15827
15828 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15829
15830 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
15831 buffer.
15832 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
15833 fail output information.
15834
15835 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15836
15837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
15838 and strstr-ppc64..
15839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15840 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
15841 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
15842 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
15843 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
15844
15845 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15846
15847 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15848 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15849 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
15850 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15851
15852 2015-07-16 Mike Frysinger <vapier@gentoo.org>
15853
15854 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15855 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
15856 rtld_hidden_proto.
15857 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
15858
15859 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 * tst-nodelete-opened.c (do_test): Add comment to clarify how
15862 the test can fail.
15863
15864 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
15865
15866 [BZ #18676]
15867 * elf/tst-nodelete-opened.c: New test case.
15868 * elf/tst-nodelete-opened-lib.c: New test case module.
15869 * elf/Makefile (tests, modules-names): Use them.
15870 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
15871 early.
15872
15873 2015-07-15 David S. Miller <davem@davemloft.net>
15874
15875 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
15876 futex-intenal.h
15877 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
15878 * sysdeps/sparc/sparc64/Makefile: Likewise.
15879 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
15880 Remove space from macro define.
15881 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
15882
15883 2015-07-15 Pravin Satpute <psatpute@redhat.com>
15884
15885 [BZ #17475]
15886 * locale/iso-639.def: Update Bhili and Tulu language codes as
15887 per iso639-3.
15888
15889 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
15890
15891 * elf/tst-leaks1.c (main): Converted to ...
15892 (do_test): ... this.
15893 (TEST_FUNCTION): New macro.
15894 Include test-skeleton.c.
15895 * localedata/tst-langinfo.c (main): Converted to ...
15896 (do_test): ... this.
15897 (TEST_FUNCTION): New macro.
15898 Include test-skeleton.c.
15899 * math/test-fpucw.c (main): Converted to ...
15900 (do_test): ... this.
15901 (TEST_FUNCTION): New macro.
15902 Include test-skeleton.c.
15903 * math/test-tgmath.c (main): Converted to ...
15904 (do_test): ... this.
15905 (TEST_FUNCTION): New macro.
15906 Include test-skeleton.c.
15907 * math/test-tgmath2.c (main): Converted to ...
15908 (do_test): ... this.
15909 (TEST_FUNCTION): New macro.
15910 Include test-skeleton.c.
15911 * setjmp/tst-setjmp.c (main): Converted to ...
15912 (do_test): ... this.
15913 (TEST_FUNCTION): New macro.
15914 Include test-skeleton.c.
15915 * stdio-common/tst-sscanf.c (main): Converted to ...
15916 (do_test): ... this.
15917 (TEST_FUNCTION): New macro.
15918 Include test-skeleton.c.
15919 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
15920 (do_test): ... this.
15921 (TEST_FUNCTION): New macro.
15922 Include test-skeleton.c.
15923
15924 * elf/tst-audit9.c (main): Converted to ...
15925 (do_test): ... this.
15926 (TEST_FUNCTION): New macro.
15927 Include test-skeleton.c.
15928
15929 2015-07-15 Mike Frysinger <vapier@gentoo.org>
15930
15931 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
15932
15933 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15934
15935 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
15936 New variable.
15937
15938 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
15939
15940 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15941
15942 2015-07-14 Roland McGrath <roland@hack.frob.com>
15943
15944 * sysdeps/generic/dl-fileid.h: New file.
15945 * sysdeps/posix/dl-fileid.h: New file.
15946 * sysdeps/nacl/dl-fileid.h: New file.
15947 * include/link.h: Include <dl-fileid.h>.
15948 (struct link_map): Replace l_dev and l_ino with l_file_id.
15949 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
15950 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
15951 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
15952
15953 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15954
15955 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
15956
15957 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15958
15959 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
15960 Add iff $CXX is set.
15961 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
15962 Likewise.
15963 (tst-nodelete-zmodiff): Likewise.
15964 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
15965
15966 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15967
15968 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
15969
15970 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15971
15972 * sysdeps/aarch64/fpu/math_private.h
15973 (define math_opt_barrier): Add AArch64 version.
15974 (math_force_eval): Likewise.
15975
15976 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
15977
15978 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
15979
15980 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
15981
15982 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
15983 %ld with %jd and cast to intmax_t.
15984 (do_test_length_zero): Likewise.
15985
15986 2015-07-10 Roland McGrath <roland@hack.frob.com>
15987
15988 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
15989
15990 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
15991
15992 * sysdeps/tile/libm-test-ulps: Regenerated.
15993
15994 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
15995 Comment out the whole function, not just its body.
15996
15997 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15998
15999 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16000 locks.
16001
16002 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16003
16004 2015-07-10 Torvald Riegel <triegel@redhat.com>
16005
16006 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16007 (sem_assume_only_signals_cause_futex_EINTR): Remove.
16008
16009 2015-07-10 Torvald Riegel <triegel@redhat.com>
16010
16011 * sysdeps/nptl/futex-internal.h: New file.
16012 * sysdeps/nacl/futex-internal.h: New file.
16013 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16014 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16015 error checking.
16016 (setxid_unmark_thread): Likewise.
16017 (__nptl_setxid): Likewise.
16018 (__wait_lookup_done): Likewise.
16019 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16020 * nptl/nptl-init.c (sighandler_setxid): Likewise.
16021 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16022 * nptl/pthread_once.c (clear_once_control): Likewise.
16023 (__pthread_once_slow): Likewise.
16024 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16025 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16026 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16027 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16028 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16029 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16030 Likewise.
16031 (__pthread_rwlock_rdlock): Likewise.
16032 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16033 Likewise.
16034 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16035 Likewise.
16036 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16037 Likewise.
16038 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16039 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16040 Likewise.
16041 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16042 __ASSUME_PRIVATE_FUTEX check.
16043 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16044 Check that shared futexes are supported.
16045 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16046 wrappers with error checking.
16047 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16048 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16049 * nptl/pthread_barrierattr_setpshared.c
16050 (pthread_barrierattr_setpshared): Check that shared futexes are
16051 supported.
16052 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16053 Likewise.
16054 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16055 Likewise.
16056 * nptl/sem_init.c (futex_private_if_supported): Remove.
16057 (__new_sem_init): Adapt and check that shared futexes are supported.
16058 * nptl/sem_open.c (sem_open): Likewise.
16059 * nptl/sem_post.c (futex_wake): Remove.
16060 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16061 (do_futex_wait): Use futex wrappers with error checking.
16062 * nptl/sem_wait.c: Include lowlevellock.h.
16063 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16064 Use futex_supports_pshared.
16065 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16066 Use futex wrappers with error checking.
16067 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16068 Likewise.
16069 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16070 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16071 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16072 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16073 (futex_wake): Likewise.
16074 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16075 (do_futex_wait): Use futex wrappers with error checking.
16076 (__new_sem_wait_slow): Update EINTR handling.
16077 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16078
16079 2015-07-09 Martin Sebor <msebor@redhat.com>
16080
16081 [BZ #18435]
16082 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16083 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16084 * nptl/Makefile (test-xfail-tst-once5): Define.
16085
16086 2015-07-09 Roland McGrath <roland@hack.frob.com>
16087
16088 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16089 * elf/dl-minimal.c: For readability, reorder some definitions and
16090 introduce more page breaks. Include <stdio.h>.
16091 (__libc_fatal): New function.
16092
16093 * include/unistd.h: Add rtld_hidden_proto for _exit.
16094 * posix/_exit.c: Add rtld_hidden_def.
16095 * sysdeps/mach/hurd/_exit.c: Likewise.
16096 * sysdeps/nacl/_exit.c: Likewise.
16097 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16098 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16099
16100 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
16101
16102 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16103 bndmov encoding with zero displacement.
16104
16105 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
16106 H.J. Lu <hongjiu.lu@intel.com>
16107
16108 [BZ #18134]
16109 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16110 * sysdeps/i386/configure: Regenerated.
16111 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16112 (_dl_runtime_profile): Save and restore Intel MPX return bound
16113 registers when calling _dl_call_pltexit. Add
16114 PRESERVE_BND_REGS_PREFIX before return.
16115 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16116 (LRV_BND1_OFFSET): Likewise.
16117 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16118 lrv_bnd1.
16119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16120 typo in bndmov encoding.
16121 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16122 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
16123 branch instructions to preserve bounds.
16124
16125 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16126
16127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16128 [GLIBC_2.22]: Add fmemopen.
16129
16130 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
16131
16132 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16133 returns an error, also try to use host port from __mach_host_self for
16134 the __vm_wire call.
16135 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16136
16137 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
16138
16139 [BZ #18400]
16140 [BZ #18648]
16141 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16142 Fix pr_uid and pr_gid members.
16143 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16144 definition to elf_greg_t.
16145
16146 2015-07-08 Roland McGrath <roland@hack.frob.com>
16147
16148 [BZ #18383]
16149 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16150 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16151 * sysdeps/arm/configure: Regenerated.
16152 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16153 (test-xfail-tst-tlsalign-static): Variable removed.
16154
16155 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16156 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16157 rather than explicit 'ln -s'.
16158
16159 * resolv/rpc/netdb.h: New file.
16160 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16161
16162 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16163
16164 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16165 length buffers.
16166 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16167 test-skeleton.c.
16168
16169 [BZ #6544]
16170 [BZ #11216]
16171 [BZ #12836]
16172 [BZ #13151]
16173 [BZ #13152]
16174 [BZ #14292]
16175 * include/stdio.h (fmemopen): Remove hidden prototype.
16176 (__fmemopen): Add new hidden prototype.
16177 * libio/Makefile: Add oldfmemopen object.
16178 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16179 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16180 compliance.
16181 * libio/oldfmemopen.c: New file: old fmemopen implementation for
16182 symbol compatibility.
16183 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16184 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16185 fmemopen.
16186 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16187 on append and read mode.
16188 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16189 fmemopen.
16190 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16191 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16192 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16193 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16194 Likewise.
16195 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16196 [GLIBC_2.22]: Likewise.
16197 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16198 Likewise.
16199 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16200 Likewise.
16201 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16202 [GLIBC_2.22]: Likewise.
16203 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16204 [GLIBC_2.22]: Likewise.
16205 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16206 [GLIBC_2.22]: Likewise.
16207 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16208 [GLIBC_2.22]: Likewise.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16210 [GLIBC_2.22]: Likewise.
16211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16212 [GLIBC_2.22]: Likewise.
16213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16214 [GLIBC_2.22]: Likewise.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16216 Likewise.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16218 Likewise.
16219 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16220 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16221 [GLIBC_2.22]: Likewise.
16222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16223 [GLIBC_2.22]: Likewise.
16224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16225 [GLIBC_2.22]: Likewise.
16226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16227 [GLIBC_2.22]: Likewise.
16228 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16229 Likewise.
16230 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16231 Likewise.
16232 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16233 Likewise.
16234 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16235 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16236
16237 2015-07-08 Carlos O'Donell <carlos@redhat.com>
16238
16239 [BZ #18643]
16240 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16241 IPV6_PATHMTU, and IPV6_DONTFRAG.
16242
16243 2015-07-08 Feng Gao <gfree.wind@gmail.com>
16244
16245 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16246 and _IO_UNBUFFERED.
16247 * libio/oldfileops.c: Likewise.
16248 * libio/wfileops.c: Likewise.
16249
16250 2015-07-08 Mike Frysinger <vapier@gentoo.org>
16251
16252 * nscd/selinux.c: Delete selinux/flask.h include.
16253
16254 2015-07-08 Mike Frysinger <vapier@gentoo.org>
16255
16256 [BZ #18641]
16257 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16258 (putpwent): Likewise.
16259 (getpwnam): Likewise.
16260 (getpwent_r): Likewise.
16261 (getpwuid_r): Likewise.
16262 (getpwnam_r): Likewise.
16263 (fgetpwent_r): Likewise.
16264
16265 2015-07-08 Carlos O'Donell <carlos@redhat.com>
16266
16267 [BZ #18557]
16268 * inet/rcmd.c (__validuser2_sa): Check user first to
16269 short-circuit host check.
16270
16271 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
16272 Mikhail Ilin <m.ilin@samsung.com>
16273
16274 [BZ #17833]
16275 * elf/Makefile (tests): Add tst-nodelete.
16276 (modules-names): Add tst-nodelete-uniquemod.
16277 (tst-nodelete-uniquemod.so-no-z-defs): New.
16278 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16279 (tst-nodelete-zmod.so-no-z-defs): Likewise.
16280 ($(objpfx)tst-nodelete): Likewise.
16281 ($(objpfx)tst-nodelete.out): Likewise.
16282 (LDFLAGS-tst-nodelete): Likewise.
16283 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16284 * elf/dl-close.c (_dl_close_worker): Add a parameter to
16285 implement forced object deletion.
16286 (_dl_close): Pass false to _dl_close_worker.
16287 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16288 * elf/tst-nodelete.cc: New file.
16289 * elf/tst-nodeletelib.cc: Likewise.
16290 * elf/tst-znodeletelib.cc: Likewise.
16291 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16292
16293 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16294
16295 [BZ #18508]
16296 * stdlib/Makefile ($(objpfx)tst-makecontext3):
16297 Depend on $(libdl).
16298 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16299 is not called infinitely times.
16300 (backtrace_helper): New function.
16301 (trace_arg): New struct.
16302 (st1): Enlarge stack size.
16303 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16304 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16305 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16306 Likewise.
16307
16308 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16309
16310 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16311
16312 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
16313
16314 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16315 Include sys/types.h instead of bits/types.h.
16316 Remove inclusion of bits/wordsize.h.
16317
16318 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16319
16320 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16321 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16322 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16323 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16324 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16325 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16326
16327 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16328
16329 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16330 link-defines.sym.
16331 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16332 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16333 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16334 and LR_SIZE.
16335 * sysdeps/i386/link-defines.sym: New file.
16336
16337 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
16338
16339 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16340 (modules-names): Add tst-auditmod3a tst-auditmod3b.
16341 ($(objpfx)tst-audit3): New rule.
16342 ($(objpfx)tst-audit3.out): Likewise.
16343 * sysdeps/i386/tst-audit3.c: New file.
16344 * sysdeps/i386/tst-audit3.h: Likewise.
16345 * sysdeps/i386/tst-auditmod3a.c: Likewise.
16346 * sysdeps/i386/tst-auditmod3b.c: Likewise.
16347
16348 2015-07-07 Torvald Riegel <triegel@redhat.com>
16349
16350 [BZ #18633]
16351 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16352 pointer in C code.
16353 (__strcat_c): Likewise.
16354 (__strcat_g): Likewise.
16355
16356 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
16357
16358 [BZ #18592]
16359 * misc/sbrk.c: Set errno to ENOMEM on overflow.
16360
16361 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16362
16363 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16364 New function. (__ieee754_sqrtf): New function.
16365 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16366 New function.
16367 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16368 New function.
16369
16370 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
16371
16372 * sysdeps/ieee754/support.c: Remove unused file.
16373
16374 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
16375
16376 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16377 registers instead of d ones so the layout is kernel abi compatible.
16378 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16379 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16380 Likewise.
16381
16382 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
16383
16384 * sysdeps/aarch64/libm-test-ulps: Regenerated.
16385
16386 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16387
16388 [BZ #18619]
16389 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16390 and return argument in case of subnormal argument.
16391
16392 2015-07-01 Martin Sebor <msebor@redhat.com>
16393
16394 [BZ #18435]
16395 * nptl/Makefile: Add tst-once5.cc.
16396 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16397 Remove macro redefinitions.
16398 * nptl/tst-once5.cc: New test.
16399
16400 2015-07-01 Joseph Myers <joseph@codesourcery.com>
16401
16402 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16403
16404 * sysdeps/arm/libm-test-ulps: Regenerated.
16405
16406 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16407 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16408
16409 2015-06-30 Torvald Riegel <triegel@redhat.com>
16410
16411 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16412 lll_lock_wait_private and lll_futex_wake probes.
16413
16414 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16415 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16416 Likewise.
16417 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16418 atomic_spin_nop.
16419 * sysdeps/x86_64/bits/atomic.h: Likewise.
16420 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16421 to atomic_spin_nop and move ...
16422 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16423 ... here and ...
16424 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16425 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16426 atomic_spin_nop instead of BUSY_WAIT_NOP.
16427 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16428 Likewise.
16429 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16430 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16431 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16432 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16433 instead of atomic_delay.
16434
16435 2015-06-29 Joseph Myers <joseph@codesourcery.com>
16436
16437 [BZ #18613]
16438 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16439 X_ADJ not X when adjusting exponent.
16440 (__ieee754_gamma_r): Do intermediate computations in
16441 round-to-nearest then adjust overflowing and underflowing results
16442 as needed.
16443 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
16444 of X_ADJ not X when adjusting exponent.
16445 (__ieee754_gammaf_r): Do intermediate computations in
16446 round-to-nearest then adjust overflowing and underflowing results
16447 as needed.
16448 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
16449 log of X_ADJ not X when adjusting exponent.
16450 (__ieee754_gammal_r): Do intermediate computations in
16451 round-to-nearest then adjust overflowing and underflowing results
16452 as needed. Use 1.0L not 1.0f as numerator of division.
16453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
16454 log of X_ADJ not X when adjusting exponent.
16455 (__ieee754_gammal_r): Do intermediate computations in
16456 round-to-nearest then adjust overflowing and underflowing results
16457 as needed. Use 1.0L not 1.0f as numerator of division.
16458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
16459 of X_ADJ not X when adjusting exponent.
16460 (__ieee754_gammal_r): Do intermediate computations in
16461 round-to-nearest then adjust overflowing and underflowing results
16462 as needed. Use 1.0L not 1.0f as numerator of division.
16463 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
16464 to auto-libm-test-in.
16465 (tgamma_test): Use ALL_RM_TEST.
16466 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
16467 tests of tgamma with spurious-overflow.
16468 * math/auto-libm-test-out: Regenerated.
16469 * math/gen-libm-have-vector-test.sh: Do not check for START.
16470 * sysdeps/i386/fpu/libm-test-ulps: Update.
16471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16472
16473 [BZ #18612]
16474 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
16475 arguments, just return 0.5 times the argument, with underflow
16476 forced as needed.
16477 * math/auto-libm-test-in: Add more tests of j1.
16478 * math/auto-libm-test-out: Regenerated.
16479
16480 [BZ #16559]
16481 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
16482 (__ieee754_j1): Force underflow exception for small results.
16483 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16484 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
16485 (__ieee754_j1f): Force underflow exception for small results.
16486 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16487 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
16490 (__ieee754_j1l): Force underflow exception for small results.
16491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16492 * math/auto-libm-test-in: Add more tests of j1 and jn.
16493 * math/auto-libm-test-out: Regenerated.
16494
16495 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
16496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
16497 (PF_MPLS): Likewise.
16498 (AF_IB): Likewise.
16499 (AF_MPLS): Likewise.
16500 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
16501 value and macro.
16502 (MS_RMT_MASK): Include MS_LAZYTIME.
16503
16504 2015-06-26 Mel Gorman <mgorman@suse.de>
16505
16506 [BZ #18502]
16507 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
16508 already minimal.
16509
16510 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
16511
16512 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
16513 (DT_MIPS_NUM): Update.
16514 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
16515 DT_MIPS_RLD_MAP_REL.
16516
16517 2015-06-25 Joseph Myers <joseph@codesourcery.com>
16518
16519 [BZ #16559]
16520 [BZ #18602]
16521 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
16522 round-to-nearest internally then recompute results that
16523 underflowed to zero in the original rounding mode.
16524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16525 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16527 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16528 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
16529 * sysdeps/i386/fpu/libm-test-ulps: Update.
16530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16531
16532 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
16533
16534 * NEWS: Fixed description of link with vector math library.
16535
16536 2015-06-25 Andreas Schwab <schwab@suse.de>
16537
16538 [BZ #18549]
16539 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
16540 * libio/test-fmemopen.c (do_test): Add test for it.
16541
16542 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
16543
16544 [BZ #17841]
16545 * Makeconfig (no-pie-ldflag): New.
16546 (+link): Set to $(+link-pie) if default to PIE.
16547 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
16548 * config.make.in (build-pie-default): New.
16549 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
16550 is default. AC_SUBST.
16551 * configure: Regenerated.
16552 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
16553
16554 2015-06-24 Roland McGrath <roland@hack.frob.com>
16555
16556 * nptl/descr.h (struct pthread): Change type of field setxid_futex
16557 to 'unsigned int'.
16558
16559 * resolv/gai_misc.h (struct waitlist): Change type of field
16560 counterp to 'volatile unsigned int *'.
16561 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
16562 FUTEXADDR and OLDVAL.
16563 * resolv/getaddrinfo_a.c (getaddrinfo_a):
16564 Give local variable TOTAL type 'volatile unsigned int'.
16565 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16566 * resolv/gai_suspend.c (gai_suspend):
16567 Give local variable CNTR type 'unsigned int'.
16568
16569 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
16570 counterp to 'volatile unsigned int *'.
16571 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
16572 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
16573 (aio_suspend): Give local variable CNTR type 'unsigned int'.
16574 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
16575 Give local variable TOTAL type 'volatile unsigned int'.
16576 (struct async_waitlist): Change type of field counter to 'unsigned int'.
16577
16578 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 [BZ #18383]
16581 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
16582 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
16583 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
16584 comment for i386/x86-64.
16585 (test-xfail-tst-tlsalign-extern-static): Removed.
16586
16587 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16588
16589 * math/test-double.h: New file.
16590 * math/test-float.h: Likewise.
16591 * math/test-ldouble.h: Likewise.
16592 * math/test-math-inline.h: Likewise.
16593 * math/test-math-no-inline.h: Likewise.
16594 * math/test-math-scalar.h: Likewise.
16595 * math/test-math-vector.h: Likewise.
16596 * math/test-vec-loop.h: Remove file. Contents moved into
16597 test-math-vector.h.
16598 * math/libm-test.inc (MATHCONST): Do not document macro.
16599 * math/test-double.c: Include test-double.h, test-math-no-inline.h
16600 and test-math-scalar.h.
16601 (FUNC): Remove macro.
16602 (FUNC_TEST): Likewise.
16603 (FLOAT): Likewise.
16604 (MATHCONST): Likewise.
16605 (PRINTF_EXPR): Likewise.
16606 (PRINTF_XEXPR): Likewise.
16607 (PRINTF_NEXPR): Likewise.
16608 (TEST_DOUBLE): Likewise.
16609 (TEST_MATHVEC): Likewise.
16610 (__NO_MATH_INLINES): Likewise.
16611 * math/test-float.c: Include test-float.h, test-math-no-inline.h
16612 and test-math-scalar.h.
16613 (FUNC): Remove macro.
16614 (FUNC_TEST): Likewise.
16615 (FLOAT): Likewise.
16616 (MATHCONST): Likewise.
16617 (PRINTF_EXPR): Likewise.
16618 (PRINTF_XEXPR): Likewise.
16619 (PRINTF_NEXPR): Likewise.
16620 (TEST_FLOAT): Likewise.
16621 (TEST_MATHVEC): Likewise.
16622 (__NO_MATH_INLINES): Likewise.
16623 * math/test-idouble.c: Include test-double.h, test-math-inline.h
16624 and test-math-scalar.h.
16625 (FUNC): Remove macro.
16626 (FUNC_TEST): Likewise.
16627 (FLOAT): Likewise.
16628 (MATHCONST): Likewise.
16629 (PRINTF_EXPR): Likewise.
16630 (PRINTF_XEXPR): Likewise.
16631 (PRINTF_NEXPR): Likewise.
16632 (TEST_DOUBLE): Likewise.
16633 (TEST_MATHVEC): Likewise.
16634 (TEST_INLINE): Likewise.
16635 (__NO_MATH_INLINES): Likewise.
16636 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
16637 test-math-scalar.h.
16638 (FUNC): Remove macro.
16639 (FUNC_TEST): Likewise.
16640 (FLOAT): Likewise.
16641 (MATHCONST): Likewise.
16642 (PRINTF_EXPR): Likewise.
16643 (PRINTF_XEXPR): Likewise.
16644 (PRINTF_NEXPR): Likewise.
16645 (TEST_FLOAT): Likewise.
16646 (TEST_MATHVEC): Likewise.
16647 (TEST_INLINE): Likewise.
16648 (__NO_MATH_INLINES): Likewise.
16649 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
16650 and test-math-scalar.h.
16651 (FUNC): Remove macro.
16652 (FUNC_TEST): Likewise.
16653 (FLOAT): Likewise.
16654 (MATHCONST): Likewise.
16655 (PRINTF_EXPR): Likewise.
16656 (PRINTF_XEXPR): Likewise.
16657 (PRINTF_NEXPR): Likewise.
16658 (TEST_LDOUBLE): Likewise.
16659 (TEST_MATHVEC): Likewise.
16660 (TEST_INLINE): Likewise.
16661 (__NO_MATH_INLINES): Likewise.
16662 * math/test-ldouble.c: Include test-ldouble.h,
16663 test-math-no-inline.h and test-math-scalar.h.
16664 (FUNC): Remove macro.
16665 (FUNC_TEST): Likewise.
16666 (FLOAT): Likewise.
16667 (MATHCONST): Likewise.
16668 (PRINTF_EXPR): Likewise.
16669 (PRINTF_XEXPR): Likewise.
16670 (PRINTF_NEXPR): Likewise.
16671 (TEST_LDOUBLE): Likewise.
16672 (TEST_MATHVEC): Likewise.
16673 (__NO_MATH_INLINES): Likewise.
16674 * math/test-double-vlen2.h: Include test-double.h,
16675 test-math-no-inline.h and test-math-vector.h.
16676 (FLOAT): Remove macro.
16677 (FUNC): Likewise.
16678 (MATHCONST): Likewise.
16679 (PRINTF_EXPR): Likewise.
16680 (PRINTF_XEXPR): Likewise.
16681 (PRINTF_NEXPR): Likewise.
16682 (TEST_DOUBLE): Likewise.
16683 (TEST_MATHVEC): Likewise.
16684 (__NO_MATH_INLINES): Likewise.
16685 (CNCT): Likewise.
16686 (CONCAT): Likewise.
16687 (WRAPPER_NAME): Likewise.
16688 (WRAPPER_DECL): Likewise.
16689 (WRAPPER_DECL_ff): Likewise.
16690 (WRAPPER_DECL_fFF): Likewise.
16691 (VECTOR_WRAPPER): Likewise.
16692 (VECTOR_WRAPPER_ff): Likewise.
16693 (VECTOR_WRAPPER_fFF): Likewise.
16694 (VEC_LEN): New macro.
16695 * math/test-double-vlen4.h: Include test-double.h,
16696 test-math-no-inline.h and test-math-vector.h.
16697 (FLOAT): Remove macro.
16698 (FUNC): Likewise.
16699 (MATHCONST): Likewise.
16700 (PRINTF_EXPR): Likewise.
16701 (PRINTF_XEXPR): Likewise.
16702 (PRINTF_NEXPR): Likewise.
16703 (TEST_DOUBLE): Likewise.
16704 (TEST_MATHVEC): Likewise.
16705 (__NO_MATH_INLINES): Likewise.
16706 (CNCT): Likewise.
16707 (CONCAT): Likewise.
16708 (WRAPPER_NAME): Likewise.
16709 (WRAPPER_DECL): Likewise.
16710 (WRAPPER_DECL_ff): Likewise.
16711 (WRAPPER_DECL_fFF): Likewise.
16712 (VECTOR_WRAPPER): Likewise.
16713 (VECTOR_WRAPPER_ff): Likewise.
16714 (VECTOR_WRAPPER_fFF): Likewise.
16715 (VEC_LEN): New macro.
16716 * math/test-double-vlen8.h: Include test-double.h,
16717 test-math-no-inline.h and test-math-vector.h.
16718 (FLOAT): Remove macro.
16719 (FUNC): Likewise.
16720 (MATHCONST): Likewise.
16721 (PRINTF_EXPR): Likewise.
16722 (PRINTF_XEXPR): Likewise.
16723 (PRINTF_NEXPR): Likewise.
16724 (TEST_DOUBLE): Likewise.
16725 (TEST_MATHVEC): Likewise.
16726 (__NO_MATH_INLINES): Likewise.
16727 (CNCT): Likewise.
16728 (CONCAT): Likewise.
16729 (WRAPPER_NAME): Likewise.
16730 (WRAPPER_DECL): Likewise.
16731 (WRAPPER_DECL_ff): Likewise.
16732 (WRAPPER_DECL_fFF): Likewise.
16733 (VECTOR_WRAPPER): Likewise.
16734 (VECTOR_WRAPPER_ff): Likewise.
16735 (VECTOR_WRAPPER_fFF): Likewise.
16736 (VEC_LEN): New macro.
16737 * math/test-float-vlen4.h: Include test-float.h,
16738 test-math-no-inline.h and test-math-vector.h.
16739 (FLOAT): Remove macro.
16740 (FUNC): Likewise.
16741 (MATHCONST): Likewise.
16742 (PRINTF_EXPR): Likewise.
16743 (PRINTF_XEXPR): Likewise.
16744 (PRINTF_NEXPR): Likewise.
16745 (TEST_FLOAT): Likewise.
16746 (TEST_MATHVEC): Likewise.
16747 (__NO_MATH_INLINES): Likewise.
16748 (CNCT): Likewise.
16749 (CONCAT): Likewise.
16750 (WRAPPER_NAME): Likewise.
16751 (WRAPPER_DECL): Likewise.
16752 (WRAPPER_DECL_ff): Likewise.
16753 (WRAPPER_DECL_fFF): Likewise.
16754 (VECTOR_WRAPPER): Likewise.
16755 (VECTOR_WRAPPER_ff): Likewise.
16756 (VECTOR_WRAPPER_fFF): Likewise.
16757 (VEC_LEN): New macro.
16758 * math/test-float-vlen8.h: Include test-float.h,
16759 test-math-no-inline.h and test-math-vector.h.
16760 (FLOAT): Remove macro.
16761 (FUNC): Likewise.
16762 (MATHCONST): Likewise.
16763 (PRINTF_EXPR): Likewise.
16764 (PRINTF_XEXPR): Likewise.
16765 (PRINTF_NEXPR): Likewise.
16766 (TEST_FLOAT): Likewise.
16767 (TEST_MATHVEC): Likewise.
16768 (__NO_MATH_INLINES): Likewise.
16769 (CNCT): Likewise.
16770 (CONCAT): Likewise.
16771 (WRAPPER_NAME): Likewise.
16772 (WRAPPER_DECL): Likewise.
16773 (WRAPPER_DECL_ff): Likewise.
16774 (WRAPPER_DECL_fFF): Likewise.
16775 (VECTOR_WRAPPER): Likewise.
16776 (VECTOR_WRAPPER_ff): Likewise.
16777 (VECTOR_WRAPPER_fFF): Likewise.
16778 (VEC_LEN): New macro.
16779 * math/test-float-vlen16.h: Include test-float.h,
16780 test-math-no-inline.h and test-math-vector.h.
16781 (FLOAT): Remove macro.
16782 (FUNC): Likewise.
16783 (MATHCONST): Likewise.
16784 (PRINTF_EXPR): Likewise.
16785 (PRINTF_XEXPR): Likewise.
16786 (PRINTF_NEXPR): Likewise.
16787 (TEST_FLOAT): Likewise.
16788 (TEST_MATHVEC): Likewise.
16789 (__NO_MATH_INLINES): Likewise.
16790 (CNCT): Likewise.
16791 (CONCAT): Likewise.
16792 (WRAPPER_NAME): Likewise.
16793 (WRAPPER_DECL): Likewise.
16794 (WRAPPER_DECL_ff): Likewise.
16795 (WRAPPER_DECL_fFF): Likewise.
16796 (VECTOR_WRAPPER): Likewise.
16797 (VECTOR_WRAPPER_ff): Likewise.
16798 (VECTOR_WRAPPER_fFF): Likewise.
16799 (VEC_LEN): New macro.
16800 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
16801 test-vec-loop.h.
16802 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16803 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16804 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16805 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16806 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16807 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16808 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16809
16810 2015-06-24 Roland McGrath <roland@hack.frob.com>
16811
16812 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
16813 (__getlogin_r): ... this.
16814
16815 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16816
16817 [BZ #18594]
16818 * math/s_ccosh.c (__ccosh): Compare with least normal value
16819 instead of comparing class with FP_SUBNORMAL.
16820 * math/s_ccoshf.c (__ccoshf): Likewise.
16821 * math/s_ccoshl.c (__ccoshl): Likewise.
16822 * math/s_cexp.c (__cexp): Likewise.
16823 * math/s_cexpf.c (__cexpf): Likewise.
16824 * math/s_cexpl.c (__cexpl): Likewise.
16825 * math/s_csin.c (__csin): Likewise.
16826 * math/s_csinf.c (__csinf): Likewise.
16827 * math/s_csinh.c (__csinh): Likewise.
16828 * math/s_csinhf.c (__csinhf): Likewise.
16829 * math/s_csinhl.c (__csinhl): Likewise.
16830 * math/s_csinl.c (__csinl): Likewise.
16831 * math/s_ctan.c (__ctan): Likewise.
16832 * math/s_ctanf.c (__ctanf): Likewise.
16833 * math/s_ctanh.c (__ctanh): Likewise.
16834 * math/s_ctanhf.c (__ctanhf): Likewise.
16835 * math/s_ctanhl.c (__ctanhl): Likewise.
16836 * math/s_ctanl.c (__ctanl): Likewise.
16837 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
16838 csin, csinh, ctan and ctanh.
16839 * math/auto-libm-test-out: Regenerated.
16840 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
16841 * sysdeps/i386/fpu/libm-test-ulps: Update.
16842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16843
16844 2015-06-24 Roland McGrath <roland@hack.frob.com>
16845
16846 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
16847 return value is wrong, print the expected value too.
16848
16849 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
16850
16851 [BZ #18585]
16852 * elf/readlib.c (is_gdb_python_file): New.
16853 (process_file): Don't issue errors on filenames with -gdb.py
16854 suffix.
16855
16856 2015-06-24 Joseph Myers <joseph@codesourcery.com>
16857
16858 * math/auto-libm-test-in: Add more tests of csin and csinh.
16859 * math/auto-libm-test-out: Regenerated.
16860 * math/libm-test.inc (csin_test_data): Remove tests moved to
16861 auto-libm-test-in.
16862 (csinh_test_data): Likewise.
16863
16864 [BZ #18593]
16865 * math/s_csin.c (__csin): Negate before rather than after possibly
16866 overflowing multiplication.
16867 * math/s_csinf.c (__csinf): Likewise.
16868 * math/s_csinh.c (__csinh): Likewise.
16869 * math/s_csinhf.c (__csinhf): Likewise.
16870 * math/s_csinhl.c (__csinhl): Likewise.
16871 * math/s_csinl.c (__csinl): Likewise.
16872 * math/auto-libm-test-in: Add some tests of csin and csinh.
16873 * math/auto-libm-test-out: Regenerated.
16874 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
16875 (csinh_test_data): Likewise.
16876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16877
16878 [BZ #18586]
16879 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
16880 underflow exception for small results.
16881
16882 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
16883
16884 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16885 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
16886 variable and included header.
16887 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
16888 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
16889 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
16890 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
16891 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
16892 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16893 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
16895 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
16896 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
16897 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
16898 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
16899 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
16900 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
16901 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
16902 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
16903
16904 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16905
16906 [BZ #16526]
16907 [BZ #16538]
16908 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
16909 (__sin): Force underflow exception for arguments with small
16910 absolute value.
16911 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
16912 (__kernel_sinf): Force underflow exception for arguments with
16913 small absolute value.
16914 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
16915 (__kernel_sincosl): Force underflow exception for arguments with
16916 small absolute value.
16917 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
16918 (__kernel_sinl): Force underflow exception for arguments with
16919 small absolute value.
16920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
16921 (__kernel_sincosl): Force underflow exception for arguments with
16922 small absolute value.
16923 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
16924 (__kernel_sinl): Force underflow exception for arguments with
16925 small absolute value.
16926 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
16927 (__kernel_sinl): Force underflow exception for arguments with
16928 small absolute value.
16929 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
16930 (__kernel_sinf): Force underflow exception for arguments with
16931 small absolute value.
16932 * math/auto-libm-test-in: Add more tests of sin and sincos.
16933 * math/auto-libm-test-out: Regenerated.
16934
16935 [BZ #18245]
16936 [BZ #18583]
16937 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
16938 (__kernel_standard_l): Use feholdexcept and fesetenv around
16939 conversion to double instead of special-casing overflow and
16940 underflow.
16941 * math/libm-test.inc (fmod_test_data): Add more tests.
16942 (remainder_test_data): Likewise.
16943 (sqrt_test_data): Likewise.
16944
16945 2015-06-23 Torvald Riegel <triegel@redhat.com>
16946
16947 [BZ #17403]
16948 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
16949 atomic_read_barrier, atomic_write_barrier): Define.
16950 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
16951 atomic_read_barrier, atomic_write_barrier): Define.
16952
16953 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16954
16955 * math/Makefile [$(PERL) != no]
16956 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
16957 dependency on libm-test.stmp below the inclusion of Rules.
16958
16959 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
16960
16961 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
16962 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
16963 and included header.
16964 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
16965 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
16966 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
16967 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
16968 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
16969 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
16970 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16972 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
16973 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
16974 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
16975 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
16976 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
16977 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
16978 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
16979 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
16980 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
16981 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
16982 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
16983
16984 2015-06-23 Joseph Myers <joseph@codesourcery.com>
16985
16986 [BZ #18371]
16987 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
16988 intermediate but not final result might underflow.
16989 * math/s_csqrtf.c (__csqrtf): Likewise.
16990 * math/s_csqrtl.c (__csqrtl): Likewise.
16991 * math/auto-libm-test-in: Add more tests of csqrt.
16992 * math/auto-libm-test-out: Regenerated.
16993 * sysdeps/i386/fpu/libm-test-ulps: Update.
16994
16995 [BZ #18219]
16996 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
16997 threshold on absolute value of exponent for which scaling is used.
16998 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16999 * math/auto-libm-test-in: Add more tests of exp2.
17000 * math/auto-libm-test-out: Regenerated.
17001
17002 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
17003
17004 [BZ #17977]
17005 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17006 when initializing interface list, based on the bug analysis
17007 and the patch proposed by Eric Newton.
17008 * resolv/tst-res_hconf_reorder.c: New test.
17009 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17010 tst-res_hconf_reorder.
17011 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17012 and $(shared-thread-library).
17013 (tst-res_hconf_reorder-ENV): New variable.
17014
17015 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17016 in comment.
17017
17018 2015-06-22 Joseph Myers <joseph@codesourcery.com>
17019
17020 [BZ #16353]
17021 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17022 (__expm1): Force underflow exception for arguments with small
17023 absolute value.
17024 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17025 (__expm1f): Force underflow exception for arguments with small
17026 absolute value.
17027 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17028 (__expm1): Force underflow exception for arguments with small
17029 absolute value.
17030 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17031 (__expm1f): Force underflow exception for arguments with small
17032 absolute value.
17033 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17034 Check for small arguments before calling __expm1.
17035 * math/auto-libm-test-in: Do not mark underflow exceptions as
17036 possibly missing for bug 16353.
17037 * math/auto-libm-test-out: Regenerated.
17038
17039 2015-06-22 Andreas Schwab <schwab@suse.de>
17040
17041 [BZ #18513]
17042 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17043 PTR queries.
17044
17045 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
17046
17047 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17048
17049 * string/strcoll_l.c: Remove unused struct element idxnow.
17050
17051 2015-06-21 Joseph Myers <joseph@codesourcery.com>
17052
17053 [BZ #18569]
17054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17055 underflow and return argument in case of subnormal argument.
17056 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17057 Likewise.
17058 * math/auto-libm-test-in: Add more tests of expm1.
17059 * math/auto-libm-test-out: Regenerated.
17060
17061 [BZ #16361]
17062 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17063 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17064 tiny results.
17065 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17066 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17067 tiny results.
17068 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
17069 mark underflow exceptions as possibly missing for bug 16361.
17070 * math/auto-libm-test-out: Regenerated.
17071
17072 2015-06-19 Joseph Myers <joseph@codesourcery.com>
17073
17074 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17075 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17076 Remove variable.
17077 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17078 (test-xfail-XOPEN2K8/utmpx.h/conform).
17079
17080 * conform/conformtest.pl ($xerrors): New variable.
17081 (note_error): New function.
17082 (compiletest): New argument $xfail. Use not_error.
17083 (runtest): Likewise.
17084 (top level): Handle xfail- lines. Update calls to compiletest and
17085 runtest. Handle xfail- and optional- in headers listed with
17086 allow-header.
17087 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17088 (O_EXEC): Likewise.
17089 (O_SEARCH): Likewise.
17090 * conform/data/stropts.h-data (ioctl): Likewise.
17091 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17092 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17093 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17094 (msghdr.msg_controllen): Likewise.
17095 (cmsghdr.cmsg_len): Likewise.
17096 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17097 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17098 variable.
17099 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17100 (test-xfail-XPG4/stropts.h/conform): Likewise.
17101 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17102 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17103 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17104 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17105 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17106 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17107 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17108 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17109 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17111 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17112 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17113 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17114 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17115 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17116 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17117 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17118 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17119 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17120
17121 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
17122
17123 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17124 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17125 definitions for proper unfolding of __MATHDECL_VEC.
17126
17127 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17128
17129 * benchtests/bench-strcoll.c:
17130 Include string.h.
17131 (main): Remove unused variable res.
17132
17133 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17134
17135 * timezone/Makefile (%/UTC %/Universal):
17136 Generate test-result files for UTC and Universal.
17137
17138 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
17139
17140 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17141
17142 2015-06-18 Joseph Myers <joseph@codesourcery.com>
17143
17144 [BZ #16350]
17145 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17146 for arguments with small absolute value.
17147 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17148 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17149 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17150 (__asinh): Force underflow exception for arguments with small
17151 absolute value.
17152 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17153 (__asinhf): Force underflow exception for arguments with small
17154 absolute value.
17155 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17156 (__asinhl): Force underflow exception for arguments with small
17157 absolute value.
17158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17159 (__asinhl): Force underflow exception for arguments with small
17160 absolute value.
17161 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17162 (__asinhl): Force underflow exception for arguments with small
17163 absolute value.
17164 * math/auto-libm-test-in: Do not mark underflow exceptions as
17165 possibly missing for bug 16350.
17166 * math/auto-libm-test-out: Regenerated.
17167
17168 * include/bits/ipc.h: Remove file.
17169 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17170 variable.
17171 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17172 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17173 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17174 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17175 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17176 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17177 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17178 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17179 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17180
17181 * math/auto-libm-test-in: Remove spurious underflow allowance for
17182 tests of cexp.
17183 * math/auto-libm-test-out: Regenerated.
17184
17185 [BZ #18558]
17186 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17187 unconditional definition.
17188 (MCAST_BLOCK_SOURCE): Likewise.
17189 (MCAST_UNBLOCK_SOURCE): Likewise.
17190 (MCAST_LEAVE_GROUP): Likewise.
17191 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17192 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17193 (MCAST_MSFILTER): Likewise.
17194 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17195 Remove variable.
17196 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17197 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17198 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17199 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17200 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17201
17202 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
17203
17204 * NEWS: Mention addition of x86_64 vector sincosf.
17205 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17206 * math/test-float-vlen4.h: Likewise.
17207 * math/test-float-vlen8.h: Likewise.
17208 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17209 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17210 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17211 * sysdeps/x86_64/fpu/Versions: New versions added.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17213 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17214 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17215 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17216 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17217 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17218 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17219 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17220 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17221 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17222 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17223 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17224 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17225 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17226 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17227 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17228 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17229 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17230 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17231 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17232 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17233 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17234 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17235 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17236
17237 * NEWS: Mention addition of x86_64 vector sincos.
17238 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17239 * math/math.h (__MATHDECL_VEC): New macro.
17240 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17241 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17242 declaration under condition.
17243 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17244 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17245 TEST_VEC_LOOP change.
17246 * math/test-double-vlen4.h: Likewise.
17247 * math/test-double-vlen8.h: Likewise.
17248 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17249 * math/test-float-vlen4.h: Likewise.
17250 * math/test-float-vlen8.h: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17252 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17253 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17254 * sysdeps/x86_64/fpu/Versions: New versions added.
17255 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17256 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17257 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17258 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17259 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17260 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17261 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17262 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17263 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17264 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17265 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17266 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17267 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17268 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17269 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17270 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17271 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17272 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17273 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17274 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17275 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17276 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17277 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17278 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17279
17280 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17281 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17282 redirections for powf.
17283 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17284 * sysdeps/x86_64/fpu/Versions: New versions added.
17285 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17286 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17287 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17288 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17289 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17290 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17291 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17292 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17293 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17294 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17295 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17296 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17297 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17298 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17299 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17300 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17301 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17302 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17303 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17304 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17305 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17306 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17307 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17308 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17309 * math/test-float-vlen16.h: Fixed 2 argument macro.
17310 * math/test-float-vlen4.h: Likewise.
17311 * math/test-float-vlen8.h: Likewise.
17312 * NEWS: Mention addition of x86_64 vector powf.
17313
17314 2015-06-17 Joseph Myers <joseph@codesourcery.com>
17315
17316 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17317 and redefine.
17318 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17319 and redefine.
17320 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17323
17324 [BZ #18553]
17325 * resource/getpriority.c (getpriority): Rename to __getpriority
17326 and define as weak alias of __getpriority.
17327 * resource/setpriority.c (setpriority): Rename to __setpriority
17328 and define as weak alias of __setpriority.
17329 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17330 __getpriority and define as weak alias of __getpriority.
17331 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17332 __setpriority and define as weak alias of __setpriority.
17333 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17334 strong name.
17335 (setpriority): Use __setpriority as strong name.
17336 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17337 __getpriority and define as weak alias of __getpriority.
17338 * include/sys/resource.h (__getpriority): Declare. Use
17339 libc_hidden_proto.
17340 (__setpriority): Likewise.
17341 (getpriority): Don't use libc_hidden_proto.
17342 (setpriority): Likewise.
17343 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17344 getpriority. Call __setpriority instead of setpriority.
17345 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17346 Remove variable.
17347
17348 [BZ #18547]
17349 * misc/getttyent.c (getttynam): Rename to __getttynam and define
17350 as weak alias of __getttynam. Use prototype function definition.
17351 Call __setttyent, __getttyent and __endttyent instead of
17352 setttyent, getttyent and endttyent.
17353 (getttyent): Rename to __getttyent and define as weak alias of
17354 __getttyent. Call __setttyent instead of setttyent. Call
17355 __fgets_unlocked instead of fgets_unlocked.
17356 (setttyent): Rename to __setttyent and define as weak alias of
17357 __setttyent.
17358 (endttyent): Rename to __endttyent and define as weak alias of
17359 __endttyent.
17360 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
17361 (__setttyent): Likewise.
17362 (__endttyent): Likewise.
17363 (getttyent): Don't use libc_hidden_proto.
17364 (setttyent): Likewise.
17365 (endttyent): Likewise.
17366 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17367 __endttyent instead of setttyent, getttyent and endttyent.
17368 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17369 Remove variable.
17370
17371 [BZ #18546]
17372 * socket/recv.c (__recv): Use libc_hidden_def.
17373 * socket/socket.c (__socket): Likewise.
17374 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17375 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17376 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17377 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17378 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17379 libc_hidden_def.
17380 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17381 libc_hidden_weak.
17382 * include/sys/socket.h (__socket): Do not use attribute_hidden.
17383 Use libc_hidden_proto.
17384 (__recv): Likewise.
17385 * socket/Versions (libc): Export __recv and __socket at version
17386 GLIBC_PRIVATE.
17387 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17388 instead of recv.
17389 (init_mq_netlink): Call __socket instead of socket.
17390 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17391 Remove variable.
17392
17393 [BZ #18545]
17394 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17395 __mq_timedreceive and define as alias of __mq_timedreceive. Use
17396 hidden_weak.
17397 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17398 define as alias of __mq_timedsend. Use hidden_weak.
17399 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17400 __mq_timedsend as strong name.
17401 (mq_timedreceive): Use __mq_timedreceive as strong name.
17402 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
17403 (__mq_timedreceive): Likewise.
17404 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17405 __mq_timedreceive instead of mq_timedreceive.
17406 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17407 instead of mq_timedsend.
17408 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17409 Remove variable.
17410
17411 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17412 hidden_def and hidden_weak instead of libc_hidden_def and
17413 libc_hidden_weak.
17414 (top level): Refer to hidden_def in comment.
17415 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17416 macro. Use it instead of libc_hidden_def.
17417 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17418 specify __GI_* name explicitly.
17419 (mq_timedreceive): Likewise.
17420 (mq_setattr): Likewise.
17421
17422 [BZ #18544]
17423 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17424 __pthread_barrier_init and define as weak alias of
17425 __pthread_barrier_init.
17426 * sysdeps/sparc/nptl/pthread_barrier_init.c
17427 (pthread_barrier_init): Likewise.
17428 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17429 __pthread_barrier_wait and define as weak alias of
17430 __pthread_barrier_wait.
17431 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17432 (pthread_barrier_wait): Likewise.
17433 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17434 (pthread_barrier_wait): Likewise.
17435 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17436 (pthread_barrier_wait): Likewise.
17437 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17438 (pthread_barrier_wait): Likewise.
17439 * nptl/Versions (libpthread): Export __pthread_barrier_init and
17440 __pthread_barrier_wait at version GLIBC_PRIVATE.
17441 * include/pthread.h (__pthread_barrier_init): Declare.
17442 (__pthread_barrier_wait): Likewise.
17443 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
17444 Call __pthread_barrier_wait instead of pthread_barrier_wait.
17445 (helper_thread): Likewise.
17446 (init_mq_netlink): Call __pthread_barrier_init instead of
17447 pthread_barrier_init.
17448
17449 [BZ #18542]
17450 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
17451 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
17452 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
17453 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
17454 vswscanf.
17455 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
17456 Remove variable.
17457
17458 [BZ #18540]
17459 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
17460 strong alias of _IO_fflush. Use libc_hidden_def.
17461 * libio/iofflush_u.c (fflush_unlocked): Rename to
17462 __fflush_unlocked and define as weak alias of __fflush_unlocked.
17463 Use libc_hidden_weak.
17464 * include/stdio.h (__fflush_unlocked): Declare. Use
17465 libc_hidden_proto.
17466 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
17467 fflush_unlocked.
17468 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
17469 Remove variable.
17470
17471 [BZ #18539]
17472 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
17473 define as weak alias of __addseverity.
17474 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
17475 Remove variable.
17476 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
17477 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
17478 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
17479
17480 [BZ #18536]
17481 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
17482 (__tfind): Likewise.
17483 (__tdelete): Likewise.
17484 (__twalk): Likewise.
17485 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
17486 __twalk to GLIBC_PRIVATE.
17487 * include/search.h (__tsearch): Use libc_hidden_proto.
17488 (__tfind): Likewise.
17489 (__tdelete): Likewise.
17490 (__twalk): Likewise.
17491 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
17492 Call __tdelete instead of tdelete.
17493 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
17494 tfind. Call __tsearch instead of tsearch.
17495 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
17496 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
17497 Remove variable.
17498 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
17499
17500 [BZ #18534]
17501 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
17502 (dprintf): Define as a weak alias of __dprintf, not a strong
17503 alias.
17504 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
17505 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
17506 dprintf.
17507 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
17508 Remove variable.
17509 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
17510 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
17511
17512 [BZ #18533]
17513 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
17514 not a strong alias.
17515 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
17516 Remove variable.
17517
17518 [BZ #18532]
17519 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
17520 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
17521 (in6addr_loopback): Rename to __in6addr_loopback and define as
17522 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
17523 * include/netinet/in.h (__in6addr_loopback): Declare. Use
17524 libc_hidden_proto.
17525 (__in6addr_any): Likewise.
17526 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
17527 in6addr_any.
17528 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
17529 variable.
17530 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
17531
17532 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
17533
17534 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
17535 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
17536 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17537 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17538 redirections for pow.
17539 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17540 * sysdeps/x86_64/fpu/Versions: New versions added.
17541 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17542 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17543 build of SSE, AVX2 and AVX512 IFUNC versions.
17544 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
17545 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
17546 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
17547 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
17548 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
17549 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
17550 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
17551 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
17552 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
17553 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
17554 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
17555 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
17556 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
17557 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
17558 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17559 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17560 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17561 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17562 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17563 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17564 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17565 * NEWS: Mention addition of x86_64 vector pow.
17566
17567 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17568 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17569 redirections for expf.
17570 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17571 * sysdeps/x86_64/fpu/Versions: New versions added.
17572 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17573 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17574 build of SSE, AVX2 and AVX512 IFUNC versions.
17575 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
17576 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
17577 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
17578 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
17579 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
17580 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
17581 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
17582 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
17583 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
17584 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
17585 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
17586 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
17587 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
17588 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17589 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17590 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17591 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17592 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17593 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17594 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17595 * NEWS: Mention addition of x86_64 vector expf.
17596
17597 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
17598 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
17599 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17600 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17601 redirections for exp.
17602 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17603 * sysdeps/x86_64/fpu/Versions: New versions added.
17604 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17605 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17606 build of SSE, AVX2 and AVX512 IFUNC versions.
17607 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
17608 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
17609 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
17610 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
17611 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
17612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
17613 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
17614 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
17615 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
17616 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
17617 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
17618 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
17619 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
17620 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17621 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17622 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17623 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17624 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17625 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17626 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17627 * NEWS: Mention addition of x86_64 vector exp.
17628
17629 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17630 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17631 redirections for logf.
17632 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17633 * sysdeps/x86_64/fpu/Versions: New versions added.
17634 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17635 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17636 build of SSE, AVX2 and AVX512 IFUNC versions.
17637 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
17638 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
17639 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
17640 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
17641 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
17642 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
17643 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
17644 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
17645 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
17646 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
17647 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
17648 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
17649 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
17650 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17651 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17652 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17653 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17654 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17655 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17656 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17657 * NEWS: Mention addition of x86_64 vector logf.
17658
17659 * bits/libm-simd-decl-stubs.h: Added stubs for log.
17660 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
17661 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17662 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17663 redirections for log.
17664 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17665 * sysdeps/x86_64/fpu/Versions: New versions added.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17667 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17668 build of SSE, AVX2 and AVX512 IFUNC versions.
17669 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
17670 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
17671 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
17672 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
17673 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
17674 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
17675 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
17676 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
17677 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
17678 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
17679 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
17680 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
17681 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
17682 test.
17683 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17684 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17685 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17686 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17687 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17688 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17689 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17690 * NEWS: Mention addition of x86_64 vector log.
17691
17692 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
17693
17694 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
17695 cfi_adjust_cfa_offset argument.
17696 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
17697 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
17698
17699 [BZ #18034]
17700 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
17701 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
17702 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
17703 ordering using ldar.
17704 (_dl_tlsdesc_dynamic): Likewise.
17705 (_dl_tlsdesc_return_lazy): Likewise.
17706 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
17707 relaxed atomics instead of volatile and synchronize with release store.
17708 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
17709 volatile.
17710 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17711
17712 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
17713
17714 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17715 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
17716 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17717 * sysdeps/x86_64/fpu/Versions: New versions added.
17718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17719 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
17720 build of SSE, AVX2 and AVX512 IFUNC versions.
17721 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
17722 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
17723 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
17724 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
17725 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
17726 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
17727 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
17728 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
17729 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
17730 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
17731 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
17732 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
17733 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
17734 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17735 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17736 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17737 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17738 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17739 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17740 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17741 * NEWS: Mention addition of x86_64 vector sinf.
17742
17743 2015-06-14 Joseph Myers <joseph@codesourcery.com>
17744
17745 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
17746 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
17747 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
17748 Remove variable.
17749 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
17750 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
17751
17752 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17753
17754 [BZ #18530]
17755 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
17756 strong alias of _IO_fputs. Use libc_hidden_def.
17757 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
17758 and define as weak alias of __fputs_unlocked. Use
17759 libc_hidden_weak.
17760 * include/stdio.h (__fputs_unlocked): Declare. Use
17761 libc_hidden_proto.
17762 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
17763 fputs_unlocked.
17764
17765 [BZ #18529]
17766 * resolv/netdb.h [__USE_POSIX]: Change condition to
17767 [__USE_XOPEN2K].
17768 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
17769 not expect.
17770 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
17771 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
17772 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
17773 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
17774 [XPG4 || UNIX98] (AI_ALL): Likewise.
17775 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
17776 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
17777 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
17778 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
17779 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
17780 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
17781 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
17782 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
17783 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
17784 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
17785 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
17786 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
17787 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
17788 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
17789 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
17790 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17791 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
17792 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
17793 [XPG4 || UNIX98] (gai_strerror): Likewise.
17794 [XPG4 || UNIX98] (getaddrinfo): Likewise.
17795 [XPG4 || UNIX98] (getnameinfo): Likewise.
17796
17797 [BZ #18528]
17798 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
17799 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
17800 __USE_XOPEN2K8].
17801 (getgrent): Likewise.
17802 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
17803 expect.
17804 [XPG3 || POSIX2008] (endgrent): Likewise.
17805 [XPG3] (setgrent): Likewise.
17806 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
17807 variable.
17808 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
17809
17810 [BZ #18527]
17811 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
17812 define as weak alias of __getlogin_r. Use libc_hidden_weak.
17813 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
17814 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
17815 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
17816 * include/unistd.h (__getlogin_r): Declare. Use
17817 libc_hidden_proto.
17818 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
17819 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
17820 variable.
17821 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
17822 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
17823 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
17824
17825 2015-06-12 Martin Sebor <msebor@redhat.com>
17826
17827 [BZ #18512]
17828 * Makerules (check-install-supported): New target.
17829 (install): Add check-install-supported as a dependency.
17830 * manual/install.texi (Installing the C Library): Document
17831 that overriding prefix and exec_prefix is not supported.
17832 Mention DESTDIR.
17833 * INSTALL: Regenerate from the above.
17834
17835 2015-06-12 Joseph Myers <joseph@codesourcery.com>
17836
17837 [BZ #18519]
17838 * posix/Versions (libc): Export __libc_pread at version
17839 GLIBC_PRIVATE.
17840 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
17841 instead of pread.
17842 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
17843 variable.
17844
17845 [BZ #18522]
17846 * misc/efgcvt_r.c
17847 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
17848 (cvt_symbol): Use weak_alias instead of strong_alias.
17849 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
17850 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
17851 Remove variable.
17852 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
17853 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
17854
17855 [BZ #18520]
17856 * inet/herrno.c (h_errno): Rename to __h_errno.
17857 (__libc_h_errno): Define as alias of __h_errno not h_errno.
17858 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
17859 to __h_errno instead of h_errno.
17860 * nptl/herrno.c (h_errno): Rename to __h_errno.
17861 (__h_errno_location): Refer to __h_errno not h_errno.
17862 * resolv/Versions (h_errno): Rename to __h_errno.
17863 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
17864 Remove variable.
17865 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
17866
17867 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
17868
17869 * configure.ac: More strict check for AVX512 assembler support.
17870 * configure: Regenerated.
17871
17872 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
17873 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
17874 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
17875 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
17876 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17877 * sysdeps/x86_64/fpu/Versions: New versions added.
17878 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17879 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17880 Added build of SSE, AVX2 and AVX512 IFUNC versions.
17881 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
17882 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
17883 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
17884 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
17885 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
17886 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
17887 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
17888 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
17889 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
17890 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
17891 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
17892 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
17893 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
17894 test.
17895 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17896 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17897 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17898 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17899 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17900 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17901 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17902 * NEWS: Mention addition of x86_64 vector sin.
17903
17904 2015-06-11 Florian Weimer <fweimer@redhat.com>
17905
17906 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
17907 comment.
17908
17909 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
17910
17911 [BZ #18479]
17912 * nptl/pt-interp.c: New file.
17913 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
17914 Add pt-interp.
17915 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
17916 $(common-objpfx)runtime-linker.h.
17917
17918 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
17919
17920 * Makeconfig (+interp): Remove unused variable.
17921 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
17922 only. Depend on $(common-objpfx)runtime-linker.h instead of
17923 $(elf-objpfx)runtime-linker.h.
17924 ($(elf-objpfx)runtime-linker.h): Rename to
17925 $(common-objpfx)runtime-linker.h and move ...
17926 * Makerules [$(build-shared) = yes]: ... here.
17927 * elf/interp.c: Include <runtime-linker.h> instead of
17928 <elf/runtime-linker.h>.
17929
17930 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17931
17932 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
17933 (__gettimeofday_syscall): Remove vsyscall fallback.
17934 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
17935 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
17936 Add syscall fallback function.
17937 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
17938 if vDSO is not present.
17939 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
17940 fallback function.
17941 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
17942 present.
17943 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
17944 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
17945
17946 2015-06-09 Joseph Myers <joseph@codesourcery.com>
17947
17948 [BZ #18497]
17949 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
17950 of wcscmp.
17951 (wcscmp): Define as weak alias of WCSCMP.
17952 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
17953 wcscoll.
17954 (USE_HIDDEN_DEF): Define.
17955 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
17956 __wcscoll. Don't use libc_hidden_weak.
17957 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
17958 wcscmp.
17959 * sysdeps/i386/i686/multiarch/wcscmp-c.c
17960 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
17961 __GI_wcscmp.
17962 (weak_alias): Undefine and redefine.
17963 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
17964 __wcscmp and define as weak alias of __wcscmp.
17965 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
17966 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
17967 (__wcscoll): Likewise.
17968 (wcscmp): Don't use libc_hidden_proto.
17969 (wcscoll): Likewise.
17970 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
17971 wcscoll.
17972 * posix/regexec.c (check_node_accept_bytes): Likewise.
17973 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
17974 variable.
17975 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
17976 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
17977
17978 [BZ #18507]
17979 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
17980 __fstatvfs and define as weak alias of __fstatvfs. Use
17981 libc_hidden_weak.
17982 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
17983 and define as weak alias of __statvfs. Use libc_hidden_weak.
17984 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
17985 Define as alias of __fstatvfs, not fstatvfs.
17986 (fstatvfs64): Likewise.
17987 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
17988 Define as alias of __statvfs, not statvfs.
17989 (statvfs64): Likewise.
17990 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
17991 Remove variable.
17992
17993 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17994
17995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17996 (HAVE_GETCPU_VSYSCALL): Define.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17998 (HAVE_GETCPU_VSYSCALL): Likewise.
17999 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18000 * sysdeps/unix/sysv/linux/sched_getcpu.c
18001 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18002 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18003 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18004 prototype.
18005 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18006 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18007 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18009 Define.
18010 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18011 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18012 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18013 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18014
18015 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
18016
18017 * sysdeps/x86_64/fpu/Makefile: New file.
18018 * sysdeps/x86_64/fpu/Versions: New file.
18019 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18020 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18021 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18022 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18023 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18024 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18025 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18026 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18027 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18028 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18029 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18030 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18031 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18032 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18033 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18034 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18035 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18036 * sysdeps/x86_64/configure.ac: Options for libmvec build.
18037 * sysdeps/x86_64/configure: Regenerated.
18038 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18039 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18040 * manual/install.texi (Configuring and compiling): Document
18041 --disable-mathvec.
18042 * INSTALL: Regenerated.
18043 * NEWS: Mention addition of libmvec and x86_64 vector cos.
18044
18045 * math/Makefile: Added rules for vector tests.
18046 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18047 declaration under condition.
18048 * math/test-double-vlen2.h: New file.
18049 * math/test-double-vlen4.h: New file.
18050 * math/test-double-vlen8.h: New file.
18051 * math/test-vec-loop.h: Added initialization macro.
18052 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18053 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18054 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18055 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18056 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18057 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18058 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18059 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18060 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18061 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18062 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18063
18064 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18065 * sysdeps/x86_64/fpu/Versions: New versions added.
18066 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18067 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18068 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18069 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18070 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18071 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18072 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18073 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18074 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18075 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18076 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18077 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18078 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18079 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18080 Added build of SSE, AVX2 and AVX512 IFUNC versions.
18081 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18082 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18083 * NEWS: Mention addition of x86_64 vector cosf.
18084
18085 * math/Makefile: Added CFLAGS for new tests.
18086 * math/test-float-vlen16.h: New file.
18087 * math/test-float-vlen4.h: New file.
18088 * math/test-float-vlen8.h: New file.
18089 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18090 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18091 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18092 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18093 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18094 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18095 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18096 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18097 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18098 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18099 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18100
18101 2015-06-09 Marko Myllynen <myllynen@redhat.com>
18102
18103 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18104 * locale/programs/ld-ctype.c: Likewise.
18105
18106 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
18107
18108 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18109 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18110 bit_ZMM16_31_state): New macro.
18111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18112 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18113
18114 2015-06-08 Joseph Myers <joseph@codesourcery.com>
18115
18116 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18117
18118 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
18119
18120 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18121
18122 2015-06-05 Joseph Myers <joseph@codesourcery.com>
18123
18124 [BZ #18498]
18125 * libio/memstream.c (open_memstream): Rename to __open_memstream
18126 and define as weak alias of __open_memstream.
18127 * include/stdio.h (__open_memstream): Declare. Use
18128 libc_hidden_proto.
18129 (open_memstream): Don't use libc_hidden_proto.
18130 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18131 open_memstream.
18132 * posix/getopt.c (_getopt_internal_r): Likewise.
18133 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18134 variable.
18135 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18136 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18137 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18138
18139 [BZ #18496]
18140 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18141 instead of wcrtomb.
18142
18143 [BZ #18483]
18144 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18145 [__USE_XOPEN2K8]. Remove redundant #endif.
18146 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18147 Remove redundant #if.
18148 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18149 Remove variable.
18150 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18151 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18152
18153 [BZ #18495]
18154 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18155 (__iswlower): Likewise.
18156 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
18157 (__iswlower): Likewise.
18158 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18159 instead of towlower.
18160 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18161 instead of iswlower. Call __towupper instead of towupper.
18162 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18163 instead of iswalnum.
18164
18165 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18166
18167 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18168 errors to stderr.
18169
18170 2015-06-05 Florian Weimer <fweimer@redhat.com>
18171
18172 [BZ #15661]
18173 [BZ #17322]
18174 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18175 Check for overflow properly. Check for O_APPEND. Ignore large
18176 file system block sizes. Add comments about problems.
18177 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18178 * manual/filesys.texi (Storage Allocation): New node.
18179
18180 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18181
18182 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18183 cancellable syscalls.
18184 (SYS_ify): Add guard to no redefine it.
18185 (INLINE_SYSCALL): Likewise.
18186 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18187 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18188 SYSCALL_CANCEL instead.
18189 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18190 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18191 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18192 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18193 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18194 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18195 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18196 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18197 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18198 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18199 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18200 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18201 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18202 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18203 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18204 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18205 Likewise.
18206 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18207 (__libc_pread64): Likewise.
18208 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18209 (__libc_preadv): Likewise.
18210 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18211 (__libc_readv64): Likewise.
18212 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18213 (__libc_pwrite): Likewise.
18214 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18215 (__libc_pwrite64): Likewise.
18216 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18217 (__libc_pwritev): Likewise.
18218 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18219 (__libc_pwritev64): Likewise.
18220 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18221 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18222 (sync_file_range): Likewise.
18223 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18224 Likewise.
18225 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18226 Likewise.
18227 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18228 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18229 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18230 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18231 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18232 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18233 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18234 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18236 Likewise.
18237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18238 (__libc_read64): Likewise.
18239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18240 Likewise.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18242 Likewise.
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18244 Likewise.
18245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18246 Likewise.
18247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18248 (__libc_pread64): Likewise.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18250 Likewise.
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18252 (__libc_pwrite64): Likewise.
18253 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18254 (sync_file_range): Likewise.
18255 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18256 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18257 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18258 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18259 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18260 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18261 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18262 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18263 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18264 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18265 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18266 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18267 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18268 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18269 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18270 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18271 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18272 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18273 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18274 Likewise.
18275 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18276 Likewise.
18277 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18278 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18279 Likewise.
18280 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18281 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18282 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18283 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18284 Likewise.
18285 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18286 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18287 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18288 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18289 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18290
18291 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
18292
18293 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18294 Include dl-vdso.
18295 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18296 Use VDSO routines for gettimeofday, clock_gettime if
18297 available.
18298 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18299 Declare VDSO symbols.
18300 * sysdeps/unix/sysv/linux/arm/sysdep.h:
18301 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18302 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18303 * sysdeps/unix/sysv/linux/arm/Versions: Add
18304 __vdso_clock_gettime.
18305
18306 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18307
18308 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18309 be an inline implementation regardless of library is built within.
18310 (open_not_cancel_2): Likewise.
18311 (__read_nocancel): Likewise.
18312 (__write_nocancel): Likewise.
18313 (openat_not_cancel): Likewise.
18314 (openat_not_cancel_3): Likewise.
18315 (openat64_not_cancel): Likewise.
18316 (openat64_not_cancel_3): Likewise.
18317 (__close_nocancel): Likewise.
18318 (pause_not_cancel): Likewise.
18319 (nanosleep_not_cancel): Likewise.
18320 (sigsuspend_not_cancel): Likewise.
18321
18322 2015-06-04 Torvald Riegel <triegel@redhat.com>
18323
18324 [BZ #14958]
18325 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18326 wake-up.
18327 (__pthread_rwlock_rdlock_slow): Likewise.
18328 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18329 Likewise.
18330 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18331 Likewise.
18332 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18333 * nptl/tst-rwlock16.c: New file.
18334 * nptl/Makefile (tests): Add new test.
18335
18336 2015-06-04 Torvald Riegel <triegel@redhat.com>
18337
18338 [BZ #18324]
18339 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18340 missing wake-up of readers.
18341 * nptl/tst-rwlock15.c: New file.
18342 * nptl/Makefile (tests): Add new test.
18343
18344 2015-06-03 Roland McGrath <roland@hack.frob.com>
18345
18346 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18347 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18348 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18349 and __nacl_supply_interface_rtld.
18350 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18351 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18352 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18353 Add __nacl_supply_interface_rtld.
18354 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18355
18356 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18357
18358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18359 isfinite.
18360 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18361 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18362
18363 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
18364
18365 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18366 __signbit* with standard C99 macros.
18367 * math/e_exp10l.c: Likewise.
18368 * math/e_exp2l.c: Likewise.
18369 * math/e_scalb.c: Likewise.
18370 * math/e_scalbf.c: Likewise.
18371 * math/e_scalbl.c: Likewise.
18372 * math/s_ldexp.c: Likewise.
18373 * math/s_ldexpf.c: Likewise.
18374 * math/s_ldexpl.c: Likewise.
18375 * math/w_atan2.c: Likewise.
18376 * math/w_atan2f.c: Likewise.
18377 * math/w_atan2l.c: Likewise.
18378 * math/w_cosh.c: Likewise.
18379 * math/w_coshf.c: Likewise.
18380 * math/w_coshl.c: Likewise.
18381 * math/w_exp10.c: Likewise.
18382 * math/w_exp10f.c: Likewise.
18383 * math/w_exp10l.c: Likewise.
18384 * math/w_exp2.c: Likewise.
18385 * math/w_exp2f.c: Likewise.
18386 * math/w_exp2l.c: Likewise.
18387 * math/w_fmod.c: Likewise.
18388 * math/w_fmodf.c: Likewise.
18389 * math/w_fmodl.c: Likewise.
18390 * math/w_hypot.c: Likewise.
18391 * math/w_hypotf.c: Likewise.
18392 * math/w_hypotl.c: Likewise.
18393 * math/w_jnl.c: Likewise.
18394 * math/w_lgamma.c: Likewise.
18395 * math/w_lgamma_r.c: Likewise.
18396 * math/w_lgammaf.c: Likewise.
18397 * math/w_lgammaf_r.c: Likewise.
18398 * math/w_lgammal.c: Likewise.
18399 * math/w_lgammal_r.c: Likewise.
18400 * math/w_pow.c: Likewise.
18401 * math/w_powf.c: Likewise.
18402 * math/w_powl.c: Likewise.
18403 * math/w_remainder.c: Likewise.
18404 * math/w_remainderf.c: Likewise.
18405 * math/w_remainderl.c: Likewise.
18406 * math/w_scalb.c: Likewise.
18407 * math/w_scalbf.c: Likewise.
18408 * math/w_scalbl.c: Likewise.
18409 * math/w_scalbln.c: Likewise.
18410 * math/w_scalblnf.c: Likewise.
18411 * math/w_scalblnl.c: Likewise.
18412 * math/w_sinh.c: Likewise.
18413 * math/w_sinhf.c: Likewise.
18414 * math/w_sinhl.c: Likewise.
18415 * math/w_tgamma.c: Likewise.
18416 * math/w_tgammaf.c: Likewise.
18417 * math/w_tgammal.c: Likewise.
18418 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18419 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18421 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18422 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18424 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18425 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18426 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18427 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18428 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18429 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18431 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18432 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18433 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18434 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18435 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18440 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18443 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18444 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
18445 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18446 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18447 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18448 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
18449 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
18450 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
18451 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
18452 * stdio-common/printf_fp.c: Likewise.
18453 * stdio-common/printf_fphex.c: Likewise.
18454 * stdio-common/printf_size.c: Likewise.
18455
18456 2015-06-03 Joseph Myers <joseph@codesourcery.com>
18457
18458 [BZ #18470]
18459 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
18460 strnlen.
18461 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
18462 Remove variable.
18463 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
18464 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
18465 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
18466 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
18467 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
18468 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
18469 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
18470 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
18471 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
18472 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
18473
18474 [BZ #18468]
18475 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
18476 weak alias of __wmemchr. Use libc_hidden_weak.
18477 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
18478 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
18479 instead of wmemchr.
18480
18481 2015-06-02 Roland McGrath <roland@hack.frob.com>
18482
18483 [BZ #18383]
18484 * elf/tst-tlsalign-extern.c: New file.
18485 * elf/tst-tlsalign-extern-static.c: New file.
18486 * elf/tst-tlsalign-vars.c: New file.
18487 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
18488 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
18489 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
18490 ($(objpfx)tst-tlsalign-extern-static): Likewise.
18491 (test-xfail-tst-tlsalign-extern-static): New variable.
18492
18493 2015-06-02 Joseph Myers <joseph@codesourcery.com>
18494
18495 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
18496 Use variable name _sc_err instead of err.
18497 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
18498 instead of ret.
18499 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
18500 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
18501 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
18502 (INLINE_SYSCALL): Likewise.
18503
18504 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
18505 * include/string.h (__strnlen): Use libc_hidden_proto.
18506 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
18507 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
18508 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
18510 (libc_hidden_def): Undefine and redefine.
18511 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
18512 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
18513 __GI_strnlen.
18514 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
18515 libc_hidden_def.
18516 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
18517
18518 [BZ #18469]
18519 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
18520 weak alias of __towlower. Use libc_hidden_weak.
18521 (towupper): Rename to __towupper and define as weak alias of
18522 __towupper. Use libc_hidden_weak.
18523 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
18524 (__towupper): Likewise.
18525 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
18526 __towlower instead of towlower.
18527
18528 2015-06-02 Roland McGrath <roland@hack.frob.com>
18529
18530 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
18531 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
18532
18533 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
18534
18535 * sysdeps/aarch64/libm-test-ulps: Update.
18536
18537 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18538
18539 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
18540 Define.
18541 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18543 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18544 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18545 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
18546 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
18547 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
18548
18549 2015-06-01 Martin Sebor <msebor@redhat.com>
18550
18551 [BZ #18116]
18552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18553 (__setcontext): Use extended four-operand version of mtsf whenever
18554 possible.
18555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18556 (__novec_swapcontext): Likewise.
18557
18558 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18559
18560 * benchtests/scripts/compare_bench.py: New file.
18561 * benchtests/scripts/import_bench.py (mean): New function.
18562 (split_list): Likewise.
18563 (do_for_all_timings): Likewise.
18564 (compress_timings): Likewise.
18565
18566 * benchtests/scripts/import_bench.py: New file.
18567 * benchtests/scripts/validate_benchout.py: Import import_bench
18568 instead of jsonschema.
18569 (validate_bench): Remove function.
18570 (main): Use import_bench.
18571
18572 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
18573
18574 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
18575 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
18576
18577 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18578
18579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18580
18581 2015-05-28 Roland McGrath <roland@hack.frob.com>
18582
18583 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
18584 set THREAD_SELF->tid to a magic value and futex-wake it.
18585 Pass its address to the thread_exit system call.
18586 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
18587 bit is clear.
18588 * sysdeps/nacl/lowlevellock.h: New file.
18589 * sysdeps/nacl/lll_timedwait_tid.c: New file.
18590
18591 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
18592 Add TIMEOUT to current time, don't subtract it.
18593
18594 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
18595
18596 [BZ #2981]
18597 [BZ #18422]
18598 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
18599 ($(objpfx)tst-audit2.out): Also depend on
18600 $(objpfx)tst-auditmod9b.so.
18601 * elf/tst-audit2.c: Include <dlfcn.h>.
18602 (calloc_called): New.
18603 (calloc): Allow to be called more than once.
18604 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
18605
18606 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
18607
18608 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
18609 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
18610
18611 2015-05-27 Marko Myllynen <myllynen@redhat.com>
18612
18613 * stdlib/monetary.h: Fix comment.
18614
18615 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
18616
18617 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
18618 Avoid using variables in #defines that might cause shadowing.
18619 (INTERNAL_VSYSCALL_CALL): Likewise.
18620
18621 2015-05-26 Roland McGrath <roland@hack.frob.com>
18622
18623 * sysdeps/nacl/lll_timedlock_wait.c: New file.
18624
18625 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
18626 * nptl/lll_timedlock_wait.c: ... to this new file.
18627 * nptl/Makefile (libpthread-routines): Add it.
18628 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
18629 * nptl/lll_timedwait_tid.c: ... to this new file.
18630 * nptl/Makefile (libpthread-routines): Add it.
18631 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
18632 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
18633 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
18634 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
18635 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
18636 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
18637 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
18638 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
18639 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
18640 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
18641
18642 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18643
18644 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
18645 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18646 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
18647 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
18648 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
18649 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
18650 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
18652 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18653 * sysdeps/unix/sysv/linux/tile/sysdep.h
18654 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
18655 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
18656 using vDSO syscall macro.
18657
18658 2015-05-26 Andriy Rysin <arysin@gmail.com>
18659
18660 [BZ #17293]
18661 * uk_UA: Fix sorting order for Ukrainian locale
18662
18663 2015-05-26 Marko Myllynen <myllynen@redhat.com>
18664
18665 * stdlib/monetary.h: Fix comment.
18666
18667 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
18668
18669 [BZ #18234]
18670 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
18671 st_mtim and st_ctim members.
18672 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
18673 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
18674 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
18675 (struct stat64): Likewise.
18676 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
18677 (struct stat64): Likewise.
18678 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
18679 (struct stat64): Likewise.
18680
18681 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18682
18683 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
18684 Define and include sysdep-vdso.h.
18685 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
18686 Likewise.
18687 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
18688 Likewise.
18689 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
18690 Define with VDSO_SYMBOL and use PTR_MANGLE.
18691 (__vdso_clock_gettime): Likewise.
18692 (__vdso_clock_getres): Likewise.
18693 (_libc_vdso_platform_setup): Likewise.
18694 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18695 Likewise.
18696 (_libc_vdso_platform_setup): Likewise.
18697 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
18698 Likewise.
18699 (__vdso_clock_gettime): Likewise.
18700 (__vdso_clock_getres): Likewise.
18701 (__vdso_get_tbfreq): Likewise.
18702 (__vdso_getcpu): Likewise.
18703 (__vdso_time): Likewise.
18704 (__vdso_sigtramp_rt64): Likewise.
18705 (__vdso_signtramp32): Likewise.
18706 (__vdso_sigtramp_rt32): Likewise.
18707 (_libc_vdso_platform_setup): Likewise.
18708 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
18709 Likewise.
18710 (__vdso_clock_gettime): Likewise.
18711 (__vdso_clock_getres): Likewise.
18712 (_libc_vdso_platform_setup): Likewise.
18713 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
18714 Likewise.
18715 (__vdso_clock_gettime): Likewise.
18716 (_libc_vdso_platform_setup): Likewise.
18717 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
18718 Likewise.
18719 (__vdso_getcpu): Likewise.
18720 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
18721 Use VDSO_SYMBOL macro to define.
18722 (__vdso_clock_gettime): Likewise.
18723 (__vdso_clock_getres): Likewise.
18724 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
18725 Likewise.
18726 (__vdso_clock_gettime): Likewise.
18727 (__vdso_clock_getres): Likewise.
18728 (__vdso_get_tbfreq): Likewise.
18729 (__vdso_getcpu): Likewise.
18730 (__vdso_time): Likewise.
18731 (__vdso_sigtramp_rt64): Likewise.
18732 (__vdso_signtramp32): Likewise.
18733 (__vdso_sigtramp_rt32): Likewise.
18734 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
18735 Likewise.
18736 (__vdso_clock_gettime): Likewise.
18737 (__vdso_clock_getres): Likewise.
18738 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
18739 Likewise.
18740 (__vdso_clock_gettime): Likewise.
18741 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18742 Likewise.
18743 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
18744 macro.
18745 (INTERNAL_VSYSCALL): Likewise.
18746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
18747 Remove macro.
18748 (INTERNAL_VSYSCALL): Likewise.
18749 (INTERNAL_VSYSCALL_NCS): Likewise.
18750 (INTERNAL_VSYSCALL_CALL): New macro.
18751 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
18753 Likewise.
18754 (INTERNAL_VSYSCALL): Likewise.
18755 (INTERNAL_VSYSCALL_NCS): Likewise.
18756 (INTERNAL_VSYSCALL_CALL): New macro.
18757 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18759 (INLINE_VSYSCALL): Remove macro.
18760 (INTERNAL_VSYSCALL): Remove macro.
18761 (INTERNAL_VSYSCALL_NCS): Remove macro.
18762 (INTERNAL_VSYSCALL_CALL): New macro.
18763 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
18764 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
18765 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18766 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
18767 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
18768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18769 (INLINE_VSYSCALL): Remove macro.
18770 (INTERNAL_VSYSCALL): Likewise.
18771 (INTERNAL_VSYSCALL_NCS): Likewise.
18772 (INTERNAL_VSYSCALL_CALL): New macro.
18773 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
18774 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
18775 PTR_DEMANGLE on vDSO pointer.
18776 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
18777 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
18778 macro.
18779 (INTERNAL_SYSCALL): Likewise.
18780 (INTERNAL_VSYSCALL_NCS): Remove macro.
18781 (INTERNAL_VSYSCALL_CALL): New macro.
18782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
18783 Remove macro.
18784 (INTERNAL_VSYSCALL): Likewise.
18785 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
18786 sysdep-vdso.h instead of libc-vdso.h.
18787 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
18788 definition.
18789 (INLINE_VSYSCALL): Likewise.
18790 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
18791 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
18792 definition.
18793 (INLINE_VSYSCALL): Likewise.
18794 (INTERNAL_VSYSCALL): Likewise.
18795 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18796 * sysdeps/unix/sysv/linux/timespec_get.c
18797 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18798 (timespec_get): Use ANSI prototype.
18799 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
18800 and definition for Linux.
18801
18802 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
18803
18804 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
18805 * include/libc-symbols.h: libmvec_hidden_* macro series added.
18806
18807 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
18808
18809 [BZ #2981]
18810 [BZ #18410]
18811 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
18812 for missing DT_PLTRELSZ.
18813
18814 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
18815
18816 Remove obsolete aliases that broke 'locale -a'
18817 [BZ #18412]
18818 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
18819 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
18820 breaking some applications that use 'locale -a' output.
18821 Change the encoding of this file from Latin-1 to ASCII to avoid
18822 other potential problems with people grepping this file.
18823
18824 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18825
18826 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
18827 -fasynchronous-unwind-tables.
18828 (CFLAGS-sendto.c): Likewise.
18829 (CFLAGS-sendmsg.c): Likewise.
18830 (CFLAGS-connect.c): Likewise.
18831 (CFLAGS-recvmsg.c): Likewise.
18832 (CFLAGS-recvfrom.c): Likewise.
18833 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
18834 (SOCKETCALL): New macro: non-cancellable socketcall.
18835 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
18836 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
18837 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
18838 * sysdeps/unix/sysv/linux/accept.c: New file.
18839 * sysdeps/unix/sysv/linux/bind.c: Likewise.
18840 * sysdeps/unix/sysv/linux/connect.c: Likewise.
18841 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
18842 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
18843 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
18844 * sysdeps/unix/sysv/linux/listen.c: Likewise.
18845 * sysdeps/unix/sysv/linux/recv.c: Likewise.
18846 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
18847 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
18848 * sysdeps/unix/sysv/linux/send.c: Likewise.
18849 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
18850 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
18851 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
18852 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
18853 * sysdeps/unix/sysv/linux/socket.c: Likewise.
18854 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
18855 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
18856 prototype.
18857 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
18858 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18859 instead of __internal_xxx function.
18860 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
18861 prototype.
18862 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
18863 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18864 instead of __internal_xxx function.
18865 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
18866 prototype.
18867 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
18868 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
18869 instead of __internal_xxx function.
18870 * sysdeps/unix/sysv/linux/accept.S: Remove file.
18871 * sysdeps/unix/sysv/linux/bind.S: Likewise.
18872 * sysdeps/unix/sysv/linux/connect.S: Likewise.
18873 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
18874 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
18875 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
18876 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
18877 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
18878 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
18879 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
18880 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
18881 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18882 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
18883 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
18884 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
18885 * sysdeps/unix/sysv/linux/listen.S: Likewise.
18886 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
18887 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
18888 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
18889 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
18892 * sysdeps/unix/sysv/linux/recv.S: Likewise.
18893 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
18894 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
18895 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
18896 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
18897 * sysdeps/unix/sysv/linux/send.S: Likewise.
18898 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
18899 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
18900 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
18901 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
18902 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
18903 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
18904 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
18905 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
18906 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
18907 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
18908 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
18909 socketcall is implemented in GLIBC.
18910
18911 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18912
18913 * soft-fp/fmadf4.c: Include <libc-internal.h>.
18914 (__fma): Ignore uninitialized warnings around packing.
18915 * soft-fp/fmasf4.c: Include <libc-internal.h>.
18916 (__fmaf): Ignore uninitialized warnings around packing.
18917 * soft-fp/fmatf4.c: Include <libc-internal.h>.
18918 (__fmal): Ignore uninitialized warnings around packing.
18919
18920 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
18921 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18922 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
18923 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18924
18925 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
18926 switch statement into default case.
18927 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
18928
18929 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
18930 a conditional in forcing "inexact".
18931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18932 Likewise.
18933
18934 2015-05-22 Roland McGrath <roland@hack.frob.com>
18935
18936 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
18937 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
18938 for each INTERNAL_SYSCALL use.
18939
18940 2015-05-22 Joseph Myers <joseph@codesourcery.com>
18941
18942 [BZ #438]
18943 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
18944 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
18945 variable.
18946
18947 [BZ #18444]
18948 * string/basename.c (basename): Rename to __basename and define as
18949 weak alias of __basename. Use libc_hidden_weak.
18950 * include/string.h (__basename): Declare. Use libc_hidden_proto.
18951 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
18952 __basename instead of basename.
18953 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
18954 Remove variable.
18955 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
18956
18957 2015-05-18 Florian Weimer <fweimer@redhat.com>
18958
18959 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
18960 (_IO_JUMPS_FILE_plus): New.
18961 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
18962 _IO_CAST_FIELD_ACCESS.
18963 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
18964 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
18965 * libio/freopen.c (freopen): Likewise.
18966 * libio/freopen64.c (freopen64): Likewise.
18967 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
18968 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
18969 * libio/iofwide.c (_IO_fwide): Likewise.
18970 * libio/memstream.c (open_memstream): Likewise.
18971 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18972 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18973 * libio/oldiopopen.c (_IO_old_popen): Likewise.
18974
18975 2015-05-21 Joseph Myers <joseph@codesourcery.com>
18976
18977 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
18978 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
18979 NADJ.
18980 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
18981 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
18982 NADJ.
18983 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
18984 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
18985 NADJ.
18986
18987 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
18988 (p == 4) case.
18989
18990 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
18991 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
18992 Remove variable.
18993 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
18994 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
18995 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
18996
18997 2015-05-21 Florian Weimer <fweimer@redhat.com>
18998
18999 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19000 Adjust jump table label generation macros.
19001
19002 2015-05-21 Florian Weimer <fweimer@redhat.com>
19003
19004 * stdio-common/vfprintf.c (vfprintf): Move local variables
19005 args_malloced, specs, specs_malloced, and the code after
19006 do_positional to the printf_positional function.
19007 (printf_positional): New function.
19008
19009 2015-05-21 Florian Weimer <fweimer@redhat.com>
19010
19011 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19012 function.
19013 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19014 STEP4_TABLE, process_arg): Move macro definitions
19015 out of the vfprintf function. (Cosmetic change only.)
19016
19017 2015-05-21 Carlos O'Donell <carlos@redhat.com>
19018
19019 * benchtests/Makefile (stdio-common-bench): Define.
19020 (benchset): Add stdio-common-bench.
19021 * sprintf-inputs: New file.
19022 * sprintf-source.c: New file.
19023
19024 2015-05-21 Andreas Schwab <schwab@suse.de>
19025
19026 [BZ #13028]
19027 [BZ #17053]
19028 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19029 of struct __res_state.
19030 * resolv/res_send.c (__libc_res_nsend): Likewise.
19031 (get_nsaddr): New function.
19032 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19033 statp directly.
19034
19035 2015-05-20 Joseph Myers <joseph@codesourcery.com>
19036
19037 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19038 -D_POSIX_C_SOURCE=199506L.
19039
19040 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19041
19042 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19043 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19044 Do not mention otherwise.
19045 [POSIX] (_XOPEN_VERSION): Do not expect.
19046 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19047 [POSIX] (_POSIX2_C_BIND): Likewise.
19048 [POSIX] (_POSIX2_VERSION): Likewise.
19049 [POSIX] (_XOPEN_XPG2): Likewise.
19050 [POSIX] (_XOPEN_XPG3): Likewise.
19051 [POSIX] (_XOPEN_XPG4): Likewise.
19052 [POSIX] (_XOPEN_UNIX): Likewise.
19053 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19054 [POSIX] (_POSIX_BARRIERS): Likewise.
19055 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19056 [POSIX] (_POSIX_CPUTIME): Likewise.
19057 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19058 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19059 [POSIX] (_POSIX_SHELL): Likewise.
19060 [POSIX] (_POSIX_SPAWN): Likewise.
19061 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19062 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19063 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19064 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19065 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19066 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19067 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19068 [POSIX] (_XBS5_LP64_OFF64): Likewise.
19069 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19070 [POSIX] (_POSIX_TIMEOUTS): Likewise.
19071 [POSIX] (_POSIX2_PBS): Likewise.
19072 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19073 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19074 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19075 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19076 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19077 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19078 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19079 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19080 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19081 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19082 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19083 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19084 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19085 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19086 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19087 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19088 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19089 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19090 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19091 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19092 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19093 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19094 [POSIX] (_SC_2_C_BIND): Likewise.
19095 [POSIX] (_SC_2_C_VERSION): Likewise.
19096 [POSIX] (_SC_2_PBS): Likewise.
19097 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19098 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19099 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19100 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19101 [POSIX] (_SC_2_PBS_TRACK): Likewise.
19102 [POSIX] (_SC_ATEXIT_MAX): Likewise.
19103 [POSIX] (_SC_BARRIERS): Likewise.
19104 [POSIX] (_SC_BASE): Likewise.
19105 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19106 [POSIX] (_SC_DEVICE_IO): Likewise.
19107 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19108 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19109 [POSIX] (_SC_FD_MGMT): Likewise.
19110 [POSIX] (_SC_FIFO): Likewise.
19111 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19112 [POSIX] (_SC_FILE_LOCKING): Likewise.
19113 [POSIX] (_SC_FILE_SYSTEM): Likewise.
19114 [POSIX] (_SC_IOV_MAX): Likewise.
19115 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19116 [POSIX] (_SC_NETWORKING): Likewise.
19117 [POSIX] (_SC_PAGE_SIZE): Likewise.
19118 [POSIX] (_SC_PASS_MAX): Likewise.
19119 [POSIX] (_SC_PIPE): Likewise.
19120 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19121 [POSIX] (_SC_REGEXP): Likewise.
19122 [POSIX] (_SC_SHELL): Likewise.
19123 [POSIX] (_SC_SIGNALS): Likewise.
19124 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19125 [POSIX] (_SC_SPIN_LOCKS): Likewise.
19126 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19127 [POSIX] (_SC_USER_GROUPS): Likewise.
19128 [POSIX] (_SC_USER_GROUPS_R): Likewise.
19129 [POSIX] (_SC_STREAMS): Likewise.
19130 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19131 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19132 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19133 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19134 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19135 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19136 [POSIX] (_PC_FILESIZEBITS): Likewise.
19137 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19138 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19139 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19140 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19141 [POSIX] (uid_t): Likewise.
19142 [POSIX] (gid_t): Likewise.
19143 [POSIX] (off_t): Likewise.
19144 [POSIX] (pid_t): Likewise.
19145 [POSIX] (cuserid): Allow.
19146 (_SC_2_CHAR_TERM): Require constant.
19147 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19148 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19149 variable.
19150
19151 2015-05-20 Roland McGrath <roland@hack.frob.com>
19152
19153 * sysdeps/nacl/pthread-pids.h: New file.
19154 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19155 (create_thread): Use __nacl_get_tid to initialize PD->tid.
19156
19157 * nptl/pthread-pids.h: New file.
19158 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19159 * nptl/nptl-init.c: Include <pthread-pids.h>.
19160 (__pthread_initialize_minimal_internal):
19161 Call __pthread_initialize_pids instead of set_tid_address syscall.
19162
19163 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19164 * sysdeps/posix/usleep.c: ... here.
19165
19166 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19167
19168 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19169 call_pselect6 object.
19170 [$(subdir) = io]: Remove call_sync_file_range object.
19171 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19172 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19173 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19174 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19175
19176 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
19177
19178 * math/s_cproj.c: Add include "math_private.h".
19179 * math/s_cprojf.c: Likewise.
19180 * math/s_cprojl.c: Likewise.
19181
19182 2015-05-19 Joseph Myers <joseph@codesourcery.com>
19183
19184 [BZ #18244]
19185 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19186 high mantissa bit when testing whether P is a NaN.
19187 * math/libm-test.inc (remainder_test_data): Add more tests.
19188 (remquo_test_data): Likewise.
19189
19190 [BZ #18049]
19191 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19192 below -32, return the argument, with underflow if subnormal.
19193 * math/auto-libm-test-in: Add more tests of atanh.
19194 * math/auto-libm-test-out: Regenerated.
19195
19196 2015-05-19 Roland McGrath <roland@hack.frob.com>
19197
19198 [BZ #18434]
19199 * nptl/tst-sem15.c: New file.
19200 * nptl/Makefile (tests): Add it.
19201 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19202 s/<</>>/ to fix typo in EOVERFLOW check.
19203 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19204
19205 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19206
19207 * manual/strings.texi (envz_remove): Fix typo in safety
19208 annotations.
19209
19210 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
19211 Steve Ellcey <sellcey@imgtec.com>
19212
19213 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19214 in order to avoid strict alias warnings.
19215 (iruserok_af): Ditto for ra.
19216
19217 2015-05-19 James Lemke <jwlemke@codesourcery.com>
19218
19219 [BZ #17581]
19220 * malloc/hooks.c
19221 (magicbyte): Convert to a function and avoid returning 0x01.
19222 (mem2mem_check): Avoid using a length byte equal to the magic byte.
19223 (mem2chunk_check): Fix unsigned comparisons to zero.
19224 Hoist defs of sz and magic.
19225
19226 2015-05-19 Richard Henderson <rth@redhat.com>
19227
19228 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19229
19230 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19231
19232 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19233
19234 [BZ #16159]
19235 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19236 * malloc/arena.c (arena_lock): Check if arena is corrupt.
19237 (reused_arena): Find a non-corrupt arena.
19238 (heap_trim): Pass arena to unlink.
19239 * malloc/hooks.c (malloc_check_get_size): Pass arena to
19240 malloc_printerr.
19241 (top_check): Likewise.
19242 (free_check): Likewise.
19243 (realloc_check): Likewise.
19244 * malloc/malloc.c (malloc_printerr): Add arena argument.
19245 (unlink): Likewise.
19246 (munmap_chunk): Adjust.
19247 (ARENA_CORRUPTION_BIT): New macro.
19248 (arena_is_corrupt): Likewise.
19249 (set_arena_corrupt): Likewise.
19250 (sysmalloc): Use mmap if there are no usable arenas.
19251 (_int_malloc): Likewise.
19252 (__libc_malloc): Don't fail if arena_get returns NULL.
19253 (_mid_memalign): Likewise.
19254 (__libc_calloc): Likewise.
19255 (__libc_realloc): Adjust for additional argument to
19256 malloc_printerr.
19257 (_int_free): Likewise.
19258 (malloc_consolidate): Likewise.
19259 (_int_realloc): Likewise.
19260 (_int_memalign): Don't touch corrupt arenas.
19261 * malloc/tst-malloc-backtrace.c: New test case.
19262
19263 * Makefile (summarize-tests): Fix return value on success.
19264
19265 * manual/string.texi (Envz Functions): Add envz_remove.
19266
19267 2015-05-18 Roland McGrath <roland@hack.frob.com>
19268
19269 * sysdeps/posix/opendir.c: Include <stdbool.h>.
19270 (invalid_name): New function, broken out of ...
19271 (__opendirat): ... here. Call it.
19272 (need_isdir_precheck): New function, broken out of ...
19273 (__opendirat): ... here. Call it.
19274 Use __fxstatat64, not __xstatat64.
19275 (opendir_oflags): New function, broken out of ...
19276 (__opendirat): ... here. Call it.
19277 (opendir_tail): New function, broken out of ...
19278 (__opendirat): ... here. Call it.
19279 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19280 opendir_tail, rather than punting to __opendirat.
19281 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19282
19283 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19284
19285 * .gitignore: Ignore generated *.pyc.
19286
19287 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
19288
19289 * include/stdio.h: Define __need_wint_t.
19290 * test-skeleton.c: Avoid `for' loop initial declaration.
19291 * nptl/tst-initializers1.c: Use test-skeleton.c.
19292
19293 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19294
19295 [BZ #18418]
19296 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19297
19298 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19299
19300 [BZ #16352]
19301 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19302 (__ieee754_atanh): Force underflow exception for results with
19303 small absolute value.
19304 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19305 (__ieee754_atanhf): Force underflow exception for results with
19306 small absolute value.
19307 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19308 (__ieee754_atanh): Force underflow exception for results with
19309 small absolute value.
19310 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19311 (__ieee754_atanhf): Force underflow exception for results with
19312 small absolute value.
19313 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19314 (__ieee754_atanhl): Force underflow exception for results with
19315 small absolute value.
19316 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19317 (__ieee754_atanhl): Force underflow exception for results with
19318 small absolute value.
19319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19320 (__ieee754_atanhl): Force underflow exception for results with
19321 small absolute value.
19322 * math/auto-libm-test-in: Do not allow missing underflow
19323 exceptions from atanh.
19324 * math/auto-libm-test-out: Regenerated.
19325
19326 [BZ #18221]
19327 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19328 2**-28 as threshold for returning x or +/- 1/x.
19329 * math/auto-libm-test-in: Add more tests of tan.
19330 * math/auto-libm-test-out: Regenerated.
19331
19332 [BZ #18220]
19333 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19334 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19335 * math/auto-libm-test-in: Add another test of lgamma.
19336 * math/auto-libm-test-out: Regenerated.
19337
19338 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
19339
19340 * stdio-common/printf_fp.c (___printf_fp): Use abs.
19341 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
19342 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19343 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19344 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
19345 (ADD2A): Use fabs. (SUB2A): Use fabs.
19346 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19347 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19348 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19349 (log1): Use fabs. (my_log2): Use fabs.
19350 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19351 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19353 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19355 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
19356 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
19357 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
19358 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
19359 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19360 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19361
19362 2015-05-15 Joseph Myers <joseph@codesourcery.com>
19363
19364 [BZ #18217]
19365 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19366 as threshold for returning 1 - x.
19367 * math/auto-libm-test-in: Add more tests of erfc.
19368 * math/auto-libm-test-out: Regenerated.
19369
19370 2015-05-14 Joseph Myers <joseph@codesourcery.com>
19371
19372 [BZ #18196]
19373 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19374 threshold for large arguments.
19375 * math/auto-libm-test-in: Add another test of atan.
19376 * math/auto-libm-test-out: Regenerated.
19377
19378 [BZ #16339]
19379 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19380 (__log1p): Force underflow exception for results with small
19381 absolute value.
19382 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19383 (__log1pf): Force underflow exception for results with small
19384 absolute value.
19385 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19386 (__log1p): Force underflow exception for results with small
19387 absolute value.
19388 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19389 (__log1pf): Force underflow exception for results with small
19390 absolute value.
19391 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19392 (__log1pl): Force underflow exception for results with small
19393 absolute value.
19394 * math/auto-libm-test-in: Do not allow missing underflow
19395 exceptions from log1p.
19396 * math/auto-libm-test-out: Regenerated.
19397
19398 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
19399 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19400
19401 [BZ #16704]
19402 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19403
19404 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
19405
19406 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19407 (libmvec): New variable.
19408 * configure.ac: Added option for mathvec build.
19409 * configure: Regenerated.
19410 * mathvec/Depend: New file.
19411 * mathvec/Makefile: New file.
19412 * shlib-versions: Added libmvec.
19413 * math/Makefile: Added rule for libm.so installation.
19414
19415 * bits/math-vector.h: New file.
19416 * bits/libm-simd-decl-stubs.h: New header.
19417 * math/Makefile (headers): Added new header
19418 libm-simd-decl-stubs.h.
19419 * math/math.h (__MATHCALL_VEC): New macro.
19420
19421 * math/gen-libm-have-vector-test.sh: Script generates series of macros
19422 for conditions in testing functions.
19423 * math/Makefile: Added call of libm-have-vector-test.sh.
19424 * math/libm-test.inc (HAVE_VECTOR): New macros.
19425
19426 * math/libm-test.inc: START refactored.
19427 * math/test-double.c (TEST_MATHVEC): Add define.
19428 * math/test-float.c: Likewise.
19429 * math/test-idouble.c: Likewise.
19430 * math/test-ifloat.c: Likewise.
19431 * math/test-ildoubl.c: Likewise.
19432 * math/test-ldouble.c: Likewise.
19433 * sysdeps/generic/math-tests-arch.h
19434 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19435 architecture check.
19436
19437 * math/test-double.c (FUNC_TEST): New macro.
19438 * math/test-float.c: Likewise.
19439 * math/test-idouble.c: Likewise.
19440 * math/test-ifloat.c: Likewise.
19441 * math/test-ildoubl.c: Likewise.
19442 * math/test-ldouble.c: Likewise.
19443 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
19444
19445 2015-05-13 Roland McGrath <roland@hack.frob.com>
19446
19447 * sysdeps/nacl/fdopendir.c: New file.
19448
19449 * dirent/scandir-tail.c: New file.
19450 * dirent/scandir64-tail.c: New file.
19451 * dirent/Makefile (routines): Add them.
19452 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
19453 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
19454 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
19455 [!SCANDIR] (SCANDIR_TAIL): New macro.
19456 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
19457 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
19458 (SCANDIRAT): Macro removed.
19459 (SCANDIR_TAIL): New macro.
19460 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
19461 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
19462 (SCANDIRAT): Just call __opendirat and __scandir_tail.
19463 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
19464 (READDIR): Macro removed.
19465 (SCANDIR_TAIL): New macro.
19466 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
19467 (SCANDIR_TAIL): New macro.
19468
19469 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
19470 * dirent/scandir-cancel.c: ... to this new file.
19471 * dirent/Makefile (routines): Add it.
19472 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
19473 * sysdeps/unix/sysv/linux/i386/scandir64.c
19474 (SKIP_SCANDIR_CANCEL): Macro removed.
19475 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
19476
19477 * dirent/tst-scandir.c: New file.
19478 * dirent/tst-scandir64.c: New file.
19479 * dirent/Makefile (tests): Add them.
19480
19481 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
19482
19483 [BZ #18409]
19484 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
19485
19486 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
19487
19488 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
19489 list.
19490
19491 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
19492
19493 * benchtests/bench-strcoll.c: New benchmark.
19494 * benchtests/Makefile: Generate locales and run benchmark.
19495 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
19496 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19497 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
19498 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
19499 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
19500 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
19501 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
19502 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
19503 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
19504 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
19505 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
19506 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
19507 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
19508 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
19509 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
19510 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
19511 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
19512 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
19513 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
19514 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
19515 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
19516 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
19517 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
19518 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
19519
19520 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
19521
19522 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
19523 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19524
19525 2015-05-12 Roland McGrath <roland@hack.frob.com>
19526
19527 * posix/uname-values.h: New file.
19528 * posix/uname.c: Include that instead of <config-name.h>.
19529 * sysdeps/nacl/uname-values.h: New file.
19530 * sysdeps/arm/nacl/uname-values.h: New file.
19531
19532 2015-05-12 Joseph Myers <joseph@codesourcery.com>
19533
19534 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
19535 splitting into fields.
19536
19537 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
19538
19539 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
19540 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
19541 * locale/localeinfo.h: Add enum collation_encoding_type.
19542 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
19543 * programs/ld-collate.c (collate_output): Add encoding type info.
19544 * string/strcoll_l.c (STRDIFF): New function.
19545 * (STRCOLL): Use STRDIFF to skip over equal prefix.
19546 * wcsmbs/wcscoll_l.c: Define STRDIFF.
19547
19548 2015-05-11 Joseph Myers <joseph@codesourcery.com>
19549
19550 [BZ #18397]
19551 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
19552 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
19553 <fpu_control.h> instead of <math/fpu_control.c>.
19554 * sysdeps/mips/mips32/fpu/Makefile: New file.
19555
19556 2015-05-11 Andreas Schwab <schwab@suse.de>
19557
19558 [BZ #18007]
19559 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
19560 nss_endgrent.
19561 (_nss_compat_endgrent): Call nss_endgrent.
19562 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
19563 nss_endpwent.
19564 (_nss_compat_endpwent): Call nss_endpwent.
19565 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
19566 needent, call nss_setspent only if non-zero.
19567 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
19568 (internal_endspent): Don't call nss_endspent.
19569 (_nss_compat_endspent): Call nss_endspent.
19570 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
19571 Remove. All uses removed.
19572 (internal_setent): Remove parameter stayopen, add parameter
19573 stream. Use it instead of global variable.
19574 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
19575 (internal_endent, internal_getent): Add parameter stream. Use it
19576 instead of global variable.
19577 (CONCAT(_nss_files_end,ENTNAME))
19578 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
19579 (_nss_files_get##name##_r): Pass local stream. Remove locking.
19580 * nss/nss_files/files-alias.c (position, last_use): Remove. All
19581 uses removed.
19582 (internal_setent, internal_endent): Add parameter stream. Use it
19583 instead of global variable.
19584 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
19585 stream.
19586 (get_next_alias): Add parameter stream.
19587 (_nss_files_getaliasent_r): Pass global stream.
19588 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
19589 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
19590 (_nss_files_gethostbyname4_r): Pass local stream to
19591 internal_setent, internal_getent and internal_endent. Remove
19592 locking.
19593
19594 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19595
19596 * tst-strfmon1.c (tests): Update expected currency symbol.
19597
19598 2015-05-08 Roland McGrath <roland@hack.frob.com>
19599
19600 * sysdeps/nacl/gethostname.c: New file.
19601
19602 2015-05-08 Joseph Myers <joseph@codesourcery.com>
19603
19604 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
19605 and sinh.
19606 * math/auto-libm-test-out: Regenerated.
19607 * sysdeps/i386/fpu/libm-test-ulps: Update.
19608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19609
19610 2015-05-08 Carlos O'Donell <carlos@redhat.com>
19611
19612 [BZ #18125]
19613 * stdlib/tst-setcontext3.c: New file.
19614 * stdlib/tst-setcontext3.sh: New file.
19615 * stdlib/Makefile (tests): Add tst-setcontext3.
19616 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
19617 to verify test program created output file.
19618 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
19619 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19620 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
19621 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
19622
19623 2015-05-06 Roland McGrath <roland@hack.frob.com>
19624
19625 [BZ #18383]
19626 * elf/tst-tlsalign.c: New file.
19627 * elf/tst-tlsalign-static.c: New file.
19628 * elf/tst-tlsalign-lib.c: New file.
19629 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
19630 (tests-static): Add tst-tlsalign-static.
19631 (modules-names): Add tst-tlsalign-lib.
19632 (test-xfail-tst-tlsalign): New variable.
19633 (test-xfail-tst-tlsalign-static): New variable.
19634
19635 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
19636 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
19637
19638 2015-05-06 Joseph Myers <joseph@codesourcery.com>
19639
19640 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
19641 csqrt, erfc, sin and sincos.
19642 * math/auto-libm-test-out: Regenerated.
19643 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645
19646 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
19647
19648 * sysdeps/aarch64/libm-test-ulps: Update.
19649
19650 2015-05-05 Joseph Myers <joseph@codesourcery.com>
19651
19652 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
19653 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
19654 * math/auto-libm-test-out: Regenerated.
19655 * sysdeps/i386/fpu/libm-test-ulps: Update.
19656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657
19658 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
19659
19660 [BZ #18265]
19661 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
19662 (wcsncpy): Likewise.
19663
19664 2015-05-05 Florian Weimer <fweimer@redhat.com>
19665
19666 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19667 Assume __ASSUME_FALLOCATE is always true.
19668 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19669 (__posix_fallocate64_l64): Likweise.
19670 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
19671 (posix_fallocate): Likewise.
19672 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
19673 (__posix_fallocate64_l64): Likewise.
19674 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19675 [!__ASSUME_FALLOCATE]: Add comment.
19676
19677 2015-05-05 Florian Weimer <fweimer@redhat.com>
19678
19679 * sysdeps/unix/sysv/linux/i386/Makefile
19680 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
19681 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
19682 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
19683 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
19684 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
19685 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
19686 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
19687
19688 2015-05-02 Joseph Myers <joseph@codesourcery.com>
19689
19690 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
19691 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
19692 tgamma.
19693 * math/auto-libm-test-out: Regenerated.
19694 * sysdeps/i386/fpu/libm-test-ulps: Update.
19695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19696
19697 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19698
19699 * math/auto-libm-test-in: Add more tests of tgamma.
19700 * math/auto-libm-test-out: Regenerated.
19701 * sysdeps/i386/fpu/libm-test-ulps: Update.
19702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19703
19704 * math/auto-libm-test-in: Add more tests of tanh.
19705 * math/auto-libm-test-out: Regenerated.
19706 * sysdeps/i386/fpu/libm-test-ulps: Update.
19707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19708
19709 * math/auto-libm-test-in: Add more tests of tan.
19710 * math/auto-libm-test-out: Regenerated.
19711 * sysdeps/i386/fpu/libm-test-ulps: Update.
19712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19713
19714 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
19715 * math/auto-libm-test-out: Regenerated.
19716 * sysdeps/i386/fpu/libm-test-ulps: Update.
19717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19718
19719 * math/auto-libm-test-in: Add another test of pow.
19720 * math/auto-libm-test-out: Regenerated.
19721 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19722
19723 * math/auto-libm-test-in: Add more tests of lgamma.
19724 * math/auto-libm-test-out: Regenerated.
19725 * sysdeps/i386/fpu/libm-test-ulps: Update.
19726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19727
19728 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
19729 log1p.
19730 * math/auto-libm-test-out: Regenerated.
19731 * sysdeps/i386/fpu/libm-test-ulps: Update.
19732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19733
19734 2015-05-01 Mark Wielaard <mjw@redhat.com>
19735
19736 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
19737 Elf64_Chdr structs and ELFCOMPRESS constants.
19738
19739 2015-05-01 Joseph Myers <joseph@codesourcery.com>
19740
19741 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
19742 expm1.
19743 * math/auto-libm-test-out: Regenerated.
19744 * sysdeps/i386/fpu/libm-test-ulps: Update.
19745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19746
19747 * math/auto-libm-test-in: Add more tests of erf and erfc.
19748 * math/auto-libm-test-out: Regenerated.
19749 * sysdeps/i386/fpu/libm-test-ulps: Update.
19750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19751
19752 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
19753
19754 * config.h.in (HAVE_AARCH64_BE): Add.
19755
19756 2015-04-30 Joseph Myers <joseph@codesourcery.com>
19757
19758 * math/auto-libm-test-in: Add more tests of csqrt.
19759 * math/auto-libm-test-out: Regenerated.
19760 * sysdeps/i386/fpu/libm-test-ulps: Update.
19761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19762
19763 * math/auto-libm-test-in: Add more tests of cosh and sinh.
19764 * math/auto-libm-test-out: Regenerated.
19765 * sysdeps/i386/fpu/libm-test-ulps: Update.
19766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19767
19768 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
19769
19770 2015-04-29 Roland McGrath <roland@hack.frob.com>
19771
19772 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
19773 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
19774
19775 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
19776 (euidaccess, eaccess): Define as weak aliases.
19777
19778 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
19779 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
19780 but __suseconds_t is often 'long int' so some sources assume that
19781 type is being used (e.g. they use %ld to print tv_usec).
19782
19783 2015-04-29 Florian Weimer <fweimer@redhat.com>
19784
19785 [BZ #18007]
19786 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
19787 (CVE-2014-8121)
19788 * nss/tst-nss-getpwent.c: New file.
19789 * nss/Makefile (tests): Add new test.
19790
19791 2015-04-28 Joseph Myers <joseph@codesourcery.com>
19792
19793 [BZ #18346]
19794 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
19795 exponents less than 48 as cases where high part of mantissa needs
19796 examining to determine whether argument is integral.
19797 * math/libm-test.inc (round_test_data): Add more tests.
19798
19799 2015-04-28 Mark Wielaard <mjw@redhat.com>
19800
19801 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
19802
19803 2015-04-27 David S. Miller <davem@davemloft.net>
19804
19805 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
19806 __tls_get_addr.
19807 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19808
19809 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
19810
19811 [BZ#18333]
19812 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
19813
19814 2015-04-27 Florian Weimer <fweimer@redhat.com>
19815
19816 [BZ#18333]
19817 * time/tzset.c (parse_tzname): Return error on memory allocation
19818 failure.
19819 * test-skeleton.c (struct temp_name_list): Change type of name
19820 member to non-const.
19821 (add_temp_file): Create a copy of the file name.
19822 (delete_temp_files): Deallocate memory.
19823 (create_temp_file): Add comment.
19824
19825 2015-04-24 Florian Weimer <fweimer@redhat.com>
19826
19827 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
19828 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
19829
19830 2015-04-24 Roland McGrath <roland@hack.frob.com>
19831
19832 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
19833 * sysdeps/arm/configure: Regenerated.
19834
19835 2015-04-24 Florian Weimer <fweimer@redhat.com>
19836
19837 [BZ #17715]
19838 * time/tzfile.c (__tzfile_read): Check for large values of
19839 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
19840 * time/tzset.c (__tzstring_len): New function, based on the old
19841 __tzstring function.
19842 (__tzstring): Call __tzstring_len.
19843 (parse_tzname): New helper function extracted from
19844 __tzset_parse_tz. Call __tzstring_len, without making a copy of
19845 the input string.
19846 (parse_offset): New helper function extracted from
19847 __tzset_parse_tz. Replace switch with fallthrough with
19848 initialization before sscanf.
19849 (parse_rule): Likewise.
19850 (__tzset_parse_tz): Rewrite using the new helper functions. Use
19851 new-style function definition.
19852 * timezone/Makefile (tests): Add tst-tzset.
19853 (tst-tzset.out): Dependencies on time zone files.
19854 (tst-tzset-ENV): Set TZDIR.
19855 (testdata/XT%): Copy crafted time zone files.
19856 * timezone/README: Mention crafted time zone files.
19857 * timezone/testdata/XT1, timezone/testdata/XT2,
19858 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
19859 files.
19860 * timezone/tst-tzset.c: New test.
19861
19862 2015-04-24 Florian Weimer <fweimer@redhat.com>
19863
19864 * Makeconfig (+gccwarn): Remove -Winline.
19865
19866 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19867
19868 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
19869
19870 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
19871
19872 * NEWS: Mention sysconf() cache information support for s390.
19873 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
19874
19875 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
19876
19877 * math/k_casinh.c (__kernel_casinh): Use __copysign.
19878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
19879 (__nearbyint): Likewise.
19880 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
19881 (copysignl): Likewise.
19882
19883 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
19884
19885 [BZ #18287]
19886 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
19887 based on padding. (CVE-2015-1781)
19888
19889 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19890
19891 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
19892 libc-vdso.h.
19893 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
19894 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
19895 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
19896 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19897 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19898 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
19899 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
19900 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19901 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19902 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
19903 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19904 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
19905 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19906 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
19907 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19908 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
19909 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
19910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
19911 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
19912 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
19913 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
19914 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
19915 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
19916
19917 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
19918
19919 * stdlib/setenv.c (__add_to_environ):
19920 Dump core quickly if setenv (..., NULL, ...) is called.
19921 This time, do it the right way, and pacify GCC with a pragma.
19922
19923 2015-04-17 Roland McGrath <roland@hack.frob.com>
19924
19925 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
19926 IMAP->l_prev cannot be null, and #if out the code for the contrary
19927 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
19928 believe that NS (&_dl_ns[NSID]) could point outside the array.
19929
19930 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
19931 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
19932 before using NSID as an index.
19933
19934 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
19935
19936 [BZ #17825]
19937 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
19938 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
19939 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19940
19941 2015-04-17 Roland McGrath <roland@hack.frob.com>
19942
19943 Add preliminary port to Google Native Client on ARM.
19944 * abi-tags (.*-.*-nacl.*): New entry.
19945 * sysdeps/arm/nacl: New directory.
19946 * sysdeps/nacl: New directory.
19947
19948 2015-04-16 David S. Miller <davem@davemloft.net>
19949
19950 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
19951 lowlevellock-futex.h
19952
19953 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
19954
19955 * sysdeps/tile/configure.ac: New file.
19956 * sysdeps/tile/configure: Regenerated.
19957
19958 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19959
19960 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
19961 conditionals for weak_alias and libc_hidden_weak.
19962 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
19963 libc_hidden_weak and weak_alias.
19964 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
19965 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
19966 and weak_alias for static one.
19967
19968 2015-04-15 David S. Miller <davem@davemloft.net>
19969
19970 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19971
19972 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19973
19974 [BZ #18206]
19975 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
19976 Use signed comparision instead of substraction to avoid
19977 overflow bug.
19978 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
19979 Take the sign of ret.
19980 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
19981 Do not expect precise return values. Only the sign matters.
19982 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
19983 * wcsmbs/test-wcsncmp.c: New File.
19984 * string/test-strncmp.c: Add wcsncmp support.
19985
19986 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19987
19988 [BZ #6792]
19989 * math/w_log1p.c: New file.
19990 * math/w_log1pf.c: Likewise.
19991 * math/w_log1pl.c: Likewise.
19992 * math/Makefile (libm-calls): Add w_log1p.
19993 * math/s_log1pl.c (log1pl): Remove weak_alias.
19994 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
19995 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
19996 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
19997 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
19998 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
19999 [NO_LONG_DOUBLE] (log1pl): Likewise.
20000 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20001 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20002 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20003 (log1p): Remove long_double_symbol.
20004 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20005 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20006 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20007 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20008 remove weak_alias for corresponding log1p function.
20009 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20010 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20011 * sysdeps/ia64/fpu/w_log1p.c: New file.
20012 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20013 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20014 * math/libm-test.inc (log1p_test_data): Add errno expectations.
20015
20016 2015-04-10 Joseph Myers <joseph@codesourcery.com>
20017
20018 [BZ #18247]
20019 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20020 decimal exponent by 1.
20021 * stdlib/tst-strtod-round-data: Add more tests.
20022 * stdlib/tst-strtod-round.c (tests): Regenerated.
20023
20024 2015-04-09 Joseph Myers <joseph@codesourcery.com>
20025
20026 * math/auto-libm-test-in: Add more tests of clog and clog10.
20027 * math/auto-libm-test-out: Regenerated.
20028 * sysdeps/i386/fpu/libm-test-ulps: Update.
20029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20030
20031 2015-04-09 Roland McGrath <roland@hack.frob.com>
20032
20033 * Makeconfig (module-cppflags): Exclude all .v.i files.
20034 (skip-module-cppflags): Variable removed.
20035
20036 * configure.ac (libc_config_ok): Initialize before reading
20037 preconfigure scripts, not after.
20038 * configure: Regenerated.
20039
20040 * test-skeleton.c (TIMEOUT): Move #define to top level.
20041 (main): Grok environment variable TEST_DIRECT. If set, print
20042 test expectation details into that file and then behave as if
20043 given --direct.
20044
20045 2015-04-09 Florian Weimer <fweimer@redhat.com>
20046
20047 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20048 warning on 32-bit.
20049
20050 2015-04-08 David S. Miller <davem@davemloft.net>
20051
20052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20053
20054 2015-04-08 Joseph Myers <joseph@codesourcery.com>
20055
20056 * math/auto-libm-test-in: Add more tests of atanh.
20057 * math/auto-libm-test-out: Regenerated.
20058 * sysdeps/i386/fpu/libm-test-ulps: Update.
20059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20060
20061 * math/auto-libm-test-in: Add more tests of atan.
20062 * math/auto-libm-test-out: Regenerated.
20063 * sysdeps/i386/fpu/libm-test-ulps: Update.
20064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20065
20066 2015-04-08 Florian Weimer <fweimer@redhat.com>
20067
20068 * elf/pldd.c (main): Rewrite to use struct
20069 scratch_buffer instead of extend_alloca.
20070 * elf/pldd-xx.c (find_maps): Likewise.
20071 * grp/initgroups.c: Include <scratch_buffer.h> instead of
20072 <alloca.h>.
20073 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20074 scratch_buffer instead of extend_alloca.
20075 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20076 grp/compat-initgroups.c.
20077 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20078 Rewrite to use struct scratch_buffer instead of extend_alloca.
20079 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20080 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20081
20082 2015-04-08 Joseph Myers <joseph@codesourcery.com>
20083
20084 * math/auto-libm-test-in: Add more tests of cbrt.
20085 * math/auto-libm-test-out: Regenerated.
20086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20087
20088 * math/auto-libm-test-in: Add more tests of cabs.
20089 * math/auto-libm-test-out: Regenerated.
20090 * sysdeps/i386/fpu/libm-test-ulps: Update.
20091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20092
20093 [BZ #18210]
20094 [BZ #18211]
20095 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20096 (__ieee754_atan2): Set FE_TONEAREST mode for internal
20097 computations.
20098 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20099 clog10.
20100 * math/auto-libm-test-out: Regenerated.
20101 * sysdeps/i386/fpu/libm-test-ulps: Update.
20102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20103
20104 [BZ #18197]
20105 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20106 (atan): Set FE_TONEAREST mode for internal computations.
20107 * math/auto-libm-test-in: Add more tests of atan.
20108 * math/auto-libm-test-out: Regenerated.
20109
20110 2015-04-07 James Cowgill <james410@cowgill.org.uk>
20111
20112 [BZ #17930]
20113 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20114
20115 2015-04-07 Florian Weimer <fweimer@redhat.com>
20116
20117 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20118
20119 2015-04-07 Florian Weimer <fweimer@redhat.com>
20120
20121 * include/scratch_buffer.h: New file.
20122 * malloc/scratch_buffer_grow.c: Likewise.
20123 * malloc/scratch_buffer_grow_preserve.c: Likewise.
20124 * malloc/scratch_buffer_set_array_size.c: Likewise.
20125 * malloc/tst-scratch_buffer.c: Likewise.
20126 * malloc/Makefile (routines): Add scratch_buffer_grow.
20127 (tests): Add test case.
20128 * malloc/Versions (GLIBC_PRIVATE): Export
20129 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20130 __libc_scratch_buffer_set_array_size.
20131
20132 2015-04-06 Richard Henderson <rth@redhat.com>
20133
20134 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20135 * sysdeps/alpha/fpu/libm-test-ulps: Update.
20136
20137 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20138 unsigned int before printing.
20139
20140 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20141
20142 [BZ #17596]
20143 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20144 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20145
20146 2015-04-02 Florian Weimer <fweimer@redhat.com>
20147
20148 * include/libc-internal.h (libc_max_align_t): Define.
20149
20150 2015-04-02 Andreas Schwab <schwab@suse.de>
20151
20152 [BZ #16850]
20153 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20154
20155 2015-04-02 Mel Gorman <mgorman@suse.de>
20156
20157 [BZ #17195]
20158 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20159 as well as the main arena.
20160
20161 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20162
20163 [BZ #18185]
20164 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20165 sharing L2 cache to 2 for Silvermont/Knights Landing.
20166
20167 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20168
20169 [BZ #17711]
20170 * config.make.in (have-protected-data): New.
20171 * configure.ac: Check linker support for protected data symbol.
20172 * configure: Regenerated.
20173 * elf/Makefile (modules-names): Add tst-protected1moda and
20174 tst-protected1modb if $(have-protected-data) is yes.
20175 (tests): Add tst-protected1a and tst-protected1b if
20176 $(have-protected-data) is yes.
20177 ($(objpfx)tst-protected1a): New.
20178 ($(objpfx)tst-protected1b): Likewise.
20179 (tst-protected1modb.so-no-z-defs): Likewise.
20180 * elf/tst-protected1a.c: New file.
20181 * elf/tst-protected1b.c: Likewise.
20182 * elf/tst-protected1mod.h: Likewise.
20183 * elf/tst-protected1moda.c: Likewise.
20184 * elf/tst-protected1modb.c: Likewise.
20185
20186 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 [BZ #17711]
20189 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20190 indicates it is called from do_lookup_x on relocation against
20191 protected data, skip the data definion in the executable from
20192 copy reloc.
20193 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20194 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20195 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20196 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20197 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20198 otherwise to 0.
20199 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20200 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20201 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20202 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20203 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20204 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20205
20206 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
20207
20208 * sysdeps/nptl/pthread.h: Remove duplicate definition of
20209 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20210
20211 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
20212
20213 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20214 THREAD_SETMEM_NC.
20215 * sysdeps/x86_64/nptl/tls.h: Ditto.
20216
20217 2015-03-27 Roland McGrath <roland@hack.frob.com>
20218
20219 * dlfcn/tststatic.c (main): Converted to ...
20220 (do_test): ... this.
20221 (TEST_FUNCTION): New macro.
20222 Include test-skeleton.c.
20223
20224 2015-03-26 Alan Modra <amodra@gmail.com>
20225
20226 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20227 Don't segfault if ifunc resolver returns a NULL. Do set plt to
20228 zero for undefined weak.
20229 (elf_machine_plt_conflict): Similarly.
20230
20231 2015-03-25 Joseph Myers <joseph@codesourcery.com>
20232
20233 * math/auto-libm-test-in: Add more tests of acosh, asinh and
20234 atanh.
20235 * math/auto-libm-test-out: Regenerated.
20236 * sysdeps/i386/fpu/libm-test-ulps: Update.
20237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20238
20239 * math/auto-libm-test-in: Add another test of asin.
20240 * math/auto-libm-test-out: Regenerated.
20241 * sysdeps/i386/fpu/libm-test-ulps: Update.
20242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20243
20244 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20245 Remove macro.
20246 (LLL_EBX_REG): Likewise.
20247 (LLL_ENTER_KERNEL): Likewise.
20248
20249 * math/auto-libm-test-in: Add more tests of asin.
20250 * math/auto-libm-test-out: Regenerated.
20251 * sysdeps/i386/fpu/libm-test-ulps: Update.
20252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20253
20254 [BZ #18138]
20255 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20256 libc_do_syscall_args): New structure.
20257 (INTERNAL_SYSCALL_MAIN_0): New macro.
20258 (INTERNAL_SYSCALL_MAIN_1): Likewise.
20259 (INTERNAL_SYSCALL_MAIN_2): Likewise.
20260 (INTERNAL_SYSCALL_MAIN_3): Likewise.
20261 (INTERNAL_SYSCALL_MAIN_4): Likewise.
20262 (INTERNAL_SYSCALL_MAIN_5): Likewise.
20263 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
20264 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20265 Replace conditional definitions by conditional definitions of ....
20266 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
20267 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20268 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20269 (libpthread-sysdep_routines): Add libc-do-syscall.
20270 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20271 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20272 to __NR_futex not 240.
20273
20274 2015-03-25 Alan Modra <amodra@gmail.com>
20275
20276 * NEWS: Advertise TLS optimization.
20277 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20278 (DT_PPC_NUM): Increment.
20279 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20280 (CHECK_STATIC_TLS): Use here.
20281 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20282 TLS descriptors.
20283 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20284 * sysdeps/powerpc/dl-tls.c: New file.
20285 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20286 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20287 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20288 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20292
20293 2015-03-25 Alan Modra <amodra@gmail.com>
20294
20295 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20296 for overlapping .opd entries" to "support...".
20297 * sysdeps/powerpc/powerpc64/configure: Regenerate
20298
20299 2015-03-25 Joseph Myers <joseph@codesourcery.com>
20300
20301 * math/auto-libm-test-in: Add more tests of acos.
20302 * math/auto-libm-test-out: Regenerated.
20303 * sysdeps/i386/fpu/libm-test-ulps: Update.
20304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305
20306 * math/auto-libm-test-in: Add more tests of expm1.
20307 * math/auto-libm-test-out: Regenerated.
20308 * sysdeps/i386/fpu/libm-test-ulps: Update.
20309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20310
20311 2015-03-24 Joseph Myers <joseph@codesourcery.com>
20312
20313 * math/auto-libm-test-in: Add more tests of cosh and sinh.
20314 * math/auto-libm-test-out: Regenerated.
20315 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20317
20318 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20320
20321 * math/auto-libm-test-in: Add more tests of log2.
20322 * math/auto-libm-test-out: Regenerated.
20323 * sysdeps/i386/fpu/libm-test-ulps: Update.
20324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20325
20326 2015-03-23 Roland McGrath <roland@hack.frob.com>
20327
20328 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20329 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
20330 _IO_IS_APPENDING bit in READ_WRITE instead.
20331
20332 2015-03-23 Florian Weimer <fweimer@redhat.com>
20333
20334 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20335 (__determine_cpumask_size): Replace extend_alloca with a
20336 variable-length array. Do not treat res == 0 as an error.
20337
20338 2015-03-23 Florian Weimer <fweimer@redhat.com>
20339
20340 [BZ #18100]
20341 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20342 and integer overflow.
20343 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20344 (main): Add integer overflow tests.
20345 * manual/pattern.texi (Calling Wordexp): Document additional use
20346 for WRDE_SYNTAX.
20347
20348 2015-03-23 Alan Modra <amodra@gmail.com>
20349
20350 * config.h.in: Remove HAVE_ASM_PPC_REL16.
20351 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20352 and false branch of conditional.
20353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20354 Likewise.
20355
20356 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
20357
20358 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20359 libc-modules.h
20360 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20361 unused declaration of _hurd_intr_rpc_msg_in_trap.
20362 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20363 defined instead of whether it is non-zero.
20364 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20365 input constraint instead of both input and output constraint. Use ecx
20366 clobber instead of %ecx.
20367 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20368 mutex_unlock): Use a statement expression instead of an expression list.
20369 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20370 type to vm_size_t instead of vm_address_t.
20371 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20372 defined instead of whether it is non-zero.
20373 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20374 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20375 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20376 comparisons with mapaddr.
20377 * nscd/nscd-client.h: Include <time.h>.
20378 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20379 9th parameter to __vm_region instead of int.
20380 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20381 * scripts/check-local-headers.sh (exclude): Add device/,
20382 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20383 cthreads.h.
20384
20385 2015-03-19 Roland McGrath <roland@hack.frob.com>
20386
20387 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20388 to account for alignment padding.
20389 * sysdeps/arm/memmove.S: Likewise.
20390
20391 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
20392
20393 * sysdeps/unix/sysv/linux/generic/README: New file.
20394
20395 2015-03-18 Joseph Myers <joseph@codesourcery.com>
20396
20397 [BZ #18138]
20398 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20399 (futex_abstimed_wait)
20400 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20401 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20402 of lll_futex_timed_wait.
20403
20404 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
20405
20406 [BZ #17542]
20407 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20408
20409 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
20410
20411 [BZ #17090]
20412 [BZ #17620]
20413 [BZ #17621]
20414 [BZ #17628]
20415 * NEWS: Update.
20416 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20417 entries with Static TLS too. Skip entries past the end of the
20418 allocated DTV, from Alan Modra.
20419 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
20420 Static TLS DTV entry set up from...
20421 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20422 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20423 * nptl/allocatestack.c (init_one_static_tls): ... and here...
20424 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20425 for Static TLS.
20426 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
20427 that the slot we find is associated with the given map before
20428 using its generation count.
20429 * nptl_db/db_info.c: Include ldsodefs.h.
20430 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20431 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20432 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20433 (link_map::l_tls_offset): New struct field.
20434 (dtv_t::counter): Likewise.
20435 (rtld_global): New struct.
20436 (_rtld_global): New rtld variable.
20437 (dl_tls_dtv_slotinfo_list): New rtld global field.
20438 (dtv_slotinfo_list): New struct.
20439 (dtv_slotinfo): Likewise.
20440 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20441 (td_lookup): Rename to...
20442 (td_mod_lookup): ... this. Use new mod parameter instead of
20443 LIBPTHREAD_SO.
20444 * nptl_db/td_thr_tlsbase.c: Include link.h.
20445 (dtv_slotinfo_list, dtv_slotinfo): New functions.
20446 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
20447 addresses even if the DTV is out of date or missing them.
20448 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
20449 index zero-length arrays.
20450 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
20451 (td_lookup): Make it a macro implemented in terms of...
20452 (td_mod_lookup): ... this declaration.
20453 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
20454 (DB_MAIN_VARIABLE): Likewise.
20455
20456 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
20457
20458 [BZ #18134]
20459 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20460
20461 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
20462
20463 * stdlib/setenv.c (__add_to_environ): Revert previous change.
20464
20465 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
20466
20467 [BZ #18128]
20468 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
20469 (atomic_add, atomic_increment_and_test)
20470 (atomic_decrement_and_test): Fix 64-bit arithmetic.
20471
20472 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
20473
20474 * stdlib/setenv.c (__add_to_environ):
20475 Dump core quickly if setenv (..., NULL, ...) is called.
20476
20477 2015-03-13 Roland McGrath <roland@hack.frob.com>
20478
20479 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
20480 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
20481 all the necessary asm magic in one place.
20482 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
20483 using those.
20484
20485 2015-03-13 Carlos O'Donell <carlos@redhat.com>
20486
20487 [BZ #14906]
20488 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
20489 traced file mtime. Use consistent log message.
20490 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
20491 (register_traced_file): Call install_watches. Always set mtime.
20492 (invalidate_cache): Iterate over all trace files. Call install_watches.
20493 (inotify_check_files): Don't inline. Handle watching parent
20494 directories and configuration file movement in and out.
20495 (handle_inotify_events): New function.
20496 (main_loop_poll): Call handle_inotify_events.
20497 (main_loop_epoll): Likewise.
20498 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
20499 (struct traced_file): Use array of inotify fds. Add parent directory,
20500 and basename.
20501 (struct database_dyn): Remove unused file_mtime.
20502 (init_traced_file): New inline function.
20503 (define_traced_file): New macro.
20504 * nss/nss_db/db-init.c: Use define_traced_file.
20505 (_nss_db_init): Use init_traced_file.
20506 * nss/nss_files/files-init.c: Use define_traced_file.
20507 (_nss_files_init): Use init_traced_file.
20508
20509 2015-03-12 Joseph Myers <joseph@codesourcery.com>
20510
20511 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
20512 [_LIBC]: Do not include <stdlib.h>.
20513 [!_LIBC] (abort): Remove declaration.
20514 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
20515 _FP_STATIC_ASSERT instead of conditionally calling abort.
20516 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
20517 (_FP_EXTEND_CNAN): Likewise.
20518 (FP_TRUNC): Likewise.
20519 (__FP_CLZ): Likewise.
20520 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
20521
20522 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
20523
20524 * manual/string.texi (XPG basename): Fix prototype.
20525
20526 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20527
20528 [BZ #18080]
20529 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
20530 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20531 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
20532 (__setcontext): Likewise.
20533 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
20534 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
20535 Call rt_sigprocmask syscall one time to set new signal mask
20536 and retrieve the current signal mask instead of two calls.
20537 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
20538 (__swapcontext): Likewise.
20539 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
20540 * stdlib/tst-setcontext2.c: New file.
20541
20542 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
20543
20544 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20545
20546 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
20547
20548 [BZ #18093]
20549 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
20550 the wrong size.
20551
20552 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
20553
20554 [BZ #18043]
20555 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
20556
20557 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20558
20559 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
20560 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
20561 Remove define.
20562 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
20563 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
20564 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
20565 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
20566 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
20567 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
20568 define.
20569 * nptl_db/td_symbol_list.c (td_lookup): Remove
20570 HAVE_ASM_GLOBAL_DOT_NAME code.
20571 * sysdeps/powerpc/powerpc64/configure.ac: Remove
20572 HAVE_ASM_GLOBAL_DOT_NAME check.
20573 * sysdeps/powerpc/powerpc64/configure: Regenerate.
20574 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
20575 (DOT_LABEL): Remove define.
20576 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
20577 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
20578 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
20579 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
20580 (__TLS_GET_ADDR): Likewise.
20581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
20582 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
20583
20584 2015-03-11 Carlos O'Donell <carlos@redhat.com>
20585
20586 [BZ #18111]
20587 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
20588 (_FPU_SETCW): Initialize cw from fpsr before storing.
20589 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
20590 (fesetexceptflag): Rewrite using fpu_control.h.
20591 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
20592
20593 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
20594
20595 [BZ #18110]
20596 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
20597 asms.
20598 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20599
20600 2015-03-11 Joseph Myers <joseph@codesourcery.com>
20601
20602 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
20603 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
20604 abort.
20605 (_FP_FMA): Likewise.
20606 (_FP_DIV): Likewise.
20607
20608 2015-03-10 Roland McGrath <roland@hack.frob.com>
20609
20610 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
20611 with 0 in that case.
20612 * Makefile (summarize-tests): New canned sequence, factored out of
20613 commands for targets tests and xtests. Display summary lines that
20614 don't start with PASS: or XFAIL: rather than ones that do start with
20615 ERROR: or FAIL:. Make the commands fail if any summary lines fail
20616 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
20617 do start with ERROR: or FAIL:.
20618 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
20619 (except for [$(build-shared) = yes]).
20620 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
20621 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
20622 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
20623 * nptl/Makefile: Revert 2015-03-04 changes.
20624 [$(CXX) empty] (tests-unsupported): New variable.
20625 * debug/Makefile: Likewise.
20626
20627 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
20628 gnulib file. Replace __attribute with __attribute__ throughout.
20629
20630 2015-03-10 Carlos O'Donell <carlos@redhat.com>
20631
20632 * sysdeps/hppa/fpu/libm-test-ulps: Update.
20633
20634 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20635
20636 [BZ #18104]
20637 * math/auto-libm-test-in: Add another test of pow.
20638 * math/auto-libm-test-out: Regenerated.
20639
20640 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20641
20642 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
20643 $(config-cflags-nofma).
20644
20645 2015-03-10 Joseph Myers <joseph@codesourcery.com>
20646
20647 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
20648 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
20649 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
20650 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
20651 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
20652 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
20653 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
20654 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
20655 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
20656 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
20657 Add comment on closing #endif.
20658
20659 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20660
20661 * posix/wordexp.c (CHAR_IN_SET): New macro.
20662 (parse_param): Use it.
20663
20664 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20665
20666 * sysdeps/powerpc/fpu/libm-test-ulps: update.
20667
20668 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20669
20670 [BZ #18043]
20671 * posix/wordexp.c (parse_param): Fix buffer overflow.
20672 * posix/wordexp-test.c (test_case): Add test case.
20673
20674 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20675
20676 [BZ #18042]
20677 * posix/wordexp.c (parse_backtick): Fix off-by-one.
20678 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
20679
20680 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
20681
20682 [BZ #18043]
20683 * posix/wordexp-test.c (test_case): Add test for BZ #18043
20684 (do_bz18043): Delete.
20685 (at_page_end): New.
20686 (testit): Refactor to have words at the edge of unreadable page.
20687
20688 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20689
20690 [BZ #16734]
20691 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
20692 Cleanup read-only streams as well.
20693 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
20694
20695 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20696
20697 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
20698 <bits/libc-lockP.h>
20699
20700 2015-03-07 Joseph Myers <joseph@codesourcery.com>
20701
20702 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
20703 on [__KERNEL__].
20704 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
20705 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
20706 * soft-fp/op-common.h (_FP_DECL): Likewise.
20707
20708 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
20709
20710 * elf/ifuncdep2.c (global): Replace
20711 __attribute__((visibility("protected"))) with
20712 asm (".protected global").
20713 * elf/ifuncmod1.c (global): Likewise.
20714 * elf/ifuncmod5.c (global): Likewise.
20715
20716 2015-03-06 Joseph Myers <joseph@codesourcery.com>
20717
20718 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
20719 <asm/sfp-machine.h> instead of <sfp-machine.h>.
20720
20721 2015-03-06 Roland McGrath <roland@hack.frob.com>
20722
20723 * manual/install.texi (Configuring and compiling):
20724 Document test-wrapper-env-only.
20725 * INSTALL: Regenerated.
20726
20727 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20728
20729 [BZ #18043]
20730 * posix/wordexp.c (parse_param): Fix buffer overflow.
20731 * posix/wordexp-test.c (do_bz18043): Add test case.
20732
20733 2015-03-06 Vincent Bernat <vincent@bernat.im>
20734
20735 * time/tst-strptime2.c (do_test): Ensure failing tests are
20736 reported correctly.
20737 * time/tst-strptime3.c (do_test): Likewise.
20738
20739 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
20740
20741 Fix aio_error thread-safety.
20742 * sysdeps/pthread/aio_error.c: New file
20743 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
20744 synchronization.
20745
20746 2015-03-06 Florian Weimer <fweimer@redhat.com>
20747
20748 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
20749 (group_number, vfprintf): Use it.
20750 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
20751 (JUMP, REF): Use it.
20752 (WORK_BUFFER_SIZE): New enum constant.
20753 (process_arg, vfprintf): Use it.
20754
20755 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
20756
20757 * manual/errno.texi (Error Messages): Complete example function
20758 by adding missing #define.
20759 (program_invocation_name): Add statement indicating GNU
20760 extension and reference which header file declares the variable.
20761 (program_invocation_short_name): Likewise.
20762
20763 2015-03-06 Mike Frysinger <vapier@gentoo.org>
20764
20765 * manual/errno.texi (Error Messages): Delete strerror ISO C89
20766 compatibility note.
20767
20768 2015-03-05 Roland McGrath <roland@hack.frob.com>
20769
20770 * Makeconfig (test-wrapper-env-only): New variable.
20771 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
20772 then use that with $(test-wrapper-env-only) rather than using
20773 $(test-wrapper-env) $(run-program-env) $($*-ENV).
20774
20775 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 [BZ #18082]
20778 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
20779 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
20780 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
20781 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
20782 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
20783 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
20784 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
20785 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
20786 Likewise.
20787 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
20788 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
20789 Likewise.
20790 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
20791 Likewise.
20792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
20793 Likewise.
20794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
20795 Likewise.
20796 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
20797 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
20798 Likewise.
20799 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
20800 Likewise.
20801 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
20802 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
20803
20804 2015-03-04 Roland McGrath <roland@hack.frob.com>
20805
20806 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
20807 (ETH_ALEN): New macro.
20808 (struct ether_addr): Use it for length of ether_addr_octet.
20809
20810 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
20811 (setdb): Don't call __nss_configure_lookup for "rpc".
20812 (do_test): Don't call test_rpc.
20813 (output_rpcent, test_rpc): Functions moved ...
20814 * sunrpc/test-rpcent.c: ... to this new file.
20815 * sunrpc/Makefile (tests): Add it.
20816
20817 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
20818 __xpg_sigpause.
20819 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
20820 * nptl/tst-signal6.c: Likewise.
20821 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
20822 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
20823
20824 * configure.ac (libc_cv_cxx_link_ok): New check.
20825 Reset CXX to empty if it fails to link.
20826 * configure: Regenerated.
20827 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
20828 bug-atexit3-lib only if $(CXX) is nonempty.
20829 * nptl/Makefile (tests): Likewise for tst-cancel24.
20830 (tests, tests-static): Likewise for tst-cancel24-static.
20831 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
20832 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
20833 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
20834 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
20835
20836 2015-03-04 Andreas Schwab <schwab@suse.de>
20837
20838 [BZ #17631]
20839 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
20840 for non-GCC compilers.
20841 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20842 Likewise.
20843
20844 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
20845
20846 [BZ #17776]
20847 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
20848 integer before bitwise and assembly operations.
20849 (feclearexcept): Likewise.
20850 * math/test-fenvinline.c: New file.
20851 * math/Makefile: Add test-fenvinline test.
20852
20853 2015-03-03 Alan Modra <amodra@gmail.com>
20854
20855 [BZ #16512]
20856 * scripts/localplt.awk: Strip off symbol version.
20857 * NEWS: Mention bug fix.
20858
20859 2015-03-02 Roland McGrath <roland@hack.frob.com>
20860
20861 * sysdeps/pthread/timer_routines.c
20862 (timer_free_list, thread_free_list, thread_active_list): Make static.
20863
20864 2015-03-02 Joseph Myers <joseph@codesourcery.com>
20865
20866 [BZ #17779]
20867 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20868 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20869 Undefine.
20870 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20871 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20872 Likewise.
20873 * sysdeps/unix/sysv/linux/sh/kernel-features.h
20874 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
20875 Likewise.
20876
20877 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20878
20879 [BZ #18036]
20880 * posix/fnmatch_loop.c (END): Detect invalid pattern.
20881 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
20882
20883 2015-03-02 Andreas Schwab <schwab@suse.de>
20884
20885 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
20886 variable name.
20887
20888 2015-03-02 Florian Weimer <fweimer@redhat.com>
20889
20890 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
20891 Return error status.
20892
20893 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
20894
20895 [BZ #15969]
20896 * locale/findlocale.c (_nl_find_locale): Introduce const
20897 version of loc_name and drop unsafe type casts.
20898
20899 2015-02-27 Roland McGrath <roland@hack.frob.com>
20900
20901 * dlfcn/tststatic2.c (main): Converted to ...
20902 (do_test): ... this.
20903 (TEST_FUNCTION): New macro.
20904 Include test-skeleton.c.
20905
20906 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
20907
20908 [BZ #17711]
20909 * elf/Makefile (tests): Add vismain only if PIE is enabled.
20910 (tests-pie): Add vismain.
20911 (CFLAGS-vismain.c): New.
20912 * elf/vismain.c: Add comments for PIE requirement.
20913
20914 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20915
20916 [BZ #18046]
20917 [BZ #18047]
20918 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
20919 0x1p-56L as threshold for just returning the argument.
20920 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
20921 0x1p-32L as threshold for just returning the argument.
20922 * math/auto-libm-test-in: Add more tests of atanh.
20923 * math/auto-libm-test-out: Regenerated.
20924 * sysdeps/i386/fpu/libm-test-ulps: Update.
20925 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
20926
20927 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20928
20929 * string/bcopy.c (bcopy): Call memmove for performance.
20930
20931 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
20932
20933 * string/bzero.c (__bzero): Call memset for performance.
20934
20935 2015-02-27 John David Anglin <dave.anglin@bell.net>
20936
20937 [BZ #18068]
20938 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
20939 to 00100000.
20940
20941 2015-02-27 Joseph Myers <joseph@codesourcery.com>
20942
20943 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
20944
20945 2015-02-26 Joseph Myers <joseph@codesourcery.com>
20946
20947 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
20948 (__kernel_standard): Use CSTR macro when setting exc.name.
20949 * sysdeps/ieee754/Makefile [$(subdir) = math]
20950 (CFLAGS-k_standard.c): Remove variable.
20951
20952 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
20953 setting p and q from "else if" to "else".
20954 (qzero): Likewise.
20955 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
20956 (qone): Likewise.
20957 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
20958 (qzerof): Likewise.
20959 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
20960 (qonef): Likewise.
20961 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
20962 (qzero): Likewise.
20963 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
20964 (qone): Likewise.
20965
20966 [BZ #18038]
20967 [BZ #18039]
20968 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
20969 return pi/2 for arguments below 0x1p-113L.
20970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
20971 return pi/2 for arguments below 0x1p-106L.
20972 * math/auto-libm-test-in: Add more tests of acos.
20973 * math/auto-libm-test-out: Regenerated.
20974
20975 [BZ #16351]
20976 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
20977 (MO): New macro.
20978 (__ieee754_asin): Force underflow exception for results with small
20979 absolute value.
20980 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
20981 (MO): New macro.
20982 (__ieee754_asinf): Force underflow exception for results with
20983 small absolute value.
20984 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
20985 (__ieee754_asin): Force underflow exception for results with small
20986 absolute value.
20987 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
20988 (__ieee754_asinf): Force underflow exception for results with
20989 small absolute value.
20990 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
20991 (__ieee754_asinl): Force underflow exception for results with
20992 small absolute value.
20993 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
20994 (__ieee754_asinl): Force underflow exception for results with
20995 small absolute value.
20996 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
20997 (__ieee754_asinl): Force underflow exception for results with
20998 small absolute value.
20999 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21000 Include <math.h>.
21001 * math/auto-libm-test-in: Do not mark underflow exceptions as
21002 possibly missing for bug 16351.
21003 * math/auto-libm-test-out: Regenerated.
21004
21005 [BZ #18030]
21006 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21007 of power of 2 down when low part has opposite sign.
21008 * math/libm-test.inc (logb_test_data): Add more tests.
21009
21010 2015-02-26 Andreas Schwab <schwab@suse.de>
21011
21012 [BZ #18032]
21013 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21014 over collating symbol inside a bracket expression. Minor cleanup.
21015 * posix/tst-fnmatch3.c (do_test): Add test case.
21016
21017 2015-02-26 Joseph Myers <joseph@codesourcery.com>
21018
21019 [BZ #18029]
21020 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21021 Adjust exponent of power of 2 down when low part has opposite
21022 sign.
21023 * math/libm-test.inc (ilogb_test_data): Add more tests.
21024
21025 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
21026
21027 [BZ #15969]
21028 * locale/findlocale.c (_nl_find_locale): Fix constness error in
21029 the previous change.
21030
21031 [BZ #15969]
21032 * locale/findlocale.c (_nl_find_locale): Retry archive search
21033 after alias expansion.
21034
21035 2015-02-25 Roland McGrath <roland@hack.frob.com>
21036
21037 * iconv/tst-iconv3.c (main): Converted to ...
21038 (do_test): ... this.
21039 (TEST_FUNCTION): New macro.
21040 Include test-skeleton.c.
21041
21042 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21043 (convert): Make function static.
21044 (test_unalign): Likewise. Add const to argument pointee types.
21045 (main): Replace with static function do_test.
21046 Print "Succeeded." only if RET is zero.
21047 (TEST_FUNCTION): New macro.
21048 Include test-skeleton.c.
21049
21050 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21051 returns a null pointer.
21052
21053 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21054
21055 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21056 to __memcpy_ppc only for static builds.
21057
21058 2015-02-25 Joseph Myers <joseph@codesourcery.com>
21059
21060 [BZ #18020]
21061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21062 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21063 * math/auto-libm-test-in: Add more tests of asinh.
21064 * math/auto-libm-test-out: Regenerated.
21065 * sysdeps/i386/fpu/libm-test-ulps: Update.
21066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21067
21068 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
21069
21070 [BZ #15850]
21071 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21072 and ip6_mtuinfo definitions here.
21073 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21074 in this define too. Update comment.
21075
21076 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
21077
21078 * elf/sprof.c (load_shobj): Tweak error message to match others.
21079
21080 2015-02-24 Kevin Easton <kevin@guarana.org>
21081
21082 [BZ #16145] (partial fix)
21083 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21084 to reduce lock contention.
21085
21086 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
21087
21088 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21089 (struct timex): Update time comment.
21090 (ADJ_SETOFFSET): Define.
21091
21092 2015-02-24 Joseph Myers <joseph@codesourcery.com>
21093
21094 [BZ #18019]
21095 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21096 2**56 not 2**28 as threshold for log (2x) formula.
21097 * math/auto-libm-test-in: Add more tests of acosh.
21098 * math/auto-libm-test-out: Regenerated.
21099 * sysdeps/i386/fpu/libm-test-ulps: Update.
21100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21101
21102 2015-02-24 Mike Frysinger <vapier@gentoo.org>
21103
21104 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21105 parenthesis around the buf assignment.
21106 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21107
21108 2015-02-24 Joseph Myers <joseph@codesourcery.com>
21109
21110 [BZ #16783]
21111 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21112 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21113 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21114 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21115 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21116 * math/libm-test.inc (scalb_test_data): Add more tests.
21117
21118 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
21119
21120 [BZ #17916]
21121 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21122 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21123
21124 2015-02-24 Eric Rannaud <e@nanocritical.com>
21125
21126 [BZ #17523]
21127 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21128 * io/bits/fcntl2.h (open): Use it.
21129 (openat): Likewise.
21130 * io/open.c (__libc_open): Likewise.
21131 * io/open64.c (__libc_open64): Likewise.
21132 * io/open64_2.c (__open64_2): Likewise.
21133 * io/open_2.c (__open_2): Likewise.
21134 * io/openat.c (__openat): Likewise.
21135 * io/openat64.c (__openat64): Likewise.
21136 * io/openat64_2.c (__openat64_2): Likewise.
21137 * io/openat_2.c (__openat_2): Likewise.
21138 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21139 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21140 * sysdeps/posix/open64.c (__libc_open64): Likewise.
21141 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21142 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21143 (__open_nocancel): Likewise.
21144 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21145 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21146 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21147
21148 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21149
21150 [BZ #14841]
21151 * resolv/gethnamaddr.c (getanswer): Skip logging if
21152 RES_USE_DNSSEC is set.
21153 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21154
21155 2015-02-24 Mike Frysinger <vapier@gentoo.org>
21156
21157 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21158
21159 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
21160
21161 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21162 201304L, for Unicode 7.
21163
21164 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
21165
21166 [BZ #17836]
21167 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21168 shared library. Add gmon-start.os otherwise.
21169 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21170 $(objpfx)gmon-start.os if builing shared library.
21171 ($(objpfx)g$(static-start-installed-name)): Likewise.
21172
21173 2015-02-23 Andreas Schwab <schwab@suse.de>
21174
21175 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21176
21177 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21178
21179 [BZ #17269]
21180 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21181 (enlarge_userbuf): Likewise.
21182
21183 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
21184
21185 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21186 * math/atest-exp.c (TIMEOUT): Adjust to 200.
21187 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21188 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21189
21190 2015-02-20 Joseph Myers <joseph@codesourcery.com>
21191
21192 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21193 expression inside statement expression.
21194
21195 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
21196
21197 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21198 <sysdeps/nptl/lowlevellock.h> and remove macros and
21199 functions that are now defined there.
21200 (SYS_futex): Remove.
21201 (lll_compare_and_swap): Remove.
21202 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21203
21204 2015-02-19 Joseph Myers <joseph@codesourcery.com>
21205
21206 [BZ #17999]
21207 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21208 instead of scandirat.
21209 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21210 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21211 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21212 __scandirat.
21213 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21214 (__scandirat): Declare. Use libc_hidden_proto.
21215 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21216 Remove variable.
21217 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21218
21219 2015-02-18 Joseph Myers <joseph@codesourcery.com>
21220
21221 [BZ #15319]
21222 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21223 (MO): New macro.
21224 (__ieee754_atan2): For results with small absolute value, force
21225 underflow exception and remove excess range and precision from
21226 return value.
21227 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21228 (MO): New macro.
21229 (__ieee754_atan2f): For results with small absolute value, force
21230 underflow exception and remove excess range and precision from
21231 return value.
21232 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21233 (MO): New macro.
21234 (__atan): For results with small absolute value, force underflow
21235 exception and remove excess range and precision from return value.
21236 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21237 (MO): New macro.
21238 (__atanf): For results with small absolute value, force underflow
21239 exception and remove excess range and precision from return value.
21240 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21241 <math.h>.
21242 (__ieee754_atan2): Force underflow exception for results with
21243 small absolute value.
21244 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21245 <math_private.h>.
21246 (atan): Force underflow exception for results with small absolute
21247 value.
21248 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21249 (__atanf): Force underflow exception for results with small
21250 absolute value.
21251 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21252 <math.h>.
21253 (__atanl): Force underflow exception for results with small
21254 absolute value.
21255 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21256 (__atanl): Force underflow exception for results with small
21257 absolute value.
21258 * sysdeps/x86/fpu/bits/mathinline.h
21259 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21260 (__ieee754_atan2): Only define inline for long double.
21261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21262 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21263 * math/auto-libm-test-in: Do not mark underflow exceptions as
21264 possibly missing for bug 15319. Add more tests of atan2.
21265 * math/auto-libm-test-out: Regenerated.
21266 * math/libm-test.inc (casin_test_data): Do not mark underflow
21267 exceptions as possibly missing for bug 15319.
21268 (casinh_test_data): Likewise.
21269 * sysdeps/i386/fpu/libm-test-ulps: Update.
21270
21271 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
21272
21273 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21274 * sysdeps/mips/bits/endian.h: Fix comments.
21275
21276 2015-02-18 Joseph Myers <joseph@codesourcery.com>
21277
21278 [BZ #17996]
21279 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21280 (hdestroy_r): Likewise.
21281 (hsearch_r): Likewise.
21282 (__hcreate_r): Declare and use libc_hidden_proto.
21283 (__hdestroy_r): Likewise.
21284 (__hsearch_r): Likewise.
21285 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21286 (hcreate): Call __hcreate_r instead of hcreate_r.
21287 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21288 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21289 as weak alias of __hcreate_r.
21290 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21291 __hdestroy_r.
21292 (hsearch_r): Rename to __hsearch_r and define as weak alias of
21293 __hsearch_r.
21294 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21295 Remove variable.
21296 (test-xfail-XPG4/search.h/linknamespace): Likewise.
21297 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21298 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21299 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21300
21301 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21302
21303 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21304 arena_lock into a single arena_get.
21305
21306 2015-02-17 Carlos O'Donell <carlos@redhat.com>
21307
21308 * dl-reloc.c: Inlucde libc-internal.h.
21309 (_dl_try_allocate_static_tls): Call ALIGN_UP.
21310 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21311 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21312 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21313 (grow_heap): Likewise.
21314 * malloc/malloc.c: Include libc-internal.h.
21315 (do_check_malloc): Call powerof2.
21316 (sysmalloc): Use pagesize. Call ALIGN_UP.
21317 (systrim): Use pagesize.
21318 (mremap_chunk): Use pagesize. Call ALIGN_UP.
21319 (__libc_valloc): Use pagesize.
21320 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21321
21322 2015-02-17 Joseph Myers <joseph@codesourcery.com>
21323
21324 [BZ #17991]
21325 * include/sys/resource.h (__getrlimit64): Declare. Use
21326 libc_hidden_proto.
21327 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21328 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
21329 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21330 getrlimit64.
21331 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21332 __getrlimit64.
21333 [!getrlimit64] (getrlimit64): Define as weak alias of
21334 __getrlimit64. Use libc_hidden_weak.
21335 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21336 using __getrlimit64 not __new_getrlimit64.
21337 (__GI_getrlimit64): Likewise.
21338 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21339 Likewise.
21340 (__GI_getrlimit64): Likewise.
21341 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21343 (getrlimit): Add __getrlimit64 alias.
21344 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21345 Likewise.
21346 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21347 Remove variable.
21348 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21349 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21350
21351 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
21352
21353 * libio/fileops.c: Add missing sys/mman.h
21354 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21355
21356 2015-02-17 Joseph Myers <joseph@codesourcery.com>
21357
21358 * manual/math.texi (Errors in Math Functions): Clarify goals
21359 regarding inexact and underflow exceptions.
21360
21361 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21362
21363 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21364 * sysdeps/mips/memset.S: Ditto.
21365
21366 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
21367
21368 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21369
21370 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
21371
21372 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21373 (__v1longjmp): Remove versioned symbol.
21374 (__v1siglongjmp): Remove alias and versioned symbol.
21375 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21376 (__v2siglongjmp): Likewise.
21377
21378 2015-02-16 Torvald Riegel <triegel@redhat.com>
21379
21380 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21381
21382 2015-02-16 Mike Frysinger <vapier@gentoo.org>
21383
21384 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21385
21386 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21387
21388 [BZ #17987]
21389 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21390 zero result does not depend on the sign resulting from
21391 subtraction.
21392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21393 Likewise.
21394 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21395 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21397 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21398 * math/libm-test.inc (remquo_test_data): Add more tests.
21399
21400 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
21401
21402 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21403 Problem reported by J William Piggott.
21404
21405 2015-02-16 Joseph Myers <joseph@codesourcery.com>
21406
21407 [BZ #17978]
21408 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21409 products 4 * y and 2 * y where those would overflow.
21410 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21411 Likewise.
21412 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21413 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21415 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21416 * math/libm-test.inc (remquo_test_data): Add more tests.
21417
21418 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21419
21420 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21421 [defined _COMPILING_NEWLIB].
21422 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21423 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21424
21425 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21426 [!defined __mips_isa_rev || __mips_isa_rev < 6].
21427
21428 2015-02-16 Torvald Riegel <triegel@redhat.com>
21429
21430 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21431 acquired.
21432
21433 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
21434
21435 [BZ #17792]
21436 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21437 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21438 HOST_STACK_END_ADDR): Likewise.
21439
21440 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
21441
21442 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21443 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
21444 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
21445
21446 2015-02-13 Roland McGrath <roland@hack.frob.com>
21447
21448 * sysdeps/generic/c++-types.data: New file.
21449 * sysdeps/generic/ld.abilist: New file.
21450 * sysdeps/generic/libBrokenLocale.abilist: New file.
21451 * sysdeps/generic/libanl.abilist: New file.
21452 * sysdeps/generic/libc.abilist: New file.
21453 * sysdeps/generic/libcrypt.abilist: New file.
21454 * sysdeps/generic/libdl.abilist: New file.
21455 * sysdeps/generic/libm.abilist: New file.
21456 * sysdeps/generic/libpthread.abilist: New file.
21457 * sysdeps/generic/libresolv.abilist: New file.
21458 * sysdeps/generic/librt.abilist: New file.
21459
21460 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21461
21462 [BZ #17569]
21463 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21464 Compute absolute value of x as modified by fmod, not original
21465 value of x.
21466 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
21467 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
21468 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
21469 RUN_TEST_ffI_f1_mod8.
21470 (remquo_test_data): Add more tests.
21471
21472 2015-02-13 Roland McGrath <roland@hack.frob.com>
21473
21474 * sysdeps/init_array/pt-crti.S: New file.
21475
21476 2015-02-13 Joseph Myers <joseph@codesourcery.com>
21477
21478 [BZ #17967]
21479 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
21480 __builtin_fmaf instead of relying on contraction of a * b + c.
21481
21482 2015-02-12 J William Piggott <elseifthen@gmx.com>
21483
21484 [BZ #17969]
21485 * manual/time.texi: correct the zoneinfo path in the TZ Variable
21486 node.
21487
21488 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21489
21490 [BZ #17964]
21491 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
21492 __builtin_fma instead of relying on contraction of a * b + c.
21493
21494 2015-02-12 Roland McGrath <roland@hack.frob.com>
21495
21496 * Makeconfig (ASFLAGS): Add -Werror=undef.
21497 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
21498 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
21499 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
21500
21501 * Makeconfig (after-link): New variable.
21502 (+link-pie, +link-pie-tests): Use it.
21503 (+link-static, +link-static-tests): Likewise.
21504 (+link, +link-tests): Likewise.
21505 * Makerules (build-module, build-module-asneeded): Likewise.
21506 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
21507 Likewise.
21508 * elf/Makefile ($(objpfx)ld.so): Likewise.
21509
21510 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
21511
21512 [BZ #17965]
21513 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21514 both struct timeval and struct timespec.
21515
21516 2015-02-12 Joseph Myers <joseph@codesourcery.com>
21517
21518 [BZ #16560]
21519 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21520 and redefine.
21521 (__ieee754_exp2l): Do not multiply small fractional parts by
21522 M_LN2l.
21523 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
21524 small argument.
21525 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21526 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21527 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
21528 * math/auto-libm-test-in: Add more tests of exp2.
21529 * math/auto-libm-test-out: Regenerated.
21530
21531 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21532
21533 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
21534 unaligned path.
21535
21536 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21537
21538 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
21539 little endian.
21540
21541 2015-02-12 Andreas Schwab <schwab@suse.de>
21542
21543 [BZ #15790]
21544 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21545 Filter out elision flags from value returned in kind.
21546 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
21547 * nptl/tst-pthread-mutexattr.c: New file.
21548
21549 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
21550
21551 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
21552 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
21553 into gnu-gnu, and update comment to refer to abi-tags.
21554
21555 2015-02-11 Joseph Myers <joseph@codesourcery.com>
21556
21557 [BZ #15467]
21558 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
21559 (__sincos): Set errno to EDOM for infinite argument.
21560 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
21561 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
21562 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
21563 (__sincosl): Set errno to EDOM for infinite argument.
21564 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
21565 (__sincosl): Set errno to EDOM for infinite argument.
21566 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
21567 (__sincosl): Set errno to EDOM for infinite argument.
21568 * math/libm-test.inc (sincos_test_data): Test errno setting.
21569
21570 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
21571
21572 * string/strxfrm_l.c: Remove #define STRCMP.
21573 * string/strcoll_l.c: Remove #define STRLEN.
21574 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21575 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
21576
21577 2015-02-10 Joseph Myers <joseph@codesourcery.com>
21578
21579 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
21580 * sysdeps/mips/mips32/sfp-machine.h: ... here.
21581 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
21582 * sysdeps/mips/mips64/Makefile: ... here.
21583 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
21584 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
21585 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
21586 * sysdeps/mips/mips64/sfp-machine.h: ... here.
21587 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
21588 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
21589 * sysdeps/mips/mips64/n64/Implies: Likewise.
21590
21591 2015-02-10 Roland McGrath <roland@hack.frob.com>
21592
21593 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
21594 <sys/time.h>, <string.h>, and <errno.h>.
21595 (dest_offset, dest_address, value, zero): Remove unused variables.
21596 (ldouble): Remove typedef.
21597 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
21598 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
21599 1). Fix code style.
21600 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
21601 (check): Function removed.
21602 (CHECK): New macro.
21603 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
21604 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
21605 Don't call set_sigaction_FP and remove_sigaction_FP here.
21606 (ldouble_test): Just use 'long double' as macro argument, no need for
21607 the 'ldouble' typedef.
21608 (do_test): Set up SIGFPE handler at start, using plain signal rather
21609 than sigaction. Fix code style.
21610
21611 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
21612
21613 [BZ #17949]
21614 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
21615 jump label.
21616
21617 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
21618
21619 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
21620 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21621
21622 * sysdeps/powerpc/configure.ac: Remove file.
21623 * sysdeps/powerpc/configure: Likewise.
21624
21625 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21626 [sysdep_routines]: Remove wordcopy-power6 object.
21627 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
21628 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
21629 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
21630 (__memmove_ppc32): Likewise.
21631 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
21632 file.
21633 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
21634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
21635 Remove preprocessor.
21636
21637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
21638 [sysdep_routines]: Remove wide chars objects.
21639 [wcsmbs]: New rule for wide char objects.
21640
21641 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21642 Remove wordcopy-power6 obejct.
21643 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
21644 Use local call for wordcopy and memcpy symbols.
21645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
21646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
21647 implementation for loader.
21648 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
21649
21650 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21651 Remove wordcopy-power7 object.
21652 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
21653 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
21654 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
21655 (_wordcopy_fwd_dest_aligned): Likewise.
21656 (_wordcopy_bwd_aligned): Likewise.
21657 (_wordcopy_bwd_dest_aligned): Likewise.
21658
21659 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
21660 Rewrite to call __memmove_ppc instead of include default
21661 implementation.
21662
21663 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21664 Remove wide chars objects.
21665 [wcsmbs]: New rule for wide char objects.
21666
21667 2015-02-09 Andreas Schwab <schwab@suse.de>
21668
21669 [BZ #17912]
21670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21671 in terms of __O_DIRECTORY.
21672
21673 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21674
21675 * time/getdate.c: Include <stdbool.h>.
21676 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
21677 call PTR_MANGLE.
21678 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
21679 PTR_DEMANGLE.
21680
21681 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
21682
21683 Add ersatz _Static_assert on older C hosts
21684 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
21685 pre-C11 C platform that is not known to support _Static_assert.
21686
21687 2015-02-07 Richard Braun <rbraun@sceen.net>
21688
21689 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
21690 sigstate.
21691 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
21692
21693 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
21694
21695 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
21696 priority against unexistent AIO_PRIO_DELTA_MAX.
21697 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
21698 instead of int.
21699 * misc/fchflags.c (fchflags): Likewise.
21700 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
21701 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
21702 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
21703 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
21704 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
21705 Declare macros.
21706 [__USE_MISC] (chflags, fchflags): Declare functions.
21707 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
21708 EINVAL when nfds is greater than FD_SETSIZE.
21709 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
21710 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
21711 45.
21712 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
21713 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
21714 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
21715 MACH_RCV_TIMED_OUT.
21716 * hurd/hurd/signal.h (_hurd_self_sigstate,
21717 _hurd_critical_section_lock, _hurd_critical_section_unlock):
21718 Explicit casts from void *.
21719 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
21720 * abi-tags: Rename gnu-gnu os into gnu.
21721
21722 [BZ #4719]
21723 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
21724 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
21725 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
21726 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
21727 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
21728 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
21729
21730 [BZ #17944]
21731 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
21732 duplicates ADDR->sun_path with sockaddr LEN limitation.
21733 * sysdeps/mach/hurd/connect.c: Include <string.h>
21734 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
21735 * sysdeps/mach/hurd/sendmsg.c: Likewise.
21736 * sysdeps/mach/hurd/sendto.c: Likewise.
21737 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
21738 implementing it by hand.
21739
21740 2015-02-06 Roland McGrath <roland@hack.frob.com>
21741
21742 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
21743 Use sfi_breg on ldr.
21744 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
21745 Likewise.
21746
21747 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
21748 it's defined.
21749 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
21750 Test SIGSETXID only if it's defined.
21751
21752 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
21753
21754 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21755 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
21756
21757 * nptl/tst-align2.c: Moved ...
21758 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
21759 * nptl/Makefile (tests): Remove tst-align2.
21760 * sysdeps/unix/sysv/linux/Makefile
21761 [$(subdir) = nptl] (tests): Add tst-align-clone.
21762 * nptl/tst-getpid1.c: Moved ...
21763 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
21764 * nptl/tst-getpid2.c: Moved ...
21765 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
21766 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
21767 * sysdeps/unix/sysv/linux/Makefile
21768 [$(subdir) = nptl] (tests): ... here.
21769 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
21770 * sysdeps/unix/sysv/linux/Makefile
21771 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
21772
21773 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
21774 Drop trailing \n from perror argument. Use return rather than exit.
21775
21776 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
21777 on [SA_SIGINFO].
21778 * nptl/tst-cancel21.c (do_test): Likewise.
21779 * debug/tst-backtrace6.c: Include <signal.h> first thing.
21780 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
21781 [!SA_SIGINFO]: Make it a stub test.
21782
21783 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
21784 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
21785
21786 * posix/tst-getlogin.c: Move to ...
21787 * login/tst-getlogin.c: ... here.
21788 * posix/Makefile (tests): Move tst-getlogin to ...
21789 * login/Makefile (tests): ... here.
21790
21791 * libio/tst-atime.c (do_test): Move local variables SV and E
21792 inside [ST_NOATIME] conditional.
21793
21794 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
21795
21796 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
21797
21798 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
21799 (wait_code): New function replaces macro.
21800 Call nanosleep rather than syscall.
21801
21802 * nptl/pt-system.c: Rewritten. Put everything under
21803 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21804 Use IFUNC to redirect when possible.
21805
21806 * nptl/pt-longjmp.c: Rewritten. Put everything under
21807 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21808 Use IFUNC to redirect when possible.
21809
21810 * nptl/pt-fork.c: Rewritten. Put everything under
21811 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
21812 Use IFUNC to redirect when possible.
21813 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
21814
21815 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
21816 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
21817 unconditionally nowadays. This included the only reference to
21818 __vdso_clock_gettime that appears outside libc proper.
21819 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
21820 Remove version set (containing only __vdso_clock_gettime).
21821 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21822 Add attribute_hidden.
21823 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21824 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
21825 libc_hidden_data_def.
21826 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
21827 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21828
21829 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
21830 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
21831 setrpcent, and getrpcport to ...
21832 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
21833 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
21834 getrpcbynumber_r, and getrpcent_r to ...
21835 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
21836 * inet/getrpcbyname.c: Moved ...
21837 * sunrpc/getrpcbyname.c: ... here.
21838 * inet/getrpcbyname_r.c: Moved ...
21839 * sunrpc/getrpcbyname_r.c: ... here.
21840 * inet/getrpcbynumber.c: Moved ...
21841 * sunrpc/getrpcbynumber.c: ... here.
21842 * inet/getrpcbynumber_r.c: Moved ...
21843 * sunrpc/getrpcbynumber_r.c: ... here.
21844 * inet/getrpcent.c: Moved ...
21845 * sunrpc/getrpcent.c: ... here.
21846 * inet/getrpcent_r.c: Moved ...
21847 * sunrpc/getrpcent_r.c: ... here.
21848 * inet/Makefile (routines): Move those to ...
21849 * sunrpc/Makefile (routines): ... here.
21850 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
21851 the $(subdirs) list.
21852 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
21853 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
21854 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
21855 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
21856
21857 * elf/Makefile (routines): Include $(all-dl-routines), not just
21858 $(dl-routines).
21859 (rtld-routines): Likewise. Use = rather than :=.
21860 * sysdeps/aarch64/Makefile [$(subdir) = elf]
21861 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
21862 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
21863 * sysdeps/arm/Makefile: Likewise.
21864 * sysdeps/i386/Makefile: Likewise.
21865 * sysdeps/x86_64/Makefile: Likewise.
21866 * sysdeps/hppa/Makefile [$(subdir) = elf]
21867 (sysdep_routines, sysdep-rtld-routines): Don't add
21868 $(sysdep-dl-routines) to these.
21869 * sysdeps/ia64/Makefile: Likewise.
21870 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
21871 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
21872 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
21873 Don't add dl-static to these; sysdep-dl-routines alone is enough.
21874 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
21875 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
21876 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
21877 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
21878 * sysdeps/powerpc/Makefile [$(subdir) = elf]
21879 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
21880 these; sysdep-dl-routines alone is enough.
21881
21882 2015-02-06 Joseph Myers <joseph@codesourcery.com>
21883
21884 [BZ #17932]
21885 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
21886 where multiplication results in zero and third argument is finite
21887 and nonzero.
21888 * math/auto-libm-test-in: Add more tests of fma.
21889 * math/auto-libm-test-out: Regenerated.
21890
21891 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
21892 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
21893 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
21894 (_FP_CMP_EQ): Likewise.
21895 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
21896
21897 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
21898 extra argument CHECK_NAN. Redefine as wrapper around
21899 _FP_EXTEND_CNAN.
21900
21901 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
21902
21903 * version.h (RELEASE): Set to "stable".
21904 (VERSION): Set to "2.21"
21905 * include/features.h (__GLIBC_MINOR__): Set to 21.
21906
21907 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
21908
21909 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21910 Paul Eggert <eggert@cs.ucla.edu>
21911
21912 [BZ #16618]
21913 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
21914 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
21915 size in bytes. Store needed elements in wpmax. Use needed size
21916 in bytes for extend_alloca.
21917
21918 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
21919
21920 * manual/install.texi: Latest tested versions are GCC 4.9.2,
21921 binutls 2.25, and texinfo 5.2.
21922 * INSTALL: Regenerate.
21923 * sysdeps/nios2/configure: Regenerate.
21924 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
21925 * manual/contrib.texi: Update.
21926 * po/be.po: Update.
21927 * po/bg.po: Update.
21928 * po/ca.po: Update.
21929 * po/cs.po: Update.
21930 * po/da.po: Update.
21931 * po/de.po: Update.
21932 * po/el.po: Update.
21933 * po/eo.po: Update.
21934 * po/es.po: Update.
21935 * po/fi.po: Update.
21936 * po/fr.po: Update.
21937 * po/gl.po: Update.
21938 * po/hr.po: Update.
21939 * po/hu.po: Update.
21940 * po/ia.po: Update.
21941 * po/id.po: Update.
21942 * po/it.po: Update.
21943 * po/ja.po: Update.
21944 * po/ko.po: Update.
21945 * po/lt.po: Update.
21946 * po/nb.po: Update.
21947 * po/nl.po: Update.
21948 * po/pl.po: Update.
21949 * po/pt_BR.po: Update.
21950 * po/ru.po: Update.
21951 * po/rw.po: Update.
21952 * po/sk.po: Update.
21953 * po/sl.po: Update.
21954 * po/sv.po: Update.
21955 * po/tr.po: Update.
21956 * po/uk.po: Update.
21957 * po/vi.po: Update.
21958 * po/zh_CN.po: Update.
21959 * po/zh_TW.po: Update.
21960
21961 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
21962 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
21963 * sysdeps/hppa/dl-irel.h: Remove #warning.
21964 * sysdeps/hppa/entry.h: Provide prototype for
21965 __canonicalize_funcptr_for_compare and cast argument.
21966 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
21967 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
21968 * sysdeps/hppa/sotruss-lib.c: New file.
21969 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
21970 (atomic_compare_and_exchange_val_acq): Use __typeof__.
21971 (atomic_compare_and_exchange_bool_acq): Likewise.
21972 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
21973 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
21974
21975 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
21976 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
21977 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
21978
21979 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
21980
21981 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
21982 called function in non-PIC case.
21983
21984 2015-01-31 David S. Miller <davem@davemloft.net>
21985
21986 * sysdeps/sparc/sparc32/bits/atomic.h
21987 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
21988 unlock not after it.
21989 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
21990 volatile register usage warnings from the compiler.
21991
21992 * sysdeps/sparc/nptl/sem_init.c: Delete.
21993 * sysdeps/sparc/nptl/sem_post.c: Delete.
21994 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
21995 * sysdeps/sparc/nptl/sem_wait.c: Delete.
21996 * sysdeps/sparc/sparc32/sem_init.c: New file.
21997 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
21998 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
21999 padding explicitly initialized.
22000 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22001 padding for in-semaphore spinlock.
22002 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22003 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22004 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22005 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22006 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22007 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22008 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22009 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22010 version.
22011 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22012 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22013
22014 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
22015
22016 [BZ #17801]
22017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22018 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22019 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22020 New.
22021 (index_AVX_Fast_Unaligned_Load): Likewise.
22022 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22023 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22024 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22025 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22026 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22027 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22028 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22029 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22030 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22031
22032 2015-01-29 Andreas Schwab <schwab@suse.de>
22033
22034 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22035
22036 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22037
22038 [BZ #17892]
22039 * nscd/nscd_stat.c (send_stats): Initialize DATA.
22040
22041 2015-01-28 Martin Sebor <msebor@redhat.com>
22042
22043 * math/README.libm-test: Clarify. Add "How to read the test output."
22044
22045 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
22046
22047 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22048 Define to 0.
22049
22050 2015-01-28 Joseph Myers <joseph@codesourcery.com>
22051
22052 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22053 (__HAVE_64B_ATOMICS): Define to 0.
22054
22055 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22056
22057 [BZ #17885]
22058 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22059 value to set as new flag.
22060
22061 [BZ #16576]
22062 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22063 and use _ARCH_PPCSQ instead.
22064 (__ieee754_sqrt): Likewise.
22065 (__ieee754_sqrtf): Likewise.
22066 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22067 _ARCH_PPCSQ is defined.
22068 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22069 fsqrt instruction.
22070 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22071 _ARCH_PPCSQ is defined.
22072 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22073 fsqrts instruction.
22074 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22075
22076 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22077
22078 * iconv/loop.c: Suppress array out of bound warning caused by GCC
22079 bug (GCC BZ #64739).
22080
22081 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
22082
22083 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22084 Mark _retval as used.
22085 (lll_futex_wake_unlock): Likewise.
22086 (lll_futex_timed_wait_requeue_pi): Likewise.
22087
22088 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22089 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22090 register variables.
22091
22092 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22093 libm_hidden_def.
22094
22095 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22096 (__bswap_64): Mark as __always_inline.
22097
22098 2015-01-25 Bram <bug_rh@spam.wizbit.be>
22099
22100 [BZ #15378]
22101 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22102 when none of the search directories exist.
22103
22104 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
22105
22106 [BZ #17869]
22107 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22108 power8 in .machine directive.
22109
22110 [BZ #17868]
22111 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22112 set dependency from opd value.
22113
22114 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22117 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22118 architecture.
22119
22120 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
22121
22122 [BZ #17870]
22123 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22124 with uint64_t.
22125 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22126 (uint64_t) 1.
22127 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22128 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22129 Replace 1UL with (uint64_t) 1.
22130 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22131 int with uint64_t.
22132
22133 2015-01-23 Roland McGrath <roland@hack.frob.com>
22134
22135 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22136 (if_freenameindex): Likewise.
22137
22138 * resource/getrlimit64.c: Add missing libc_hidden_def.
22139
22140 2015-01-22 Joseph Myers <joseph@codesourcery.com>
22141
22142 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22143 __label__.
22144 (_FP_FMA): Likewise.
22145 (_FP_TO_INT_ROUND): Likewise.
22146 (_FP_FROM_INT): Likewise.
22147
22148 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22149
22150 [BZ #16418]
22151 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22152 Make code racy and cancel safe.
22153
22154 2015-01-21 Carlos O'Donell <carlos@redhat.com>
22155
22156 * sysdeps/arm/unwind-resume.h: Fix copyright year.
22157 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22158 attribution.
22159
22160 * pwd/tst-getpw.c: Rewrite.
22161
22162 [BZ #17702]
22163 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22164 (modules-names): Add moddummy1 and moddummy2.
22165 ($(objpfx)tst-rec-dlopen): Define.
22166 * dlfcn/moddummy1.c: New file.
22167 * dlfcn/moddummy2.c: New file.
22168 * dlfcn/tst-rec-dlopen.c: New file.
22169 * elf/dl-cache.c (_dl_load_cache_lookup):
22170 Return char*. Copy result with alloca/strcpy/strdup.
22171 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22172 returns char*. Free cached. If not saving realname
22173 free cached.
22174 * elf/dl-open.c (dl_open_worker): Do not assert that
22175 _r_debug->r_state is RT_CONSISTENT.
22176 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22177 returns char*.
22178
22179 2015-01-21 Torvald Riegel <triegel@redhat.com>
22180 Carlos O'Donell <carlos@redhat.com>
22181
22182 [BZ #12674]
22183 * nptl/sem_waitcommon.c: New file.
22184 * nptl/sem_wait.c: Include sem_waitcommon.c.
22185 (__sem_wait_cleanup, do_futex_wait): Remove.
22186 (__new_sem_wait): Adapt.
22187 (__new_sem_trywait): New function.
22188 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22189 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22190 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22191 (sem_timedwait): Adapt.
22192 * nptl/sem_post.c (__new_sem_post): Adapt.
22193 (futex_wake): New function.
22194 (__old_sem_post): Add release MO fence.
22195 * nptl/sem_open.c (sem_open): Adapt.
22196 * nptl/sem_init.c (__new_sem_init): Adapt.
22197 (futex_private_if_supported): New function.
22198 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22199 (__old_sem_getvalue): Add using previous code.
22200 * sysdeps/nptl/internaltypes.h: Adapt.
22201 * nptl/tst-sem13.c (do_test): Adapt.
22202 * nptl/tst-sem11.c (main): Adapt.
22203 * nptl/sem_trywait.c: Remove.
22204 * nptl/DESIGN-sem.txt: Remove.
22205 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22206 (gen-as-const-headers): Remove structsem.sym.
22207 * nptl/structsem.sym: Remove.
22208 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22209 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22210 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22211 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22212 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22213 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22214 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22215 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22216 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22217 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22218 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22219 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22220 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22221 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22222 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22223 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22224 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22225 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22226 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22227 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22228 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22229 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22230
22231 2015-01-20 Carlos O'Donell <carlos@redhat.com>
22232
22233 * INSTALL: Regenerated.
22234
22235 * po/libc.pot: Regenerated.
22236
22237 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
22238 Sandra Loosemore <sandra@codesourcery.com>
22239 Andrew Jenner <andrew@codesourcery.com>
22240 Joseph Myers <joseph@codesourcery.com>
22241 Nathan Sidwell <nathan@codesourcery.com>
22242
22243 * NEWS: Mention new Nios II port.
22244 * sysdeps/nios2/Implies: New file.
22245 * sysdeps/nios2/Makefile: New file.
22246 * sysdeps/nios2/Subdirs: New file.
22247 * sysdeps/nios2/Versions: New file.
22248 * sysdeps/nios2/__longjmp.S: New file.
22249 * sysdeps/nios2/abort-instr.h: New file.
22250 * sysdeps/nios2/backtrace.c: New file.
22251 * sysdeps/nios2/bits/endian.h: New file.
22252 * sysdeps/nios2/bits/fenv.h: New file.
22253 * sysdeps/nios2/bits/link.h: New file.
22254 * sysdeps/nios2/bits/setjmp.h: New file.
22255 * sysdeps/nios2/bsd-_setjmp.S: New file.
22256 * sysdeps/nios2/bsd-setjmp.S: New file.
22257 * sysdeps/nios2/configure: New generated file.
22258 * sysdeps/nios2/configure.ac: New file.
22259 * sysdeps/nios2/crti.S: New file.
22260 * sysdeps/nios2/crtn.S: New file.
22261 * sysdeps/nios2/dl-init.c: New file.
22262 * sysdeps/nios2/dl-machine.h: New file.
22263 * sysdeps/nios2/dl-sysdep.h: New file.
22264 * sysdeps/nios2/dl-tls.h: New file.
22265 * sysdeps/nios2/dl-trampoline.S: New file.
22266 * sysdeps/nios2/gccframe.h: New file.
22267 * sysdeps/nios2/gmp-mparam.h: New file.
22268 * sysdeps/nios2/jmpbuf-offsets.h: New file.
22269 * sysdeps/nios2/jmpbuf-unwind.h: New file.
22270 * sysdeps/nios2/ldsodefs.h: New file.
22271 * sysdeps/nios2/libc-tls.c: New file.
22272 * sysdeps/nios2/libm-test-ulps: New file.
22273 * sysdeps/nios2/machine-gmon.h: New file.
22274 * sysdeps/nios2/math-tests.h: New file.
22275 * sysdeps/nios2/math_private.h: New file.
22276 * sysdeps/nios2/memusage.h: New file.
22277 * sysdeps/nios2/nptl/Makefile: New file.
22278 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22279 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22280 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22281 * sysdeps/nios2/nptl/pthreaddef.h: New file.
22282 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22283 * sysdeps/nios2/nptl/tls.h: New file.
22284 * sysdeps/nios2/preconfigure: New file.
22285 * sysdeps/nios2/s_fma.c: New file.
22286 * sysdeps/nios2/s_fmaf.c: New file.
22287 * sysdeps/nios2/setjmp.S: New file.
22288 * sysdeps/nios2/sfp-machine.h: New file.
22289 * sysdeps/nios2/sotruss-lib.c: New file.
22290 * sysdeps/nios2/stackguard-macros.h: New file.
22291 * sysdeps/nios2/stackinfo.h: New file.
22292 * sysdeps/nios2/start.S: New file.
22293 * sysdeps/nios2/sysdep.h: New file.
22294 * sysdeps/nios2/tls-macros.h: New file.
22295 * sysdeps/nios2/tst-audit.h: New file.
22296 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22297 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22298 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22299 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22300 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22301 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22302 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22303 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22304 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22305 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22306 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22307 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22308 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22309 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22310 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22311 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22312 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22313 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22314 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22315 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22316 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22317 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22318 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22319 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22320 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22321 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22322 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22323 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22324 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22325 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22326 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22327 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22328 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22329 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22330 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22331 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22332 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22333 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22334 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22335 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22336 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22337 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22338 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22339 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22340
22341 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22342
22343 [BZ #17844]
22344 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22345 (getutent): Use weak_alias in non SHARED case
22346 and default_symbol_version in SHARED case.
22347 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22348 (getutent_r, pututline): Likewise.
22349 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22350 (getutid): Likewise.
22351 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22352 (getutid_r): Likewise.
22353 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22354 (getutline): Likewise.
22355 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22356 (getutline_r): Likewise.
22357 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22358 (updwtmp): Likewise.
22359
22360 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22361
22362 [BZ #17848]
22363 * sysdeps/s390/s390-32/memcmp.S
22364 (memcmp_g5): Rename to __memcmp_g5.
22365 * sysdeps/s390/s390-32/memcpy.S
22366 (memcpy_g5): Rename to __memcpy_g5.
22367 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22368 (memcpy_mvcle) Rename to __memcpy_mvcle.
22369 * sysdeps/s390/s390-32/memset.S
22370 (memset_g5): Rename to __memset_g5.
22371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22372 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22373 and use prefixed functions.
22374 * sysdeps/s390/s390-32/multiarch/memcmp.S
22375 (memcmp_z196): Rename to __memcmp_z196.
22376 (memcmp_z10): Rename to __memcmp_z10.
22377 (memcmp): Set alias to __memcmp_g5.
22378 (bcmp): Set alias to __memcmp_g5.
22379 * sysdeps/s390/s390-32/multiarch/memcpy.S
22380 (memcpy_z196): Rename to __memcpy_z196.
22381 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22382 (memcpy_z10): Rename to __memcpy_z10.
22383 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22384 (memcpy): Set alias to __memcpy_g5.
22385 * sysdeps/s390/s390-32/multiarch/memset.S
22386 (memset_z196): Rename to __memset_z196.
22387 Jump to __memset_mvcle instead of memset_mvcle.
22388 (memset_z10): Rename to __memset_z10.
22389 Jump to __memset_mvcle instead of memset_mvcle.
22390 (memset_mvcle) Rename to __memset_mvcle.
22391 (memset): Set alias to __memset_g5.
22392 * sysdeps/s390/s390-64/memcmp.S
22393 (memcmp_z900): Rename to __memcmp_z900.
22394 * sysdeps/s390/s390-64/memcpy.S
22395 (memcpy_z900): Rename to __memcpy_z900.
22396 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22397 (memcpy_mvcle) Rename to __memcpy_mvcle.
22398 * sysdeps/s390/s390-64/memset.S
22399 (memset_z900): Rename to __memset_z900.
22400 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22401 (IFUNC_RESOLVE): Prefix ifunc-resolve function
22402 and use prefixed functions.
22403 * sysdeps/s390/s390-64/multiarch/memcmp.S
22404 (memcmp_z196): Rename to __memcmp_z196.
22405 (memcmp_z10): Rename to __memcmp_z10.
22406 (memcmp): Set alias to __memcmp_z900.
22407 (bcmp): Set alias to __memcmp_z900.
22408 * sysdeps/s390/s390-64/multiarch/memcpy.S
22409 (memcpy_z196): Rename to __memcpy_z196.
22410 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22411 (memcpy_z10): Rename to __memcpy_z10.
22412 Jump to __memcpy_mvcle instead of memcpy_mvcle.
22413 (memcpy): Set alias to __memcpy_z900.
22414 * sysdeps/s390/s390-64/multiarch/memset.S
22415 (memset_z196): Rename to __memset_z196.
22416 Jump to __memset_mvcle instead of memset_mvcle.
22417 (memset_z10): Rename to __memset_z10.
22418 Jump to __memset_mvcle instead of memset_mvcle.
22419 (memset_mvcle) Rename to __memset_mvcle.
22420 (memset): Set alias to __memset_z900.
22421
22422 2015-01-14 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #17748]
22425 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22426 __fesetenv instead of fesetenv.
22427
22428 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22429
22430 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22431 macro.
22432
22433 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22434
22435 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22436 regression on LE.
22437
22438 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22439 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22440 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22441 strncmp-power8 object.
22442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22443 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
22444 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
22445 * NEWS: Update.
22446
22447 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22448 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22449
22450 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
22451 trailing byte check.
22452
22453 2015-01-13 David S. Miller <davem@davemloft.net>
22454
22455 * include/signal.h (__sigreturn): Guard with __USE_MISC.
22456
22457 2015-01-13 Roland McGrath <roland@hack.frob.com>
22458
22459 * login/logout.c (logout): Use memset rather than bzero.
22460 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
22461 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
22462 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
22463 (_gethtbyaddr): Likewise.
22464 * locale/programs/simple-hash.c (bcopy): Macro removed.
22465
22466 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22467
22468 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22469 Add strcmp-power8 object.
22470 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22471 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
22472 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
22473 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
22474 __strcmp_power8 implementation.
22475 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
22476 * NEWS: Update.
22477
22478 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22479 Add strncpy-power8 and stpncpy-power8 objects.
22480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22481 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
22482 implementations.
22483 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
22484 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
22485 __stpncpy_power8 implementation.
22486 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
22487 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
22488 __strncpy_power8 implementation.
22489 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
22490 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
22491 * NEWS: Update.
22492
22493 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
22494 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
22495 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
22496
22497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22498 strncat-power8 object.
22499 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
22500 __strcat_power8 implementation.
22501 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22502 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
22503 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
22504 optimized strcat for power8.
22505
22506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22507 strcpy-power8 and stpcpy-power8 objects.
22508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22509 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
22510 implementations.
22511 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
22512 multiarch stpcpy implementation for POWER8.
22513 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
22514 multiarch strcpy implementation for POWER8.
22515 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
22516 __strcpy_power8 function.
22517 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
22518 stpcpy for POWER8.
22519 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
22520 strcpy for POWER8.
22521 * NEWS: Update.
22522
22523 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
22524
22525 [BZ #16009]
22526 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
22527 weights and rules. Use do_xfrm_cached if data fits in cache,
22528 do_xfrm otherwise. Moved former main loop to...
22529 * (do_xfrm_cached): New function.
22530 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
22531 find_idx, find_position and stack_push.
22532 * (find_idx): New function.
22533 * (find_position): Likewise.
22534 * localedata/sort-test.sh: Added test run for do_xfrm.
22535 * localedata/xfrm-test.c (main): Added command line option
22536 -nocache to run the test with strings that are too large for
22537 the STRXFRM cache.
22538
22539 2015-01-13 Torvald Riegel <triegel@redhat.com>
22540
22541 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
22542 variable to lll_futex_wake call, not the value itself.
22543
22544 2015-01-12 Joseph Myers <joseph@codesourcery.com>
22545
22546 [BZ #17803]
22547 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
22548 twom64. Adjust value to 0x1p-64L.
22549 (__scalblnl): Only return standard underflowing result for K <=
22550 -64 not K <= -63; adjust exponent for underflowing result by 64
22551 not 63.
22552 * math/libm-test.inc (scalbn_test_data): Add more tests.
22553 (scalbln_test_data): Likewise.
22554
22555 [BZ #17834]
22556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
22557 0x1p63L.
22558 (__scalblnl): Get new exponent of adjusted subnormal value from ES
22559 not HX.
22560 * math/libm-test.inc (scalbn_test_data): Add more tests.
22561 (scalbln_test_data): Likewise.
22562
22563 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22564 Stefani Seibold <stefani@seibold.net>
22565
22566 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
22567 (sysdep_routines): Add dl-vdso here, ...
22568 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
22569 (sysdep_routines): ... not here.
22570 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
22571 fallback when vDSO is not presented.
22572 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22573 Define with libc_hidden_proto/libc_hidden_data_def definitions.
22574 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
22575 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
22576 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
22577 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
22578 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
22579 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
22580 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
22581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
22582 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
22583 fallback configurable symbol when vDSO is not available.
22584 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
22585 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
22586 be able to redefine fallback symbol when vDSO is not available.
22587 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
22588 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
22589
22590 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22591
22592 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
22593 (TLS_INIT_TP): Add tm_capable initialization.
22594 (TLS_DEFINE_INIT_TP): Likewise.
22595 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
22596 TCB.
22597 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
22598 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
22599 calculation.
22600 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
22601 transactoion is lock elision is built and TCB tm_capable is set.
22602 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22604 (INTERNAL_SYSCALL_NCS): Likewise.
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22606 (INTERNAL_SYSCALL_NCS): Likewise.
22607 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
22608
22609 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
22610 for powerpc.
22611 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22612 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
22613 and remove it for 32 bits case.
22614 [pthread_rwlock_t] (__rwelision): New field for lock elision.
22615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
22616 initialization.
22617 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
22618 Disable lock elision with rdlocks if elision is not available.
22619
22620 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
22621 (sysdep_routines): Add lock elision objects.
22622 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22623 [pthread_mutex_t] (__spins): Rework to add lock elision field.
22624 [pthread_mutex_t] (__elision): Add field.
22625 [__PTHREAD_SPINS]: Adjust to init lock elision field.
22626 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
22627 elision definitions for powerpc.
22628 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
22629 implementation of lock elision for powerpc.
22630 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
22631 implementation of timed lock elision for powerpc.
22632 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
22633 implementation of trylock with lock elision for powerpc.
22634 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
22635 implementaion of unlock for lock elision for powerpc.
22636 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
22637 automatic enable lock elision for mutexes.
22638 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
22639 transaction execution definitions for powerpc.
22640 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
22641 definitions.
22642 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
22643 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
22644 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
22645 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
22646 * NEWS: Update.
22647
22648 2015-01-09 Roland McGrath <roland@hack.frob.com>
22649
22650 * sysdeps/posix/shm-directory.c: Use <> rather than ""
22651 for #include of <shm-directory.h>.
22652
22653 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
22654
22655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
22656 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
22657
22658 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
22659
22660 [BZ #17791]
22661 * NEWS: Mention bug fix.
22662 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
22663 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
22664 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
22665
22666 2015-01-09 Torvald Riegel <triegel@redhat.com>
22667
22668 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
22669
22670 2015-01-09 Torvald Riegel <triegel@redhat.com>
22671
22672 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
22673
22674 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22675
22676 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
22677 pointer and cast to uintptr_t.
22678
22679 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22680
22681 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
22682 removed.
22683 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
22684
22685 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
22686
22687 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
22688 of 0.
22689
22690 2015-01-08 Roland McGrath <roland@hack.frob.com>
22691
22692 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
22693 <nptl/pthreadP.h> instead.
22694 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
22695
22696 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
22697 already defined.
22698 [__SIGRTMIN] (init): Function removed.
22699 [__SIGRTMIN] (initialized): Variable removed.
22700 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
22701 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
22702 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
22703 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
22704 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
22705 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
22706 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
22707 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
22708 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
22709 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
22710 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
22711 * sysdeps/nptl/allocrtsig.c: New file.
22712 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
22713 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
22714 * sysdeps/generic/testrtsig.h: File removed.
22715
22716 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
22717 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
22718
22719 * nptl/nptl-init.c (pthread_functions): Conditionalize
22720 .ptr__nptl_setxid initialization on [SIGSETXID].
22721
22722 * sysdeps/nptl/sys/procfs.h: New file.
22723 * nptl_db/Makefile (headers): Add it.
22724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
22725
22726 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
22727 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
22728 * nptl/pthread_attr_setaffinity.c: Include it.
22729 * nptl/pthread_setattr_default_np.c: Likewise.
22730 * nptl/check-cpuset.h: New file.
22731
22732 2015-01-08 Richard Henderson <rth@redhat.com>
22733
22734 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
22735 (CFLAGS-tst-execstack-prog.c): Likewise.
22736 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
22737
22738 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
22739 Sandra Loosemore <sandra@codesourcery.com>
22740 Andrew Jenner <andrew@codesourcery.com>
22741 Joseph Myers <joseph@codesourcery.com>
22742 Nathan Sidwell <nathan@codesourcery.com>
22743
22744 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
22745 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
22746 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
22747 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
22748 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
22749 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
22750 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
22751 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
22752 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22753 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
22754 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
22755 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
22756 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
22757 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
22758 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
22759 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
22760 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
22761
22762 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22763
22764 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
22765 timespec struct member in syscall macro.
22766 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22767 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
22768 first timeval struct member in syscall macro.
22769 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
22770
22771 2015-01-07 Joseph Myers <joseph@codesourcery.com>
22772
22773 [BZ #17748]
22774 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
22775 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
22776 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
22777 __feupdateenv and define as weak alias of __feupdateenv. Use
22778 libm_hidden_weak.
22779 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
22780 libm_hidden_def.
22781 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
22782 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
22783 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22784 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
22785 libm_hidden_def.
22786 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
22787 __feupdateenv and define as weak alias of __feupdateenv. Use
22788 libm_hidden_weak.
22789 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
22790 libm_hidden_def.
22791 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
22792 __feupdateenv and define as weak alias of __feupdateenv. Use
22793 libm_hidden_weak.
22794 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
22795 libm_hidden_def.
22796 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22797 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22798 (__feupdateenv): Likewise.
22799 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
22800 __feupdateenv and define as weak alias of __feupdateenv. Use
22801 libm_hidden_weak.
22802 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22803 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
22804 libm_hidden_def.
22805 * sysdeps/tile/math_private.h (__feupdateenv): New inline
22806 function.
22807 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
22808 libm_hidden_def.
22809 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
22810 __feupdateenv instead of feupdateenv.
22811 (default_libc_feupdateenv_test): Likewise.
22812 (libc_feresetround_ctx): Likewise.
22813
22814 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22815
22816 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
22817 prototype.
22818
22819 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
22820
22821 * posix/regcomp.c (parse_bracket_exp): Initialize type to
22822 COLL_SYM in a couple of places to avoid uninitialized variable
22823 wanings on tilegx gcc 4.8.2.
22824
22825 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22826
22827 * sysdeps/aarch64/strcpy.S: New file.
22828 * sysdeps/aarch64/stpcpy.S: New file.
22829 * NEWS: Updated.
22830
22831 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
22832
22833 * sysdeps/aarch64/strrchr.S: New file.
22834 * NEWS: Updated.
22835
22836 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
22837
22838 [BZ #17658]
22839 * stdlib/setenv.c: Fix memory leak when setting large,
22840 duplicate string.
22841
22842 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
22843
22844 [BZ #17273]
22845 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
22846 and tabs from buffer before parsing fstab entry.
22847 * misc/tst-mntent.c (main): Add test for mount entry with
22848 trailing spaces and tabs.
22849
22850 2015-01-06 Joseph Myers <joseph@codesourcery.com>
22851
22852 [BZ #17748]
22853 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
22854 * math/fesetround.c (fesetround): Rename to __fesetround and
22855 define as weak alias of __fesetround. Use libm_hidden_weak.
22856 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
22857 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
22858 * sysdeps/arm/fesetround.c (fesetround): Likewise.
22859 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
22860 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
22861 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
22862 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
22863 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
22864 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
22865 __fesetround_inline.
22866 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
22867 __fesetround_inline instead of __fesetround.
22868 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
22869 __fesetround and define as weak alias of __fesetround. Use
22870 libm_hidden_weak. Call __fesetround_inline instead of
22871 __fesetround.
22872 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
22873 __fesetround and define as weak alias of __fesetround. Use
22874 libm_hidden_weak.
22875 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
22876 Likewise.
22877 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
22878 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22879 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
22880 * sysdeps/tile/math_private.h (__fesetround): New inline function.
22881 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
22882 __fesetround and define as weak alias of __fesetround. Use
22883 libm_hidden_weak.
22884 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
22885 __fesetround instead of fesetround.
22886 (default_libc_feholdexcept_setround): Likewise.
22887 (libc_feholdsetround_ctx): Likewise.
22888 (libc_feholdsetround_noex_ctx): Likewise.
22889
22890 [BZ #17748]
22891 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
22892 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
22893 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22894 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22895 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22896 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
22897 define as weak alias of __fesetenv. Use libm_hidden_weak.
22898 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22899 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22900 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22901 define as weak alias of __fesetenv. Use libm_hidden_weak.
22902 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22903 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22904 define as weak alias of __fesetenv. Use libm_hidden_weak.
22905 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
22906 libm_hidden_def.
22907 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
22908 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
22909 Likewise.
22910 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
22911 define as weak alias of __fesetenv. Use libm_hidden_weak.
22912 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22913 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
22914 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
22915 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
22916 and define as weak alias of __fesetenv. Use libm_hidden_weak.
22917 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
22918 __fesetenv instead of fesetenv.
22919 (libc_feresetround_noex_ctx): Likewise.
22920 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
22921 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
22922 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
22923 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
22924 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
22925 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
22926 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22927 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
22928 (__feupdateenv): Likewise.
22929 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22930 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22931 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22932 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
22933
22934 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22935
22936 [BZ #17806]
22937 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
22938 addresses have been freed.
22939
22940 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
22941
22942 * resolv/res_init.c (__res_vinit): Improve comments about nserv
22943 and nservall.
22944
22945 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
22946
22947 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
22948 Clean up check_pf allocation pattern. addresses
22949
22950 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22951
22952 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
22953 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
22954 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
22955 * nptl/pthread_exit.c (__pthread_exit): Likewise.
22956 * nptl/pthread_join.c (pthread_join): Likewise.
22957 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
22958 * sysdeps/posix/waitid.c (__waitid): Likewise.
22959 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22960 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22961 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22962 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22963 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22964 Likewise.
22965 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22966 (__libc_pread64): Likewise.
22967 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22968 (__libc_pwrite): Likewise.
22969 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22970 (__libc_pwrite64): Likewsie.
22971 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22972 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22973 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22974 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22975 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22976 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22977 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22979 Likewise.
22980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22981 (__libc_pread64): Likewise.
22982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
22983 Likewise.
22984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22985 (__libc_pwrite64): Likewise.
22986 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22987 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22988 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
22989 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
22990 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22991 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22992 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
22993 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22994 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22995 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22996 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
22997 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22998 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22999 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23000 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23001 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23002 Likewise.
23003
23004 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
23005
23006 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23007 (CFLAGS-test-double.c): Likewise.
23008 (CFLAGS-test-ldouble.c): Likewise.
23009 (CPPFLAGS-test-ifloat.c): Likewise.
23010 (CPPFLAGS-test-idouble.c): Likewise.
23011 (CPPFLAGS-test-ildoubl.c): Likewise.
23012 (CFLAGS-test-test-fenv.c): Remove variable.
23013 (CFLAGS-test-misc.c): Likewise.
23014
23015 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
23016
23017 [BZ #17797]
23018 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23019 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23020 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23021 CLOCKS_PER_SEC == 1000000.
23022 * time/clocktest.c (main): Replace %ld with %jd and cast to
23023 intmax_t.
23024
23025 2015-01-05 Roland McGrath <roland@hack.frob.com>
23026
23027 * sysdeps/generic/unwind-resume.h: New file.
23028 * sysdeps/gnu/unwind-resume.c: Include it.
23029 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23030 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23031 argument list.
23032 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23033 global rather than static.
23034 (_Unwind_Resume): Update user.
23035 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23036 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
23037 rather than static. Add __attribute__ ((cold)).
23038 (_Unwind_Resume, __gcc_personality_v0): Update callers.
23039 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23040 * sysdeps/arm/arm-unwind-resume.S: New file.
23041 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23042 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23043 * sysdeps/arm/Makefile [$(subdir) = csu]
23044 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23045 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23046 Add rt-arm-unwind-resume.
23047 [$(subdir) = nptl]
23048 (libpthread-sysdep_routines, libpthread-shared-only-routines):
23049 Add pt-arm-unwind-resume.
23050 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23051 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23052
23053 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23054
23055 [BZ #17748]
23056 * include/fenv.h (__feholdexcept): Declare. Use
23057 libm_hidden_proto.
23058 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23059 define as weak alias of __feholdexcept. Use libm_hidden_weak.
23060 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23061 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23062 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23063 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23064 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23065 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23066 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23067 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23068 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23069 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23070 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23071 (feholdexcept): Likewise.
23072 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23073 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23074 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23075 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23076 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23077 __feholdexcept instead of feholdexcept.
23078 (default_libc_feholdexcept_setround): Likewise.
23079
23080 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23081
23082 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23083 to avoid using stl/str to align destination.
23084
23085 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23086
23087 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23088
23089 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23090
23091 [BZ #17796]
23092 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23093 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23094 Define as weak alias not strong alias.
23095
23096 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
23097
23098 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23099 bltzal with addiupc.
23100 (RTLD_START): Ditto.
23101
23102 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
23103
23104 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23105 for __vdso_* functions in declarations.
23106 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23107 definitions.
23108 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23109 INTERNAL_VSYSCALL): Use struct return types to check for error.
23110
23111 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23112 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23113 function with cast from llround().
23114 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23115 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23116 Define.
23117
23118 2015-01-05 Joseph Myers <joseph@codesourcery.com>
23119
23120 [BZ #17793]
23121 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23122 Define as weak alias not strong alias.
23123
23124 [BZ #17635]
23125 * ctype/ctype-c99.c: New file. isblank implementation moved from
23126 ...
23127 * ctype/ctype-extn.c: ... here.
23128 (__isblank_l): Move to ...
23129 * ctype/ctype-c99_l.c: ... here. New file.
23130 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23131 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23132 Remove variable.
23133 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23134 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23135 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23136 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23137 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23138
23139 [BZ #17777]
23140 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23141 (posix_fadvise64): Define as weak alias not strong alias.
23142 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23143 (posix_fallocate64): Likewise.
23144 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23145 Remove variable.
23146 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23147 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23148 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23149 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23150 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23151
23152 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
23153
23154 [BZ #16191]
23155 * NEWS: Mention bug fix.
23156 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23157 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23158 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23159 (HOST_STACK_END_ADDR): Likewise.
23160
23161 2015-01-02 Joseph Myers <joseph@codesourcery.com>
23162
23163 [BZ #17748]
23164 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
23165 * math/fegetround.c (fegetround): Rename to __fegetround and
23166 define as weak alias of __fegetround. Use libm_hidden_weak.
23167 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23168 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23169 * sysdeps/arm/fegetround.c (fegetround): Likewise.
23170 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23171 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23172 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23173 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23174 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23175 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23176 Undefine after rather than before function definition; use
23177 parentheses around function name in definition.
23178 (__fegetround): Also undefine macro after function definition.
23179 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23180 __fegetround and define as weak alias of __fegetround. Use
23181 libm_hidden_weak. Do not undefine as macro.
23182 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23183 Likewise.
23184 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23185 __fegetround and define as weak alias of __fegetround. Use
23186 libm_hidden_weak.
23187 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23188 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23189 * sysdeps/tile/math_private.h (__fegetround): New inline function.
23190 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23191 __fegetround and define as weak alias of __fegetround. Use
23192 libm_hidden_weak.
23193 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23194 __fegetround instead of fegetround.
23195
23196 [BZ #17782]
23197 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23198 Condition macro definition on [__USE_MISC].
23199
23200 [BZ #17781]
23201 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23202 (struct sigaction): Change type of sa_flags field to int.
23203
23204 [BZ #17780]
23205 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23206 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23207 __glibc_reserved0.
23208
23209 * nptl/version.c (banner): Use single year in copyright notice.
23210
23211 * NEWS: Update copyright dates.
23212 * catgets/gencat.c (print_version): Likewise.
23213 * csu/version.c (banner): Likewise.
23214 * debug/catchsegv.sh: Likewise.
23215 * debug/pcprofiledump.c (print_version): Likewise.
23216 * debug/xtrace.sh (do_version): Likewise.
23217 * elf/ldconfig.c (print_version): Likewise.
23218 * elf/ldd.bash.in: Likewise.
23219 * elf/pldd.c (print_version): Likewise.
23220 * elf/sotruss.sh: Likewise.
23221 * elf/sprof.c (print_version): Likewise.
23222 * iconv/iconv_prog.c (print_version): Likewise.
23223 * iconv/iconvconfig.c (print_version): Likewise.
23224 * locale/programs/locale.c (print_version): Likewise.
23225 * locale/programs/localedef.c (print_version): Likewise.
23226 * login/programs/pt_chown.c (print_version): Likewise.
23227 * malloc/memusage.sh (do_version): Likewise.
23228 * malloc/memusagestat.c (print_version): Likewise.
23229 * malloc/mtrace.pl: Likewise.
23230 * manual/libc.texinfo: Likewise.
23231 * nptl/version.c (banner): Likewise.
23232 * nscd/nscd.c (print_version): Likewise.
23233 * nss/getent.c (print_version): Likewise.
23234 * nss/makedb.c (print_version): Likewise.
23235 * posix/getconf.c (main): Likewise.
23236 * scripts/test-installation.pl: Likewise.
23237 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23238
23239 2015-01-02 Will Newton <will.newton@linaro.org>
23240
23241 * sysdeps/arm/armv7/configure: Removed.
23242 * sysdeps/arm/armv7/configure.ac: Likewise.
23243
23244 2015-01-02 Joseph Myers <joseph@codesourcery.com>
23245
23246 * All files with FSF copyright notices: Update copyright dates
23247 using scripts/update-copyrights.
23248 * intl/plural.c: Regenerated.
23249 * locale/programs/charmap-kw.h: Likewise.
23250 * locale/programs/locfile-kw.h: Likewise.
23251
23252 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23253
23254 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23255
23256 2014-12-31 Joseph Myers <joseph@codesourcery.com>
23257
23258 [BZ #17748]
23259 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23260 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23261 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23262 and define as weak alias of __fegetenv. Use libm_hidden_weak.
23263 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23264 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23265 define as weak alias of __fegetenv. Use libm_hidden_weak.
23266 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23267 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23268 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23269 define as weak alias of __fegetenv. Use libm_hidden_weak.
23270 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23271 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23272 define as weak alias of __fegetenv. Use libm_hidden_weak.
23273 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23274 libm_hidden_def.
23275 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23276 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23277 Likewise.
23278 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23279 define as weak alias of __fegetenv. Use libm_hidden_weak.
23280 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23281 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23282 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23283 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23284 and define as weak alias of __fegetenv. Use libm_hidden_weak.
23285 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23286 __fegetenv instead of fegetenv.
23287 (libc_feholdsetround_noex_ctx): Likewise.
23288
23289 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
23290
23291 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23292 (Elf_MIPS_ABIFlags_v0): New structure.
23293 (EF_MIPS_FP64): Define.
23294 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23295 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23296 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23297 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23298 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23299 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23300 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23301 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23302 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23303 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23304 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23305 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23306 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23307 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23308 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23309 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23310 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23311 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23312 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23313 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23314 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23315 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23316 field.
23317 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23318 EF_MIPS_FP64.
23319 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23320 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23321 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23322 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23323 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23324 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23325 * sysdeps/mips/tst-abi-interlink.c: Likewise.
23326 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23327 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23328 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23329 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23330 record the current FP ABI extension.
23331 (mips-mode-switch): Define to show if kernel headers support mode
23332 switching.
23333 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23334 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23335 supported SYSV ABI version to 3.
23336 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23337 feature.
23338
23339 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23340 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23341
23342 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23343 path.
23344 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23345
23346 2014-12-31 Joseph Myers <joseph@codesourcery.com>
23347
23348 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23349 __fegetround and redefine to call __fegetround. Remove condition
23350 on [!__NO_MATH_INLINES].
23351 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23352 function.
23353 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23354 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23355 Remove macro.
23356 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23357 instead of <fenv_libc.h>.
23358 (__llrintl): Call fegetround instead of __fegetround.
23359 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23360 instead of <fenv_libc.h>.
23361 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23362 (__lrintl): Call fegetround instead of __fegetround.
23363 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23364 instead of <fenv_libc.h>.
23365 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23366 (__rintl): Call fegetround instead of __fegetround.
23367
23368 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23369
23370 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23371 arrays.
23372
23373 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23374
23375 [BZ #17775]
23376 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23377 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23378 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23379
23380 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23381
23382 * sysdeps/i386/tls-macros.h: Include <features.h>.
23383 (TLS_LE): Use non-PIC version for GCC >= 5.0.
23384 (TLS_IE): Likewise.
23385 (TLS_LD): Likewise.
23386 (TLS_GD): Likewise.
23387 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23388 define for GCC >= 5.0.
23389
23390 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
23391
23392 * math/test-fenv.c (test_single_exception, set_single_exc,
23393 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23394 feexcp_mask_test, feenable_test, fe_single_test): Add
23395 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23396 case where they are not used.
23397 * math/libm-test.inc: Likewise.
23398 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23399 unused in the absence of FP rounding/exception support.
23400 * stdio-common/tst-printf-round.c: Likewise.
23401 * stdlib/tst-strtod-round.c: Likewise.
23402 * stdlib/tst-strtod-underflow.c: Likewise.
23403
23404 2014-12-30 Joseph Myers <joseph@codesourcery.com>
23405
23406 [BZ #17723]
23407 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23408 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23409 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23410 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23411 libm_hidden_weak.
23412 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23413 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23414 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23415 libm_hidden_def.
23416 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23417 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23418 libm_hidden_weak.
23419 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23420 Likewise.
23421 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23422 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23423 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23424 libm_hidden_weak.
23425 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23426 libm_hidden_def.
23427 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23428 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23429 (__feraiseexcept): Likewise.
23430 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23431 __feraiseexcept and define as weak alias of __feraiseexcept. Use
23432 libm_hidden_weak.
23433 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23434 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23435 libm_hidden_def.
23436 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23437 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23438 Use libm_hidden_def.
23439 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23440 libm_hidden_def.
23441 (feraiseexcept): Define as weak not strong alias. Use
23442 libm_hidden_weak.
23443 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
23444 New inline function. Factored out of ...
23445 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
23446 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
23447 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
23448 feraiseexcept.
23449 * math/w_acos.c (__acos): Likewise.
23450 * math/w_asin.c (__asin): Likewise.
23451 * math/w_ilogb.c (__ilogb): Likewise.
23452 * math/w_j0.c (y0): Likewise.
23453 * math/w_j1.c (y1): Likewise.
23454 * math/w_jn.c (yn): Likewise.
23455 * math/w_log.c (__log): Likewise.
23456 * math/w_log10.c (__log10): Likewise.
23457 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
23458 * sysdeps/aarch64/fpu/math_private.h
23459 (libc_feupdateenv_test_aarch64): Likewise.
23460 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23461 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
23462 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
23463 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23464 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23465 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23466 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
23467 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23468 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23469 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23470
23471 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 [BZ #17732]
23474 * io/test-utime.c (main): Replace %ld with %jd and cast to
23475 intmax_t.
23476 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
23477 * nptl/tst-mutex5.c: Include <stdint.h>.
23478 (do_test): Replace %ld with %jd and cast to intmax_t.
23479 * posix/tst-regex.c (run_test): Likewise.
23480 (run_test_backwards): Likewise.
23481 * rt/tst-clock.c: Include <stdint.h>.
23482 (clock_test): Replace %ld with %jd and cast to intmax_t.
23483 * rt/tst-cpuclock1.c: Include <stdint.h>.
23484 (do_test): Replace %lu with %ju and cast to uintmax_t.
23485 * rt/tst-cpuclock2.c: Include <stdint.h>.
23486 (do_test): Replace %lu with %ju and cast to uintmax_t.
23487 * rt/tst-mqueue1.c: Include <stdint.h>.
23488 (check_attrs): Replace %ld with %jd and cast to intmax_t.
23489 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
23490 intmax_t.
23491 * rt/tst-mqueue4.c (do_test): Likewise.
23492 * rt/tst-timer4.c: Include <stdint.h>.
23493 (check_ts): Replace %ld with %jd and cast to intmax_t.
23494 (do_test): Likewise.
23495 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
23496 and cast to intmax_t.
23497 * sysdeps/pthread/tst-timer.c (main): Likewise.
23498 * time/clocktest.c (main): Likewise.
23499 * time/tst-posixtz.c (do_test): Likewise.
23500 * timezone/tst-timezone.c (main): Likewise.
23501
23502 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
23503 H.J. Lu <hongjiu.lu@intel.com>
23504
23505 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
23506 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
23507 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
23508 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
23509 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
23510 version if bit_Fast_Unaligned_Load is set.
23511 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23512 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23513 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23514 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23518 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
23519 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
23520 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
23521 to 4.
23522 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
23523 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
23524 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
23525 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
23526
23527 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
23528
23529 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
23530 instead of #if to avoid a Wundef warning.
23531 * stdlib/tst-limits.c (do_test): Likewise.
23532
23533 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
23534 parallel other exception macros.
23535 (fegetenv): Convert from macro to extern inline so that it applies
23536 retroactively to inline functions already seen by the compiler.
23537 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
23538
23539 * posix/Makefile (before-compile): Use $(objpfx) for
23540 posix-conf-vars-def.h.
23541
23542 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23543
23544 * posix/getconf.c (main): Use size_t for type of I.
23545 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
23546 NSPEC.
23547
23548 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
23549 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
23550 * posix/posix-envs.def: Likewise.
23551 * sysdeps/posix/sysconf.c: Likewise.
23552 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
23553 (specs): Remove array.
23554 * scripts/gen-posix-conf-vars.awk: Support generation of specs
23555 array.
23556
23557 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
23558 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
23559 (__sysconf): Use CONF_IS_* macros.
23560
23561 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
23562 ($(objpfx)posix-conf-vars-def.h): New target.
23563 * posix/posix-conf-vars.list: New file.
23564 * posix/posix-conf-vars.h: New file.
23565 * posix/confstr.c: Include posix-conf-vars.h.
23566 (confstr): Use CONF_IS_* macros.
23567 * posix/posix-envs.def: Include posix-conf-vars.h. Use
23568 CONF_IS_* macros.
23569 * scripts/gen-posix-conf-vars.awk: New file.
23570
23571 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
23572
23573 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
23574 fegetround): Add no-op macros to avoid linknamespace issues.
23575
23576 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
23577 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
23578
23579 * sysdeps/unix/sysv/linux/tile/sysdep.h
23580 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
23581 assembly-specific section to avoid a redefinition warning.
23582
23583 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
23584 long before casting to pointer to avoid a cast warning.
23585
23586 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
23587
23588 * sysdeps/tile/tilegx/Implies: New file.
23589
23590 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
23591
23592 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
23593
23594 2014-12-23 Florian Weimer <fweimer@redhat.com>
23595
23596 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
23597
23598 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23599
23600 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
23601 not define.
23602 * sysdeps/unix/sysv/linux/utimes.c: Do not include
23603 <kernel-features.h>.
23604 (__utimes) [__NR_utimes]: Make code unconditional.
23605 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
23606 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23607 (__ASSUME_UTIMES): Do not undefine.
23608 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23609 (__ASSUME_UTIMES): Likewise.
23610 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23611 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
23612 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
23613 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
23614
23615 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23616
23617 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
23618
23619 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
23620
23621 [BZ #17747]
23622 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
23623 alias to weak alias for j0l, y0l.
23624 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
23625 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
23626
23627 [BZ #17746]
23628 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
23629 conversion.
23630
23631 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
23632
23633 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
23634 to zero if not already defined.
23635
23636 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23637
23638 [BZ #17724]
23639 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
23640 (__kernel_standard_f): Remove. Moved to k_standardf.c.
23641 (__kernel_standard_l): Remove. Moved to k_standardl.c with
23642 (char *) casts added.
23643 * sysdeps/ieee754/k_standardf.c: New file.
23644 * sysdeps/ieee754/k_standardl.c: Likewise.
23645 * math/Makefile (libm-support): Remove k_standard.
23646 (libm-calls): Add k_standard.
23647
23648 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23649
23650 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23651 Optimize to avoid an unnecessary FPCR read.
23652
23653 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23654
23655 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23656 Optimize to reduce FPCR/FPSR accesses.
23657
23658 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23659
23660 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
23661 Call libc_fetestexcept_aarch64.
23662
23663 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
23664
23665 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
23666 Call libc_fesetround_aarch64.
23667
23668 2014-12-22 Joseph Myers <joseph@codesourcery.com>
23669
23670 [BZ #17733]
23671 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
23672 (__bind): Do not define as weak alias.
23673 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
23674 define.
23675 (__getsockname): Do not define as weak alias.
23676
23677 2014-12-22 Will Newton <will.newton@linaro.org>
23678
23679 * manual/install.texi: Document that we require bison 2.7
23680 or above.
23681 * INSTALL: Regenerate.
23682 * configure.ac: Use AC_CHECK_PROG_VER instead of
23683 AC_PATH_PROG when checking for bison and check for
23684 version 2.7 or above.
23685 * configure: Regenerate.
23686
23687 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
23688
23689 [BZ #17745]
23690 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
23691 * sysdeps/tile/ffsll.c (ffsll): To here.
23692
23693 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
23694
23695 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
23698 if not defined.
23699 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
23700 definition.
23701 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23702 hidden ___tls_get_addr.
23703 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
23704 hidden __tls_get_addr.
23705 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
23706 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
23707 Likewise.
23708
23709 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
23710
23711 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
23712 _dl_init call.
23713
23714 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
23715
23716 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
23717 from "call _dl_init@PLT".
23718 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
23719
23720 2014-12-21 Anders Kaseorg <andersk@mit.edu>
23721
23722 * manual/search.texi: (Array Sort Function): Clarify stable sorting
23723 guarantees.
23724
23725 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
23726
23727 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
23728
23729 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23730
23731 [BZ #17744]
23732 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
23733 strnlen.
23734
23735 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23736
23737 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
23738 of multu on MIPSr6.
23739 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
23740 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
23741 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
23742 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
23743 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
23744
23745 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
23746
23747 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
23748 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
23749 (PTR_SUBU): Use subu for mips32r6/mips64r6.
23750 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
23751 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
23752 mips32r6/mips64r6.
23753 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
23754
23755 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
23756
23757 * string/strncat.c (STRNCAT): Simplify implementation.
23758
23759 2014-12-19 David S. Miller <davem@davemloft.net>
23760
23761 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
23762 access the quad as both a long double and as a series of 4 words.
23763
23764 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
23765 link_map->l_info array access.
23766
23767 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
23768
23769 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
23770
23771 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
23772 * math/atest-exp2.c (TIMEOUT): Likewise.
23773 * math/atest-sincos.c (TIMEOUT): Likewise.
23774
23775 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23776
23777 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
23778 -Wno-error with -fno-builtin-lround.
23779
23780 2014-12-19 Torvald Riegel <triegel@redhat.com>
23781
23782 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
23783 Contains futex constants and functions moved over from ...
23784 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
23785 <lowlevellock-futex.h>.
23786 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23787 (lll_timedwait_tid): Add comments and parentheses around macro
23788 arguments.
23789
23790 2014-12-19 Torvald Riegel <triegel@redhat.com>
23791
23792 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
23793 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
23794 (__lll_private_flag): Remove.
23795 (lll_futex_wait): Likewise.
23796 (lll_futex_timed_wait): Likewise.
23797 (lll_futex_wake): Likewise.
23798 (lll_futex_requeue): Likewise.
23799 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
23800 (__lll_timedwait_tid): Spell out argument names.
23801 (lll_timedwait_tid): Add comments and parentheses around macro
23802 arguments.
23803 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
23804 LLL_SHARED and LLL_PRIVATE usable from assembly code.
23805
23806 2014-12-19 Torvald Riegel <triegel@redhat.com>
23807
23808 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
23809 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
23810 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
23811 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
23812 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
23813 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
23814 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
23815 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
23816 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
23817 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
23818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
23819 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
23820 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
23821 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
23822 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
23823 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
23824 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
23825 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
23826 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
23827
23828 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23829
23830 * sysdeps/x86_64/x32/Makefile: New file.
23831
23832 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
23835 1L with (mp_limb_t) 1.
23836
23837 2014-12-17 Roland McGrath <roland@hack.frob.com>
23838
23839 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
23840 * nptl/libc_pthread_init.c: ... here.
23841 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
23842 * nptl/register-atfork.c: ... here.
23843
23844 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
23845 Use pthread_sigmask rather than INTERNAL_SYSCALL.
23846 Use assert_perror to check its return value.
23847 (__gai_create_helper_thread): Likewise.
23848
23849 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
23850
23851 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
23852
23853 2014-12-17 Joseph Myers <joseph@codesourcery.com>
23854
23855 [BZ #17725]
23856 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
23857 __profil_counter.
23858 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
23859 Likewise.
23860 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
23861 Likewise.
23862 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
23863 Likewise.
23864 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
23865 (profil_counter): Likewise.
23866 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
23867 (profil_counter): Likewise.
23868 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
23869 Likewise.
23870 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
23871 Likewise.
23872 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
23873 (profil_counter): Likewise.
23874 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
23875 Likewise.
23876 [!__profil_counter] (profil_counter): Define as weak alias of
23877 __profil_counter.
23878 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
23879 (profil_counter): Rename to __profil_counter.
23880 [!__profil_counter] (profil_counter): Define as weak alias of
23881 __profil_counter.
23882 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
23883 (profil_counter): Rename to __profil_counter.
23884 [!__profil_counter] (profil_counter): Define as weak alias of
23885 __profil_counter.
23886 * sysdeps/posix/profil.c: Update comment referring to
23887 profil_counter.
23888 (__profil): Use __profil_counter instead of profil_counter.
23889 * sysdeps/posix/sprofil.c (profil_counter): Rename to
23890 __profil_counter. Use __profil_counter_ushort and
23891 __profil_counter_uint in definitions.
23892 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
23893 instead of profil_counter_uint and profil_counter_ushort.
23894
23895 [BZ #17722]
23896 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
23897 define as weak alias of __inet_makeaddr.
23898 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
23899 as weak alias of __inet_addr.
23900 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
23901 as weak alias of __inet_pton. Use libc_hidden_weak.
23902 * include/arpa/inet.h (__inet_pton): Declare. Use
23903 libc_hidden_proto.
23904 (inet_makeaddr): Don't use libc_hidden_proto.
23905 (__inet_makeaddr): Declare. Use libc_hidden_proto.
23906 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
23907 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
23908 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
23909 Remove variable.
23910 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23911 (test-xfail-POSIX/time.h/linknamespace): Likewise.
23912
23913 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
23914
23915 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
23916
23917 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23918
23919 * stdio-common/bug-vfprintf-nargs.c (do_test):
23920 Cast value to intptr_t to avoid format warning
23921 for usage with PRIdPTR printing macro.
23922
23923 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
23924
23925 * libio/tst-widetext.c (do_test):
23926 Use format type %td instead of %Zd for ptrdiff_t
23927 in order to avoid format warning.
23928
23929 2014-12-17 Andreas Schwab <schwab@suse.de>
23930
23931 * nscd/mem.c (gc): Add size_t cast to match printf format.
23932
23933 2014-12-16 Roland McGrath <roland@hack.frob.com>
23934
23935 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
23936 (init): Apply PTR_MANGLE to pointers before storing them.
23937 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
23938 before using them.
23939
23940 2014-12-16 Joseph Myers <joseph@codesourcery.com>
23941
23942 [BZ #17719]
23943 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
23944 define as weak alias of __memrchr.
23945 (__memrchr): Do not define as strong alias of memrchr.
23946 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
23947 Remove variable.
23948 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23949 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23950 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23951
23952 [BZ #17717]
23953 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
23954 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
23955 (if_indextoname): Rename to __if_indextoname and define as weak
23956 alias of __if_indextoname. Use libc_hidden_weak.
23957 (if_freenameindex): Rename to __if_freenameindex and define as
23958 weak alias of __if_freenameindex.
23959 (if_nameindex): Rename to __if_nameindex and define as weak alias
23960 of __if_nameindex.
23961 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23962 __if_nametoindex and define as weak alias of __if_nametoindex.
23963 Use libc_hidden_weak.
23964 (if_freenameindex): Rename to __if_freenameindex and define as
23965 weak alias of __if_freenameindex.
23966 (if_nameindex): Rename to __if_nameindex and define as weak alias
23967 of __if_nameindex.
23968 (if_indextoname): Rename to __if_indextoname and define as weak
23969 alias of __if_indextoname. Use libc_hidden_weak.
23970 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
23971 __if_nametoindex and define as weak alias of __if_nametoindex.
23972 Use libc_hidden_weak.
23973 (if_freenameindex): Rename to __if_freenameindex and define as
23974 weak alias of __if_freenameindex. Use libc_hidden_weak.
23975 (if_nameindex_netlink): Use __if_freenameindex instead of
23976 if_freenameindex.
23977 (if_nameindex): Rename to __if_nameindex and define as weak alias
23978 of __if_nameindex. Use libc_hidden_weak.
23979 (if_indextoname): Rename to __if_indextoname and define as weak
23980 alias of __if_indextoname. Use libc_hidden_weak.
23981 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
23982 libc_hidden_proto.
23983 [!_ISOMAC] (__if_freenameindex): Likewise.
23984 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
23985 if_nametoindex.
23986 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
23987 variable.
23988 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23989 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23990 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23991 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23992 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23993 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23994 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23995
23996 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
23997 Remove variable.
23998 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23999 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24000
24001 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24002
24003 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24004 subscript above bounds'
24005
24006 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24007 bounds.
24008
24009 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
24010
24011 * libio/tst-fopenloc.c: Use test-skeleton.c.
24012
24013 * stdlib/tst-bsearch.c: Use test-skeleton.c.
24014 (entry): Rename to ITEM.
24015 (do_test, comp): Adjust.
24016
24017 * stdio-common/tst-fseek.c: Use test-skeleton.c.
24018
24019 2014-12-16 Torvald Riegel <triegel@redhat.com>
24020
24021 * string/tester.c: Include <libc-internal.h>.
24022 (test_memset): Ignore -Wmemset-transposed-args.
24023
24024 2014-12-16 Torvald Riegel <triegel@redhat.com>
24025
24026 * misc/tst-mntent2.c (do_test): Fix warning.
24027
24028 2014-12-16 Torvald Riegel <triegel@redhat.com>
24029
24030 * elf/tst-unique4lib.cc(a): Mark as used.
24031
24032 2014-12-16 Florian Weimer <fweimer@redhat.com>
24033
24034 [BZ #17630]
24035 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24036 names.
24037
24038 2014-12-16 Allan McRae <allan@archlinux.org>
24039
24040 * stdio-common/Makefile (tests): Re-add bug26.
24041
24042 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
24043
24044 [BZ #17657]
24045 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24046 static array.
24047
24048 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
24049
24050 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24051 (__lll_lock_wait): Likewise.
24052 (__lll_timedlock_wait): Likewise.
24053 (__lll_timedwait_tid): Likewise.
24054 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24055 (__lll_robust_timedlock_wait): Likewise.
24056 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24057 (lll_cond_trylock): Likewise.
24058 (__lll_lock): Likewise.
24059 (__lll_robust_lock): Likewise.
24060 (__lll_cond_lock): Likewise.
24061 (lll_robust_cond_lock): Likewise.
24062 (__lll_timedlock): Likewise.
24063 (__lll_robust_timedlock): Likewise.
24064 (__lll_unlock): Likewise.
24065 (__lll_robust_unlock): Likewise.
24066 (lll_wait_tid): Likewise.
24067 (lll_timedwait_tid): Likewise.
24068
24069 2014-12-15 Torvald Riegel <triegel@redhat.com>
24070
24071 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24072
24073 2014-12-15 Torvald Riegel <triegel@redhat.com>
24074
24075 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24076
24077 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
24078
24079 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24080 * stdio-common/tst-sprintf.c: Likewise.
24081
24082 2014-12-15 Torvald Riegel <triegel@redhat.com>
24083
24084 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24085
24086 2014-12-15 Jeff Law <law@redhat.com>
24087
24088 [BZ #16617]
24089 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24090 on the heap. (CVE-2012-3406)
24091 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24092 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
24093 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24094
24095 2014-12-15 Will Newton <will.newton@linaro.org>
24096
24097 * manual/install.texi: Bump required version of texinfo
24098 to 4.7 from 4.5.
24099 * INSTALL: Regenerated.
24100 * configure.ac: Check for makeinfo version 4.7 and above.
24101 * configure: Regenerated.
24102
24103 2014-12-12 Roland McGrath <roland@hack.frob.com>
24104
24105 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24106 PREFIX, string constant to insert between directory and name.
24107 * sysdeps/posix/shm_open.c: Update caller.
24108 * sysdeps/posix/shm_unlink.c: Likewise.
24109 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24110 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24111 (SEM_SHM_PREFIX): New macro.
24112 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24113 [$(have-thread-library) = no].
24114 * nptl/Makefile (libpthread-routines): Add shm-directory.
24115 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24116 * sysdeps/nptl/shm-directory.h: New file.
24117 * sysdeps/posix/shm-directory.c
24118 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24119 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24120 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24121 INTERNAL_SYSCALL.
24122 (__where_is_shmfs): Function removed.
24123 (mountpoint, defaultmount, defaultdir, __namedsem_once):
24124 Variables removed.
24125 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24126 Use SHM_GET_NAME.
24127 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
24128
24129 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24130 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24131 unconditional for use inside libpthread.
24132 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24133
24134 2014-12-12 Roland McGrath <roland@hack.frob.com>
24135
24136 * nptl/pthread_getaffinity.c: New file.
24137 * nptl/pthread_setaffinity.c: New file.
24138 * nptl/pthread_getname.c: New file.
24139 * nptl/pthread_setname.c: New file.
24140
24141 * nptl/pthread_create.c (START_THREAD_DEFN)
24142 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24143
24144 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24145 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24146
24147 * resolv/res_send.c (send_vc): Disable warning resplen may
24148 be used uninitialized.
24149
24150 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
24151
24152 * nptl/tst-mutex6.c
24153 (ATTR_NULL): New define checks ATTR against NULL.
24154 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24155 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24156
24157 2014-12-11 James Lemke <jwlemke@codesourcery.com>
24158
24159 [BZ #17581]
24160 * malloc/hooks.c
24161 (mem2mem_check): Revert my previous change.
24162 (malloc_check_get_size): Revert my previous change.
24163 (mem2chunk_check): Revert my previous change.
24164
24165 2014-12-11 Roland McGrath <roland@hack.frob.com>
24166
24167 * sysdeps/posix/shm-directory.c: New file.
24168 * sysdeps/posix/shm-directory.h: New file.
24169 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24170 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24171 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
24172 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24173 Transmute EPERM to EACCES.
24174 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24175 from ...
24176 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
24177 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24178
24179 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24180
24181 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24182 pointer and cast to uintptr_t.
24183 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24184 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24185 Add cast to avoid warning.
24186 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24187
24188 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24189
24190 * nptl/semaphore.h: Move to ...
24191 * sysdeps/pthread/semaphore.h: ... here.
24192 * Makefile (installed-headers): Change nptl/semaphore.h to
24193 sysdeps/pthread/semaphore.h.
24194
24195 2014-12-11 Roland McGrath <roland@hack.frob.com>
24196
24197 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24198 generated error format strings.
24199
24200 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24201 -Wformat-extra-args warnings for scanf formats.
24202 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24203 test of zero-length format (duh).
24204 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24205 corner-case scanf format test.
24206 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24207 generated fprintf format string.
24208 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24209 corner-case sprintf format tests.
24210 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24211 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24212 -Wformat-extra-args warnings throughout.
24213 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24214 (CFLAGS-scanf4.c): Likewise.
24215 (CFLAGS-scanf7.c): Likewise.
24216 (CFLAGS-tst-sprintf.c): Likewise.
24217 (CFLAGS-tst-printf.c): Likewise.
24218 (CFLAGS-tst-printfsz.c): Likewise.
24219
24220 2014-12-11 Joseph Myers <joseph@codesourcery.com>
24221
24222 * include/cpio.h: New file.
24223 * include/fmtmsg.h: Likewise.
24224
24225 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
24226 corresponding format argument to size_t.
24227 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
24228 arguments.
24229 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
24230 corresponding format argument to size_t.
24231 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
24232 arguments.
24233 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
24234 corresponding format argument to size_t.
24235 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24236 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24237 (CFLAGS-tst-mbswcs2.c): Likewise.
24238 (CFLAGS-tst-mbswcs3.c): Likewise.
24239 (CFLAGS-tst-mbswcs4.c): Likewise.
24240 (CFLAGS-tst-mbswcs5.c): Likewise.
24241 (CFLAGS-tst-trans.c): Likewise.
24242
24243 2014-12-11 Roland McGrath <roland@hack.frob.com>
24244
24245 * posix/regexbug1.c (main): Use "%s" format with regerror results,
24246 rather than assuming they won't contain any '%'s.
24247
24248 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
24249
24250 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24251 inhibit_loop_to_libcall to avoid recursive calls.
24252 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24253 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24254
24255 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
24256
24257 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24258 prototype.
24259
24260 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
24261
24262 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24263 integer value instead of boolean.
24264
24265 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
24266
24267 * malloc/malloc.c: Fix powerof2 check.
24268
24269 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24270
24271 * locale/programs/locfile.h (maybe_swap_uint32):
24272 Remove inline and add unused attribute.
24273
24274 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24275
24276 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24277 Truncating assembler expression to a .long expression.
24278
24279 2014-12-11 Andreas Schwab <schwab@suse.de>
24280
24281 * elf/rtld.c (struct map_args): Constify str member.
24282 (do_preload): Constify fname argument.
24283
24284 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24285
24286 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24287 constants definition.
24288
24289 2014-12-11 Andreas Schwab <schwab@suse.de>
24290
24291 [BZ #16657]
24292 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24293 FORCE_ELISION instead of DO_ELISION.
24294 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24295 Remove.
24296 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24297 Likewise.
24298
24299 * iconvdata/gconv-modules: Remove duplicate entry.
24300
24301 2014-12-11 Will Newton <will.newton@linaro.org>
24302
24303 Merge gettext 0.19.3 into intl/.
24304
24305 This involves a number of cosmetic changes to comments
24306 and ANSI function definitions and prototypes throughout
24307 all the files. The gettext copyright header is used but
24308 with the date ranges taken from the glibc copy.
24309
24310 * NEWS: Add gettext merge to 2.21.
24311 * intl/bindtextdom.c: Switch to gettext copyright.
24312 Use ANSI definitions and prototypes.
24313 Use gl_* locking primitives rather than __libc_* ones.
24314 Use __builtin_expect rather than __glibc_likely/unlikely.
24315 * intl/dcgettext.c: Switch to gettext copyright.
24316 Use ANSI definitions and prototypes.
24317 * intl/dcigettext.c: Switch to gettext copyright.
24318 Use ANSI definitions and prototypes.
24319 (INTDIV0_RAISES_SIGFPE): New define.
24320 Use gl_* locking primitives rather than __libc_* ones.
24321 Include eval-plural.h instead of plural-eval.c.
24322 Use __builtin_expect rather than __glibc_likely/unlikely.
24323 * intl/dcngettext.c: Switch to gettext copyright.
24324 Use ANSI definitions and prototypes.
24325 * intl/dgettext.c: Likewise.
24326 * intl/dngettext.c: Likewise.
24327 * intl/plural-eval.c: Renamed to...
24328 * intl/eval-plural.h: ...this.
24329 * intl/explodename.c: Switch to gettext copyright.
24330 Use ANSI definitions and prototypes.
24331 (_nl_explode_name): Use strchr instead of __rawmemchr.
24332 * intl/finddomain.c: Switch to gettext copyright.
24333 Use ANSI definitions and prototypes.
24334 Use gl_* locking primitives rather than __libc_* ones.
24335 (_nl_find_domain): Use malloc rather than alloca for
24336 allocation of temporary locale name.
24337 * intl/gettext.c: Switch to gettext copyright.
24338 Use ANSI definitions and prototypes.
24339 * intl/gettextP.h: Switch to gettext copyright.
24340 Use ANSI definitions and prototypes.
24341 Use gl_* locking primitives rather than __libc_* ones.
24342 * intl/gmo.h: Switch to gettext copyright.
24343 (struct sysdep_string): Move struct segment_pair outside of
24344 struct definition.
24345 * intl/hash-string.c: Use ANSI definitions and prototypes.
24346 * intl/hash-string.h: Switch to gettext copyright.
24347 Use ANSI definitions and prototypes.
24348 * intl/l10nflist.c: Switch to gettext copyright.
24349 Use ANSI definitions and prototypes.
24350 (_nl_normalize_codeset): Avoid integer overflow.
24351 * intl/loadinfo.h: Switch to gettext copyright.
24352 Use ANSI definitions and prototypes.
24353 (LIBINTL_DLL_EXPORTED): New define.
24354 (PATH_SEPARATOR): New define.
24355 * intl/loadmsgcat.c: Switch to gettext copyright.
24356 * intl/localealias.c: Switch to gettext copyright.
24357 Use ANSI definitions and prototypes.
24358 (_nl_expand_alias): Use PATH_SEPARATOR.
24359 * intl/ngettext.c: Switch to gettext copyright.
24360 Use ANSI definitions and prototypes.
24361 * intl/plural-exp.c: Likewise.
24362 * intl/plural-exp.h: Switch to gettext copyright.
24363 Use ANSI definitions and prototypes.
24364 (struct expression): Move definition of enum operator outside
24365 of struct definition.
24366 * intl/plural.c: Regenerate.
24367 * intl/plural.y: Switch to gettext copyright.
24368 Use ANSI definitions and prototypes.
24369 Port to bison 3.0.
24370 * intl/textdomain.c: Switch to gettext copyright.
24371 Use ANSI definitions and prototypes.
24372 Use gl_* locking primitives rather than __libc_* ones.
24373
24374 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
24375
24376 * debug/warning-nop.c: Add used atrribute.
24377
24378 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24379
24380 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24381
24382 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24383 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24384 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24385
24386 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24387 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24388
24389 [BZ #17634]
24390 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24391 Undefine after defining function. Define as weak alias of
24392 __wcschr. Use libc_hidden_weak.
24393 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
24394 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24395 (libc_hidden_def): Also define __GI___wcschr alias.
24396 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24397 __wcschr and define as weak alias of __wcschr.
24398 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24399 __wcschr.
24400 [!WCSCHR] (DEFAULT_WCSCHR): Define.
24401 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24402 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
24403 libc_hidden_weak. Do not use libc_hidden_def.
24404 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24405 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24406 __GI___wcschr alias.
24407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24408 [IS_IN (libc)] (wcschr): Define as macro expanding to
24409 __redirect_wcschr.
24410 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24411 [IS_IN (libc)] (__wcschr_power6): Likewise.
24412 [IS_IN (libc)] (__wcschr_power7): Likewise.
24413 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
24414 instead of wcschr.
24415 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24416 __libc_wcschr.
24417 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24418 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24419 __wcschr and define as weak alias of __wcschr. Use
24420 libc_hidden_builtin_def.
24421 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24422 as weak alias of __wcschr. Use libc_hidden_weak.
24423 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24424 wcschr.
24425 * time/era.c (_nl_init_era_entries): Likewise.
24426 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24427 variable.
24428 (test-xfail-XPG3/time.h/linknamespace): Likewise.
24429 (test-xfail-XPG4/time.h/linknamespace): Likewise.
24430
24431 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24432
24433 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24434 format for long int variable.
24435
24436 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
24437
24438 [BZ #10672]
24439 * manual/search.texi: (Array Sort Function): Remove claim how to make
24440 qsort stable.
24441
24442 2014-12-10 Andreas Schwab <schwab@suse.de>
24443
24444 [BZ #12847]
24445 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
24446 user-controlled locks.
24447
24448 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
24449
24450 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
24451 register.
24452
24453 2014-12-10 Joseph Myers <joseph@codesourcery.com>
24454
24455 * configure.ac (--disable-werror): New configure option.
24456 (enable_werror): New AC_SUBST.
24457 * configure: Regenerated.
24458 * config.make.in (enable-werror): New variable.
24459 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
24460 -Wno-error=undef.
24461 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
24462 * manual/install.texi (Configuring and compiling): Document
24463 --disable-werror.
24464 * INSTALL: Regenerated.
24465 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
24466 (CFLAGS-tst-chk2.c): Likewise.
24467 (CFLAGS-tst-chk3.c): Likewise.
24468 (CFLAGS-tst-chk4.cc): Likewise.
24469 (CFLAGS-tst-chk5.cc): Likewise.
24470 (CFLAGS-tst-chk6.cc): Likewise.
24471 (CFLAGS-tst-lfschk1.c): Likewise.
24472 (CFLAGS-tst-lfschk2.c): Likewise.
24473 (CFLAGS-tst-lfschk3.c): Likewise.
24474 (CFLAGS-tst-lfschk4.cc): Likewise.
24475 (CFLAGS-tst-lfschk5.cc): Likewise.
24476 (CFLAGS-tst-lfschk6.cc): Likewise.
24477
24478 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
24479 (main): Disable -Wdeprecated-declarations around calls to
24480 register_printf_function.
24481
24482 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
24483 (do_test): Disable -Wdiv-by-zero around some calls to
24484 fwrite_unlocked and fread_unlocked.
24485
24486 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
24487 (DIAG_POP_NEEDS_COMMENT): Likewise.
24488 (_DIAG_STR1): Likewise.
24489 (_DIAG_STR): Likewise.
24490 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
24491 * stdio-common/bug21.c: Include <libc-internal.h>.
24492 (do_test): Disable -Wformat around call to sscanf.
24493 * stdio-common/scanf14.c: Include <libc-internal.h>.
24494 (main): Disable -Wformat around some calls to scanf functions.
24495
24496 2014-12-09 Torvald Riegel <triegel@redhat.com>
24497
24498 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
24499
24500 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24501
24502 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
24503 stack variable alignment.
24504
24505 2014-12-06 Joseph Myers <joseph@codesourcery.com>
24506
24507 [BZ #17682]
24508 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
24509 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
24510 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
24511 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
24512 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
24513 __getrlimit instead of getrlimit.
24514 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
24515 __gettimeofday instead of gettimeofday.
24516 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24517 Likewise.
24518 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24519 Likewise.
24520 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24521 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
24522 Remove variable.
24523 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
24524 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
24525
24526 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24527
24528 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
24529 for wide-character tests.
24530
24531 2014-12-04 Roland McGrath <roland@hack.frob.com>
24532
24533 * io/openat64.c: #include <libc-internal.h>
24534 (__openat64): Prototypify. Use ignore_value on MODE.
24535 * io/openat.c: Likewise.
24536 * misc/reboot.c: #include <libc-internal.h>
24537 (reboot): Prototypify. Use ignore_value on HOWTO.
24538 * misc/ptrace.c: #include <libc-internal.h>
24539 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
24540
24541 2014-12-04 Joseph Myers <joseph@codesourcery.com>
24542
24543 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
24544 XPG4, UNIX98 and XOPEN2K.
24545 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
24546 Remove variable.
24547 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
24548
24549 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24550
24551 * libio/fileops.c: Use ISO C style for function definitions.
24552 * libio/iofopen.c: Likewise.
24553 * libio/wfileops.c: Likewise.
24554
24555 [BZ #17653]
24556 * libio/fileops.c (_IO_new_file_underflow): Unset cached
24557 offset on EOF.
24558 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
24559 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
24560 (fgets_func): Function pointer to fgets and fgetws.
24561 (do_ftell_test): Add test to verify ftell value after read
24562 EOF.
24563 (do_test): Set fgets_func.
24564
24565 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
24566 O_TRUNC flag for w and w+ modes.
24567 (do_rewind_test): Likewise.
24568 (do_ftell_test): Likewise.
24569 (do_write_test): Likewise.
24570
24571 [BZ #17647]
24572 * libio/fileops.c (do_ftell): Seek only when there are
24573 unflushed writes.
24574 * libio/wfileops.c (do_ftell_wide): Likewise.
24575 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
24576 test case.
24577 (do_one_test): Call it.
24578
24579 2014-12-03 Joseph Myers <joseph@codesourcery.com>
24580
24581 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
24582 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
24583 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
24584 Remove variable.
24585 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
24586 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
24587 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
24588
24589 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24590
24591 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
24592 Remove variable.
24593 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
24594
24595 [BZ #17668]
24596 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
24597 as weak alias of __getifaddrs. Use libc_hidden_weak.
24598 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24599 __freeifaddrs. Use libc_hidden_weak.
24600 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
24601 define as weak alias of __getifaddrs. Use libc_hidden_weak.
24602 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24603 __freeifaddrs. Use libc_hidden_weak.
24604 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
24605 __getifaddrs and define as weak alias of __getifaddrs. Use
24606 libc_hidden_weak.
24607 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
24608 __freeifaddrs. Use libc_hidden_weak.
24609 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
24610 Remove variable.
24611 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
24612 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
24613
24614 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
24615
24616 [BZ #17601]
24617 * sysdeps/mips/start.S (__start): Use indirect jump to call
24618 __libc_start_main.
24619
24620 2014-12-02 Joseph Myers <joseph@codesourcery.com>
24621
24622 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
24623
24624 * nptl/tst-mutex1.c: Include <stdbool.h>.
24625 [!ATTR] (ATTR_NULL): New macro.
24626 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
24627 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
24628 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
24629
24630 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
24631 to char *.
24632
24633 [BZ #17665]
24634 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
24635 Change conditional to [__USE_MISC].
24636
24637 [BZ #17664]
24638 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
24639 fgets_unlocked.
24640 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
24641 __fgets_unlocked.
24642 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
24643 fgets_unlocked.
24644 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
24645 Remove variable.
24646 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
24647 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
24648 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
24649 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
24650 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
24651 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
24652 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
24653 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
24654 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
24655
24656 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
24657
24658 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24659
24660 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24661 Remove strpbrk objects.
24662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24663 (__libc_ifunc_impl_list): Remove strpbrk implementation.
24664 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
24665 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
24666 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
24667 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
24668
24669 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24670 Remove strcspn objects.
24671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24672 (__libc_ifunc_impl_list): Remove strcspn implementation.
24673 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
24674 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
24675 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
24676 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
24677
24678 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24679 Remove strspn objetcs.
24680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24681 (__libc_ifunc_impl_list): Remove strspn implementation.
24682 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
24683 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
24684 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
24685 * sysdeps/powerpc/powerpc64/strspn.S: New file.
24686
24687 2014-12-01 James Lemke <jwlemke@codesourcery.com>
24688
24689 [BZ #17581]
24690 * malloc/hooks.c
24691 (mem2mem_check): Add a terminator to the chain of checking blocks.
24692 (malloc_check_get_size): Use it here.
24693 (mem2chunk_check): Ditto.
24694
24695 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24696
24697 * sysdeps/powerpc/powerpc64/strtok.S: New file.
24698 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
24699
24700 2014-11-29 Carlos O'Donell <carlos@redhat.com>
24701
24702 * bits/ioctl-types.h: Indent preprocessor directives correctly.
24703
24704 * nptl/nptl-init.c: Include libc-internal.h.
24705 (__pthread_initialize_minimal_internal): Use ROUND_UP.
24706
24707 * elf/ldconfig.c (search_dir): Expand comment.
24708
24709 2014-11-29 Joseph Myers <joseph@codesourcery.com>
24710
24711 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
24712 variable.
24713 (linknamespace-symlist-stdlibs-tests): Likewise.
24714 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
24715 instead of $(objpfx)symlist-stdlibs.
24716 (linknamespace-libs-isoc): New variable.
24717 (linknamespace-libs): Use $(linknamespace-libs-isoc).
24718 (linknamespace-libs-ISO): New variable.
24719 (linknamespace-libs-ISO99): Likewise.
24720 (linknamespace-libs-ISO11): Likewise.
24721 (linknamespace-libs-XPG3): Likewise.
24722 (linknamespace-libs-XPG4): Likewise.
24723 (linknamespace-libs-POSIX): Likewise.
24724 (linknamespace-libs-UNIX98): Likewise.
24725 (linknamespace-libs-XOPEN2K): Likewise.
24726 (linknamespace-libs-POSIX2008): Likewise.
24727 (linknamespace-libs-XOPEN2K8): Likewise.
24728 ($(objpfx)symlist-stdlibs): Replace by
24729 $(linknamespace-symlist-stdlibs-tests). Use
24730 $(linknamespace-libs-$*) as set of libraries.
24731 ($(linknamespace-header-tests)): Update dependencies. Use
24732 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
24733 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
24734 * conform/linknamespace.pl: Remove comment about considering
24735 definitions of symbols from irrelevant libraries.
24736
24737 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
24738
24739 [BZ #13862]
24740 * elf/dl-tls.c: Include <atomic.h>.
24741 (oom): Remove #ifdef SHARED/#endif.
24742 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
24743 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
24744 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
24745 big enough.
24746 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
24747 * nptl/Makefile (tests): Add tst-stack4.
24748 (modules-names): Add tst-stack4mod.
24749 ($(objpfx)tst-stack4): New.
24750 (tst-stack4mod.sos): Likewise.
24751 ($(objpfx)tst-stack4.out): Likewise.
24752 ($(tst-stack4mod.sos)): Likewise.
24753 (clean): Likewise.
24754 * nptl/tst-stack4.c: New file.
24755 * nptl/tst-stack4mod.c: Likewise.
24756
24757 2014-11-27 J. Brown <jb999@gmx.de>
24758
24759 * sysdeps/x86/bits/string.h: Add recent CPUs.
24760
24761 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24762
24763 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
24764 sigblock.
24765
24766 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
24767 feof.
24768
24769 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
24770 variable.
24771
24772 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
24773
24774 * nscd/connections.c: Include libc-internal.h because of macro
24775 usage ignore_value.
24776
24777 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24778
24779 * string/bits/string3.h (__warn_memset_zero_len): Don't
24780 declare for gcc newer than 5.0.
24781 (memset): Don't test for zero-length __LEN for gcc newer than
24782 5.0.
24783
24784 2014-11-27 Joseph Myers <joseph@codesourcery.com>
24785
24786 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
24787 size_t for %zu format.
24788
24789 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
24790 difference, not %ju.
24791
24792 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24793
24794 * include/libc-internal.h (ignore_value): New macro.
24795 * nscd/connections.c (restart): Wrap calls to setuid and setgid
24796 with ignore_value.
24797
24798 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
24799 definition.
24800
24801 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
24802 pthread_cleanup_push to void *.
24803
24804 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
24805 Undefine.
24806
24807 [BZ #16619]
24808 [BZ #16740]
24809 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
24810 instead of 1L << 52.
24811
24812 * libio/bug-rewind.c (do_test): Check fwscanf return values.
24813 * libio/bug-rewind2.c (do_test): Likewise.
24814
24815 * debug/test-stpcpy_chk-ifunc.c: Remove file.
24816 * debug/test-strcpy_chk-ifunc.c: Likewise.
24817 * wcsmbs/test-wcschr-ifunc.c: Likewise.
24818 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24819 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24820 * wcsmbs/test-wcslen-ifunc.c: Likewise.
24821 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24822 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24823 * Rules [$(multi-arch) = no] (tests): Do not filter out
24824 $(tests-ifunc).
24825 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
24826 * debug/Makefile (tests-ifunc): Remove variable.
24827 (tests): Do not add $(tests-ifunc).
24828 * wcsmbs/Makefile (tests-ifunc): Remove variable.
24829 (tests): Do not add $(tests-ifunc).
24830 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
24831 [TEST_IFUNC]: Remove conditionals.
24832 * string/test-string.h (TEST_IFUNC): Remove macro.
24833 [TEST_IFUNC]: Remove conditionals.
24834
24835 * string/test-strchr.c [!WIDE] (L): New macro.
24836 [WIDE] (L): Likewise.
24837 (check1): Use CHAR instead of char. Use L on string and character
24838 constants.
24839
24840 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
24841
24842 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
24843 tests.
24844 * sysdeps/powerpc/bits/atomic.h
24845 (__arch_atomic_exchange_and_add_32_acq): Add definition.
24846 (__arch_atomic_exchange_and_add_32_rel): Likewise.
24847 (atomic_exchange_and_add_acq): Likewise.
24848 (atomic_exchange_and_add_rel): Likewise.
24849 * sysdeps/powerpc/powerpc32/bits/atomic.h
24850 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24851 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24852 * sysdeps/powerpc/powerpc64/bits/atomic.h
24853 (__arch_atomic_exchange_and_add_64_acq): Add definition.
24854 (__arch_atomic_exchange_and_add_64_rel): Likewise.
24855
24856 2014-11-26 Torvald Riegel <triegel@redhat.com>
24857
24858 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
24859 Change synchronization of __sched_fifo_min_prio and
24860 __sched_fifo_max_prio.
24861 * nptl/pthread_mutexattr_getprioceiling.c
24862 (pthread_mutexattr_getprioceiling): Likewise.
24863 * nptl/pthread_mutexattr_setprioceiling.c
24864 (pthread_mutexattr_setprioceiling): Likewise.
24865 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
24866 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
24867 Likewise.
24868
24869 2014-11-26 Joseph Myers <joseph@codesourcery.com>
24870
24871 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
24872 void.
24873
24874 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24875
24876 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
24877 third argument const.
24878
24879 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
24880
24881 fnmatch: work around GCC compiler warning bug with uninit var
24882 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
24883 This works around a bug with x86-64 GCC 4.9.2 and earlier
24884 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
24885 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
24886 used uninitialized in this function [-Wmaybe-uninitialized]".
24887
24888 2014-11-25 Joseph Myers <joseph@codesourcery.com>
24889
24890 * posix/bug-regex31.c (main): Return RES not 0.
24891
24892 2014-11-25 Anton Blanchard <anton@samba.org>
24893
24894 * sysdeps/powerpc/bits/atomic.h
24895 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
24896
24897 2014-11-24 Sterling Augustine <saugustine@google.com>
24898
24899 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
24900
24901 2014-11-24 Ryan Cumming <etaoins@gmail.com>
24902
24903 [BZ #17608]
24904 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
24905
24906 2014-11-24 Joseph Myers <joseph@codesourcery.com>
24907
24908 [BZ #17633]
24909 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
24910 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
24911 variable.
24912 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
24913 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
24914
24915 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24916
24917 * string/strncpy.c (strncpy): Improve performance by using memset.
24918
24919 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
24920
24921 * string/strcpy.c (strcpy):
24922 Improve performance by using strlen and memcpy.
24923
24924 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
24925
24926 * string/strcoll_l.c (get_next_seq): __always_inline.
24927 * string/strcoll_l.c (do_compare): __always_inline.
24928
24929 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24930
24931 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
24932 defined.
24933 * include/mqueue.h: Likewise.
24934 * include/stdlib.h: Likewise.
24935
24936 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
24937 (get_null_defines): Adjust.
24938 * sunrpc/Makefile: Adjust comment.
24939 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
24940 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
24941 (CFLAGS-interp.c): Likewise.
24942 (CFLAGS-ldconfig.c): Likewise.
24943 (CPPFLAGS-.os): Likewise.
24944 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24945 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
24946 * extra-modules.mk (extra-modules.mk): Likewise.
24947 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
24948 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
24949 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
24950 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
24951 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
24952 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
24953 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
24954 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
24955 * iconvdata/Makefile (CPPFLAGS): Likewise.
24956 (cpp-srcs-left): Add libof for all iconvdata routines.
24957 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
24958 * include/assert.h: Likewise.
24959 * include/ctype.h: Likewise.
24960 * include/errno.h: Likewise.
24961 * include/libc-symbols.h: Likewise.
24962 * include/math.h: Likewise.
24963 * include/netdb.h: Likewise.
24964 * include/resolv.h: Likewise.
24965 * include/stdio.h: Likewise.
24966 * include/stdlib.h: Likewise.
24967 * include/string.h: Likewise.
24968 * include/sys/stat.h: Likewise.
24969 * include/wctype.h: Likewise.
24970 * intl/l10nflist.c: Likewise.
24971 * libidn/idn-stub.c: Likewise.
24972 * libio/libioP.h: Likewise.
24973 * nptl/libc_multiple_threads.c: Likewise.
24974 * nptl/pthreadP.h: Likewise.
24975 * posix/regex_internal.h: Likewise.
24976 * resolv/res_hconf.c: Likewise.
24977 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
24978 * sysdeps/arm/memmove.S: Likewise.
24979 * sysdeps/arm/sysdep.h: Likewise.
24980 * sysdeps/generic/_itoa.h: Likewise.
24981 * sysdeps/generic/symbol-hacks.h: Likewise.
24982 * sysdeps/gnu/errlist.awk: Likewise.
24983 * sysdeps/gnu/errlist.c: Likewise.
24984 * sysdeps/i386/i586/memcpy.S: Likewise.
24985 * sysdeps/i386/i586/memset.S: Likewise.
24986 * sysdeps/i386/i686/memcpy.S: Likewise.
24987 * sysdeps/i386/i686/memmove.S: Likewise.
24988 * sysdeps/i386/i686/mempcpy.S: Likewise.
24989 * sysdeps/i386/i686/memset.S: Likewise.
24990 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24991 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24992 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
24993 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
24994 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24995 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24996 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
24997 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24998 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25000 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25001 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25002 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25003 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25004 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25005 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25006 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25007 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25008 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25009 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25010 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25011 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25012 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25013 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25014 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25015 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25016 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25018 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25019 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25020 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25021 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25023 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25024 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25025 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25026 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25027 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25028 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25029 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25030 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25031 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25032 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25033 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25034 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25035 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25036 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25037 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25038 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25040 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25041 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25043 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25044 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25045 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25046 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25047 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25048 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25049 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25050 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25052 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25053 * sysdeps/nptl/bits/libc-lock.h: Likewise.
25054 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25055 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25056 * sysdeps/posix/closedir.c: Likewise.
25057 * sysdeps/posix/opendir.c: Likewise.
25058 * sysdeps/posix/readdir.c: Likewise.
25059 * sysdeps/posix/rewinddir.c: Likewise.
25060 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25061 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25062 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25063 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25064 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25065 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25066 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25067 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25068 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25069 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25071 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25072 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25073 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25074 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25075 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25076 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25077 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25078 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25079 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25080 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25081 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25082 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25083 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25084 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25086 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25088 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25093 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25095 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25096 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25097 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25098 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25099 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25100 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25101 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25102 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25103 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25104 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25105 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25106 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25107 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25108 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25109 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25110 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25111 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25112 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25113 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25114 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25115 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25116 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25117 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25119 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25120 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25121 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25122 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25123 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25124 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25125 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25126 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25127 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25128 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25129 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25130 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25132 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25133 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25134 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25135 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25136 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25137 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25138 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25139 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25140 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25141 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25142 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25143 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25144 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25146 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25147 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25148 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25149 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25150 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25151 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25152 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25153 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25154 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25155 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25156 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25158 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25159 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25160 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25161 * sysdeps/unix/alpha/sysdep.S: Likewise.
25162 * sysdeps/unix/alpha/sysdep.h: Likewise.
25163 * sysdeps/unix/make-syscalls.sh: Likewise.
25164 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25166 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25167 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25168 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25169 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25170 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25171 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25172 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25173 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25174 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25175 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25177 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25178 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25179 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25180 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25181 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25182 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25183 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25184 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25185 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25186 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25187 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25188 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25189 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25193 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25194 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25195 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25198 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25201 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25202 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25203 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25204 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25205 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25206 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25207 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25208 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25209 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25210 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25211 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25212 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25213 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25214 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25215 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25216 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25217 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25218 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25219 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25220 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25222 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25223 * sysdeps/x86_64/memcpy.S: Likewise.
25224 * sysdeps/x86_64/memmove.c: Likewise.
25225 * sysdeps/x86_64/memset.S: Likewise.
25226 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25228 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25229 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25230 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25231 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25233 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25234 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25235 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25236 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25237 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25238 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25239 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25240 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25241 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25242 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25243 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25244 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25245 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25246 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25247 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25248 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25250 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25251 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25252 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25253 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25254 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25255 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25256 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25257 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25258 * sysdeps/x86_64/strcmp.S: Likewise.
25259
25260 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25261
25262 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25263 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25264 * elf/rtld-Rules: Likewise.
25265 * elf/setup-vdso.h: Likewise.
25266 * include/assert.h: Likewise.
25267 * include/bits/stdlib-float.h: Likewise.
25268 * include/errno.h: Likewise.
25269 * include/sys/stat.h: Likewise.
25270 * include/unistd.h: Likewise.
25271 * sysdeps/aarch64/setjmp.S: Likewise.
25272 * sysdeps/alpha/setjmp.S: Likewise.
25273 * sysdeps/arm/__longjmp.S: Likewise.
25274 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25275 * sysdeps/arm/setjmp.S: Likewise.
25276 * sysdeps/arm/sysdep.h: Likewise.
25277 * sysdeps/generic/_itoa.h: Likewise.
25278 * sysdeps/generic/dl-sysdep.h: Likewise.
25279 * sysdeps/generic/ldsodefs.h: Likewise.
25280 * sysdeps/i386/dl-tls.h: Likewise.
25281 * sysdeps/i386/setjmp.S: Likewise.
25282 * sysdeps/m68k/setjmp.c: Likewise.
25283 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25284 * sysdeps/mach/hurd/opendir.c: Likewise.
25285 * sysdeps/posix/getcwd.c: Likewise.
25286 * sysdeps/posix/opendir.c: Likewise.
25287 * sysdeps/posix/profil.c: Likewise.
25288 * sysdeps/powerpc/dl-procinfo.h: Likewise.
25289 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25290 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25291 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25292 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25293 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25294 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25295 * sysdeps/s390/dl-tls.h: Likewise.
25296 * sysdeps/s390/s390-32/setjmp.S: Likewise.
25297 * sysdeps/s390/s390-64/setjmp.S: Likewise.
25298 * sysdeps/sh/sh3/setjmp.S: Likewise.
25299 * sysdeps/sh/sh4/setjmp.S: Likewise.
25300 * sysdeps/unix/alpha/sysdep.h: Likewise.
25301 * sysdeps/unix/arm/sysdep.S: Likewise.
25302 * sysdeps/unix/i386/sysdep.S: Likewise.
25303 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25304 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25305 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25306 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25307 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25308 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25309 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25310 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25311 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25312 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25313 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25314 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25315 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25318 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25320 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25321 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25322 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25323 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25326 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25327 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25329 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25330 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25331 * sysdeps/x86_64/setjmp.S: Likewise.
25332
25333 * include/math.h: Use IS_IN instead of IS_IN_libm.
25334 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25335 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25337 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25341 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25342 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25343 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25344 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25345 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25346 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25347 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25348 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25349 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25350 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25351 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25352 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25353 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25354 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25355 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25356 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25357 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25358 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25359 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25360 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25361 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25362 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25363 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25364 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25365 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25366 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25368 Likewise.
25369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25370 Likewise.
25371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25372 Likewise.
25373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25374 Likewise.
25375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25376 Likewise.
25377 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25378 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25379 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25380 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25381 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25382 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25388 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25389 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25390 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25391 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25392 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25393 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25394 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25395 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25396 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25397 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25398 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25399 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25400 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25401 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25403 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25404
25405 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25406 * nptl/pthreadP.h: Likewise.
25407 * nptl_db/structs.def: Likewise.
25408 * sysdeps/arm/sysdep.h: Likewise.
25409 * sysdeps/nptl/bits/libc-lock.h: Likewise.
25410 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25411 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25412 * sysdeps/unix/alpha/sysdep.h: Likewise.
25413 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25414 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25415 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25416 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25417 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25418 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25420 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25421 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25422 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25423 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25424 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25425 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25426 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25429 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25431 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25434 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25435 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25436 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25439
25440 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25441 * nptl/pthreadP.h: Likewise.
25442 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25443 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25444 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25445 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25446 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25447 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25448 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25449 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25450 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25451 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25452 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25453 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
25455 Likewise.
25456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
25457 Likewise.
25458 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25460 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25463 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25464 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25465 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25466
25467 * dlfcn/dladdr.c: Use IS_IN.
25468 * dlfcn/dladdr1.c: Likewise.
25469 * dlfcn/dlclose.c: Likewise.
25470 * dlfcn/dlerror.c: Likewise.
25471 * dlfcn/dlinfo.c: Likewise.
25472 * dlfcn/dlmopen.c: Likewise.
25473 * dlfcn/dlopen.c: Likewise.
25474 * dlfcn/dlsym.c: Likewise.
25475 * dlfcn/dlvsym.c: Likewise.
25476
25477 * include/ifaddrs.h: Use IS_IN.
25478 * inet/check_pf.c: Likewise.
25479 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25480 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
25481
25482 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
25483 IS_IN_ldconfig.
25484 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
25485 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
25486
25487 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
25488 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25489 IS_IN (libc).
25490
25491 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
25492
25493 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
25494 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25495 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25496 * include/libc-symbols.h (IS_IN_LIB): New macro.
25497 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
25498 * include/netdb.h: Likewise.
25499 * include/stap-probe.h: Remove all uses of IN_LIB.
25500
25501 * Makeconfig (module-cppflags-real): Define MODULE_NAME
25502 instead of IN_MODULE.
25503 * include/libc-symbols.h (IN_MODULE): Define using
25504 MODULE_NAME.
25505 (PASTE_NAME, PASTE_NAME1): New macros.
25506 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
25507 of IN_LIB.
25508 (STAP_PROBE_ASM): Likewise.
25509
25510 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
25511
25512 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
25513 __mach_init in dlopened libc.
25514
25515 2014-11-22 Mike Frysinger <vapier@gentoo.org>
25516
25517 * sysdeps/arm/preconfigure.ac: Delete EABI check.
25518 * sysdeps/arm/preconfigure: Regenerate.
25519
25520 2014-11-21 Roland McGrath <roland@hack.frob.com>
25521
25522 * nptl/pthread_create.c (__pthread_create_2_1): Set
25523 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
25524 when copying values from IATTR into PD.
25525
25526 2014-11-21 Will Newton <will.newton@linaro.org>
25527 Andrew Pinski <andrew.pinski@caviumnetworks.com>
25528
25529 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
25530 Refactor inline-asm. Also add comment.
25531
25532 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
25533 ElfW macro instead of hardcoded Elf64 types.
25534 (la_aarch64_gnu_pltenter): Likewise.
25535 * sysdeps/aarch64/dl-machine.h
25536 (elf_machine_runtime_setup): Use ElfW(Addr).
25537
25538 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
25539 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
25540 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
25541 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
25542 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
25543 (R_AARCH64_TLS_DTPMOD64): Rename to ..
25544 (R_AARCH64_TLS_DTPMOD): This.
25545 (R_AARCH64_TLS_DTPREL64): Rename to ...
25546 (R_AARCH64_TLS_DTPREL): This.
25547 (R_AARCH64_TLS_TPREL64): Rename to ...
25548 (R_AARCH64_TLS_TPREL): This.
25549 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
25550 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
25551 R_AARCH64_TLS_TPREL64.
25552 (elf_machine_rela): Likewise.
25553
25554 2014-11-21 Torvald Riegel <triegel@redhat.com>
25555
25556 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
25557 by setting it to 0. 64b atomics are not supported currently.
25558
25559 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25560
25561 [BZ #16469]
25562 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
25563 search domain names.
25564
25565 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25566
25567 [BZ #16469]
25568 * NEWS: Update.
25569 * resolv/res_query.c (__libc_res_nquerydomain): Retain
25570 trailing dot.
25571 * posix/tst-getaddrinfo5.c: New.
25572 * posix/Makefile (tests): Add it.
25573
25574 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25575
25576 [BZ #14498]
25577 * NEWS: Fixed.
25578 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
25579 after parsing line but before break_if_match.
25580 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
25581 if there is a protocol mismatch.
25582
25583 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
25584
25585 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
25586 because the potential race is on the user-supplied stream.
25587
25588 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25589
25590 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
25591 string literal if not passed a buffer.
25592 * manual/job.texi (ctermid): Update reasoning, note deviation
25593 from posix, suggest mtasurace when not passed a buffer, for
25594 future non-preliminary safety notes.
25595
25596 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25597
25598 * manual/users.texi (cuserid): Fix MT-Safety note for the case
25599 of not passing it a buffer.
25600 Reported by Peng Haitao.
25601
25602 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
25603
25604 * manual/Makefile ($(objpfx)stamp-summary): Require
25605 check-safety.sh to pass.
25606 * manual/check-safety.sh: Wish for verification that every
25607 @deftypefn and @deftypefun is followed by a @safety remark.
25608
25609 2014-11-20 Roland McGrath <roland@hack.frob.com>
25610
25611 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
25612
25613 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
25614 PTHREAD_CANCEL_ASYNCHRONOUS.
25615 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
25616 send SIGCANCEL.
25617
25618 * nptl/default-sched.h: New file.
25619 * sysdeps/unix/sysv/linux/default-sched.h: New file.
25620 * nptl/pthread_create.c: Include it.
25621 (__pthread_create_2_1): Use collect_default_sched instead of making
25622 Linux syscalls here directly.
25623
25624 2014-11-20 Torvald Riegel <triegel@redhat.com>
25625
25626 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
25627 __pthread_once): Use C11 atomics.
25628
25629 2014-11-20 Torvald Riegel <triegel@redhat.com>
25630
25631 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
25632
25633 2014-11-20 Torvald Riegel <triegel@redhat.com>
25634
25635 * include/atomic.h (__atomic_link_error, __atomic_check_size,
25636 atomic_thread_fence_acquire, atomic_thread_fence_release,
25637 atomic_thread_fence_seq_cst, atomic_load_relaxed,
25638 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
25639 atomic_compare_exchange_weak_relaxed,
25640 atomic_compare_exchange_weak_acquire,
25641 atomic_compare_exchange_weak_release,
25642 atomic_exchange_acquire, atomic_exchange_release,
25643 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
25644 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
25645 atomic_fetch_and_acquire,
25646 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
25647
25648 2014-11-20 Torvald Riegel <triegel@redhat.com>
25649
25650 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
25651 USE_ATOMIC_COMPILER_BUILTINS): Define.
25652 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
25653 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25654 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
25655 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25656 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25657 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25658 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
25659 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25660 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
25661 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25662 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
25663 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25664 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
25665 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25666 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
25667 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25668 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25669 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25670 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25671 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25672 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
25673 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25674 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
25675 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25676 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
25677 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25678 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
25679 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25680 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
25681 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25682 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
25683 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25684 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
25685 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25686 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25687 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25688 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
25689 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25690 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
25691 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
25692
25693 2014-11-19 Roland McGrath <roland@hack.frob.com>
25694
25695 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
25696 the sched_priority value here. It was already checked when the user
25697 called pthread_attr_setschedparam.
25698
25699 * nptl/tst-bad-schedattr.c: New file.
25700 * nptl/Makefile (tests): Add it.
25701
25702 2014-11-19 Carlos O'Donell <carlos@redhat.com>
25703 Florian Weimer <fweimer@redhat.com>
25704 Joseph Myers <joseph@codesourcery.com>
25705 Adam Conrad <adconrad@0c3.net>
25706 Andreas Schwab <schwab@suse.de>
25707 Brooks <bmoses@google.com>
25708
25709 [BZ #17625]
25710 * wordexp-test.c (__dso_handle): Add prototype.
25711 (__register_atfork): Likewise.
25712 (__app_register_atfork): New function.
25713 (registered_forks): New global.
25714 (register_fork): New function.
25715 (test_case): Add 3 new tests for WRDE_CMDSUB.
25716 (main): Call __app_register_atfork.
25717 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
25718 fork count is non-zero fail the test.
25719 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
25720 is set.
25721 (parse_dollars): Remove check for WRDE_NOCMD.
25722 (parse_dquote): Likewise.
25723
25724 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25725
25726 * Makeconfig (built-modules): List non-library modules to be
25727 built.
25728 (module-cppflags): Include libc-modules.h for
25729 everything except shlib-versions.v.i.
25730 (CPPFLAGS): Use it.
25731 (before-compile): Add libc-modules.h.
25732 ($(common-objpfx)libc-modules.h,
25733 $(common-objpfx)libc-modules.stmp): New targets.
25734 (common-generated): Add libc-modules.h and libc-modules.stmp.
25735 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
25736 * include/libc-symbols.h: Don't include libc-modules.h.
25737 * include/libc-modules.h: Remove file.
25738 * scripts/gen-libc-modules.awk: New script to generate
25739 libc-modules.h.
25740 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
25741 Depend on libc-modules.stmp.
25742
25743 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
25744
25745 * Makeconfig (in-module): Get value of libof set for the
25746 translation unit.
25747 (CPPFLAGS): Use $(in-module).
25748 * Makerules: Don't suffix routine names for nonlib.
25749 * include/libc-modules.h: New file.
25750 * include/libc-symbols.h: Include libc-modules.h
25751 (IS_IN): New macro to replace IS_IN_* macros.
25752 * elf/Makefile: Set libof-* for each routine.
25753 * elf/rtld-Rules: Likewise.
25754 * extra-modules.mk: Likewise.
25755 * iconv/Makefile: Likewise.
25756 * iconvdata/Makefile: Likewise.
25757 * locale/Makefile: Likewise.
25758 * malloc/Makefile: Likewise.
25759 * nss/Makefile: Likewise.
25760 * sysdeps/gnu/Makefile: Likewise.
25761 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
25762 * sysdeps/unix/sysv/linux/Makefile: Likewise.
25763 * sysdeps/s390/s390-64/Makefile: Likewise.
25764 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
25765 CPPFLAGS for nscd instead of nonlib.
25766
25767 2014-11-18 Roland McGrath <roland@hack.frob.com>
25768
25769 * nptl/createthread.c: New file.
25770
25771 * nptl/createthread.c: Moved ...
25772 * sysdeps/unix/sysv/linux/createthread.c: ... here.
25773
25774 * nptl/createthread.c: Add proper top-line comment.
25775 (do_clone): Folded into ...
25776 (create_thread): ... here. Take new arguments STOPPED_START and
25777 THREAD_RAN. Always set PD->stopped_start to something here. Don't
25778 increment __nptl_threads, do event-reporting logic, do
25779 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
25780 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
25781 resource cleanup if sched_setaffinity or sched_setscheduler fails,
25782 just send SIGCANCEL.
25783 * nptl/pthread_create.c: Forward-declare create_thread before
25784 including createthread.c.
25785 (start_thread): Use new macro START_THREAD_DEFN to replace defining
25786 declaration, and new macro START_THREAD_SELF to replace argument.
25787 Remove return statement.
25788 (report_thread_creation): New function.
25789 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
25790 synchronization logic, and __nptl_nthreads increment here, around
25791 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
25792 PD->parent_cancelhandling here, before create_thread. When
25793 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
25794 __deallocate_stack, and ENOMEM translation here.
25795
25796 2014-11-18 Joseph Myers <joseph@codesourcery.com>
25797
25798 [BZ #17616]
25799 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
25800 (mptwo): Rename to __mptwo.
25801 (__inv): Use __mptwo instead of mptwo.
25802 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
25803 (mptwo): Rename to __mptwo.
25804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
25805 of mpone and __mptwo instead of mptwo.
25806 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
25807 instead of mpone.
25808 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25809 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
25810 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
25811 of mpone and __mptwo instead of mptwo.
25812 (__mpranred): Use __mpone instead of mpone.
25813 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
25814 variable.
25815 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
25816 (test-xfail-ISO99/math.h/linknamespace): Likewise.
25817 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
25818 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
25819 (test-xfail-ISO11/math.h/linknamespace): Likewise.
25820 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
25821 (test-xfail-XPG3/math.h/linknamespace): Likewise.
25822 (test-xfail-XPG4/math.h/linknamespace): Likewise.
25823 (test-xfail-POSIX/math.h/linknamespace): Likewise.
25824 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
25825 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
25826 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
25827 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
25828 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
25829 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
25830 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
25831 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
25832 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
25833 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
25834
25835 2014-11-18 Tom de Vries <tom@codesoucery.com>
25836
25837 * manual/signal.texi (Primitives Interrupted by Signals): In section,
25838 replace BSD Handler xref with BSD Signal Handling.
25839
25840 2014-11-17 Richard Henderson <rth@redhat.com>
25841
25842 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
25843 (_FP_PACK_RAW_2): Remove.
25844 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
25845 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
25846 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
25847 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
25848 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
25849 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
25850 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
25851 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
25852 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
25853 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
25854 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
25855 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
25856 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
25857 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
25858 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
25859 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
25860
25861 2014-11-14 Roland McGrath <roland@hack.frob.com>
25862
25863 * signal/signal.h [__USE_MISC]
25864 (struct sigvec): Remove type.
25865 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
25866 (sigvec): Remove declaration.
25867 * sysdeps/posix/sigvec.c: Moved ...
25868 * signal/sigvec.c: ... here, replacing old file.
25869 (struct sigvec): New type, copied from old signal.h definition.
25870 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
25871 (__sigvec): Convert definition to prototype.
25872 (sigvec): Replace weak_alias with compat_symbol.
25873 * signal/Versions (libc: GLIBC_2.21): New version set.
25874 * include/signal.h: Remove __sigvec declaration.
25875 * sysdeps/unix/bsd/sigvec.c: Remove file.
25876 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
25877 * manual/signal.texi (BSD Handler): Remove subsection.
25878 Move siginterrupt up to ...
25879 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
25880 (Blocking in BSD): Fold subsection into its parent.
25881 * NEWS: Mention sigvec removal.
25882
25883 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25884
25885 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
25886 (DLA_FMS): Make definition conditional only on [__FMA4__].
25887 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
25888 definition.
25889
25890 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
25891 Make definition conditional only on [PROF].
25892 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
25893 definition.
25894 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
25895 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
25896
25897 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
25898 !__GNUC__].
25899 * include/signal.h (__sigpause): Move declaration above call to
25900 libc_hidden_proto.
25901 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
25902 variable.
25903 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
25904 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
25905
25906 2014-11-14 David S. Miller <davem@davemloft.net>
25907
25908 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
25909 Define before including <string/memcpy.c> and <string/mempcpy.c>.
25910
25911 2014-11-14 Joseph Myers <joseph@codesourcery.com>
25912
25913 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
25914 * configure: Regenerated.
25915 * manual/install.texi (Tools for Compilation): Document a
25916 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
25917 compiler verified to work.
25918 * INSTALL: Regenerated.
25919
25920 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
25921 redeclare with asm name.
25922 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
25923 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
25924 including <string.h>.
25925 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
25927 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25928 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
25929 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25930 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25931 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
25932
25933 2014-11-13 Joseph Myers <joseph@codesourcery.com>
25934
25935 * stdlib/strtol.c (__strtol): Use prototype definition.
25936
25937 [BZ #17594]
25938 * stdlib/strtol.c (SYM__): New macro.
25939 (SYM__1): Likewise.
25940 (__strtol): Likewise.
25941 (strtol): Rename to __strtol and define as weak alias of
25942 __strtol. Use libc_hidden_weak.
25943
25944 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25945
25946 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
25947 Use numbered labels in inline assembly.
25948
25949 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25950
25951 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
25952 Add setjmp LIBC_PROBE.
25953 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
25954 Likewise.
25955 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
25956 Add longjmp, longjmp_target LIBC_PROBE.
25957 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
25958 Likewise.
25959
25960 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25961
25962 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25963 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
25964 to get rid of unused variable warning.
25965
25966 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
25967
25968 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
25969 Check for unwind_backtrace == NULL only in SHARED case.
25970 (__backchain_backtrace): Compile only in SHARED case.
25971 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
25972 Likewise.
25973 (__backchain_backtrace): Declare as static.
25974
25975 2014-11-12 Roland McGrath <roland@hack.frob.com>
25976
25977 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
25978 (__libc_multiple_threads_ptr): Variable moved ...
25979 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
25980
25981 2014-11-12 Joseph Myers <joseph@codesourcery.com>
25982
25983 * conform/GlibcConform.pm: New file.
25984 * conform/conformtest.pl: Use GlibcConform module.
25985 * conform/linknamespace.pl: New file.
25986 * conform/list-header-symbols.pl: Likewise.
25987 * conform/Makefile (linknamespace-symlists-base): New variable.
25988 (linknamespace-symlists-tests): Likewise.
25989 (linknamespace-header-base): Likewise.
25990 (linknamespace-header-tests): Likewise.
25991 (tests-special): Add new tests.
25992 ($(linknamespace-symlists-tests)): New rule.
25993 (linknamespace-libs): New variable.
25994 ($(objpfx)symlist-stdlibs): New rule.
25995 ($(linknamespace-header-tests)): Likewise.
25996 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
25997 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
25998 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
25999 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26000 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26001 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26002 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26003 (test-xfail-ISO/math.h/linknamespace): Likewise.
26004 (test-xfail-ISO/signal.h/linknamespace): Likewise.
26005 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26006 (test-xfail-ISO/time.h/linknamespace): Likewise.
26007 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26008 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26009 (test-xfail-ISO99/math.h/linknamespace): Likewise.
26010 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26011 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26012 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26013 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26014 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26015 (test-xfail-ISO11/math.h/linknamespace): Likewise.
26016 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26017 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26018 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26019 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26020 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26021 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26022 (test-xfail-XPG3/math.h/linknamespace): Likewise.
26023 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26024 (test-xfail-XPG3/search.h/linknamespace): Likewise.
26025 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26026 (test-xfail-XPG3/time.h/linknamespace): Likewise.
26027 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26028 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26029 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26030 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26031 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26032 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26033 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26034 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26035 (test-xfail-XPG4/math.h/linknamespace): Likewise.
26036 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26037 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26038 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26039 (test-xfail-XPG4/search.h/linknamespace): Likewise.
26040 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26041 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26042 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26043 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26044 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26045 (test-xfail-XPG4/time.h/linknamespace): Likewise.
26046 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26047 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26048 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26049 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26050 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26051 (test-xfail-POSIX/math.h/linknamespace): Likewise.
26052 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26053 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26054 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26055 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26056 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26057 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26058 (test-xfail-POSIX/time.h/linknamespace): Likewise.
26059 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26060 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26061 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26062 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26063 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26064 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26065 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26066 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26067 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26068 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26069 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26070 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26071 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26072 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26073 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26074 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26075 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26076 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26077 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26078 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26079 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26080 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26081 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26082 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26083 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26084 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26085 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26086 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26087 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26088 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26089 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26090 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26091 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26092 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26093 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26094 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26095 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26096 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26097 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26098 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26099 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26100 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26101 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26102 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26103 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26104 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26105 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26106 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26107 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26108 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26109 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26110 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26111 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26112 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26113 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26114 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26115 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26116 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26117 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26118 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26119 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26120 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26121 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26122 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26123 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26124 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26125 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26126 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26127 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26128 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26129 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26130 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26131 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26132 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26133 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26134 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26135 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26136 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26137 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26138 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26139 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26140 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26141 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26142 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26143 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26144 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26145 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26146 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26147 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26148 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26149 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26150 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26151 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26152 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26153 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26154 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26155 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26156 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26157
26158 [BZ #17589]
26159 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26160 of fgets_unlocked.
26161
26162 [BZ #17585]
26163 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26164 (memmem): Rename to __memmem and define as weak alias of
26165 __memmem. Use libc_hidden_weak.
26166 (__memmem): Use libc_hidden_def.
26167 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
26168 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26169 memmem.
26170
26171 [BZ #17582]
26172 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26173 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
26174 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26175 and define as weak alias of __fgets_unlocked. Use
26176 libc_hidden_weak.
26177 (__fgets_unlocked): Use libc_hidden_def.
26178 * include/stdio.h (__fgets_unlocked): Declare. Use
26179 libc_hidden_proto.
26180 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26181 __fgets_unlocked instead of fgets_unlocked.
26182 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26183 (GET_NPROCS_CONF_PARSER): Likewise.
26184 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26185 (GET_NPROCS_CONF_PARSER): Likewise.
26186
26187 [BZ #17574]
26188 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26189 weak alias of __wmemset. Use libc_hidden_weak.
26190 (__wmemset): Use libc_hidden_def.
26191 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
26192 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26193 of wmemset.
26194
26195 [BZ #17573]
26196 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26197 with asm name __mempcpy.
26198 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26199
26200 [BZ #17572]
26201 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26202 and define as weak alias of __rawmemchr.
26203 (__rawmemchr): Do not define as strong alias of rawmemchr.
26204
26205 [BZ #17571]
26206 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26207 alias of __qsort_r.
26208 (qsort): Call __qsort_r instead of qsort_r.
26209 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26210 (__qsort_r): Declare. Call libc_hidden_proto.
26211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26212 instead of qsort_r.
26213 * nscd/gai.c (__qsort_r): Define to qsort_r.
26214 * posix/tst-rfc3484.c (__qsort_r): Likewise.
26215 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26216 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26217
26218 [BZ #17570]
26219 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26220 define as weak alias of __malloc_info.
26221
26222 [BZ #17584]
26223 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26224 as weak alias of __rewinddir. Don't use libc_hidden_def.
26225 (__rewinddir): Use libc_hidden_def.
26226 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26227 as weak alias of __rewinddir. Don't use libc_hidden_def.
26228 (__rewinddir): Use libc_hidden_def.
26229 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26230 weak alias of __rewinddir. Don't use libc_hidden_def.
26231 (__rewinddir): Use libc_hidden_def.
26232 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26233 (__rewinddir): Use libc_hidden_proto.
26234 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26235 rewinddir.
26236 (__getcwd): Use __rewinddir instead of rewinddir.
26237
26238 [BZ #17583]
26239 * libio/fileno.c (fileno): Rename to __fileno and define as weak
26240 alias of __fileno. Use libc_hidden_weak.
26241 (__fileno): Use libc_hidden_def.
26242 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26243 * libio/ftello.c (ftello): Rename to __ftello and define as weak
26244 alias of __ftello.
26245 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26246 __ftello.
26247 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26248 (__fread_unlocked): Define as strong alias of _IO_fread. Use
26249 libc_hidden_def.
26250 (fread_unlocked): Don't use libc_hidden_ver.
26251 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26252 and define as weak alias of __fread_unlocked. Don't use
26253 libc_hidden_def.
26254 (__fread_unlocked): Use libc_hidden_def.
26255 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
26256 (ftello): Don't use libc_hidden_proto.
26257 (__ftello): Declare. Use libc_hidden_proto.
26258 (fread_unlocked): Don't use libc_hidden_proto.
26259 (__fread_unlocked): Declare. Use libc_hidden_proto.
26260 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26261 and __ftello instead of fileno, fread_unlocked and ftello.
26262
26263 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26264
26265 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26266 GOT12.
26267 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26268 Likewise.
26269 (_dl_start_user): Likewise.
26270 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26271
26272 2014-11-12 Carlos O'Donell <carlos@redhat.com>
26273 Siddhesh Poyarekar <siddhesh@redhat.com>
26274
26275 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26276 Move argv and envp down instead of moving argc up.
26277 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26278
26279 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
26280
26281 [BZ #17506]
26282 * test-skeleton.c (main): Return successful if one of
26283 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26284 * string/tst-strcoll-overflow.c: Define expected status.
26285
26286 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
26287
26288 [BZ #17475]
26289 * locale/iso-639.def: Define Bhili and Tulu language codes.
26290
26291 2014-11-11 Alan Hayward <alan.hayward@arm.com>
26292
26293 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26294
26295 2014-11-10 Renlin Li <Renlin.Li@arm.com>
26296
26297 [BZ #17555]
26298 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26299
26300 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
26301
26302 * configure.ac: Updated check of minimal required version to
26303 2.22.
26304 * manual/install.texi (Tools for Compilation): Updated version
26305 number.
26306 * configure: Regenerated.
26307 * INSTALL: Likewise.
26308
26309 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
26310
26311 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26312 __tls_get_addr.
26313
26314 2014-11-07 Joseph Myers <joseph@codesourcery.com>
26315
26316 * include/sys/wait.h (__libc_waitpid): Remove declaration.
26317 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26318 (__waitpid): Don't define as alias. Use libc_hidden_def not
26319 libc_hidden_weak.
26320 (waitpid): Define as alias of __waitpid.
26321 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26322 __waitpid.
26323 (__waitpid): Don't define as alias. Use libc_hidden_def not
26324 libc_hidden_weak.
26325 (waitpid): Define as alias of __waitpid.
26326 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26327 __libc_waitpid alias.
26328 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26329 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26330 Likewise.
26331 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26332 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26333 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26334 alias.
26335 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26336 __waitpid.
26337 (__waitpid): Don't define as alias. Use libc_hidden_def not
26338 libc_hidden_weak.
26339 (waitpid): Define as alias of __waitpid.
26340
26341 2014-11-06 Carlos O'Donell <carlos@redhat.com>
26342
26343 * manual/llio.texi: Add comment that write safety has been
26344 fixed in Linux.
26345
26346 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26347 (localplt-build-dso): Add elf/ld.so.
26348 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26349 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26350 and free for ld.so.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26352 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26354 Likewise.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26358 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26359 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26360 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26361 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26362 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26363 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26364 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26365 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26366 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26367 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26368
26369 2014-11-05 Joseph Myers <joseph@codesourcery.com>
26370
26371 [BZ #14132]
26372 * include/libc-symbols.h (INTUSE): Remove macro.
26373 (INTDEF): Likewise.
26374 (INTVARDEF): Likewise.
26375 (_INTVARDEF): Likewise.
26376 (INTDEF2): Likewise.
26377 (INTVARDEF2): Likewise.
26378 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26379 rtld_hidden_def instead of INTVARDEF.
26380 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26381 (_dl_starting_up_internal): Remove declaration.
26382 (_dl_starting_up): Use rtld_hidden_proto.
26383 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26384 declaration.
26385 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26386 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26387 _dl_starting_up.
26388 * elf/dl-writev.h (_dl_writev): Likewise.
26389 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26390 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26391 _dl_starting_up_internal.
26392
26393 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26394
26395 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26396 test-skeleton.c.
26397
26398 2014-11-05 Will Newton <will.newton@linaro.org>
26399
26400 * benchtests/Makefile: (bench-malloc): Add malloc thread
26401 scalability benchmark.
26402 * benchtests/bench-malloc-threads.c: New file.
26403
26404 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
26405
26406 * sysdeps/aarch64/strchrnul.S: New file.
26407
26408 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26409
26410 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26411 definition.
26412 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26413 Likwise.
26414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26415 Likewise.
26416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26417 Likewise.
26418 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26419 Likewise.
26420 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26421 Likewise.
26422
26423 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
26424
26425 * catgets/test-gencat.c: Use test-skeleton.c.
26426 * catgets/tst-catgets.c: Likewise.
26427 * csu/tst-empty.c: Likewise.
26428 * elf/tst-audit2.c: Likewise.
26429 * elf/tst-global1.c: Likewise.
26430 * elf/tst-pathopt.c: Likewise.
26431 * elf/tst-piemod1.c: Likewise.
26432 * elf/tst-tls10.c: Likewise.
26433 * elf/tst-tls11.c: Likewise.
26434 * elf/tst-tls12.c: Likewise.
26435 * gnulib/tst-gcc.c: Likewise.
26436 * iconvdata/tst-e2big.c: Likewise.
26437 * iconvdata/tst-loading.c: Likewise.
26438 * iconv/tst-iconv1.c: Likewise.
26439 * iconv/tst-iconv2.c: Likewise.
26440 * inet/test-inet6_opt.c: Likewise.
26441 * inet/tst-gethnm.c: Likewise.
26442 * inet/tst-network.c: Likewise.
26443 * inet/tst-ntoa.c: Likewise.
26444 * intl/tst-codeset.c: Likewise.
26445 * intl/tst-gettext2.c: Likewise.
26446 * intl/tst-gettext3.c: Likewise.
26447 * intl/tst-ngettext.c: Likewise.
26448 * intl/tst-translit.c: Likewise.
26449 * io/test-stat.c: Likewise.
26450 * libio/test-fmemopen.c: Likewise.
26451 * libio/tst-freopen.c: Likewise.
26452 * libio/tst-sscanf.c: Likewise.
26453 * libio/tst-ungetwc1.c: Likewise.
26454 * libio/tst-ungetwc2.c: Likewise.
26455 * libio/tst-widetext.c: Likewise.
26456 * localedata/tst-ctype.c: Likewise.
26457 * localedata/tst-digits.c: Likewise.
26458 * localedata/tst-leaks.c: Likewise.
26459 * localedata/tst-mbswcs1.c: Likewise.
26460 * localedata/tst-mbswcs2.c: Likewise.
26461 * localedata/tst-mbswcs3.c: Likewise.
26462 * localedata/tst-mbswcs4.c: Likewise.
26463 * localedata/tst-mbswcs5.c: Likewise.
26464 * localedata/tst-setlocale.c: Likewise.
26465 * localedata/tst-trans.c: Likewise.
26466 * localedata/tst-wctype.c: Likewise.
26467 * localedata/tst-xlocale1.c: Likewise.
26468 * login/tst-grantpt.c: Likewise.
26469 * malloc/tst-calloc.c: Likewise.
26470 * malloc/tst-malloc.c: Likewise.
26471 * malloc/tst-mallocstate.c: Likewise.
26472 * malloc/tst-mcheck.c: Likewise.
26473 * malloc/tst-mtrace.c: Likewise.
26474 * malloc/tst-obstack.c: Likewise.
26475 * math/atest-exp2.c: Likewise.
26476 * math/atest-exp.c: Likewise.
26477 * math/atest-sincos.c: Likewise.
26478 * math/test-matherr.c: Likewise.
26479 * math/test-misc.c: Likewise.
26480 * math/test-powl.c: Likewise.
26481 * math/tst-definitions.c: Likewise.
26482 * misc/tst-dirname.c: Likewise.
26483 * misc/tst-efgcvt.c: Likewise.
26484 * misc/tst-fdset.c: Likewise.
26485 * misc/tst-hsearch.c: Likewise.
26486 * misc/tst-mntent2.c: Likewise.
26487 * nptl/tst-sem7.c: Likewise.
26488 * nptl/tst-sem8.c: Likewise.
26489 * nptl/tst-sem9.c: Likewise.
26490 * nss/test-netdb.c: Likewise.
26491 * posix/tst-fnmatch.c: Likewise.
26492 * posix/tst-getlogin.c: Likewise.
26493 * posix/tst-gnuglob.c: Likewise.
26494 * posix/tst-mmap.c: Likewise.
26495 * pwd/tst-getpw.c: Likewise.
26496 * resolv/tst-inet_ntop.c: Likewise.
26497 * rt/tst-timer.c: Likewise.
26498 * stdio-common/test-fseek.c: Likewise.
26499 * stdio-common/test-popen.c: Likewise.
26500 * stdio-common/test-vfprintf.c: Likewise.
26501 * stdio-common/tst-cookie.c: Likewise.
26502 * stdio-common/tst-fileno.c: Likewise.
26503 * stdio-common/tst-gets.c: Likewise.
26504 * stdio-common/tst-obprintf.c: Likewise.
26505 * stdio-common/tst-perror.c: Likewise.
26506 * stdio-common/tst-sprintf2.c: Likewise.
26507 * stdio-common/tst-sprintf3.c: Likewise.
26508 * stdio-common/tst-sprintf.c: Likewise.
26509 * stdio-common/tst-swprintf.c: Likewise.
26510 * stdio-common/tst-tmpnam.c: Likewise.
26511 * stdio-common/tst-unbputc.c: Likewise.
26512 * stdio-common/tst-wc-printf.c: Likewise.
26513 * stdlib/tst-environ.c: Likewise.
26514 * stdlib/tst-fmtmsg.c: Likewise.
26515 * stdlib/tst-limits.c: Likewise.
26516 * stdlib/tst-rand48-2.c: Likewise.
26517 * stdlib/tst-rand48.c: Likewise.
26518 * stdlib/tst-random2.c: Likewise.
26519 * stdlib/tst-random.c: Likewise.
26520 * stdlib/tst-strtol.c: Likewise.
26521 * stdlib/tst-strtoll.c: Likewise.
26522 * stdlib/tst-tls-atexit.c: Likewise.
26523 * stdlib/tst-xpg-basename.c: Likewise.
26524 * string/test-ffs.c: Likewise.
26525 * string/tst-bswap.c: Likewise.
26526 * string/tst-inlcall.c: Likewise.
26527 * string/tst-strtok.c: Likewise.
26528 * string/tst-strxfrm.c: Likewise.
26529 * sysdeps/x86_64/tst-audit10.c: Likewise.
26530 * sysdeps/x86_64/tst-audit3.c: Likewise.
26531 * sysdeps/x86_64/tst-audit4.c: Likewise.
26532 * sysdeps/x86_64/tst-audit5.c: Likewise.
26533 * time/tst-ftime_l.c: Likewise.
26534 * time/tst-getdate.c: Likewise.
26535 * time/tst-mktime3.c: Likewise.
26536 * time/tst-mktime.c: Likewise.
26537 * time/tst-posixtz.c: Likewise.
26538 * time/tst-strptime2.c: Likewise.
26539 * time/tst-strptime3.c: Likewise.
26540 * wcsmbs/tst-btowc.c: Likewise.
26541 * wcsmbs/tst-mbrtowc.c: Likewise.
26542 * wcsmbs/tst-mbsrtowcs.c: Likewise.
26543 * wcsmbs/tst-wchar-h.c: Likewise.
26544 * wcsmbs/tst-wcpncpy.c: Likewise.
26545 * wcsmbs/tst-wcrtomb.c: Likewise.
26546 * wcsmbs/tst-wcsnlen.c: Likewise.
26547 * wcsmbs/tst-wcstof.c: Likewise.
26548
26549 2014-11-04 Joseph Myers <joseph@codesourcery.com>
26550
26551 [BZ #14132]
26552 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
26553 INTDEF.
26554 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
26555 declaration.
26556 (_dl_mcount): Use rtld_hidden_proto.
26557 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
26558 _dl_mcount.
26559 * elf/rtld.c (_rtld_global_ro): Likewise.
26560
26561 [BZ #14132]
26562 * elf/dl-init.c (_dl_init): Don't use INTDEF.
26563 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
26564 of _dl_init_internal.
26565 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
26566 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
26567 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
26568 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
26569 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
26570 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
26571 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
26572 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
26573 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
26574 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
26575 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
26576 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
26577 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26578 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26579 * sysdeps/tile/dl-start.S (_start): Likewise.
26580 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
26581 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
26582
26583 [BZ #14132]
26584 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
26585 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
26586 (rtld_progname): Make macro definition unconditional.
26587 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
26588 INTDEF.
26589 (dlmopen_doit): Do not use INTUSE with _dl_argv.
26590 (dl_main): Likewise.
26591 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26592 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
26593 instead of _dl_argv_internal.
26594 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
26595 __GI__dl_argv instead of INTUSE(_dl_argv).
26596 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
26597 __GI__dl_argv instead of _dl_argv_internal.
26598
26599 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
26600 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
26601 macro.
26602 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
26603 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
26604 New macro.
26605 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
26606 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
26607 macro.
26608 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
26609 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
26610
26611 2014-11-04 Andreas Schwab <schwab@suse.de>
26612
26613 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
26614
26615 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26616
26617 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
26618 mtvsrd instruction in binary form.
26619
26620 2014-11-03 Andreas Schwab <schwab@suse.de>
26621
26622 [BZ #17522]
26623 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
26624 for less than MB_LEN_MAX use a local buffer of that size.
26625 * libio/tst-fputws.c: New file.
26626 * libio/Makefile (tests): Add tst-fputws.
26627
26628 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
26629
26630 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
26631 the size of the fpu_fr.fpu_dregs[] array.
26632
26633 2014-11-01 Joseph Myers <joseph@codesourcery.com>
26634
26635 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
26636 (__nanosleep): Do not define as alias.
26637 (nanosleep): Define as alias of __nanosleep.
26638 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
26639 __libc_nanosleep name.
26640
26641 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26642
26643 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
26644 install.texi in comment.
26645
26646 2014-10-31 Torvald Riegel <triegel@redhat.com>
26647
26648 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
26649 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
26650 ... add here and use lwsync or sync ...
26651 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
26652 ... and add here using lwsync.
26653
26654 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
26655
26656 * elf/dl-machine-reject-phdr.h: New file.
26657 * elf/dl-load.c: #include that.
26658 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
26659 if that returned true.
26660
26661 2014-10-31 Roland McGrath <roland@hack.frob.com>
26662
26663 [BZ #17496]
26664 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
26665 gen-as-const-headers chunk. Add a big scare comment after the last
26666 safe place to touch before-compile.
26667
26668 2014-10-31 Joseph Myers <joseph@codesourcery.com>
26669
26670 * manual/install.texi (Tools for Compilation): Update autoconf
26671 version requirements.
26672 * INSTALL: Regenerated.
26673
26674 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
26675 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
26676 (__libc_pselect): Likewise.
26677
26678 [BZ #14138]
26679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
26680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26683
26684 2014-10-31 Torvald Riegel <triegel@redhat.com>
26685
26686 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
26687 correct barrier instruction.
26688 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
26689 Likewise.
26690 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
26691 Likewise.
26692
26693 2014-10-30 Roland McGrath <roland@hack.frob.com>
26694
26695 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
26696 after defining inlines. Instead, just use parens to defeat macro
26697 expansion of __isctype in its declaration.
26698
26699 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26700
26701 * include/sys/uio.h (__libc_readv): Remove declaration.
26702 (__libc_writev): Likewise.
26703 * misc/readv.c (__libc_readv): Rename to __readv.
26704 (__readv): Do not define as alias.
26705 (readv): Define as alias of __readv.
26706 * misc/writev.c (__libc_writev): Rename to __writev.
26707 (__writev): Do not define as alias.
26708 (writev): Define as alias of __writev.
26709 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
26710 (__readv): Do not define as alias.
26711 (readv): Define unconditionally as alias of __readv.
26712 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
26713 (__writev): Do not define as alias.
26714 (writev): Define unconditionally as alias of __writev.
26715 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
26716 name.
26717 (writev): Do not define __libc_writev name.
26718
26719 2014-10-30 Roland McGrath <roland@hack.frob.com>
26720
26721 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
26722 (convert_charseq): New function, broken out of ...
26723 (use_from_charmap): ... here. Call it.
26724 (use_to_charmap): Use convert_charseq and free instead of duplicating
26725 its code with a variable-length stack struct.
26726
26727 2014-10-30 Joseph Myers <joseph@codesourcery.com>
26728
26729 * include/fcntl.h (__libc_creat): Remove declaration.
26730 * io/creat.c (__libc_creat): Rename to creat.
26731 (creat): Do not define as alias.
26732 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
26733 of creat instead of __libc_creat.
26734 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
26735 to creat.
26736 (creat): Do not define as alias.
26737 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
26738 __libc_creat.
26739 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
26740 __libc_creat name.
26741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
26742 Likewise.
26743
26744 2014-10-29 Carlos O'Donell <carlos@redhat.com>
26745
26746 * manual/llio.texi: Add comments discussing why write() may be
26747 considered MT-unsafe on Linux.
26748
26749 2014-10-28 Carlos O'Donell <carlos@redhat.com>
26750
26751 * dl-load.c (local_strdup): Remove.
26752 (expand_dynamic_string_token): Use __strdup.
26753 (decompose_rpath): Likewise.
26754 (_dl_map_object): Likewise.
26755
26756 2014-10-28 Joseph Myers <joseph@codesourcery.com>
26757
26758 [BZ #14132]
26759 * sysdeps/generic/unwind-dw2-fde.c
26760 (__register_frame_info_bases_internal): Do not declare.
26761 (__register_frame_info_table_bases_internal): Likewise.
26762 (__deregister_frame_info_bases_internal): Likewise.
26763 (__register_frame_info_bases): Declare and use hidden_proto before
26764 definition. Use hidden_def instead of INTDEF.
26765 (__register_frame_info_table_bases): Likewise.
26766 (__deregister_frame_info_bases): Likewise.
26767 (__register_frame_info): Do not use INTUSE.
26768 (__register_frame): Likewise.
26769 (__register_frame_info_table): Likewise.
26770 (__register_frame_table): Likewise.
26771 (__deregister_frame_info): Likewise.
26772 (__deregister_frame): Likewise.
26773
26774 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
26775
26776 * sysdeps/unix/sysv/linux/arm/kernel-features.h
26777 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
26778 not undefine.
26779 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
26780 Likewise.
26781 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
26782 Likewise.
26783
26784 2014-10-27 Joseph Myers <joseph@codesourcery.com>
26785
26786 [BZ #14138]
26787 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
26788 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
26789 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
26790 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
26791 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
26792 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
26793 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
26794 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
26795 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
26796 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
26797 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
26799 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
26800 syscall.
26801 (setfsuid): Likewise.
26802 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
26803 (setfsuid): Likewise.
26804 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
26805 (setfsuid): Likewise.
26806 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
26807 Likewise.
26808 (setfsuid): Likewise.
26809 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
26810 (setfsuid): Likewise.
26811 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
26812 Likewise.
26813 (setfsuid): Likewise.
26814
26815 2014-10-27 Andreas Schwab <schwab@suse.de>
26816
26817 [BZ #17501]
26818 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
26819 check for Slow_SSE4_2 feature bit.
26820 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
26821 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26822 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
26823 Likewise. Fix check for Fast_Unaligned_Load feature bit.
26824
26825 2014-10-24 Roland McGrath <roland@hack.frob.com>
26826
26827 * configure.ac: Validate compiler version with a empirical test of
26828 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
26829 $CC -v output.
26830 * configure: Regenerated.
26831
26832 * inet/htons.c (htons): Prototypify.
26833 * inet/htonl.c (htonl): Likewise.
26834
26835 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26836
26837 * string/strncat.c (strncat): Improve performance by using strlen.
26838
26839 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26840
26841 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
26842
26843 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26844
26845 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
26846 Call libc_fetestexcept_aarch64.
26847
26848 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26849
26850 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
26851 Call libc_feholdexcept_aarch64.
26852
26853 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26854
26855 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
26856 Call get_rounding_mode.
26857
26858 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26859
26860 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26861 Simplify logic.
26862
26863 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
26864
26865 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
26866 Simplify logic.
26867
26868 2014-10-24 Joseph Myers <joseph@codesourcery.com>
26869
26870 [BZ #14138]
26871 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
26872 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
26873 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
26874 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
26875 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
26876 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
26877 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
26878 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
26879 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
26880 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
26881 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26882 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
26883 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
26884 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
26885 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
26886 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
26887 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
26888 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
26889 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
26890 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
26891 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
26892 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
26893 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
26894 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
26895 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
26896 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
26897 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
26898 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
26899 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
26900 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
26901 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
26902 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
26903 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
26904 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
26905 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
26906 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
26907 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
26909 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
26910 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
26911 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
26912 syscall.
26913 (geteuid): Likewise.
26914 (getgid): Likewise.
26915 (getuid): Likewise.
26916 (getresgid): Likewise.
26917 (getresuid): Likewise.
26918 (getgroups): Likewise.
26919 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
26920 (geteuid): Likewise.
26921 (getgid): Likewise.
26922 (getuid): Likewise.
26923 (getresgid): Likewise.
26924 (getresuid): Likewise.
26925 (getgroups): Likewise.
26926 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
26927 (geteuid): Likewise.
26928 (getgid): Likewise.
26929 (getuid): Likewise.
26930 (getresgid): Likewise.
26931 (getresuid): Likewise.
26932 (getgroups): Likewise.
26933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
26934 Likewise.
26935 (geteuid): Likewise.
26936 (getgid): Likewise.
26937 (getuid): Likewise.
26938 (getresgid): Likewise.
26939 (getresuid): Likewise.
26940 (getgroups): Likewise.
26941 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
26942 (geteuid): Likewise.
26943 (getgid): Likewise.
26944 (getuid): Likewise.
26945 (getresgid): Likewise.
26946 (getresuid): Likewise.
26947 (getgroups): Likewise.
26948 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
26949 Likewise.
26950 (geteuid): Likewise.
26951 (getgid): Likewise.
26952 (getuid): Likewise.
26953 (getgroups): Likewise.
26954
26955 [BZ #14138]
26956 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
26957 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
26958 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
26959 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26960 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
26961 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
26962 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
26963 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
26964 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
26965 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
26966 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
26967 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
26968 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
26969 __chown.
26970 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
26971 (lchown): Likewise.
26972 (fchown): Likewise.
26973 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
26974 Likewise.
26975 (lchown): Likewise.
26976 (fchown): Likewise.
26977 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
26978 (lchown): Likewise.
26979 (fchown): Likewise.
26980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
26981 Likewise.
26982 (lchown): Likewise.
26983 (fchown): Likewise.
26984
26985 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26986
26987 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
26988 Simplify logic.
26989
26990 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26991
26992 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26993 Cleanup logic.
26994
26995 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26996
26997 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
26998 Remove unused include.
26999
27000 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
27001
27002 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27003 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27004 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27005 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27006
27007 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
27008 Helge Deller <deller@gmx.de>
27009
27010 [BZ #17508]
27011 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27012 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27013 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27014
27015 2014-10-23 Joseph Myers <joseph@codesourcery.com>
27016
27017 [BZ #14132]
27018 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27019 Remove macro definition.
27020 (__ashrdi3_v_glibc20): Likewise.
27021 (__lshrdi3_v_glibc20): Likewise.
27022 (__cmpdi2_v_glibc20): Likewise.
27023 (__ucmpdi2_v_glibc20): Likewise.
27024 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27025 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27026 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27027 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27028 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27029 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27030
27031 2014-10-22 Roland McGrath <roland@hack.frob.com>
27032
27033 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27034 old GNU extension [0] syntax.
27035 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27036 alloca rather than an array member with variable length.
27037 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27038 * nscd/nscd.c (invalidate_db): New function, broken out of ...
27039 (parse_opt): ... here. Likewise use alloca there.
27040 Validate the -i argument before checking for rootness.
27041 (send_shutdown): New function, broken out of ...
27042 (parse_opt): ... here.
27043
27044 2014-10-22 Roland McGrath <roland@hack.frob.com>
27045
27046 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27047 macro to get at the _rt_local_ro field.
27048 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27049 ([PIC] case) or _dl_hwcap ([!PIC] case).
27050 * sysdeps/arm/setjmp.S: Likewise.
27051
27052 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27053 * sysdeps/arm/configure.ac: New check to define it.
27054 * sysdeps/arm/configure: Regenerated.
27055 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27056 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27057 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27058 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27059 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27060 Use move/movt pair instead of a load.
27061 (LDST_GLOBAL): Macro removed.
27062 (LDR_GLOBAL): New macro replaces it.
27063 (LDR_HIDDEN): New macro.
27064 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27065 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27066
27067 * setjmp/tst-setjmp-static.c: New file.
27068 * setjmp/Makefile (tests): Add it.
27069 (tests-static): New variable.
27070
27071 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
27072
27073 [BZ #17485]
27074 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27075
27076 2014-10-21 Joseph Myers <joseph@codesourcery.com>
27077
27078 [BZ #14132]
27079 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27080
27081 2014-10-21 Roland McGrath <roland@hack.frob.com>
27082
27083 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27084
27085 2014-10-20 Roland McGrath <roland@hack.frob.com>
27086
27087 * io/fts.c (dirent_not_directory): New function.
27088 (fts_build): Call it.
27089
27090 2014-10-20 Roland McGrath <roland@hack.frob.com>
27091
27092 * nptl/version.c (__nptl_main): Use normal __write rather than
27093 INTERNAL_SYSCALL.
27094 (banner): Update copyright years.
27095
27096 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27097 gettimeofday.
27098 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27099 * nptl/pthread_cond_timedwait.c: Likewise.
27100 * nptl/pthread_mutex_timedlock.c: Likewise.
27101 * nptl/sem_timedwait.c: Likewise.
27102
27103 * sysdeps/nptl/bits/libc-lock.h
27104 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27105 (__libc_lock_init_recursive): Return void, not 0.
27106 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27107 (__libc_rwlock_init): Likewise.
27108 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27109
27110 2014-10-20 Torvald Riegel <triegel@redhat.com>
27111
27112 [BZ #15215]
27113 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27114 (__pthread_once_slow): ... here.
27115 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27116 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27117
27118 2014-10-20 Torvald Riegel <triegel@redhat.com>
27119
27120 [BZ #15215]
27121 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27122 __PTHREAD_ONCE_FORK_GEN_INCR): New.
27123 * sysdeps/nptl/fork.c (__libc_fork): Use them.
27124 * nptl/pthread_once.c (__pthread_once): Likewise.
27125 Update comments.
27126
27127 2014-10-20 Joseph Myers <joseph@codesourcery.com>
27128
27129 [BZ #14138]
27130 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27131 name.
27132 (writev): Use __libc_writev as strong name.
27133 * sysdeps/unix/sysv/linux/readv.c: Remove file.
27134 * sysdeps/unix/sysv/linux/writev.c: Likewise.
27135
27136 2014-10-17 Roland McGrath <roland@hack.frob.com>
27137
27138 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27139
27140 * sysdeps/i386/nptl/tls.h
27141 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27142 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27143 New macros.
27144 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27145 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27146 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27147 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27148 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27149 Call CHECK_THREAD_SYSINFO instead of doing an assert.
27150
27151 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27152 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27153 on [__NR_futex].
27154 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27155 broken out of ...
27156 (__pthread_mutex_init): ... here. Call it.
27157 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27158 Conditionalize PI cases on [__NR_futex].
27159 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27160 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27161 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27162
27163 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27164 conditional on [SIGSETXID].
27165 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27166 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27167 is defined. Likewise for SIGSETXID.
27168 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27169 Conditionalize definitions on [SIGSETXID].
27170 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27171 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27172 unblocking on [SIGCANCEL].
27173
27174 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27175 [__NR_set_robust_list].
27176
27177 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27178
27179 * string/strcoll_l.c (get_next_seq): Fix up formatting.
27180 (do_compare): Likewise.
27181
27182 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
27183
27184 [BZ #15884]
27185 * string/strcoll_l.c: Don't include stdio.h.
27186 (coll_seq): Remove members idxarr and rulearr.
27187 (get_next_seq_cached): Remove function.
27188 (get_next_seq): Likewise.
27189 (get_next_seq_nocache): Rename to get_next_seq.
27190 (do_compare): Remove function.
27191 (do_compare_nocache): Rename to do_compare.
27192 (STRCOLL): Remove weight and rules cache.
27193
27194 2014-10-16 Roland McGrath <roland@hack.frob.com>
27195
27196 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27197 * sysdeps/arm/sfp-machine.h: ... to here.
27198 * sysdeps/arm/Implies: Remove arm/soft-fp.
27199
27200 2014-10-14 Joseph Myers <joseph@codesourcery.com>
27201
27202 * conform/data/sys/utsname.h-data (*_t): Allow.
27203 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27204 [POSIX] (WEXITED): Do not expect constant.
27205 [POSIX] (WSTOPPED): Likewise.
27206 [POSIX] (WNOHANG): Likewise.
27207 [POSIX] (WNOWAIT): Likewise.
27208 [POSIX] (siginfo_t): Do not expect type or elements.
27209 [POSIX] (pid_t): Do not expect type.
27210 [POSIX] (signal.h): Do not allow header.
27211 [POSIX] (sys/resource.h): Likewise.
27212 [POSIX] (si_*): Do not allow pattern.
27213 [POSIX] (W*): Likewise.
27214 [POSIX] (P_*): Likewise.
27215 [POSIX] (BUS_*): Likewise.
27216 [POSIX] (CLD_*): Likewise.
27217 [POSIX] (FPE_*): Likewise.
27218 [POSIX] (ILL_*): Likewise.
27219 [POSIX] (POLL_*): Likewise.
27220 [POSIX] (SEGV_*): Likewise.
27221 [POSIX] (SI_*): Likewise.
27222 [POSIX] (TRAP_*): Likewise.
27223 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27224 variable.
27225
27226 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
27227
27228 [BZ #12926]
27229 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27230 infinite loop when __recvmsg returns 0.
27231
27232 2014-10-10 Joseph Myers <joseph@codesourcery.com>
27233
27234 * CANCEL-FCT-WAIVE: Remove file.
27235 * CANCEL-FILE-WAIVE: Likewise.
27236
27237 [BZ #14132]
27238 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27239 instead of INTVARDEF.
27240 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27241 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27242 rtld_hidden_data_def instead of INTVARDEF.
27243 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27244 * elf/dl-deps.c (expand_dst): Likewise.
27245 * elf/dl-load.c (_dl_dst_count): Likewise.
27246 (_dl_dst_substitute): Likewise.
27247 (decompose_rpath): Likewise.
27248 (_dl_init_paths): Likewise.
27249 (open_path): Likewise.
27250 (_dl_map_object): Likewise.
27251 * elf/rtld.c (dl_main): Likewise.
27252 (process_dl_audit): Likewise.
27253 (process_envvars): Likewise.
27254 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27255 Remove declaration.
27256 (__libc_enable_secure): Use rtld_hidden_proto.
27257
27258 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27259
27260 * elf/dl-load.c
27261 (add_path): New function broken out of _dl_rtld_di_serinfo.
27262 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
27263
27264 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27265
27266 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27267 parentheses around macro arguments.
27268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27269 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27270 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27271 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27272 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27273 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27274 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27275 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27276 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27277 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27278 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27279 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27280 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27281 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27282 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27283 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27284 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27285 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27287 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27289 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27290 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27291 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27292 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27293 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27294 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27296 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27297 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27298 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27299 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27300 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27301 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27302 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27303 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27304 Likewise.
27305 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27306 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27307 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27308 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27309 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27310 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27311 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27312 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27313 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27314 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27315 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27316 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27317 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27318 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27319 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27320 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27321 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27322 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27323 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27324 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27325 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27326 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27327 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27328 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27329 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27330 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27331 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27332 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27333 (_FP_FRAC_SRS_1): Likewise.
27334 (_FP_FRAC_CLZ_1): Likewise.
27335 (_FP_MUL_MEAT_1_imm): Likewise.
27336 (_FP_MUL_MEAT_1_wide): Likewise.
27337 (_FP_MUL_MEAT_1_hard): Likewise.
27338 (_FP_SQRT_MEAT_1): Likewise.
27339 (_FP_FRAC_ASSEMBLE_1): Likewise.
27340 (_FP_FRAC_DISASSEMBLE_1): Likewise.
27341 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27342 (__FP_CLZ_2): Likewise.
27343 (_FP_MUL_MEAT_2_wide): Likewise.
27344 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27345 (_FP_MUL_MEAT_2_gmp): Likewise.
27346 (_FP_MUL_MEAT_2_120_240_double): Likewise.
27347 (_FP_SQRT_MEAT_2): Likewise.
27348 (_FP_FRAC_ASSEMBLE_2): Likewise.
27349 (_FP_FRAC_DISASSEMBLE_2): Likewise.
27350 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27351 (_FP_FRAC_CLZ_4): Likewise.
27352 (_FP_MUL_MEAT_4_wide): Likewise.
27353 (_FP_MUL_MEAT_4_gmp): Likewise.
27354 (_FP_SQRT_MEAT_4): Likewise.
27355 (_FP_FRAC_ASSEMBLE_4): Likewise.
27356 (_FP_FRAC_DISASSEMBLE_4): Likewise.
27357 * soft-fp/op-common.h (_FP_CMP): Likewise.
27358 (_FP_CMP_EQ): Likewise.
27359 (_FP_CMP_UNORD): Likewise.
27360 (_FP_TO_INT): Likewise.
27361 (_FP_FROM_INT): Likewise.
27362 [!__FP_CLZ] (__FP_CLZ): Likewise.
27363 (_FP_DIV_HELP_imm): Likewise.
27364 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27365 Likewise.
27366 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27367 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27368 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27369 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27370 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27371 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27372 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27373 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27374 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27375 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27376 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27377 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27378 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27379 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27380 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27381 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27382 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27383 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27384 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27385 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27386 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27387 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27388 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27389 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27390 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27391 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27392 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27393 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27394 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27395 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27396 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27397 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27398 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27399 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27400 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27401 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27402 (FP_UNPACK_RAW_SP): Likewise.
27403 (FP_PACK_RAW_S): Likewise.
27404 (FP_PACK_RAW_SP): Likewise.
27405 (FP_UNPACK_S): Likewise.
27406 (FP_UNPACK_SP): Likewise.
27407 (FP_UNPACK_SEMIRAW_S): Likewise.
27408 (FP_UNPACK_SEMIRAW_SP): Likewise.
27409 (FP_PACK_S): Likewise.
27410 (FP_PACK_SP): Likewise.
27411 (FP_PACK_SEMIRAW_S): Likewise.
27412 (FP_PACK_SEMIRAW_SP): Likewise.
27413 (_FP_SQRT_MEAT_S): Likewise.
27414 (FP_CMP_S): Likewise.
27415 (FP_CMP_EQ_S): Likewise.
27416 (FP_CMP_UNORD_S): Likewise.
27417 (FP_TO_INT_S): Likewise.
27418 (FP_FROM_INT_S): Likewise.
27419
27420 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27421
27422 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27423 (FP_EX_INVALID_IMZ): Likewise.
27424 (FP_EX_INVALID_IMZ_FMA): Likewise.
27425 (FP_EX_INVALID_ISI): Likewise.
27426 (FP_EX_INVALID_ZDZ): Likewise.
27427 (FP_EX_INVALID_IDI): Likewise.
27428 (FP_EX_INVALID_SQRT): Likewise.
27429 (FP_EX_INVALID_CVI): Likewise.
27430 (FP_EX_INVALID_VC): Likewise.
27431 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27432 "invalid" exceptions.
27433 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27434 (_FP_ADD_INTERNAL): Likewise.
27435 (_FP_MUL): Likewise.
27436 (_FP_FMA): Likewise.
27437 (_FP_DIV): Likewise.
27438 (_FP_CMP_CHECK_NAN): Likewise.
27439 (_FP_SQRT): Likewise.
27440 (_FP_TO_INT): Likewise.
27441 (FP_EXTEND): Likewise.
27442
27443 2014-10-09 Allan McRae <allan@archlinux.org>
27444
27445 * po/fr.po: Update French translation from translation project.
27446
27447 2014-10-09 Joseph Myers <joseph@codesourcery.com>
27448
27449 [BZ #14132]
27450 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
27451 of INTDEF.
27452 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
27453 (__cxa_atexit): Use libc_hidden_proto.
27454 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
27455
27456 [BZ #14132]
27457 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
27458 declaration.
27459 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
27460 [!_ISOMAC] (__iswspace_l_internal): Likewise.
27461 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
27462 [!_ISOMAC] (__iswctype_internal): Likewise.
27463 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
27464 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
27465 alias.
27466 (fcntl): Remove __fcntl_internal alias.
27467 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
27468 __connect_internal alias.
27469 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
27470 Likewise.
27471
27472 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
27473 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
27474 FP_DENORM_ZERO.
27475 (_FP_CHECK_FLUSH_ZERO): New macro.
27476 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
27477 (_FP_CMP): Likewise.
27478 (_FP_CMP_EQ): Likewise.
27479 (_FP_TO_INT): Do not set inexact for subnormal arguments if
27480 FP_DENORM_ZERO.
27481 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
27482 (FP_TRUNC): Likewise.
27483
27484 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
27485 treated as invalid conversion, not as normal exponent.
27486
27487 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
27488 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
27489 (_FP_CMP_EQ): Likewise.
27490 (_FP_CMP_UNORD): Likewise.
27491 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
27492 (FP_CMP_EQ_D): Likewise.
27493 (FP_CMP_UNORD_D): Likewise.
27494 * soft-fp/extended.h (FP_CMP_E): Likewise.
27495 (FP_CMP_EQ_E): Likewise.
27496 (FP_CMP_UNORD_E): Likewise.
27497 * soft-fp/quad.h (FP_CMP_Q): Likewise.
27498 (FP_CMP_EQ_Q): Likewise.
27499 (FP_CMP_UNORD_Q): Likewise.
27500 * soft-fp/single.h (FP_CMP_S): Likewise.
27501 (FP_CMP_EQ_S): Likewise.
27502 (FP_CMP_UNORD_S): Likewise.
27503 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
27504 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
27505 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
27506 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
27507 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
27508 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
27509 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
27510 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
27511 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
27512 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
27513 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
27514 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
27515 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
27516 to FP_CMP_Q.
27517 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
27518 FP_CMP_Q.
27519 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
27520 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
27521 FP_CMP_EQ_Q.
27522 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
27523 FP_CMP_Q.
27524 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
27525 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
27526 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
27527 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
27528 FP_CMP_EQ_Q.
27529 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
27530 FP_CMP_Q.
27531 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
27532 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
27533 FP_CMP_EQ_Q.
27534 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
27535 FP_CMP_Q.
27536 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
27537 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
27538 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
27539 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
27540 FP_CMP_EQ_Q.
27541
27542 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
27543 a subnormal result, set the underflow exception if trapping on
27544 underflow is enabled.
27545 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
27546 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
27547 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
27548 redefine to 0.
27549 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
27550 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27551 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
27552 * soft-fp/extendxftf2.c (__extendxftf2): Use
27553 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
27554
27555 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
27556 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
27557 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27558 FP_HANDLE_EXCEPTIONS.
27559 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
27560 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27561 FP_HANDLE_EXCEPTIONS.
27562 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
27563 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27564 FP_HANDLE_EXCEPTIONS.
27565 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
27566 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
27567 FP_HANDLE_EXCEPTIONS.
27568
27569 2014-10-08 Joseph Myers <joseph@codesourcery.com>
27570
27571 [BZ #14132]
27572 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
27573 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
27574 use INTUSE.
27575 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
27576 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
27577 Remove alias.
27578 (__adjtimex): Define using libc_hidden_ver.
27579 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
27580 Remove declaration.
27581 (ntp_gettime): Call __adjtimex directly.
27582 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
27583 Remove declaration.
27584 (ntp_gettimex): Call __adjtimex directly.
27585 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
27586 __adjtimex_internal alias.
27587
27588 2014-10-08 Roland McGrath <roland@hack.frob.com>
27589
27590 [BZ #17460]
27591 * nscd/nscd.c (more_help): Rewrite list of tables collection
27592 using xstrdup and asprintf.
27593
27594 * nscd/nscd_conf.c: Remove local xstrdup declaration.
27595
27596 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27597 Roland McGrath <roland@hack.frob.com>
27598
27599 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
27600 (do_lookup_unique): ... local function 'enter' here; update callers.
27601
27602 2014-10-06 Joseph Myers <joseph@codesourcery.com>
27603
27604 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
27605 compat_symbol calls on [SHARED].
27606 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
27607 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
27608 Remove.
27609 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27610 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
27611 (oldsetrlimit): Remove.
27612 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27614 (lchown): New syscall entry.
27615 (oldsetrlimit): Remove.
27616 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27617 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
27618 (oldsetrlimit): Remove.
27619 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
27620
27621 [BZ #14138]
27622 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
27623 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
27624 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
27625 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
27626 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27627 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
27628 (fchown): Likewise.
27629 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
27630 (fchown): Likewise.
27631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
27632 Likewise.
27633
27634 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27635
27636 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
27637 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
27638 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
27639 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
27640 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
27641 Likewise.
27642 (__old_sem_post): Likewise.
27643
27644 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
27645
27646 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
27647 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
27648 HAVE_CLOCK_GETTIME_VSYSCALL macros.
27649 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
27650 Use INLINE_VSYSCALL macro.
27651 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
27652 __vdso_clock_gettime.
27653 * sysdeps/unix/sysv/linux/tile/init-first.c
27654 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
27655 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
27656 __vdso_clock_gettime.
27657
27658 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
27659 to set up frame more cleanly.
27660
27661 * sysdeps/tile/memcmp.c: New file.
27662
27663 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
27664
27665 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
27666 * sysdeps/tile/tilegx/strcasestr.c: New file.
27667 * sysdeps/tile/tilegx/strnlen.c: New file.
27668 * sysdeps/tile/tilegx/strstr.c: New file.
27669
27670 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
27671
27672 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
27673
27674 * nptl/tst-setuid3.c: Write errors to stdout.
27675
27676 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27677
27678 * elf/dl-deps.c
27679 (preload): New functions broken out of _dl_map_object_deps.
27680 (_dl_map_object_deps): Remove a nested function. Update call sites.
27681
27682 2014-10-01 Joseph Myers <joseph@codesourcery.com>
27683
27684 [BZ #14138]
27685 * sysdeps/unix/sysv/linux/execve.c: Remove file.
27686 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
27687
27688 2014-10-01 Steve Ellcey <sellcey@mips.com>
27689
27690 * sysdeps/mips/strcmp.S: New.
27691
27692 2014-09-30 Joseph Myers <joseph@codesourcery.com>
27693
27694 [BZ #14138]
27695 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
27696 (linkat): Likewise.
27697 (mkdirat): Likewise.
27698 (readlinkat): Likewise.
27699 (renameat): Likewise.
27700 (symlinkat): Likewise.
27701 (unlinkat): Likewise.
27702 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
27703 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
27704 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
27705 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
27706 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
27707 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
27708 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
27709
27710 2014-09-30 Will Newton <will.newton@linaro.org>
27711
27712 * math/math.h: Define long double math functions if
27713 _LIBC_TEST is defined.
27714 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
27715
27716 * localedata/Makefile: Move assignment to tests-special
27717 into an ifdef testing run-built-tests.
27718 * timezone/Makefile: Likewise.
27719
27720 2014-09-29 Joseph Myers <joseph@codesourcery.com>
27721
27722 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
27723 with $(BASH) not $(SHELL).
27724
27725 2014-09-29 Carlos O'Donell <carlos@redhat.com>
27726 Matthew LeGendre <legendre1@llnl.gov>
27727
27728 [BZ #17411]
27729 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
27730 l_reloc_result.
27731
27732 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
27733
27734 * stdio-common/printf_fp.c
27735 (hack_digit): New function, broken out of ...
27736 (__printf_fp): ... local function here. Update call sites.
27737 hack_digit now takes an additional parameter that is a pointer
27738 to a struct of the referenced locals. Those locals moved inside
27739 the struct and references updated.
27740
27741 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
27742
27743 * aclocal.m4: Require autoconf 2.69.
27744 * configure: Regenerated.
27745 * sysdeps/aarch64/configure: Likewise.
27746 * sysdeps/alpha/configure: Likewise.
27747 * sysdeps/arm/armv7/configure: Likewise.
27748 * sysdeps/arm/configure: Likewise.
27749 * sysdeps/ia64/configure: Likewise.
27750 * sysdeps/mach/configure: Likewise.
27751 * sysdeps/mips/configure: Likewise.
27752 * sysdeps/s390/configure: Likewise.
27753 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
27754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
27755
27756 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
27757 file.
27758 * sysdeps/ia64/configure.ac: Likewise.
27759
27760 2014-09-26 Joseph Myers <joseph@codesourcery.com>
27761
27762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
27763 specify symbol version for ld.so. Do not include entry for
27764 libpthread.
27765 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
27766 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
27767 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27768
27769 [BZ #14171]
27770 * Makeconfig [$(build-shared) = yes]
27771 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
27772 makefiles.
27773 [$(build-shared) = yes && $(soversions.mk-done) = t]
27774 ($(common-objpfx)gnu/lib-names.h): Remove rule.
27775 [$(build-shared) = yes && $(soversions.mk-done) = t]
27776 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
27777 to Makerules.
27778 [$(build-shared) = yes && $(soversions.mk-done) = t]
27779 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
27780 here.
27781 [$(build-shared) = yes && $(soversions.mk-done) = t]
27782 (common-generated): Don't append gnu/lib-names.h and
27783 gnu/lib-names.stmp here.
27784 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
27785 (lib-names-h-abi): New variable.
27786 [$(build-shared) = yes && $(soversions.mk-done) = t]
27787 (lib-names-stmp-abi): Likewise.
27788 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27789 abi-variants] (before-compile): Append
27790 $(common-objpfx)$(lib-names-h-abi).
27791 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27792 abi-variants] (common-generated): Append gnu/lib-names.h.
27793 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27794 abi-variants] (install-others-nosubdir): Depend on
27795 $(inst_includedir)/$(lib-names-h-abi).
27796 [$(build-shared) = yes && $(soversions.mk-done) = t &&
27797 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
27798 [$(build-shared) = yes && $(soversions.mk-done) = t]
27799 ($(common-objpfx)$(lib-names-h-abi)): New rule.
27800 [$(build-shared) = yes && $(soversions.mk-done) = t]
27801 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
27802 [$(build-shared) = yes && $(soversions.mk-done) = t]
27803 (common-generated): Append $(lib-names-h-abi) and
27804 $(lib-names-stmp-abi).
27805 * scripts/lib-names.awk: Do not handle multi being set.
27806 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
27807 Remove variable.
27808 (abi-lp64_be-ld-soname): Likewise.
27809 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
27810 Likewise.
27811 (abi-hard-ld-soname): Likewise.
27812 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
27813 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
27814 Remove variable.
27815 (abi-o32_hard-ld-soname): Likewise.
27816 (abi-o32_soft_2008-ld-soname): Likewise.
27817 (abi-o32_hard_2008-ld-soname): Likewise.
27818 (abi-n32_soft-ld-soname): Likewise.
27819 (abi-n32_hard-ld-soname): Likewise.
27820 (abi-n32_soft_2008-ld-soname): Likewise.
27821 (abi-n32_hard_2008-ld-soname): Likewise.
27822 (abi-n64_soft-ld-soname): Likewise.
27823 (abi-n64_hard-ld-soname): Likewise.
27824 (abi-n64_soft_2008-ld-soname): Likewise.
27825 (abi-n64_hard_2008-ld-soname): Likewise.
27826 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
27827 Likewise.
27828 (abi-64-v2-ld-soname): Likewise.
27829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
27830 ld.so entries.
27831 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
27832 variable.
27833 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
27834 entry.
27835 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
27836 variable.
27837 (abi-64-ld-soname): Likewise.
27838 (abi-x32-ld-soname): Likewise.
27839 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
27840 entry.
27841 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
27842
27843 2014-09-23 Joseph Myers <joseph@codesourcery.com>
27844
27845 [BZ #14138]
27846 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
27847 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
27848 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
27849 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
27850 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
27851 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
27852 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
27853 syscall entry for GLIBC_2.2 symbol version.
27854 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
27855 Likewise.
27856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
27857 (setrlimit): Likewise.
27858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
27859 Likewise.
27860
27861 2014-09-23 Will Newton <will.newton@linaro.org>
27862
27863 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
27864 _LINUX_ARM_SYSDEP_H include guard too.
27865 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
27866 define.
27867
27868 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
27869
27870 * sysdeps/unix/sysv/linux/eventfd.c:
27871 Make first argument unsigned.
27872 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
27873 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
27874
27875 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
27876
27877 [BZ #16852]
27878 * socket/recvmmsg.c (recvmmsg): Drop const argument.
27879 * socket/sys/socket.h: Likewise.
27880 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
27881
27882 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27883
27884 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
27885
27886 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
27887
27888 * time/tst-ftime.c: New test.
27889 * time/Makefile (tests): Add tst-ftime.
27890
27891 2014-09-17 Joseph Myers <joseph@codesourcery.com>
27892
27893 * soft-fp/extended.h: Fix comment formatting.
27894 * soft-fp/op-1.h: Likewise.
27895 * soft-fp/op-2.h: Likewise.
27896 * soft-fp/op-4.h: Likewise.
27897 * soft-fp/op-8.h: Likewise.
27898 * soft-fp/op-common.h: Likewise.
27899 * soft-fp/soft-fp.h: Likewise.
27900
27901 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
27902
27903 2014-09-16 Joseph Myers <joseph@codesourcery.com>
27904
27905 [BZ #6652]
27906 * Makeconfig (soversions-default-setname): Remove variable.
27907 ($(common-objpfx)soversions.i): Don't pass default_setname to
27908 soversions.awk.
27909 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
27910 oldest_abi to abi-versions.awk.
27911 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
27912 * config.make.in (oldest-abi): Remove variable.
27913 * configure.ac (--enable-oldest-abi): Remove configure option.
27914 * configure: Regenerated.
27915 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
27916 text.
27917 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
27918 * scripts/soversions.awk: Do not handle default_setname variable.
27919 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
27920 variable.
27921 * sysdeps/mach/hurd/configure: Regenerated.
27922 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
27923 variable.
27924 * sysdeps/unix/sysv/linux/configure: Regenerated.
27925
27926 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27927
27928 * elf/Makefile (CFLAGS-interp.c): Remove.
27929 ($(elf-objpfx)runtime-linker.h): Generate header with linker
27930 path string.
27931 * elf/interp.c: Include generated runtime-linker.h
27932
27933 * Makerules (lib%.so): Don't include $(+interp) in
27934 prerequisites.
27935 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
27936 * dlfcn/eval.c: Remove file.
27937
27938 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
27939 macros.
27940
27941 [BZ #17266]
27942 * misc/sys/cdefs.h: Define __extern_always_inline for clang
27943 4.2 and newer.
27944
27945 [BZ #17370]
27946 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
27947
27948 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27949 Jakub Jelinek <jakub@redhat.com>
27950
27951 [BZ #17266]
27952 * libio/stdio.h: Check definition of __fortify_function
27953 instead of __extern_always_inline to include bits/stdio2.h.
27954 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
27955 check if __extern_always_inline is defined.
27956 [__USE_MISC || __USE_XOPEN]: Likewise.
27957 [__USE_ISOC99] Likewise.
27958 * misc/sys/cdefs.h (__fortify_function): Define only if
27959 __extern_always_inline is defined.
27960 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
27961 __extern_always_inline and __extern_inline only for g++-4.3
27962 and newer or a compatible gcc.
27963
27964 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
27965
27966 [BZ #17371]
27967 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27968 last change to handle zero prefix length.
27969
27970 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27971
27972 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
27973 _SC_REGEX_VERSION.
27974
27975 * posix/getconf.c (vars): Add _POSIX_IPV6 and
27976 _POSIX_RAW_SOCKETS.
27977
27978 2014-09-13 Allan McRae <allan@archlinux.org>
27979
27980 * po/ru.po: Update Russian translation from translation project.
27981
27982 2014-09-12 Roland McGrath <roland@hack.frob.com>
27983
27984 * locale/programs/locale.c (show_locale_vars): Inline local function
27985 into its sole call site. Clean up some style nits.
27986 (print_item): New function, broken out of ...
27987 (show_info): ... local function here. Clean up style nits.
27988
27989 * locale/programs/ld-ctype.c (set_one_default): New function, broken
27990 out of ...
27991 (set_class_defaults): ... local function set_default here.
27992 Define set_default as a macro locally to pass constant parameters.
27993 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
27994 rather than a shared local.
27995
27996 * stdlib/rpmatch.c (try): New function, broken out of ...
27997 (rpmatch): ... local function here. Also, prototypify definition.
27998
27999 2014-09-12 Joseph Myers <joseph@codesourcery.com>
28000
28001 * scripts/soversions.awk: Do not handle configuration names.
28002 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28003 vendor and os variables to soversions.awk.
28004 * configure.ac: Do not modify gnu-* host_os.
28005 * configure: Regenerated
28006 * shlib-versions: Remove first column with configuration names.
28007 * nptl/shlib-versions: Likewise.
28008 * nptl_db/shlib-versions: Likewise.
28009 * sysdeps/hppa/shlib-versions: Likewise.
28010 * sysdeps/m68k/shlib-versions: Likewise.
28011 * sysdeps/mach/hurd/shlib-versions: Likewise.
28012 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28013 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28014 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28015 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28016 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28017 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28018 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28019 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28021 Likewise.
28022 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28023 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28024 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28026 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28027 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28028 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28029 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28030
28031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28032 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28034 Regenerated.
28035 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28037 Condition symbol version definitions on [HAVE_ELFV2_ABI].
28038
28039 * shlib-versions: Remove OS-specific entries. Moved to files in
28040 sysdeps.
28041 * sysdeps/mach/hurd/shlib-versions: New file.
28042 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28043
28044 * nptl/shlib-versions: Remove architecture-specific entries.
28045 Moved to files in sysdeps.
28046 * shlib-versions: Likewise.
28047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28048 file.
28049 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28050 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28051 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28052 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28053
28054 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28055 (UDP_NO_CHECK6_RX): Likewise.
28056
28057 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28058
28059 * sysdeps/posix/sysconf.c (__sysconf): Spell
28060 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28061
28062 2014-08-12 Florian Weimer <fweimer@redhat.com>
28063
28064 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28065 loading.
28066 * iconv/Versions (__gconv_transliterate): Export for use from
28067 gconv modules.
28068 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28069 (struct __gconv_trans_data, __gconv_trans_fct,
28070 __gconv_trans_context_fct, __gconv_trans_query_fct,
28071 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28072 definitions.
28073 (struct __gconv_step_data): Remove __trans member.
28074 (__gconv_transliterate): Declaration moved from gconv_int.h. No
28075 longer hidden. Remove unused trans_data argument.
28076 * iconv/gconv_int.h (struct trans_struct): Remove definition.
28077 (__gconv_translit_find): Remove declaration.
28078 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
28079 prototype.
28080 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28081 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28082 trans_data argument. Add hidden definition.
28083 (__gconv_translit_find): Remove.
28084 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28085 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28086 * iconv/skeleton.c: Remove transliteration initialization.
28087 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28088 __gconv_step_data initialization.
28089 * libio/iofwide.c (__libio_translit_): Remove.
28090 (_IO_fwide): Adjust struct __gconv_step_data initialization.
28091 * wcsmbs/btowc.c (__btowc): Likewise.
28092 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28093 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28094 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28095 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28096 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28097 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28098 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28099 * wcsmbs/wctob.c (wctob): Likewise.
28100
28101 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28102
28103 [BZ #16194]
28104 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28105 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
28106 register usage.
28107 * sysdeps/x86/Makefile: Adjust.
28108
28109 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
28110 Roland McGrath <roland@hack.frob.com>
28111
28112 * locale/weight.h: Add include guard.
28113 (findidx): Make static rather than auto; take new parameters
28114 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28115 * locale/weightwc.h: Likewise.
28116 * posix/fnmatch_loop.c
28117 (FCT): Change type of EXTRA from int32_t to wint_t.
28118 Don't include either header inside the function.
28119 Call FINDIDX rather than findidx, and pass new arguments.
28120 #undef FINDIDX at the end of the file.
28121 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28122 FINDIDX before including fnmatch_loop.c for the non-wide version.
28123 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28124 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28125 for the wide version.
28126 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28127 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28128 Pass new arguments to findidx.
28129 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28130 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28131 Don't #include it inside the function. Pass new arguments to findidx.
28132 * posix/regex_internal.h
28133 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28134 (re_string_elem_size_at): Don't #include it inside the function.
28135 Pass new arguments to findidx.
28136 * string/strcoll_l.c: #include WEIGHT_H at top level.
28137 (get_next_seq): Don't #include it inside the function.
28138 Pass new arguments to findidx.
28139 (get_next_seq_nocache): Likewise.
28140 * string/strxfrm_l.c: #include WEIGHT_H at top level.
28141 (STRXFRM): Don't #include it inside the function.
28142 Pass new arguments to findidx.
28143
28144 2014-09-11 Florian Weimer <fweimer@redhat.com>
28145
28146 [BZ #17344]
28147 * malloc/malloc.c (unlink): Turn asserts into a call to
28148 malloc_printerr.
28149
28150 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
28151
28152 [BZ #17370]
28153 * libio/wfileops (do_ftell_wide): Free OUT.
28154
28155 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
28156
28157 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28158
28159 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28160
28161 [BZ #17363]
28162 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28163 group if the current group is empty.
28164
28165 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28166
28167 * benchtests/bench-memset.c (test_main): Add more test from size
28168 from 32 to 512 bytes.
28169 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28170 Add POWER8 memset object.
28171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28172 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28173 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28174 implementation.
28175 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28176 Likewise.
28177 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28178 multiarch POWER8 memset optimization.
28179 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28180 POWER8 memset optimization.
28181
28182 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28183 Remove bzero multiarch objects.
28184 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28185 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28187 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28188 Remove define.
28189 [__bzero]: Redefine to specific name.
28190 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28191 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28192 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28193 define.
28194 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28195 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28196
28197 2014-09-10 Florian Weimer <fweimer@redhat.com>
28198
28199 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28200 warnings into errors.
28201
28202 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28203 __cxa_thread_atexit_impl prototype.
28204
28205 2014-09-09 Steve Ellcey <sellcey@mips.com>
28206
28207 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28208 Fix capitalization of error message.
28209
28210 2014-09-09 Steve Ellcey <sellcey@mips.com>
28211
28212 * sysdeps/mips/preconfigure: Modify ABI tests.
28213
28214 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
28215
28216 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28217
28218 2014-09-07 Roland McGrath <roland@hack.frob.com>
28219 Carlos O'Donell <carlos@systemhalted.org>
28220
28221 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28222 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28223 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28224 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28225 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28226 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28227 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28228 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28229 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28230 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28231 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28232 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28233 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28234 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28235 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28236 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28237 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28238 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28239 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28240 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28241 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28242 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28243 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28244 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28245 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28246 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28247 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28248 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28249 Deconditionalize the code that was previously under [RESET_PID].
28250 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28251 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28252 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28253 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28254 include sysdep.h.
28255
28256 2014-09-08 Allan McRae <allan@archlinux.org>
28257
28258 * version.h (RELEASE): Set to "development".
28259 (VERSION): Set to "2.20.90"
28260
28261 2014-09-07 Allan McRae <allan@archlinux.org
28262
28263 * version.h (RELEASE): Set to "stable".
28264 (VERSION): Set to "2.20"
28265 * include/features.h (__GLIBC_MINOR__): Set to 20.
28266
28267 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28268 Liebler.
28269
28270 * po/ko.po: Update Korean translation from translation project.
28271
28272 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
28273
28274 [BZ #17354]
28275 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28276 macro for handling signed relocations.
28277
28278 2014-09-03 Florian Weimer <fweimer@redhat.com>
28279
28280 [BZ #17325]
28281 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28282 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28283 assert.
28284 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28285 * iconvdata/ibm935.c (BODY): Likewise.
28286 * iconvdata/ibm937.c (BODY): Likewise.
28287 * iconvdata/ibm939.c (BODY): Likewise.
28288 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28289 assert.
28290 * iconvdata/Makefile (iconv-test.out): Pass module list to test
28291 script.
28292 * iconvdata/run-iconv-test.sh: New test loop for checking for
28293 decoder crashers.
28294
28295 2014-09-02 Khem Raj <raj.khem@gmail.com>
28296
28297 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28298 libm_hidden_ver.
28299
28300 2014-09-01 Allan McRae <allan@archlinux.org>
28301
28302 * po/eo.po: Update Esperanto translation from translation project.
28303
28304 * po/ca.po: Update Catalan translation from translation project.
28305
28306 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
28307
28308 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28309 __proc_dostop call.
28310
28311 2014-08-27 Mark Wielaard <mjw@redhat.com>
28312
28313 [BZ #17319]
28314 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28315 to call set_thread_area instead of hand written asm.
28316 (__NR_set_thread_area): Removed define.
28317 (TLS_FLAG_WRITABLE): Likewise.
28318 (__ASSUME_SET_THREAD_AREA): Remove check.
28319 (TLS_EBX_ARG): Remove define.
28320 (TLS_LOAD_EBX): Likewise.
28321
28322 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
28323
28324 Simplify atomicity of socket creation in bind.
28325
28326 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28327 looking up the name after linking the file.
28328
28329 2014-08-27 Allan McRae <allan@archlinux.org>
28330
28331 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28332
28333 2014-08-26 Florian Weimer <fweimer@redhat.com>
28334
28335 [BZ #17187]
28336 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28337 trans_compare, open_translit, __gconv_translit_find):
28338 Remove module loading code.
28339
28340 2014-08-26 Allan McRae <allan@archlinux.org>
28341
28342 * po/vi.po: Update Vietnamese translation from translation project.
28343
28344 * po/uk.po: Update Ukrainian translation from translation project.
28345
28346 * po/fr.po: Update French translation from translation project.
28347
28348 * po/ru.po: Update Russian translation from translation project.
28349
28350 * po/pl.po: Update Polish translation from translation project.
28351
28352 * po/cs.po: Update Czech translation from translation project.
28353
28354 * po/de.po: Update German translation from translation project.
28355
28356 * po/bg.po: Update Bulgarian translation from translation project.
28357
28358 * po/sv.po: Update Sweedish translation from translation project.
28359
28360 * po/nl.po: Update Dutch translation from translation project.
28361
28362 * po/es.po: Update Spanish translation from translation project.
28363
28364 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28365
28366 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28367
28368 * catgets/Makefile (CPPFLAGS-gencat): Remove.
28369 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28370 (CPPFLAGS-iconvconfig): Likewise.
28371 * timezone/Makefile (CPPFLAGS-zic): Likewise.
28372
28373 * include/libc-symbols.h: Remove unnecessary check for
28374 NOT_IN_libc.
28375 * nptl/pthreadP.h: Likewise.
28376 * sysdeps/aarch64/setjmp.S: Likewise.
28377 * sysdeps/alpha/setjmp.S: Likewise.
28378 * sysdeps/arm/sysdep.h: Likewise.
28379 * sysdeps/i386/setjmp.S: Likewise.
28380 * sysdeps/m68k/setjmp.c: Likewise.
28381 * sysdeps/posix/getcwd.c: Likewise.
28382 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28383 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28384 * sysdeps/s390/s390-32/setjmp.S: Likewise.
28385 * sysdeps/s390/s390-64/setjmp.S: Likewise.
28386 * sysdeps/sh/sh3/setjmp.S: Likewise.
28387 * sysdeps/sh/sh4/setjmp.S: Likewise.
28388 * sysdeps/unix/alpha/sysdep.h: Likewise.
28389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28390 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28391 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28392 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28395 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28396 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28399 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28400 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28402 * sysdeps/x86_64/setjmp.S: Likewise.
28403
28404 2014-08-13 Joseph Myers <joseph@codesourcery.com>
28405
28406 [BZ #17263]
28407 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28408 <stdint.h>.
28409 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28410 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28411
28412 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28413
28414 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28415
28416 [BZ #17262]
28417 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28418 and __x86_64__ when disabling x87 inline functions.
28419
28420 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
28421
28422 [BZ #17259]
28423 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28424 asm statement with __cpuid_count.
28425
28426 2014-08-12 Mike Frysinger <vapier@gentoo.org>
28427
28428 * configure.ac: Change __ehdr_start code to dereference the struct.
28429 Run readelf on the output to look for relocations.
28430 * configure: Regenerated.
28431
28432 2014-08-12 Joseph Myers <joseph@codesourcery.com>
28433
28434 [BZ #17261]
28435 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28436 value to 0.
28437 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28438
28439 2014-08-12 Roland McGrath <roland@hack.frob.com>
28440
28441 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28442
28443 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
28444
28445 [BZ #16892]
28446 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
28447 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
28448
28449 2014-08-12 Sean Anderson <seanga2@gmail.com>
28450
28451 * malloc/malloc.c: Fix typo in comment.
28452
28453 2014-08-09 Allan McRae <allan@archlinux.org>
28454
28455 * Regenerate libc.po.
28456
28457 2014-08-08 Mike Frysinger <vapier@gentoo.org>
28458
28459 * intl/tst-gettext2.sh: Check every lang file for creation.
28460
28461 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28462
28463 * sysdeps/aarch64/fpu/math_private.h
28464 (libc_feholdsetround_noex_aarch64_ctx): New function.
28465
28466 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
28467
28468 * sysdeps/arm/armv6/strcpy.S (strcpy):
28469 Fix performance issue in misaligned cases.
28470
28471 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28472
28473 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
28474 Move definition from termios.h.
28475 (struct termio): Likewise.
28476 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28477 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28478 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28479 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28480 Likewise.
28481 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
28482 Move definition to ioctl-types.h
28483 (struct termio): Likewise.
28484 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28485 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
28486 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
28487 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
28488 Likewise.
28489
28490 2014-08-05 Richard Henderson <rth@redhat.com>
28491
28492 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
28493 exceptions.
28494 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
28495 Add fraiseexcpt.
28496 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
28497 Use __feraiseexcept.
28498 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
28499 Protect libm symbols with IS_IN_libm.
28500
28501 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
28502
28503 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
28504
28505 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
28506
28507 2014-08-04 Will Newton <will.newton@linaro.org>
28508
28509 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
28510 file.
28511
28512 2014-08-04 Mike Frysinger <vapier@gentoo.org>
28513
28514 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
28515 variants for each function.
28516
28517 2014-08-04 Roland McGrath <roland@hack.frob.com>
28518
28519 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
28520 appended ...
28521 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
28522 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
28523 appended ...
28524 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
28525 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
28526 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
28527 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
28528 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
28529 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
28530 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
28531 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
28532 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
28533 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
28534 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
28535 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
28536 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
28537 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
28538 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
28539 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
28540 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
28541 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
28542 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
28543 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
28544 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
28545 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
28546 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
28547 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
28548 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
28549 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
28550 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
28551 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
28552 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
28553 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
28554 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
28555 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
28556 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
28557 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
28558 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
28559 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
28560 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
28561 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
28562 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
28563 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
28564 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
28565 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
28566 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
28567 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
28568 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
28569 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
28570 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
28571 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
28572 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
28573 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
28574 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
28575 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
28576 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
28577 Update #include.
28578 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
28579 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
28580
28581 2014-08-04 Roland McGrath <roland@hack.frob.com>
28582
28583 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
28584 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
28585 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
28586 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
28587 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
28588 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
28589
28590 2014-08-04 Roland McGrath <roland@hack.frob.com>
28591
28592 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
28593 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
28594 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
28595 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
28596
28597 2014-08-04 Roland McGrath <roland@hack.frob.com>
28598
28599 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
28600 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
28601 (__libc_vfork): Define function under this name.
28602 (__vfork): Define as an alias.
28603 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
28604 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
28605
28606 2014-08-04 Roland McGrath <roland@hack.frob.com>
28607
28608 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
28609 that was previously under [RESET_PID].
28610 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
28611
28612 2014-08-04 Andreas Schwab <schwab@suse.de>
28613
28614 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
28615
28616 2014-08-03 Mike Frysinger <vapier@gentoo.org>
28617
28618 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
28619 (main): Likewise.
28620
28621 2014-08-01 Roland McGrath <roland@hack.frob.com>
28622
28623 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
28624
28625 2014-08-01 Richard Henderon <rth@redhat.com>
28626
28627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
28628 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
28629 typo in exact zero test.
28630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28631 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28632 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28633
28634 2014-08-01 Roland McGrath <roland@hack.frob.com>
28635
28636 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
28637 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
28638 * sysdeps/arm/sysdep.h: ... here.
28639 [!__ASSEMBLER__]: Include <stdint.h>.
28640
28641 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28642
28643 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
28644 (HAVE_WCTYPE_H): Likewise.
28645 (HAVE_ISWCTYPE): Likewise.
28646 (ENABLE_NLS): Likewise.
28647 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
28648 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
28649
28650 * posix/regex_internal.c: Check if DEBUG is defined and is
28651 set.
28652
28653 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
28654 (HAVE_MBSRTOWCS): Likewise.
28655 * posix/fnmatch.c: Include string.h unconditionally.
28656
28657 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
28658
28659 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
28660 reversal.
28661
28662 2014-07-31 Roland McGrath <roland@hack.frob.com>
28663
28664 * sysdeps/generic/safe-fatal.h: New file.
28665 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
28666 * nptl/forward.c: Include it.
28667 (__pthread_unwind): Use __safe_fatal as default action, rather
28668 than a bogus use of INTERNAL_SYSCALL that could never work.
28669
28670 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
28671 * configure.ac (libc_cv_builtin_trap): New test.
28672 * configure: Regenerated.
28673 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
28674 (ABORT_INSTRUCTION): Define using __builtin_trap.
28675
28676 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
28677 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
28678 * sysdeps/nptl/nptl-signals.h: New file.
28679 * nptl/pthreadP.h: Include <nptl-signals.h>.
28680
28681 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28682
28683 * sysdeps/s390/s390-64/utf16-utf32-z9.c
28684 (ONE_DIRECTION): Define.
28685 * sysdeps/s390/s390-64/utf8-utf16-z9.c
28686 (ONE_DIRECTION): Define.
28687 * sysdeps/s390/s390-64/utf8-utf32-z9.c
28688 (ONE_DIRECTION): Define.
28689
28690 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
28691
28692 * sysdeps/s390/Makefile: Delete file.
28693 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
28694 * sysdeps/s390/__longjmp.c: Delete file.
28695 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
28696 Remove fields __flags and __reserved.
28697 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
28698 and add versioning.
28699 * sysdeps/s390/rtld-__longjmp.c: Delete file.
28700 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
28701 * sysdeps/s390/rtld-setjmp.S: Likewise.
28702 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
28703 * sysdeps/s390/s390-32/__longjmp.c: ... here.
28704 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
28705 * sysdeps/s390/s390-32/setjmp.S: ... here.
28706 Add versioning.
28707 (__sigsetjmp): Remove setting __flags field.
28708 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
28709 * sysdeps/s390/s390-64/__longjmp.c: ... here.
28710 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
28711 * sysdeps/s390/s390-64/setjmp.S: ... here.
28712 Add versioning.
28713 (__sigsetjmp): Remove setting __flags field.
28714 * sysdeps/s390/setjmp.S: Delete file.
28715 * sysdeps/s390/sigjmp.c: Likewise.
28716 * sysdeps/s390/v1-longjmp.c: Likewise.
28717 * sysdeps/s390/v1-setjmp.h: Likewise.
28718 * sysdeps/s390/v1-sigjmp.c: Likewise.
28719 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
28720 Remove v1-longjmp_chk.
28721 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
28722 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
28723 Include debug/longjmp_chk.c and add versioning.
28724 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
28725 Include nptl/pt-longjmp.c and add versioning.
28726 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
28727 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
28728 Include __longjmp.c.
28729 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28730 Move to ...
28731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
28732 (__getcontext): Remove setting __flags field.
28733 Add versioning.
28734 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28735 Don't restore upper high grps.
28736 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
28737 Likewise.
28738 (__swapcontext): Remove setting uc_flags field.
28739 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
28740 Delete file.
28741 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28742 Include __longjmp.c.
28743 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28744 Move to ...
28745 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
28746 (__getcontext): Remove setting __flags field.
28747 Add versioning.
28748 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
28749 (__swapcontext): Remove setting uc_flags field.
28750 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
28751 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
28752 Remove fields uc_high_gprs and __reserved.
28753 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
28754 New file with reverted content.
28755 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
28756 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
28757 Regenerated.
28758 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
28759 Regenerated.
28760
28761 2014-07-31 Andreas Schwab <schwab@suse.de>
28762
28763 * config.h.in (HAVE_IFUNC): Define to 0.
28764 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
28765 definedness.
28766
28767 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
28768
28769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28770 memmove-avx-unaligned, memcpy-avx-unaligned and
28771 mempcpy-avx-unaligned.
28772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28773 Add tests for AVX memcpy functions.
28774 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
28775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
28776 memcpy_chk.
28777 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
28778 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
28779 memmove_chk.
28780 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
28781 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
28782 mempcpy_chk.
28783 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
28784 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
28785 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
28786
28787 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28788
28789 [BZ #17213]
28790 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
28791 powerpc64le.
28792
28793 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
28794
28795 [BZ #16839]
28796 * manual/llio.texi: Add section about open file description locks.
28797 * manual/examples/ofdlocks.c: Example of open file description
28798 lock usage.
28799 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
28800 F_OFD_SETLK, and F_OFD_SETLKW.
28801
28802 2014-07-23 Allan McRae <allan@archlinux.org>
28803
28804 * po/es.po: Update Spanish translation from translation project.
28805
28806 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
28807
28808 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
28809
28810 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
28811
28812 [BZ #17078]
28813 * sysdeps/arm/dl-machine.h (elf_machine_rela)
28814 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
28815 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
28816
28817 2014-07-17 Joseph Myers <joseph@codesourcery.com>
28818
28819 [BZ #17088]
28820 * math/fesetenv.c (__fesetenv)
28821 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
28822 * math/feupdateenv.c (__feupdateenv)
28823 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
28824
28825 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
28826 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
28827 (__ASSUME_SOCKETCALL): Do not define.
28828
28829 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
28830 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
28831 (__ASSUME_SOCKETCALL): Do not define.
28832 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
28833 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28834 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28835 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
28836 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28837 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
28838 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28839 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28840
28841 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
28842 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
28843 (__ASSUME_SOCKETCALL): Do not define.
28844 (__ASSUME_IPC64): Define unconditionally.
28845 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28846 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28847 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
28848 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28849 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
28850 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28851 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
28852 Likewise.
28853
28854 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
28855 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
28856 (__ASSUME_SOCKETCALL): Do not define.
28857 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
28858 (__ASSUME_FUTEX_LOCK_PI): Likewise.
28859 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28860 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
28861 (__ASSUME_REQUEUE_PI): Define unconditionally.
28862 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
28863 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
28864 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28865 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
28866 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28867 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28868
28869 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
28870 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
28871 (__ASSUME_SOCKETCALL): Do not define.
28872 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
28873 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28874 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28875 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
28876 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28877 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
28878
28879 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
28880 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
28881 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
28882 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
28883 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
28884 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
28885 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
28886 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
28887 (__ASSUME_GETCPU_SYSCALL): Likewise.
28888
28889 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
28890 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
28891 cases for individual architectures.
28892 * sysdeps/gnu/configure: Regenerated.
28893 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
28894 LIBC_SLIBDIR_RTLDDIR.
28895 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
28896 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
28897 LIBC_SLIBDIR_RTLDDIR.
28898 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
28900 LIBC_SLIBDIR_RTLDDIR.
28901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28902 Regenerated.
28903 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
28904 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
28905 file.
28906 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
28907 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
28908 file.
28909 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
28910 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
28911 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
28912 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
28913
28914 * sysdeps/aarch64/shlib-versions: Move to ...
28915 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
28916 * sysdeps/alpha/shlib-versions: Move to ...
28917 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
28918 * sysdeps/arm/shlib-versions: Move to ...
28919 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
28920 * sysdeps/hppa/shlib-versions: Move all contents except for
28921 libgcc_s entry to ...
28922 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
28923 entry from ...
28924 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
28925 * sysdeps/ia64/shlib-versions: Move to ...
28926 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
28927 entry from ...
28928 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
28929 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
28930 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
28931 * sysdeps/microblaze/shlib-versions: Move to ...
28932 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
28933 * sysdeps/mips/shlib-versions: Move to ...
28934 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
28935 entry from ...
28936 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
28937 * sysdeps/tile/shlib-versions: Move to ...
28938 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
28939 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
28940 from ...
28941 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
28942 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
28943 entry from ...
28944 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
28945
28946 2014-07-17 Will Newton <will.newton@linaro.org>
28947
28948 * sysdeps/arm/bits/atomic.h
28949 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
28950 (__arch_compare_and_exchange_bool_16_int): Likewise.
28951 (__arch_compare_and_exchange_bool_64_int): Likewise.
28952
28953 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
28954 into an #else block.
28955
28956 2014-07-16 Roland McGrath <roland@hack.frob.com>
28957
28958 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
28959 just Linux configurations. Test empirically that the compiler sets
28960 __ARM_EABI__, rather than using the tuple to decide.
28961 * sysdeps/arm/preconfigure: Regenerated.
28962 * sysdeps/unix/sysv/linux/arm/configure: File removed.
28963 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
28964 contents appended ...
28965 * sysdeps/arm/configure.ac: ... here.
28966 * sysdeps/arm/configure: Regenerated.
28967
28968 2014-07-15 Roland McGrath <roland@hack.frob.com>
28969
28970 * nptl/pthread_kill.c: New file.
28971 * nptl/pthread_sigmask.c: New file.
28972 * nptl/pthread_sigqueue.c: New file.
28973
28974 * sysdeps/nptl/lowlevellock.h: New file.
28975 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
28976 * sysdeps/nptl/lowlevellock-futex.h: New file.
28977
28978 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
28979 Remove dead declarations.
28980
28981 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
28984 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
28985 config-cflags-avx2.
28986 * sysdeps/x86_64/configure.ac: Likewise.
28987 * sysdeps/i386/configure: Regenerated.
28988 * sysdeps/x86_64/configure: Likewise.
28989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28990 memset-avx2 only if config-cflags-avx2 is yes.
28991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28992 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
28993 defined.
28994 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
28995 only if HAVE_AVX2_SUPPORT is defined.
28996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28997
28998 2014-07-14 Alan Modra <amodra@gmail.com>
28999
29000 [BZ #17153]
29001 * elf/elf.h (DT_PPC64_NUM): Correct value.
29002 * NEWS: Add to fixed bug list.
29003
29004 2014-07-13 Jim Meyering <meyering@fb.com>
29005
29006 [BZ 17150]
29007 regex: don't deref NULL upon heap allocation failure
29008 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29009 failure in one more place.
29010 To trigger the segfault, configure grep -with-included-regex,
29011 build it, and run these commands:
29012 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29013
29014 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
29015
29016 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29017
29018 2014-07-11 Richard Henderson <rth@redhat.com>
29019
29020 * sysdeps/aarch64/libm-test-ulps: Update.
29021
29022 2014-07-10 Florian Weimer <fweimer@redhat.com>
29023
29024 [BZ #17135]
29025 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29026 * nptl/allocatestack.c (__nptl_setxid_error): New function.
29027 (__nptl_setxid): Initialize error member. Call
29028 __nptl_setxid_error.
29029 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29030 * nptl/descr.h (struct xid_command): Add error member.
29031 * nptl/tst-setuid3.c: New file.
29032 * nptl/Makefile (tests): Add it.
29033
29034 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29035
29036 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29037 New define.
29038 (__lll_trylock): Use __lll_base_trylock.
29039 (__lll_cond_trylock): Likewise.
29040
29041 2014-07-10 Roland McGrath <roland@hack.frob.com>
29042
29043 * nptl/pthread_create.c (start_thread): Use atomic_or and
29044 lll_futex_wake directly rather than lll_robust_dead.
29045 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29046 (lll_robust_dead): Macro removed.
29047 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29048 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29049 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29050 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29051 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29052 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29053 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29054 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29055 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29056 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29057 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29058 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29059 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29060 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29062
29063 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29064 Use atomic_compare_and_exchange_val_acq directly rather than
29065 lll_robust_trylock.
29066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29067 (__lll_robust_trylock, lll_robust_trylock): Removed.
29068 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29069 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29070 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29072 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29073 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29074 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29075 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29076 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29077 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29079 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29080 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29081 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29082
29083 2014-07-02 Florian Weimer <fweimer@redhat.com>
29084
29085 * manual/locale.texi (Locale Names): New section documenting
29086 locale name syntax. Adjust menu and node chaining accordingly.
29087 (Choosing Locale): Reference Locale Names, Locale Categories.
29088 Mention setting LC_ALL=C. Reflect that name syntax is now
29089 documented.
29090 (Locale Categories): New section title. Reference Locale Names.
29091 LC_ALL is an environment variable, but not a category.
29092 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29093 description, now in Locale Name. Reference that section. Locale
29094 name syntax is now documented.
29095
29096 2014-07-02 Florian Weimer <fweimer@redhat.com>
29097
29098 [BZ #17137]
29099 * locale/findlocale.c (name_present, valid_locale_name): New
29100 functions.
29101 (_nl_find_locale): Use the loc_name variable to store name
29102 candidates. Call name_present and valid_locale_name to check and
29103 validate locale names. Return an error if the locale is invalid.
29104
29105 2014-07-02 Florian Weimer <fweimer@redhat.com>
29106
29107 * locale/setlocale.c (setlocale): Use strdup for allocating
29108 composite name copy.
29109
29110 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29111
29112 Sync up with gnulib.
29113 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29114 [!_LIBC && ENABLE_NLS]: Include gettext.h.
29115 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29116 and _GL_ARG_NONNULL.
29117 [USE_UNLOCKED_IO]: Include unlocked-io.h.
29118 [!_LIBC]: Include code for Windows and Cygwin.
29119 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29120 Include prototype for int strerror_r.
29121 [!_LIBC] (is_open): New function.
29122 (flush_stdout): New function.
29123 (print_errno_message): Use it.
29124 (error): Likewise.
29125 (error_at_line): Likewise.
29126 (error_tail) Add function attribute macros. Use
29127 __builtin_expect.
29128
29129 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29130
29131 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29132
29133 * io/ftw.c: Include sys/param.h unconditionally.
29134
29135 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29136
29137 [BZ #17125]
29138 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29139 libc_freeres_ptr.
29140 (freecache): New function to free CACHE on exit.
29141
29142 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29143 initialization.
29144
29145 2014-07-09 David S. Miller <davem@davemloft.net>
29146
29147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29148
29149 * sysdeps/sparc/nptl/internaltypes.h: Delete.
29150 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29151 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29152 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29153 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29154 * sysdeps/sparc/nptl/sem_init.c: Likewise.
29155 * sysdeps/sparc/nptl/sem_post.c: Likewise.
29156 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29157 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29158 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29159 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29160 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29161 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29162
29163 2014-07-09 Andreas Schwab <schwab@suse.de>
29164
29165 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29166 output.
29167 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29168 (do_test): Likewise.
29169
29170 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29171
29172 2014-07-09 Will Newton <will.newton@linaro.org>
29173
29174 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29175 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29176 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29177 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29178 * sysdeps/hppa/start.S (_start): Likewise.
29179
29180 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
29181
29182 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29183
29184 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29185 defined.
29186
29187 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29188
29189 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29190 after checking that it is non-NULL.
29191
29192 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29193
29194 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29195
29196 * sysdeps/powerpc/memmove.c: Remove file.
29197 * sysdeps/powerpc/powerpc32/power4/memcopy.h
29198 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29199 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29200 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29201 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29202 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29203 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29204 string memmove instead of removed powerpc one.
29205
29206 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29207 [weak_alias]: Fix compiler warning due trailing data.
29208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29209 [weak_alias]: Likewise.
29210 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29211 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29212
29213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29214 (__libc_ifunc_impl_list): Add memmove functions.
29215
29216 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
29218 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29219 Remove code.
29220 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29221 Likewise.
29222 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29223 Likewise.
29224 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29225 Likewise.
29226 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29227 Likewise.
29228 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29229 Likewise.
29230 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29231 Likewise.
29232 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29233 Likewise.
29234 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29235 Likewise.
29236 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29237 Likewise.
29238 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29239 Likewise.
29240 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29241 Likewise.
29242 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29243 Likewise.
29244 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29245 Likewise.
29246 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29247 Likewise.
29248 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29249 Likewise.
29250 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29251 Likewise.
29252
29253 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29254
29255 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29256 to avoid alignment traps in non-cacheable memory.
29257 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29258
29259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29260 multiarch objects.
29261 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29262 file: multiarch power7 memmove.
29263 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29264 multiarch default memmove.
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29266 multiarch memove for powerpc32/power4.
29267
29268 * string/bcopy.c: Use full path to include memmove.c.
29269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29270 multiarch objects.
29271 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29272 bcopy for powerpc64.
29273 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29274 bcopy for powerpc64.
29275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29276 and memmove implementations.
29277 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29278 optimized multiarch memmove for POWER7/powerpc64.
29279 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29280 default multiarch memmove for powerpc64.
29281 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29282 multiarch for powerpc64.
29283 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29284 for POWER7/powerpc64.
29285 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29286 memmove for POWER7/powerpc64.
29287
29288 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29289 glibc default one.
29290
29291 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29292 __ELF_NATIVE_CLASS equal to 64.
29293
29294 2014-07-07 Roland McGrath <roland@hack.frob.com>
29295
29296 * sysdeps/nptl/lowlevellock.h: File removed.
29297
29298 * NEWS: NPTL is no longer an add-on!
29299 * nptl/internaltypes.h: Moved ...
29300 * sysdeps/nptl/internaltypes.h: ... here.
29301 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29302 * sysdeps/nptl/fork.c: Likewise.
29303 * sysdeps/nptl/gai_misc.h: Likewise.
29304 * sysdeps/nptl/librt-cancellation.c: Likewise.
29305 * sysdeps/nptl/jmp-unwind.c: Likewise.
29306 * sysdeps/nptl/setxid.h: Likewise.
29307 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29308 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29309 * sysdeps/unix/sysv/linux/arm/Implies: New file.
29310 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29311 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29312 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29313 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29314 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29315 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29316 * sysdeps/unix/sysv/linux/mips/Implies: New file.
29317 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29318 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29319 * sysdeps/unix/sysv/linux/sh/Implies: New file.
29320 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29321 * sysdeps/unix/sysv/linux/tile/Implies: New file.
29322 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29323 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29324 * nptl/Makeconfig: Moved ...
29325 * sysdeps/nptl/Makeconfig: ... here.
29326 * nptl/configure: File removed.
29327 * nptl/ANNOUNCE: File removed.
29328 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29329 * sysdeps/unix/sysv/linux/configure: Regenerated.
29330
29331 * nptl/Makefile (routines): Add libc_pthread_init,
29332 libc_multiple_threads, register-atfork and unregister-atfork.
29333 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29334 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29335 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29336 pthread-pi-defines.sym, structsem.sym.
29337 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29338 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29339 [$(subdir) = nptl] (tests): Add tst-setgetname.
29340 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29341 * sysdeps/unix/sysv/linux/sigaction.c: Just include
29342 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29343 [!LIBC_SIGACTION]: Remove aliases.
29344 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29345 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29346 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29347 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29348 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29349 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29350 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29351 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29352 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29353 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29354 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29355 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29356 __libc_allocate_rtsig_private.
29357 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29358 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29359 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29360 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29361 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29362 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29363 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29364 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29365 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29366 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29367 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29368 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29369 * nptl/internaltypes.h: ... here.
29370 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29371 * sysdeps/nptl/jmp-unwind.c: ... here.
29372 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29373 * nptl/libc-lowlevellock.c: ... here.
29374 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29375 * nptl/libc_multiple_threads.c: ... here.
29376 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29377 * nptl/libc_pthread_init.c: ... here.
29378 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29379 * nptl/lowlevelbarrier.sym: ... here.
29380 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29381 * nptl/lowlevelcond.sym: ... here.
29382 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29383 * nptl/lowlevellock.c: ... here.
29384 * nptl/lowlevellock.h: Moved ...
29385 * sysdeps/nptl/lowlevellock.h: ... here.
29386 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29387 * nptl/lowlevelrobustlock.c: ... here.
29388 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29389 * nptl/lowlevelrobustlock.sym: ... here.
29390 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29391 * nptl/lowlevelrwlock.sym: ... here.
29392 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29393 * nptl/pt-fork.c: ... here.
29394 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29395 * nptl/pthread-pi-defines.sym: ... here.
29396 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29397 * nptl/pthread_attr_getaffinity.c: ... here.
29398 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29399 * nptl/pthread_attr_setaffinity.c: ... here.
29400 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29401 * nptl/pthread_mutex_cond_lock.c: ... here.
29402 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29403 Update #include.
29404 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29405 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29406 * nptl/pthread_once.c: ... here, replacing old file.
29407 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29408 * nptl/pthread_yield.c: ... here.
29409 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29410 * nptl/register-atfork.c: ... here.
29411 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29412 * nptl/sem_post.c: ... here.
29413 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29414 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29415 * nptl/sem_timedwait.c: ... here.
29416 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29417 * nptl/sem_trywait.c: ... here.
29418 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29419 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29420 * nptl/sem_wait.c: ... here.
29421 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29422 * nptl/structsem.sym: ... here.
29423 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29424 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29425 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29426 * nptl/unregister-atfork.c: ... here.
29427 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29428 * nptl/unwindbuf.sym: ... here.
29429 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29430 * sysdeps/nptl/fork.c: ... here.
29431 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29432 * sysdeps/nptl/fork.h: ... here.
29433 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29434 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29435 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29436 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29437 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29438 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29439 * sysdeps/unix/sysv/linux/getpid.c: ... here.
29440 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29441 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29442 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29443 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
29444 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
29445 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
29446 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
29447 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
29448 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
29449 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
29450 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
29451 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
29452 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
29453 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
29454 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
29455 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
29456 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
29457 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
29458 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
29459 * sysdeps/unix/sysv/linux/raise.c: ... here.
29460 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
29461 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
29462 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
29463 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
29464 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
29465 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
29466 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
29467 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
29468 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
29469 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
29470 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
29471 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
29472 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
29473 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
29474 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
29475
29476 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29477
29478 * sysdeps/generic/memcopy.h: Add comment for
29479 MEMCPY_OK_FOR_FWD_MEMMOVE.
29480
29481 2014-07-04 Will Newton <will.newton@linaro.org>
29482
29483 * string/memchr.c: Merge from gnulib.
29484 [_LIBC]: Remove conditionals.
29485 (__ptr_t): Remove define.
29486 (LONG_MAX_32_BITS): Likewise.
29487 (LONG_MAX): Likewise.
29488 (MEMCHR): Use ANSI prototype and optimize algorithm.
29489
29490 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
29491
29492 2014-07-03 Roland McGrath <roland@hack.frob.com>
29493
29494 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
29495 (lll_futex_timed_wait_bitset): Fix syscall argument count.
29496
29497 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
29498 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
29499 in a bare environment with no <stdlib.h> installed.
29500 * sysdeps/nptl/configure: Regenerated.
29501
29502 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
29503
29504 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
29505 AC_EGREP_CPP for kernel header checks, so they only succeed if
29506 including <linux/version.h> actually works right.
29507 * sysdeps/unix/sysv/linux/configure: Regenerated.
29508
29509 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
29510 value so it's not diagnosed as unused.
29511
29512 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
29513 thing) with "ifeq ($(subdir),rt)".
29514
29515 2014-07-03 Richard Henderson <rth@redhat.com>
29516
29517 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
29518 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
29519 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
29520
29521 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
29522 (math_force_eval): New.
29523
29524 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
29525 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
29526
29527 * sysdeps/alpha/fpu/s_round.c: Remove file.
29528 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
29529
29530 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
29531 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
29532 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
29533 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
29534 (_dl_start, print_statistics): Likewise.
29535 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
29536 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
29537
29538 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29539 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29540 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29541 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29543 (HP_SMALL_TIMING_AVAIL): Define.
29544 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29545 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29546 (HP_SMALL_TIMING_AVAIL): Define.
29547 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29548 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
29549
29550 * sysdeps/aarch64/hp-timing.h: New file.
29551
29552 * sysdeps/generic/hp-timing.h: Remove dead comment.
29553 * sysdeps/generic/hp-timing-common.h: New file.
29554 * sysdeps/alpha/hp-timing.h: Include it.
29555 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
29556 * sysdeps/i386/i686/hp-timing.h: Likewise.
29557 * sysdeps/ia64/hp-timing.h: Likewise.
29558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29559 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29560 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29561 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29562 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
29563 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
29564 (hp_timing_t): New.
29565
29566 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
29567 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
29568 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
29569 * elf/rtld.c (_dl_start_final): Likewise.
29570 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
29571 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29572 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29573 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29574 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29575 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29576 (HP_TIMING_DIFF_INIT): Remove.
29577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
29579 (HP_TIMING_DIFF_INIT): Remove.
29580 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
29581 * sysdeps/i386/i686/hp-timing.c: Remove file.
29582 * sysdeps/x86_64/hp-timing.c: Remove file.
29583 * sysdeps/ia64/hp-timing.c: Remove file.
29584 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
29585 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
29586 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
29587 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
29588
29589 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
29590 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
29591 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
29592 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29593 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
29594 (HP_TIMING_ACCUM): Remove.
29595 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
29597 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
29598
29599 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
29600 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
29601 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
29602 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
29603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
29604 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29605 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
29606 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
29607
29608 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
29609
29610 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
29611
29612 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
29613
29614 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29615
29616 Sync up with gettext.
29617 * intl/loadmsgcat.c: Define O_BINARY if not defined.
29618 [_MSC_VER]: Include malloc.h
29619 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
29620 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
29621 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
29622 TEMP_FAILURE_RETRY. Cast return of alloca.
29623 [!_LIBC] Call gl_rwlock_init.
29624 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
29625
29626 2014-07-02 Roland McGrath <roland@hack.frob.com>
29627
29628 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
29629 before checking its value.
29630
29631 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29632
29633 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
29634
29635 * debug/memcpy_chk.c: Don't include pagecopy.h.
29636 * debug/mempcpy_chk.c: Likewise.
29637 * string/memcpy.c: Likewise.
29638 * string/memmove.c: Likewise.
29639 * sysdeps/powerpc/memmove.c: Likewise.
29640 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
29641 definition of PAGE_COPY_FWD_MAYBE here...
29642 * sysdeps/generic/pagecopy.h: ... from here.
29643 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
29644
29645 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
29646 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29647
29648 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
29649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
29650 optimizations.
29651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29652 (__libc_ifunc_impl_list): Likewise.
29653 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
29654 multiarch strcat for PPC64.
29655 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
29656 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
29657
29658 2014-07-02 Roland McGrath <roland@hack.frob.com>
29659
29660 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
29661
29662 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29663
29664 * intl/loadmsgcat.c: Remove declaration of
29665 get_sysdep_segment_value.
29666 (get_sysdep_segment_value): Use ISO C style.
29667 (_nl_load_domain): Use ISO C style. Get rid of redundant
29668 semicolon. Fix typo and formatting in comment.
29669 (_nl_unload_domain): Use ISO C style.
29670
29671 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29672
29673 2014-07-02 Will Newton <will.newton@linaro.org>
29674
29675 * malloc/obstack.c: Merge from gnulib master.
29676 [HAVE_CONFIG_H]: Remove conditional code.
29677 [!_LIBC]: Include config.h.
29678 [!ELIDE_CODE]: Don't include inttypes.h, include
29679 stdint.h unconditionally.
29680 (print_and_abort): Mark as _Noreturn.
29681 (_obstack_allocated_p): Mark as __attribute_pure__.
29682 (obstack_free): Rename to __obstack_free.
29683 [!__attribute__]: Remove conditional code.
29684 * malloc/obstack.h: Merge from gnulib master.
29685 [__cplusplus]: Move conditional down.
29686 [!__attribute_pure__]: Define __attribute_pure__ here
29687 if it is not already defined.
29688 (_obstack_memory_used): Mark as __attribute_pure__.
29689 [!__obstack_free]: Define as obstack_free.
29690 [__GNUC__]: Remove check for ancient NeXT gcc.
29691
29692 2014-07-02 Will Newton <will.newton@linaro.org>
29693 Paul Eggert <eggert@cs.ucla.edu>
29694
29695 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
29696
29697 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29698
29699 * resolv/gethnamaddr.c: Add comment warning that the file is
29700 not maintained.
29701
29702 2014-07-01 Carlos O'Donell <carlos@redhat.com>
29703
29704 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
29705 entries.
29706
29707 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
29708 entry for aio_cancel and aio_cancel64.
29709 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
29710 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
29711 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
29712 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
29713 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
29714 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
29715 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
29716 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
29717 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
29718 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
29719 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
29720 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
29721 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
29722
29723 2014-07-01 Roland McGrath <roland@hack.frob.com>
29724
29725 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
29726 * nptl/pthread_mutex_lock.c: Likewise.
29727 * nptl/pthread_mutex_timedlock.c: Likewise.
29728 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
29729
29730 2014-07-01 Richard henderson <rth@redhat.com>
29731
29732 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
29733 (__isnan, __isnanl): Remove.
29734 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
29735
29736 * sysdeps/alpha/fpu/libm-test-ulps: Update.
29737
29738 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
29739
29740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29741
29742 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29743
29744 * resolv/nss_dns/dns-host.c (getanswer_r)
29745 [MULTI_PTRS_ARE_ALIASES]: Remove code.
29746
29747 2014-07-01 Joseph Myers <joseph@codesourcery.com>
29748
29749 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29750 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
29751 undefine.
29752 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
29753 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
29754
29755 2014-07-01 Roland McGrath <roland@hack.frob.com>
29756
29757 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
29758 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
29759
29760 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
29761 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
29762
29763 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
29764 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
29765 ... here.
29766 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
29767 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
29768
29769 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
29770 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
29771 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
29772 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
29773
29774 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29775 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
29776 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
29777 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
29778 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
29779 Moved ...
29780 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
29781 ... here.
29782 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
29783 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
29784 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
29785 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
29786 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
29787 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
29788 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
29789 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
29790 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
29791 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
29792 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
29793 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
29794 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
29795 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
29796 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
29797 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
29798 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
29799 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
29800 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
29801 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
29802 ... here.
29803 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
29804 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
29805 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
29806 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
29807 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
29808 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
29809 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
29810 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
29811
29812 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
29813
29814 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
29815 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
29816 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
29817 Add sysdep.
29818
29819 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29820
29821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29822
29823 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29824
29825 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29826 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29827
29828 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29829
29830 * sysdeps/arm/libm-test-ulps: Regenerated.
29831
29832 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29833 Roland McGrath <roland@hack.frob.com>
29834
29835 * test-skeleton.c (signal_handler): Kill the whole process group
29836 before killing the child individually.
29837 (main): Report any failure on `setpgid'.
29838
29839 2014-06-30 Roland McGrath <roland@hack.frob.com>
29840
29841 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
29842 from _TLS_H to _ARM_NPTL_TLS_H.
29843 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
29844 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
29845
29846 2014-06-30 Joseph Myers <joseph@codesourcery.com>
29847
29848 [BZ #16539]
29849 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
29850 (__expm1l): Return argument unchanged when small but not
29851 subnormal.
29852
29853 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
29854 include macro name.
29855 (_FP_UNPACK_RAW_1_P): Likewise.
29856 (_FP_PACK_RAW_1): Likewise.
29857 (_FP_PACK_RAW_1_P): Likewise.
29858 (_FP_MUL_MEAT_1_wide): Likewise.
29859 (_FP_MUL_MEAT_DW_1_hard): Likewise.
29860 (_FP_MUL_MEAT_1_hard): Likewise.
29861 (_FP_DIV_MEAT_1_imm): Likewise.
29862 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
29863 (_FP_DIV_MEAT_1_udiv): Likewise.
29864 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
29865 (_FP_UNPACK_RAW_2): Likewise.
29866 (_FP_UNPACK_RAW_2_P): Likewise.
29867 (_FP_PACK_RAW_2): Likewise.
29868 (_FP_PACK_RAW_2_P): Likewise.
29869 (_FP_MUL_MEAT_DW_2_wide): Likewise.
29870 (_FP_MUL_MEAT_2_wide): Likewise.
29871 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
29872 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29873 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
29874 (_FP_MUL_MEAT_2_gmp): Likewise.
29875 (_FP_DIV_MEAT_2_udiv): Likewise.
29876 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
29877 (_FP_FRAC_SRL_4): Likewise.
29878 (_FP_FRAC_SRST_4): Likewise.
29879 (_FP_FRAC_SRS_4): Likewise.
29880 (_FP_UNPACK_RAW_4): Likewise.
29881 (_FP_UNPACK_RAW_4_P): Likewise.
29882 (_FP_PACK_RAW_4): Likewise.
29883 (_FP_PACK_RAW_4_P): Likewise.
29884 (_FP_MUL_MEAT_DW_4_wide): Likewise.
29885 (_FP_MUL_MEAT_4_wide): Likewise.
29886 (_FP_MUL_MEAT_4_gmp): Likewise.
29887 (umul_ppppmnnn): Likewise.
29888 (_FP_DIV_MEAT_4_udiv): Likewise.
29889 (__FP_FRAC_ADD_4): Likewise.
29890 (__FP_FRAC_SUB_3): Likewise.
29891 (__FP_FRAC_SUB_4): Likewise.
29892 (__FP_FRAC_DEC_3): Likewise.
29893 (__FP_FRAC_DEC_4): Likewise.
29894 (__FP_FRAC_ADDI_4): Likewise.
29895 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
29896 (_FP_FRAC_SRL_8): Likewise.
29897 (_FP_FRAC_SRS_8): Likewise.
29898
29899 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
29900 include macro name.
29901 (FP_UNPACK_RAW_EP): Likewise.
29902 (FP_PACK_RAW_E): Likewise.
29903 (FP_PACK_RAW_EP): Likewise.
29904 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
29905 (_FP_ISSIGNAN): Likewise.
29906 (_FP_ADD_INTERNAL): Likewise.
29907 (_FP_FMA): Likewise.
29908 (_FP_CMP): Likewise.
29909 (_FP_SQRT): Likewise.
29910 (_FP_TO_INT): Likewise.
29911 (_FP_FROM_INT): Likewise.
29912 (FP_EXTEND): Likewise.
29913 (_FP_DIV_MEAT_N_loop): Likewise.
29914
29915 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
29916
29917 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
29918 throughout.
29919
29920 2014-06-29 Joseph Myers <joseph@codesourcery.com>
29921
29922 [BZ #17097]
29923 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
29924 result with correct sign in case of exponents that produce
29925 overflow except for X very close to 1.
29926
29927 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
29928
29929 mktime: merge #if/#ifdef usage from glibc
29930 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
29931 as that works with both Glibc's and Gnulib's style.
29932 See thread starting at Siddhesh Poyarekar's bug report at:
29933 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
29934
29935 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29936
29937 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
29938 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
29939 * sysdeps/tile/tilegx/memmove.c: Remove file.
29940
29941 2014-06-27 Joseph Myers <joseph@codesourcery.com>
29942
29943 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
29944 abi-name definition.
29945 * scripts/soversions.awk: Do not handle or generate ABI lines.
29946 * shlib-versions: Remove ABI entries.
29947 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
29948 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
29949
29950 2014-06-27 Roland McGrath <roland@hack.frob.com>
29951
29952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
29953 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
29954 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
29955 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
29956 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
29957 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
29958 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
29959 Moved ...
29960 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
29961 ... here.
29962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
29963 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
29964 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
29965 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
29966 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
29967 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
29968 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
29969 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
29970 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
29971 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
29972 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
29973 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
29974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
29975 Moved ...
29976 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
29977 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
29978 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
29979 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
29980 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
29981 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
29982 Moved ...
29983 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
29984 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
29985 Moved ...
29986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
29987 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
29988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
29989 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
29990 Moved ...
29991 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
29992 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
29993 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
29994 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
29995 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
29996 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
29997 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
29998 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
29999 Moved ...
30000 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30001 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30002 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30003 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30004 Moved ...
30005 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30006 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30007 Moved ...
30008 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30009 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30010 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30011 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30012 Moved ...
30013 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30014 ... here.
30015 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30016 Identical file removed.
30017 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30018 Moved ...
30019 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30020 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30021 Identical file removed.
30022 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30023 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30024 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30025 Moved ...
30026 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30027 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30028 Identical file removed.
30029 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30030 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30031 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30032 Identical file removed.
30033 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30034 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30036 Identical file removed.
30037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30038 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30039 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30040 Identical file removed.
30041 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30042 Moved ...
30043 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30044 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30045 Identical file removed.
30046 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30047 Moved ...
30048 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30049 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30050 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30051 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30052 Identical file removed.
30053 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30054 Moved ...
30055 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30056 ... here.
30057 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30058 Identical file removed.
30059 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30060 Moved ...
30061 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30062 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30063 Identical file removed.
30064 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30065 Moved ...
30066 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30067 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30068 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30069 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30071 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30072 Moved ...
30073 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30074 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30075 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30076
30077 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30078 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30079 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30080 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30081 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30082
30083 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
30084
30085 [BZ #17092]
30086 * nscd/nscd.c (monitor_child): Return exit status of child
30087 instead of return value from wait syscall.
30088
30089 2014-06-27 Joseph Myers <joseph@codesourcery.com>
30090
30091 * configure.ac (libc_commonpagesize): Remove variable.
30092 (libc_relro_required): Likewise.
30093 (libc_cv_z_relro): Remove configure test.
30094 * configure: Regenerated.
30095 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30096 variable.
30097 (libc_relro_required): Likewise.
30098 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30099 (libc_relro_required): Likewise.
30100 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30101 (libc_relro_required): Likewise.
30102 * sysdeps/arm/preconfigure: Regenerated.
30103 * sysdeps/ia64/preconfigure: Remove file.
30104 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30105 variable.
30106 (libc_relro_required): Likewise.
30107
30108 [BZ #16561]
30109 [BZ #16562]
30110 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30111 (__ieee754_yn): Set FE_TONEAREST mode internally and then
30112 recompute overflowing results in original rounding mode.
30113 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30114 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30115 recompute overflowing results in original rounding mode.
30116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30117 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30118 recompute overflowing results in original rounding mode.
30119 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30120 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30121 recompute overflowing results in original rounding mode.
30122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30123 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30124 recompute overflowing results in original rounding mode.
30125 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30126 (libc_feholdsetround_ctx): New macro.
30127 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30128 * sysdeps/i386/fpu/libm-test-ulps: Update.
30129 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30130
30131 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30132
30133 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30134 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30135 corresponding .cpsetup call.
30136
30137 2014-06-26 Roland McGrath <roland@hack.frob.com>
30138
30139 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30140 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30141 * sysdeps/arm/Makefile [$(subdir) = csu]
30142 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30143 (static-only-routines): Add aeabi_read_tp here.
30144 (shared-only-routines): Add libc-aeabi_read_tp here.
30145 (CFLAGS-libc-start.c): Add -fexceptions here.
30146 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30147 (sysdep_routines, static-only-routines, shared-only-routines):
30148 Don't add to these here.
30149 (CFLAGS-libc-start.c): Likewise.
30150
30151 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30152 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30153 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30154 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30155 * sysdeps/arm/Makefile [$(subdir) = rt]
30156 (librt-sysdep_routines, librt-shared-only-routines):
30157 Append rt-aeabi_unwind_cpp_pr1 here.
30158 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30159 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30160 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30161 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30162 Append nptl-aeabi_unwind_cpp_pr1 here.
30163 (tests): Filter out tst-cleanupx4 here.
30164 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30165 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30166 Don't do those here.
30167
30168 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30169
30170 * scripts/list-sources.sh: Do not handle ports specially.
30171
30172 2014-06-26 Roland McGrath <roland@hack.frob.com>
30173
30174 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30175 * sysdeps/arm/feupdateenv.c: Likewise.
30176
30177 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30178
30179 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30180
30181 * manual/texinfo.tex: Update to version 2014-05-05.10 with
30182 trailing whitespace removed.
30183 * scripts/config.guess: Update to version 2014-03-23.
30184 * scripts/config.sub: Update to version 2014-05-01
30185 * scripts/install-sh: Update to version 2013-12-25.23.
30186 * scripts/move-if-change: Update from gnulib.
30187
30188 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30189
30190 * debug/memmove_chk.c: Remove pagecopy.h include.
30191
30192 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
30193
30194 * time/mktime.c (leapyear): Remove inline keyword. The code is now
30195 identical to gnulib mktime.
30196
30197 2014-06-26 Joseph Myers <joseph@codesourcery.com>
30198
30199 * configure.ac: Do not test for machine being rs6000. Do not test
30200 for powerpc*-*soft.
30201 * configure: Regenerated.
30202
30203 [BZ #11505]
30204 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30205 test.
30206 * configure: Regenerated.
30207 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30208 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30209 Remove configure test.
30210 * sysdeps/arm/configure: Regenerated.
30211 * sysdeps/nptl/configure.ac: Do not check
30212 libc_cv_asm_cfi_directives.
30213 * sysdeps/nptl/configure: Regenerated.
30214 * sysdeps/x86_64/nptl/configure.ac: Remove file.
30215 * sysdeps/x86_64/nptl/configure: Remove generated file.
30216 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30217 unconditional.
30218 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30219
30220 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30221
30222 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30223 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30224 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30225 it is defined.
30226
30227 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30228 instead of whether it is defined.
30229 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30230 * sysdeps/hppa/dl-machine.h: Likewise.
30231 * sysdeps/ia64/dl-machine.h: Likewise.
30232 * sysdeps/m68k/dl-machine.h: Likewise.
30233 * sysdeps/microblaze/dl-machine.h: Likewise.
30234 * sysdeps/mips/dl-machine.: Likewise.
30235 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30236 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30237 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30238 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30239 * sysdeps/sh/dl-machine.h: Likewise.
30240 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30241 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30242 * sysdeps/tile/dl-machine.h: Likewise.
30243 * sysdeps/x86_64/dl-machine.h: Likewise.
30244
30245 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30246 code.
30247 (verify_persistent_db): Likewise.
30248
30249 2014-06-26 Roland McGrath <roland@hack.frob.com>
30250
30251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30252 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30254 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30256 Moved ...
30257 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30258 ... here.
30259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30260 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30262 Identical file removed.
30263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30264 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30266 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30268 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30270 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30272 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30274 Moved ...
30275 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30277 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30279 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30281 Moved ...
30282 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30284 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30286 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30288 Identical file removed.
30289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30290 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30292 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30294 Moved ...
30295 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30296 ... here.
30297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30298 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30300 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30302 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30306 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30308 Moved ...
30309 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30311 Moved ...
30312 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30314 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30316 Moved ...
30317 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30319 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30320
30321 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30322 folded into ...
30323 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30324 * sysdeps/unix/sysv/linux/s390/Versions
30325 (libpthread: GLIBC_2.19): New version set.
30326 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30327 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30328 (librt: GLIBC_2.3.3): New version set.
30329 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30330 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30331 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30332 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30333 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30334 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30335 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30336 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30337 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30338 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30339 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30340 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30341 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30342 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30343 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30344 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30345 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30346 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30347 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30348 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30349 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30350 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30351 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30352 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30353 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30354 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30355 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30356 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30357 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30358 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30359 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30360 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30365 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30367 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30368 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30369 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30371 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30372 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30373 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30374
30375 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30376 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30377 (__libc_vfork): Define the function under this name.
30378 [!NOT_IN_libc] (__vfork): Make this an alias.
30379 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30380 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30381 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30382 (__libc_vfork): Define the function under this name.
30383 [!NOT_IN_libc] (__vfork): Make this an alias.
30384 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30385 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30386 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30387 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30388 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30389 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30390
30391 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30392 code that was previously under [RESET_PID].
30393 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30394 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30395 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30396
30397 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30398 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30399 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30400 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30401 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30402 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30403 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30404 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30405 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30406 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30407 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30408 Moved ...
30409 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30410 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30411 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30412 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30413 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30414 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30415 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30416 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30417 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30418 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30419 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30420 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30421 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30422 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30423 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30424 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30425 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30426 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30427 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30428 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30429 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30430 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30431 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30432 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30433 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30434 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30435 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30436 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30437 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30438
30439 2014-06-25 Roland McGrath <roland@hack.frob.com>
30440
30441 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30442 that was previously under [RESET_PID].
30443 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
30444
30445 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30446
30447 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
30448 not undefine and redefine.
30449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
30450 [O_CLOEXEC]: Make code unconditional.
30451 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
30452 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
30453 <kernel-features.h>.
30454 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
30455 conditional variable definition.
30456 (shm_open) [O_CLOEXEC]: Make code unconditional.
30457 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
30458 code.
30459
30460 * configure.ac (USE_REGPARMS): Don't define here.
30461 * configure: Regenerated.
30462 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
30463 * sysdeps/i386/configure: Regenerated.
30464
30465 * nptl/createthread.c: Don't include kernel-features.h.
30466 * nptl/pthread_cancel.c: Likewise.
30467 * nptl/pthread_condattr_setclock.c: Likewise.
30468 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
30469 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
30470 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
30471 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
30472 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
30473 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
30474 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30475 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
30476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30477 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
30478 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
30479 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
30480 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
30481 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
30482 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
30483 * nscd/gai.c: Likewise.
30484 * nss/nss_db/db-open.c: Likewise.
30485 * sysdeps/generic/ldsodefs.h: Likewise.
30486 * sysdeps/sh/nptl/tls.h: Likewise.
30487 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30488 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
30489 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
30490 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
30491 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
30492 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30493 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
30494 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
30496 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30497 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30498 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
30499 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
30500 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
30501 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
30502 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
30503 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
30504 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
30505 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
30506 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
30507 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
30508 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
30509 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
30510 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
30511 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
30512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
30513 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
30514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
30515 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30516 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
30517 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
30518 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
30519 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
30520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30522 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30523 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30524 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
30525 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
30526 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
30527 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
30528 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
30529 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
30530 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30531 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
30532 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
30533 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
30534 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
30535 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
30536 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
30537 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
30538 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
30539 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
30540 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30541 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
30542 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30543 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30544 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
30545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
30547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
30548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
30549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
30550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
30551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
30552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
30553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
30556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
30557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
30558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
30559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
30565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
30566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
30567 * sysdeps/unix/sysv/linux/pread.c: Likewise.
30568 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
30569 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
30570 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
30571 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
30572 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
30573 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30574 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
30575 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
30576 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
30577 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
30578 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
30579 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
30580 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
30581 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
30582 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
30583 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30584 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
30585 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
30586 * sysdeps/unix/sysv/linux/system.c: Likewise.
30587 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
30588 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30589 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
30590 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
30591 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30592 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30593 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30594
30595 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
30596 * configure: Regenerated.
30597 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
30598
30599 * configure.ac (base_machine): Do not set specially for particular
30600 machines here.
30601 * configure: Regenerated.
30602 * sysdeps/powerpc/preconfigure: Move machine and base_machine
30603 settings from configure.ac.
30604 * sysdeps/i386/preconfigure: New file.
30605 * sysdeps/s390/preconfigure: Likewise.
30606 * sysdeps/sh/preconfigure: Likewise.
30607 * sysdeps/sparc/preconfigure: Likewise.
30608
30609 2014-06-25 Roland McGrath <roland@hack.frob.com>
30610
30611 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
30612 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
30613 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
30614 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
30615 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
30616 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
30617 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
30618 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
30619 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
30620 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
30621 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
30622 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
30623 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
30624 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
30625 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
30626 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
30627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
30628 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
30629 * sysdeps/sparc/sparc64/Makefile: ... appended here.
30630
30631 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
30632 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
30633 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
30634 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
30635 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
30636 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
30637 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
30638 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
30639 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
30640 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
30641 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
30642 * sysdeps/sparc/sparc32/sem_post.c: ... here.
30643 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
30644 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
30645 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
30646 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
30647 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
30648 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
30649 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
30650 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
30651 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
30652 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
30653 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
30654 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
30655 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
30656 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
30657 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
30658 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
30659 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
30660 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
30661 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
30662 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
30663 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
30664 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
30665 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
30666 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
30667 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
30668 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
30669
30670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
30671 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
30672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
30673 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
30674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30675 Moved ...
30676 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
30677 ... here.
30678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
30679 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
30680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
30681 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
30682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
30683 Moved ...
30684 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
30685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
30686 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
30687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
30688 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
30689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
30690 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
30691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30692 Moved ...
30693 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
30694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30695 Moved ...
30696 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
30697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
30698 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
30699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30700 Moved ...
30701 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
30702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
30703 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
30704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
30705 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
30706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
30707 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
30708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
30709 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
30710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30711 Moved ...
30712 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
30713 ... here.
30714 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
30715 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
30717 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
30718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
30719 Moved ...
30720 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
30721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
30722 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
30723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
30724 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
30725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
30726 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
30727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30728 Moved ...
30729 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
30730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30731 Moved ...
30732 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
30733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
30734 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
30735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30736 Moved ...
30737 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
30738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
30739 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
30740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
30741 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
30742
30743 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30744
30745 * timezone/checktab.awk: Update from tzcode 2014e.
30746 * timezone/private.h: Likewise.
30747 * timezone/tzfile.h: Likewise.
30748 * timezone/zdump.c: Likewise.
30749 * timezone/zic.c: Likewise.
30750
30751 * sysdeps/unix/sysv/linux/kernel-features.h
30752 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
30753 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
30754 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
30755 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30756 Remove conditional code.
30757
30758 2014-06-25 Will Newton <will.newton@linaro.org>
30759
30760 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
30761 (_dl_arm_cap_flags): Add HWCAP2 values.
30762 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
30763 (_DL_HWCAP_COUNT): Increase to 37.
30764 (_DL_HWCAP_LAST): New define.
30765 (_DL_HWCAP2_LAST): New define.
30766 (_dl_procinfo): Add support for printing
30767 AT_HWCAP2 entries.
30768 (_dl_string_hwcap): Use _dl_hwcap_string.
30769
30770 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30771
30772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30773
30774 2014-06-25 Joseph Myers <joseph@codesourcery.com>
30775
30776 * README: Do not mention ports directory.
30777
30778 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
30779 Remove macro.
30780 * sysdeps/unix/sysv/linux/futimes.c: Do not include
30781 <kernel-features.h>.
30782 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
30783 conditional variable definition.
30784 (__futimes): Update comment.
30785 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
30786 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
30787
30788 [BZ #16560]
30789 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
30790 arguments close to 0.
30791 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
30792 Likewise.
30793 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
30794 Likewise.
30795 * math/auto-libm-test-in: Add more tests of exp10.
30796 * math/auto-libm-test-out: Regenerated.
30797 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30798
30799 * sysdeps/unix/sysv/linux/kernel-features.h
30800 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
30801 * sysdeps/unix/sysv/linux/readv.c: Do not include
30802 <kernel-features.h>.
30803 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30804 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30805 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30806 unconditional.
30807 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30808 conditional code.
30809 * sysdeps/unix/sysv/linux/writev.c: Do not include
30810 <kernel-features.h>.
30811 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
30812 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
30813 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
30814 unconditional.
30815 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
30816 conditional code.
30817
30818 2014-06-25 Will Newton <will.newton@linaro.org>
30819
30820 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
30821 comment changes throughout the file. Remove checks
30822 for HAVE_*_H definitions that are not required.
30823 (__gen_tempname): Call abort if an unknown kind value is
30824 passed.
30825
30826 2014-06-25 Andreas Schwab <schwab@suse.de>
30827
30828 [BZ #17086]
30829 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
30830 scalbln, scalblnf, scalblnl in libc.
30831
30832 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30833
30834 [BZ #17086]
30835 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
30836 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
30837 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
30838
30839 2014-06-24 Roland McGrath <roland@hack.frob.com>
30840
30841 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
30842 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
30843 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
30844 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
30845 Update #include.
30846 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
30847 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
30848 Update #include.
30849 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
30850 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
30851 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
30852 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
30853 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
30854 * sysdeps/x86/bits/pthreadtypes.h: ... here.
30855 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
30856 * sysdeps/x86/bits/semaphore.h: ... here.
30857 * sysdeps/x86/nptl/elide.h: Moved ...
30858 * sysdeps/x86/elide.h: ... here.
30859 * sysdeps/x86_64/nptl/Implies: File removed.
30860 * sysdeps/i386/nptl/Implies: File removed.
30861
30862 2014-06-24 Joseph Myers <joseph@codesourcery.com>
30863
30864 [BZ #16539]
30865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
30866 return the argument for normal arguments with exponent below -64.
30867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
30868 Likewise.
30869 * math/auto-libm-test-in: Add another test of expm1.
30870 * math/auto-libm-test-out: Regenerated.
30871
30872 [BZ #16287]
30873 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
30874 calling __erfcl for arguments at least 16.
30875 * math/auto-libm-test-in: Add more tests of erf.
30876 * math/auto-libm-test-out: Regenerated.
30877
30878 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
30879 individual architectures.
30880 * sysdeps/unix/sysv/linux/configure: Regenerated.
30881 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
30882 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
30883 * sysdeps/unix/sysv/linux/powerpc/configure.ac
30884 (ldd_rewrite_script): Define variable.
30885 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
30886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
30887 file.
30888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
30889 generated file.
30890 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
30891 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
30892 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
30893 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
30894 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
30895 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
30896 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
30897 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
30898
30899 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30900
30901 [BZ #17084]
30902 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
30903 Rename member __data.d to __data.__elision_data.
30904
30905 2014-06-24 Wilco <wdijkstr@arm.com>
30906
30907 * NEWS: Add 16918 to fixed bug list.
30908
30909 2014-06-24 Wilco <wdijkstr@arm.com>
30910
30911 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
30912
30913 2014-06-24 Wilco <wdijkstr@arm.com>
30914
30915 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
30916 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
30917 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
30918 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
30919 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
30920 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
30921 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
30922 Use _FPU_MASK_RM.
30923
30924 2014-06-24 Wilco <wdijkstr@arm.com>
30925
30926 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
30927
30928 2014-06-24 Wilco <wdijkstr@arm.com>
30929
30930 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
30931 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
30932 * sysdeps/arm/fesetround.c (fesetround): Remove space.
30933 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
30934
30935 2014-06-24 Wilco <wdijkstr@arm.com>
30936
30937 [BZ #16918]
30938 * sysdeps/arm/feupdateenv.c (feupdateenv):
30939 Rewrite to reduce FPSCR accesses and fix return value.
30940
30941 2014-06-24 Wilco <wdijkstr@arm.com>
30942
30943 * sysdeps/arm/fclrexcpt.c (feclearexcept):
30944 Optimize to avoid unnecessary FPSCR writes.
30945 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
30946 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
30947 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
30948 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
30949
30950 2014-06-24 Wilco <wdijkstr@arm.com>
30951
30952 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
30953 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
30954 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
30955 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
30956 Call libc_fetestexcept_vfp.
30957 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
30958 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
30959 __SOFTFP__ ifdef so that they can be built for softfp.
30960
30961 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30962
30963 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
30964 argument type signed char.
30965
30966 * Makerules (check-abi): Dump diff of symlist if the test
30967 fails.
30968
30969 2014-06-23 Roland McGrath <roland@hack.frob.com>
30970
30971 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
30972 using abort.
30973
30974 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30975 Remove unused variable ST.
30976
30977 2014-06-23 Joseph Myers <joseph@codesourcery.com>
30978
30979 [BZ #16354]
30980 [BZ #17061]
30981 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
30982 small arguments before calling __expm1.
30983 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
30984 small arguments before calling __expm1f.
30985 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
30986 small arguments before calling __expm1l.
30987 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
30988 Likewise.
30989 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
30990 * math/auto-libm-test-in: Add more cosh tests. Do not allow
30991 spurious underflow for some cosh tests.
30992 * math/auto-libm-test-out: Regenerated.
30993 * sysdeps/i386/fpu/libm-test-ulps: Update.
30994
30995 [BZ #17050]
30996 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
30997 (__ieee754_y1): Set errno if return value overflows.
30998 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
30999 (__ieee754_y1f): Set errno if return value overflows.
31000 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31001 (__ieee754_y1l): Set errno if return value overflows.
31002 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31003 (__ieee754_y1l): Set errno if return value overflows.
31004 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31005 * math/auto-libm-test-out: Regenerated.
31006
31007 * math/gen-auto-libm-tests.c: Document use of
31008 ignore-zero-inf-sign.
31009 (input_flag_type): Add value flag_ignore_zero_inf_sign.
31010 (input_flags): Add ignore-zero-inf-sign.
31011 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31012 * math/gen-libm-test.pl (generate_testfile): Handle
31013 ignore-zero-inf-sign.
31014 * math/auto-libm-test-in: Mark some cpow tests with
31015 ignore-zero-inf-sign and some with xfail-rounding.
31016 * math/auto-libm-test-out: Regenerated.
31017 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31018 * sysdeps/i386/fpu/libm-test-ulps: Update.
31019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31020
31021 [BZ #16315]
31022 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31023 overflowing or underflowing operations take place with sign of
31024 result.
31025 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31026 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31027 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31028 (__ieee754_pow): Recompute overflowing and underflowing results in
31029 original rounding mode.
31030 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31031 (__powl_helper): Allow negative argument X and scale negated value
31032 as needed. Avoid passing value outside [-1, 1] to f2xm1.
31033 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31034 overflowing or underflowing operations take place with sign of
31035 result.
31036 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31037 Include <math.h>.
31038 * math/auto-libm-test-in: Add more tests of pow.
31039 * math/auto-libm-test-out: Regenerated.
31040 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31041 (pow_tonearest_test_data): Remove.
31042 (pow_test_tonearest): Likewise.
31043 (pow_towardzero_test_data): Likewise.
31044 (pow_test_towardzero): Likewise.
31045 (pow_downward_test_data): Likewise.
31046 (pow_test_downward): Likewise.
31047 (pow_upward_test_data): Likewise.
31048 (pow_test_upward): Likewise.
31049 (main): Don't call removed functions.
31050 * sysdeps/i386/fpu/libm-test-ulps: Update.
31051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31052
31053 2014-06-23 Roland McGrath <roland@hack.frob.com>
31054
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31056 Moved ...
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31059 Moved ...
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31062 Moved ...
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31065 Moved ...
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31068 File removed.
31069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31070 File removed.
31071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31072 File removed.
31073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31074 File removed.
31075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31076 File removed.
31077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31078 File removed.
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31080 File removed.
31081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31082 File removed.
31083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31084 File removed.
31085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31086 File removed.
31087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31088 File removed.
31089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31090 File removed.
31091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31092 Moved ...
31093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31095 Moved ...
31096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31097 ... here.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31099 Moved ...
31100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31102 Moved ...
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31105 Moved ...
31106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31108 Moved ...
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31111 Moved ...
31112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31114 Moved ...
31115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31117 Moved ...
31118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31121 ... here.
31122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31123 Moved ...
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31126 Moved ...
31127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31128 ... here.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31130 Moved ...
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31132 ... here.
31133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31134 Moved ...
31135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31136 ... here.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31138 Moved ...
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31141 Moved ...
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31146 Moved ...
31147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31148 ... here.
31149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31150 Moved ...
31151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31152 ... here.
31153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31154 Moved ...
31155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31157 Moved ...
31158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31160 Moved ...
31161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31163 Moved ...
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31166 Moved ...
31167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31168 ... here.
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31170 Moved ...
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31173 Moved ...
31174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31176 Moved ...
31177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31179 Moved ...
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31184 Moved ...
31185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31187 Moved ...
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31190 Moved ...
31191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31192 ... here.
31193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31194 Moved ...
31195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31196 ... here.
31197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31198 Moved ...
31199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31200 ... here.
31201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31202 Moved ...
31203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31205 Moved ...
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31208 Moved ...
31209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31211 Moved ...
31212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31213 ... here.
31214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31215 Moved ...
31216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31217 ... here.
31218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31219 Moved ...
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31221 ... here.
31222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31223 Moved ...
31224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31226 Moved ...
31227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31228
31229 2014-06-23 Will Newton <will.newton@linaro.org>
31230 Wilco <wdijkstr@arm.com>
31231
31232 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31233 implementation. Include get-rounding-mode.h.
31234 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31235 [!libc_feholdsetround_noex_ctx]: Define
31236 libc_feholdsetround_noex_ctx.
31237 [!libc_feholdsetround_noexf_ctx]: Define
31238 libc_feholdsetround_noexf_ctx.
31239 [!libc_feholdsetround_noexl_ctx]: Define
31240 libc_feholdsetround_noexl_ctx.
31241 (libc_feholdsetround_ctx): New function.
31242 (libc_feresetround_ctx): New function.
31243 (libc_feholdsetround_noex_ctx): New function.
31244 (libc_feresetround_noex_ctx): New function.
31245
31246 2014-06-23 Roland McGrath <roland@hack.frob.com>
31247
31248 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31249 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31250 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31251 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31252 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31253 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31254
31255 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31256 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31257 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31258 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31259 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31260 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31261 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31262 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31263 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31264 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31265 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31266 Moved ...
31267 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31268 ... here.
31269 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31270 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31271 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31272 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31273 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31274 Moved ...
31275 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31276 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31277 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31278 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31279 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31280 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31281 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31282 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31283 Moved ...
31284 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31285 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31286 Moved ...
31287 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31288 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31289 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31290 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31291 Moved ...
31292 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31293 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31294 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31295 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31296 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31297 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31298 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31299 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31300 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31301 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31302 Moved ...
31303 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31304 ... here.
31305 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31306 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31307 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31308 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31309 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31310 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31311 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31312 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31313 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31314 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31315 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31316 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31317 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31318 Moved ...
31319 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31320 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31321 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31322 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31323 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31324 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31325 Moved ...
31326 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31327 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31328 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31329 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31330 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31331
31332 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31333 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31334 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31335 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31336 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31337 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31338 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31339 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31341 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31342 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31343 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31344 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31345 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31346 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31347 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31348 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31349 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31350 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31351 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31352 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31353 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31354 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31355 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31356 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31357 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31358 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31359 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31360
31361 2014-06-23 Joseph Myers <joseph@codesourcery.com>
31362
31363 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31364 (FALLOC_FL_COLLAPSE_RANGE): New macro.
31365 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31366 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31367 (IPV6_PMTUDISC_INTERFACE): Likewise.
31368 (IPV6_PMTUDISC_OMIT): Likewise.
31369
31370 2014-06-23 Andreas Schwab <schwab@suse.de>
31371
31372 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31373 Remove unused errout label.
31374
31375 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31376
31377 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31378 macro: hardware supports Vector Crypto instructions.
31379
31380 2014-06-23 Will Newton <will.newton@linaro.org>
31381
31382 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31383 rather than __builtin_expect.
31384
31385 * elf/dl-lookup.c (undefined_msg): Remove variable.
31386 (_dl_lookup_symbol_x): Replace undefined_msg with string
31387 literal.
31388
31389 * elf/dl-lookup.c (do_lookup_unique): New function.
31390 (do_lookup_x): Move STB_GNU_UNIQUE handling code
31391 to a separate function.
31392
31393 2014-06-23 Andreas Schwab <schwab@suse.de>
31394
31395 [BZ #17079]
31396 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31397 before reading the next line.
31398
31399 2014-06-23 Will Newton <will.newton@linaro.org>
31400
31401 * test-skeleton.c (signal_handler): Use printf and %m
31402 rather than perror. Use printf rather than fprintf to
31403 stderr. Use puts rather than fputs to stderr.
31404 (main): Likewise.
31405
31406 2014-06-22 Ludovic Courtès <ludo@gnu.org>
31407
31408 * nscd/nscd.c (thread_info_t): Remove typedef.
31409 (thread_info): Remove variable.
31410
31411 2014-06-21 Allan McRae <allan@archlinux.org>
31412
31413 * NEWS: Mention CVE-2014-4043.
31414
31415 2014-06-20 Roland McGrath <roland@hack.frob.com>
31416
31417 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31418 * nptl/smp.h: ... here.
31419
31420 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31421
31422 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31423 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31424 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31425 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31426
31427 * nptl/allocatestack.c: Include <stack-aliasing.h>.
31428 * nptl/stack-aliasing.h: New file.
31429 * sysdeps/i386/i686/stack-aliasing.h: New file.
31430 * sysdeps/i386/i686/nptl/Makefile: File removed.
31431 * sysdeps/x86_64/stack-aliasing.h: New file.
31432 * sysdeps/x86_64/nptl/Makefile
31433 (CFLAGS-pthread_create.c): Variable removed.
31434
31435 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31436 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31437 old file.
31438 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31439 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31440 old file.
31441
31442 2014-06-21 Joseph Myers <joseph@codesourcery.com>
31443
31444 * sysdeps/unix/sysv/linux/arm/kernel-features.h
31445 (__ASSUME_SIGFRAME_V2): Remove macro.
31446 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
31447 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
31448 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
31449 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
31450 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
31451 Declare as function. Remove conditional macro definitions.
31452 (__default_rt_sa_restorer): Likewise.
31453 (__default_sa_restorer_v1): Remove declaration.
31454 (__default_sa_restorer_v2): Likewise.
31455 (__default_rt_sa_restorer_v1): Likewise.
31456 (__default_rt_sa_restorer_v2): Likewise.
31457 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
31458 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
31459 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
31460
31461 2014-06-20 Roland McGrath <roland@hack.frob.com>
31462
31463 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
31464 (libpthread-routines): Add sysdep.
31465 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
31466 * sysdeps/unix/sysv/linux/sparc/Versions
31467 (libpthread: GLIBC_2.3.3): New version set.
31468 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
31469 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
31470 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
31471 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
31472 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
31473 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
31474 Moved ...
31475 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
31476 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
31477 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
31478 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
31479 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
31480 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
31481 * sysdeps/sparc/nptl/sem_init.c: ... here.
31482 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
31483 * sysdeps/sparc/nptl/sem_post.c: ... here.
31484 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
31485 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
31486 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
31487 * sysdeps/sparc/nptl/sem_wait.c: ... here.
31488 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
31489 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
31490 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
31491 (libpthread-routines): Add cpu_relax.
31492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
31493 File removed.
31494 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
31495 (librt: GLIBC_2.3.3): New version set.
31496 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
31497 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
31498 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
31499 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
31500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
31501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
31502 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
31503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
31504 Moved ...
31505 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
31506 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
31507 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
31508 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
31509 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
31510 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
31511 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
31512 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
31513 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
31514 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
31515 Moved ...
31516 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
31517 Update #include.
31518 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
31519 Moved ...
31520 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
31521 Update #include.
31522 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
31523 Moved ...
31524 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
31525 Update #include.
31526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
31527 Moved ...
31528 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
31529 Update #include.
31530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
31531 Moved ...
31532 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
31533 Update #include.
31534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
31535 Moved ...
31536 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
31537 Update #include.
31538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
31539 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
31540 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
31541 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
31542 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
31543 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
31544 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
31545 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
31546 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
31547 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
31548 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31549 Moved ...
31550 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
31551 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
31552 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
31553 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
31554 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
31555
31556 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31557
31558 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
31559 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
31560 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31561 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
31562 * nscd/nscd.c: Likewise.
31563 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
31564 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
31565 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
31566 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
31567
31568 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
31569 <kernel-features.h>.
31570 (init_mq_netlink): Remove conditional have_sock_cloexec
31571 definitions. Remove code conditional on have_sock_cloexec < 0.
31572 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
31573 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
31574 * sysdeps/unix/sysv/linux/opensock.c: Do not include
31575 <kernel-features.h>.
31576 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
31577 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
31578
31579 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31580
31581 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31582 Add tests for memset_chk and memset.
31583
31584 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
31585 with AVX2_Usable.
31586
31587 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31588
31589 [BZ #16046]
31590 * elf/tst-dl-iter-static.c: New file.
31591 * elf/Makefile (tests-static): Add tst-dl-iter-static.
31592
31593 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
31594 error.
31595
31596 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31597
31598 * sysdeps/unix/sysv/linux/kernel-features.h
31599 (__ASSUME_F_GETOWN_EX): Remove macro.
31600 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
31601 <kernel-features.h>.
31602 (miss_F_GETOWN_EX): Remove variable or macro.
31603 (do_fcntl): Do not check miss_F_GETOWN_EX.
31604 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
31605
31606 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
31607 Remove macro.
31608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
31609 [!__ASSUME_AT_RANDOM]: Remove conditional code.
31610 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
31611
31612 * sysdeps/unix/sysv/linux/kernel-features.h
31613 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
31614 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
31615 [ADJ_OFFSET_SS_READ]: Make code unconditional.
31616 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
31617
31618 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
31619
31620 [BZ #17075]
31621 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
31622 Fix calculation of the symbol's value.
31623 * sysdeps/arm/tst-armtlsdescloc.c: New file.
31624 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
31625 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
31626 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
31627 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
31628 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
31629 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
31630 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
31631 (modules-names): Add `tst-armtlsdescmod',
31632 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
31633 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
31634 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31635 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
31636 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
31637 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
31638 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
31639 ($(objpfx)tst-armtlsdescloc): New dependency.
31640 ($(objpfx)tst-armtlsdescextnow): Likewise.
31641 ($(objpfx)tst-armtlsdescextlazy): Likewise.
31642 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
31643 TLS scheme support.
31644 * sysdeps/arm/configure: Regenerate.
31645
31646 2014-06-20 Joseph Myers <joseph@codesourcery.com>
31647
31648 * include/fcntl.h (__atfct_seterrno): Remove prototype.
31649 (__atfct_seterrno_2): Likewise.
31650 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
31651 <kernel-features.h>.
31652 (__ASSUME_ATFCTS): Do not undefine and redefine.
31653 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
31654 (__have_atfcts): Remove conditional definition.
31655 (__fxstatat([__NR_fstatat64]: Make code unconditional.
31656 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
31657 unreachable if [__ASSUME_ATFCTS].
31658 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
31659 not undefine and redefine.
31660 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
31661 <kernel-features.h>.
31662 (faccessat) [__NR_faccessat]: Make code unconditional.
31663 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
31664 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
31665 <kernel-features.h>.
31666 (fchmodat) [__NR_fchmodat]: Make code unconditional.
31667 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31668 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
31669 <kernel-features.h>.
31670 (fchownat) [__NR_fchownat]: Make code unconditional.
31671 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
31672 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
31673 <kernel-features.h>.
31674 (futimesat) [__NR_futimesat]: Make code unconditional.
31675 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
31676 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31677 <kernel-features.h>.
31678 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31679 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31680 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31681 <kernel-features.h>.
31682 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
31683 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31684 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
31685 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31686 <kernel-features.h>.
31687 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
31688 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31689 * sysdeps/unix/sysv/linux/linkat.c: Do not include
31690 <kernel-features.h>.
31691 (linkat) [__NR_linkat]: Make code unconditional.
31692 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31693 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
31694 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
31695 <kernel-features.h>.
31696 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
31697 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
31698 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
31699 <kernel-features.h>.
31700 (mkdirat) [__NR_mkdirat]: Make code unconditional.
31701 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
31702 * sysdeps/unix/sysv/linux/openat.c: Do not include
31703 <kernel-features.h>.
31704 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
31705 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
31706 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
31707 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
31708 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
31709 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
31710 <kernel-features.h>.
31711 (readlinkat) [__NR_readlinkat]: Make code unconditional.
31712 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
31713 result of INLINE_SYSCALL directly, not via int variable.
31714 * sysdeps/unix/sysv/linux/renameat.c: Do not include
31715 <kernel-features.h>.
31716 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
31717 (renameat) [__NR_renameat]: Make code unconditional.
31718 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
31719 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
31720 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
31721 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
31722 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
31723 (__ASSUME_ATFCTS): Do not undefine and redefine.
31724 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
31725 <kernel-features.h>.
31726 (symlinkat) [__NR_symlinkat]: Make code unconditional.
31727 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31728 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
31729 <kernel-features.h>.
31730 (unlinkat) [__NR_unlinkat]: Make code unconditional.
31731 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
31732 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
31733 (__ASSUME_ATFCTS): Do not undefine and redefine.
31734 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31735 <kernel-features.h>.
31736 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
31737 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
31738 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31739 <kernel-features.h>.
31740 (__xmknodat) [__NR_mknodat]: Make code unconditional.
31741 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
31742
31743 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
31744
31745 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
31746
31747 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
31748
31749 [BZ #17069]
31750 * posix/regcomp.c (parse_reg_exp): Deallocate partially
31751 constructed tree before returning error.
31752 * posix/bug-regexp36.c: Expand test case.
31753
31754 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
31755
31756 [BZ #6803]
31757 * math/libm-test.inc (scalbln_test_date):
31758 Add errno expectations.
31759 * math/w_scalblnf.c: New File.
31760 Add wrapper which checks for setting errno to ERANGE.
31761 Add weak_alias for corresponding scalbln function.
31762 * math/w_scalbln.c: Likewise.
31763 * math/w_scalblnl.c: Likewise.
31764 * math/Makefile (libm-calls): Add w_scalbln.
31765 * sysdeps/ieee754/flt-32/s_scalblnf.c:
31766 Remove weak_alias for corresponding scalbln function.
31767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
31769 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31771 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
31772 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31773 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
31774 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31775 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
31776 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
31777 Remove long_double_symbol for scalblnl function in libm, libc.
31778 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
31779 Add wrapper which checks for setting errno to ERANGE.
31780 Add long_double_symbol for scalblnl function in libm, libc.
31781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
31782 Remove long_double_symbol for scalblnl in libm.
31783 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
31784 Add wrapper which checks for setting errno to ERANGE.
31785 Add long_double_symbol for scalblnl function in libm.
31786 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
31787 Do not use wrapper because of own implementation.
31788
31789 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
31790
31791 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
31792 3 bytes for __pad1 for x32.
31793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
31794
31795 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
31796 H.J. Lu <hongjiu.lu@intel.com>
31797
31798 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
31799 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
31800 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31801 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31802 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
31803
31804 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
31805
31806 [BZ #17069]
31807 * posix/regcomp.c (parse_expression): Deallocate partially
31808 constructed tree before returning error.
31809 * posix/Makefile.c (tests): Add bug-regex36.
31810 (generated): Add bug-regex36.mtrace.
31811 (tests-special): Add $(objpfx)bug-regex36-mem.out
31812 (bug-regex36-ENV): New variable.
31813 ($(objpfx)bug-regex36-mem.out): New rule.
31814 * posix/bug-regex36.c: New file.
31815
31816 2014-06-19 Will Newton <will.newton@linaro.org>
31817
31818 * malloc/malloc.c (systrim): If extra is zero then return
31819 early.
31820
31821 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31822
31823 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
31824
31825 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
31826
31827 * sysdeps/aarch64/strchr.S: New file.
31828
31829 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31830
31831 [BZ #17022]
31832 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
31833 from arguments -2 or below.
31834 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31835 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
31836
31837 2014-06-18 Andreas Schwab <schwab@suse.de>
31838
31839 [BZ #17062]
31840 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
31841 of a bracket expr not to run off the end of the string.
31842 * posix/Makefile (tests): Add tst-fnmatch3.
31843 * posix/tst-fnmatch3.c: New file.
31844
31845 2014-06-18 Joseph Myers <joseph@codesourcery.com>
31846
31847 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
31848 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31849 [$(cross-compiling) = no]: Likewise.
31850 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31851 [$(cross-compiling) = no]: Likewise.
31852
31853 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31854
31855 [BZ #17031]
31856 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
31857 double, adjusted for any remainder from the high double.
31858 * math/libm-test.inc (nearbyint): Add tests.
31859 (rint): Likewise.
31860
31861 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31862
31863 * nptl/sysdeps/powerpc/Makefile: Moved ...
31864 * sysdeps/powerpc/nptl/Makefile: ... here.
31865 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
31866 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
31867 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
31868 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
31869 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
31870 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
31871 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
31872 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
31873 * nptl/sysdeps/powerpc/tls.h: Moved ...
31874 * sysdeps/powerpc/nptl/tls.h: ... here.
31875
31876 2014-06-16 Joseph Myers <joseph@codesourcery.com>
31877
31878 [BZ #16681]
31879 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
31880 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
31881 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
31882 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
31883 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
31884 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
31885 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
31886 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
31887 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
31888
31889 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
31890
31891 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31892
31893 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
31894
31895 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
31896 defined operator.
31897
31898 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
31899 $TIMEOUTFACTOR.
31900
31901 2014-06-16 Florian Weimer <fweimer@redhat.com>
31902
31903 [BZ #17058]
31904 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
31905 non-executed part of the test.
31906
31907 2014-06-16 Andreas Schwab <schwab@suse.de>
31908
31909 * string/bits/string2.h (strdup, strndup): Update feature guard.
31910
31911 2014-06-14 David S. Miller <davem@davemloft.net>
31912
31913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31914
31915 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
31916
31917 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
31918 that was previously under [RESET_PID].
31919 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
31920
31921 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
31922 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
31923 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
31924 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31925 (__libc_vfork): New strong alias.
31926 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
31927
31928 2014-06-14 Andi Kleen <ak@linux.intel.com>
31929
31930 * sysdeps/generic/elide.h: New file.
31931
31932 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
31933
31934 * Makefile (installed-headers): Adjust path of pthread.h header.
31935
31936 2014-06-13 Roland McGrath <roland@hack.frob.com>
31937
31938 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
31939 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
31940 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
31941 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
31942
31943 * nptl/sysdeps/s390/Makefile: Moved ...
31944 * sysdeps/s390/nptl/Makefile: ... here.
31945 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
31946 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
31947 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
31948 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
31949 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
31950 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
31951 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
31952 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
31953 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
31954 * sysdeps/s390/nptl/pthreaddef.h: ... here.
31955 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
31956 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
31957 * nptl/sysdeps/s390/tls.h: Moved ...
31958 * sysdeps/s390/nptl/tls.h: ... here.
31959
31960 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
31961 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
31962
31963 2014-06-13 David S. Miller <davem@davemloft.net>
31964
31965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
31967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
31968 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
31969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
31970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
31971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
31972 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
31973 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
31974 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
31975 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
31976 Remove RESET_PID cpp guards.
31977 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
31978 Remove RESET_PID cpp guards.
31979 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
31980
31981 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
31982
31983 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
31984 __sp to uintptr_t.
31985
31986 2014-06-13 Andi Kleen <ak@linux.intel.com>
31987
31988 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
31989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
31990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
31991 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
31992 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
31993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
31994 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
31995 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
31996 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
31997 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
31998 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
31999 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32001 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32002 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32003 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32004 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32005 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32006 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32007 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32008
32009 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32010 (pthread_rwlock_rdlock): Add elision.
32011 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32012 (pthread_rwlock_wrlock): Add elision.
32013 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32014 (pthread_rwlock_trywrlock): Add elision.
32015 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32016 (pthread_rwlock_tryrdlock): Add elision.
32017 * nptl/pthread_rwlock_unlock.c: Include elide.h.
32018 (pthread_rwlock_tryrdlock): Add elision unlock.
32019 * nptl/sysdeps/pthread/pthread.h:
32020 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32021 (PTHREAD_RWLOCK_INITIALIZER,
32022 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32023 Handle new elision field.
32024 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32025 * sysdeps/arm/nptl/bits/pthreadtypes.h
32026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32027 * sysdeps/sh/nptl/bits/pthreadtypes.h
32028 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32029 * sysdeps/tile/nptl/bits/pthreadtypes.h
32030 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32031 * sysdeps/a/nptl/bits/pthreadtypes.h
32032 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32033 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32034 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32035 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32036 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32037 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32038 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32039 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32040 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32041 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32042 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32043 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32044 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32045 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32047 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32048 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32049 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32050 (elision_init): Set try_xbegin to zero when no RTM.
32051 * sysdeps/x86/nptl/bits/pthreadtypes.h
32052 (pthread_rwlock_t): Change __pad1 to __rwelision.
32053 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32054
32055 2014-06-13 Andi Kleen <ak@linux.intel.com>
32056
32057 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32058 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32059 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32060 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32061
32062 2014-06-13 Meador Inge <meadori@codesourcery.com>
32063
32064 [BZ #16996]
32065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32066 that the cached result has been set before returning it.
32067
32068 2014-06-12 Roland McGrath <roland@hack.frob.com>
32069
32070 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32071 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32072 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32073 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32074 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32075 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32076
32077 * nptl/sysdeps/sparc/Makefile: Moved ...
32078 * sysdeps/sparc/nptl/Makefile: ... here.
32079 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32080 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32081 * nptl/sysdeps/sparc/tls.h: Moved ...
32082 * sysdeps/sparc/nptl/tls.h: ... here.
32083 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32084 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32085 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32086 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32087 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32088 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32089 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32090 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32091 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32092 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32093 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32094 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32095 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32096 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32097 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32098 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32099 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32101 Update #include.
32102 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32104 Update #include.
32105 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32106 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32107 Update #include.
32108 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32109 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32110 Update #include.
32111
32112 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32113
32114 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32115 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32116
32117 * sysdeps/pthread/posix-timer.h: Include <list.h>.
32118 (struct list_links): Type removed.
32119 (struct thread_node, struct timer_node): Replace struct list_links
32120 with struct list_head.
32121 (list_unlink_ip): Likewise.
32122 * sysdeps/pthread/timer_routines.c
32123 (timer_free_list, thread_free_list, thread_active_list): Likewise.
32124 (list_append, list_insbefore): Likewise.
32125 (list_init): Function removed.
32126 (thread_init, init_module): Use INIT_LIST_HEAD instead.
32127 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32128 * sysdeps/pthread/Makefile: ... here, new file.
32129
32130 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32131 * sysdeps/nptl/Implies: ... here.
32132 * sysdeps/unix/sysv/linux/Implies: Add nptl.
32133 * nptl/sysdeps/pthread/list.h: Moved ...
32134 * include/list.h: ... here.
32135 * nptl/sysdeps/pthread/createthread.c: Moved ...
32136 * nptl/createthread.c: ... here.
32137 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32138 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32139 * nptl/pt-longjmp.c: ... here.
32140 * nptl/sysdeps/pthread/Makefile: Moved ...
32141 * sysdeps/nptl/Makefile: ... here.
32142 * nptl/sysdeps/pthread/Subdirs: Moved ...
32143 * sysdeps/nptl/Subdirs: ... here.
32144 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32145 * sysdeps/nptl/aio_misc.h: ... here.
32146 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32147 * sysdeps/nptl/bits/libc-lock.h: ... here.
32148 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32149 * sysdeps/nptl/bits/libc-lockP.h: ... here.
32150 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32151 * sysdeps/nptl/bits/stdio-lock.h: ... here.
32152 * nptl/sysdeps/pthread/configure: Moved ...
32153 * sysdeps/nptl/configure: ... here.
32154 * nptl/sysdeps/pthread/configure.ac: Moved ...
32155 * sysdeps/nptl/configure.ac: ... here.
32156 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32157 * sysdeps/nptl/gai_misc.h: ... here.
32158 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32159 * sysdeps/nptl/librt-cancellation.c: ... here.
32160 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32161 * sysdeps/nptl/malloc-machine.h: ... here.
32162 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32163 * sysdeps/nptl/pthread-functions.h: ... here.
32164 * nptl/sysdeps/pthread/pthread.h: Moved ...
32165 * sysdeps/nptl/pthread.h: ... here.
32166 * nptl/sysdeps/pthread/setxid.h: Moved ...
32167 * sysdeps/nptl/setxid.h: ... here.
32168 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32169 * sysdeps/nptl/sigfillset.c: ... here.
32170 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32171 * sysdeps/nptl/tcb-offsets.h: ... here.
32172 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32173 * sysdeps/nptl/tst-mqueue8x.c: ... here.
32174 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32175 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32176 * nptl/sysdeps/pthread/allocalim.h: Moved ...
32177 * sysdeps/pthread/allocalim.h: ... here.
32178 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32179 * sysdeps/pthread/bits/sigthread.h: ... here.
32180 * nptl/sysdeps/pthread/flockfile.c: Moved ...
32181 * sysdeps/pthread/flockfile.c: ... here.
32182 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32183 * sysdeps/pthread/ftrylockfile.c: ... here.
32184 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32185 * sysdeps/pthread/funlockfile.c: ... here.
32186 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32187 * sysdeps/pthread/posix-timer.h: ... here.
32188 * nptl/sysdeps/pthread/timer_create.c: Moved ...
32189 * sysdeps/pthread/timer_create.c: ... here.
32190 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32191 * sysdeps/pthread/timer_delete.c: ... here.
32192 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32193 * sysdeps/pthread/timer_getoverr.c: ... here.
32194 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32195 * sysdeps/pthread/timer_gettime.c: ... here.
32196 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32197 * sysdeps/pthread/timer_routines.c: ... here.
32198 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32199 * sysdeps/pthread/timer_settime.c: ... here.
32200 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32201 * sysdeps/pthread/tst-timer.c: ... here.
32202 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32203 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32204
32205 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32206 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32207
32208 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32209 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32210 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32211 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32212 Update #include target.
32213 * nptl/sysdeps/i386/i686/Makefile: Moved ...
32214 * sysdeps/i386/i686/nptl/Makefile: ... here.
32215 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32216 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32217 Update #include target.
32218 * nptl/sysdeps/i386/i686/tls.h: Moved ...
32219 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
32220 * nptl/sysdeps/i386/Makefile: Moved ...
32221 * sysdeps/i386/nptl/Makefile: ... here.
32222 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32223 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32224 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32225 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32226 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32227 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32228 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32229 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32230 * sysdeps/i386/nptl/pthreaddef.h: ... here.
32231 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32232 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32233 * nptl/sysdeps/i386/tls.h: Moved ...
32234 * sysdeps/i386/nptl/tls.h: ... here.
32235
32236 * sysdeps/sh/Makefile [$(subdir) = csu]
32237 (gen-as-const-headers): Add tcb-offsets.sym.
32238 * nptl/sysdeps/sh/Makefile: File removed.
32239 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32240 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32241 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32242 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32243 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32244 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32245 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32246 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32247 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32248 * sysdeps/sh/nptl/pthreaddef.h: ... here.
32249 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32250 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32251 * nptl/sysdeps/sh/tls.h: Moved ...
32252 * sysdeps/sh/nptl/tls.h: ... here.
32253 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32254 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32255 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32256 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32257 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32258 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32259 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32260 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32261 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32262 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32263 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32264 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32265 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32266 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32267 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32268 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32269 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32270 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32271 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32272 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32273 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32274 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32275 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32276 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32277 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32278 Moved ...
32279 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32280 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32281 Moved ...
32282 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32283 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32284 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32286 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32287 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32288 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32289 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32290 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32291 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32292 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32293 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32294 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32295 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32296 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32297 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32298 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32299 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32300 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32301
32302 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32303
32304 * posix/spawn_faction_addopen.c: Include string.h.
32305
32306 2014-06-11 Roland McGrath <roland@hack.frob.com>
32307
32308 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32309 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32310 * nptl/sysdeps/x86_64/Makefile: Moved ...
32311 * sysdeps/x86_64/nptl/Makefile: ... here.
32312 * nptl/sysdeps/x86_64/configure: Moved ...
32313 * sysdeps/x86_64/nptl/configure: ... here.
32314 * nptl/sysdeps/x86_64/configure.ac: Moved ...
32315 * sysdeps/x86_64/nptl/configure.ac: ... here.
32316 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32317 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32318 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32319 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32320 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32321 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32322 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32323 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32324 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32325 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32326 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32327 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32328 * nptl/sysdeps/x86_64/tls.h: Moved ...
32329 * sysdeps/x86_64/nptl/tls.h: ... here.
32330 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32331 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32332 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32333 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32334
32335 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32336
32337 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32338
32339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32340
32341 2014-06-11 Joseph Myers <joseph@codesourcery.com>
32342
32343 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32344 type.
32345 [POSIX] (off_t): Likewise.
32346 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32347 [POSIX] (S_ISBLK): Require macro.
32348 [POSIX] (S_ISCHR): Likewise.
32349 [POSIX] (S_ISDIR): Likewise.
32350 [POSIX] (S_ISFIFO): Likewise.
32351 [POSIX] (S_ISREG): Likewise.
32352 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32353 optional-macro.
32354 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32355 type.
32356 [POSIX] (time_t): Likewise.
32357 [POSIX] (timer_t): Likewise.
32358
32359 2014-06-11 Florian Weimer <fweimer@redhat.com>
32360
32361 [BZ #17048]
32362 * posix/spawn_int.h (struct __spawn_action): Make the path string
32363 non-const to support deallocation.
32364 * posix/spawn_faction_addopen.c
32365 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32366 * posix/spawn_faction_destroy.c
32367 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
32368 path in all spawn_do_open actions.
32369 * posix/tst-spawn.c (do_test): Exercise the copy operation in
32370 posix_spawn_file_actions_addopen.
32371
32372 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
32373
32374 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32375 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32376 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32377 conditional code always true.
32378 (__libc_vfork): New alias.
32379
32380 2014-06-11 Roland McGrath <roland@hack.frob.com>
32381
32382 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32383 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32384
32385 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32386
32387 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32388 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32389
32390 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32391 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32392
32393 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32394 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32395
32396 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
32397
32398 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32399 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32400 multiarch strcmp for PPC64.
32401 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32402 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32404 multiarch optimizations.
32405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32406 (__libc_ifunc_impl_list): Likewise.
32407
32408 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32409
32410 * benchtests/scripts/validate_benchout.py: New script.
32411 * benchtests/Makefile (bench-func): Call it.
32412 * benchtests/scripts/benchout.schema.json: New file.
32413
32414 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
32415
32416 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32417 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32418 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32419 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32420 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32421 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32422 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32423 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32424 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32425 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32426 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32427 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32428 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32429 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32430 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32431 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32433 Moved ...
32434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32435 ... here.
32436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32437 Moved ...
32438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32439 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32440 Moved ...
32441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32442 ... here.
32443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
32444 Moved ...
32445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
32446 ... here.
32447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
32448 Moved ...
32449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
32450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
32451 Moved ...
32452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
32453 ... here.
32454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
32455 Moved ...
32456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
32457 ... here.
32458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
32459 Moved ...
32460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
32461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
32462 Moved ...
32463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
32464 ... here.
32465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
32466 Moved ...
32467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
32468 ... here.
32469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
32470 Moved ...
32471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
32472 ... here.
32473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
32474 Moved ...
32475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
32476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
32477 Moved ...
32478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
32479 ... here.
32480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
32481 Moved ...
32482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
32483 ... here.
32484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
32485 Moved ...
32486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
32487 ... here.
32488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
32489 Moved ...
32490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
32491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
32492 Moved ...
32493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
32494 ... here.
32495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
32496 Moved ...
32497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
32498 ... here.
32499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
32500 Moved ...
32501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
32502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
32503 Moved ...
32504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
32505 ... here.
32506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
32507 Moved ...
32508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
32509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
32510 Moved ...
32511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
32512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
32513 Moved ...
32514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
32515 ... here.
32516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
32517 Moved ...
32518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
32519 ... here.
32520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
32521 Moved ...
32522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
32523 ... here.
32524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
32525 Moved ...
32526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
32527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
32528 Moved ...
32529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
32530 ... here.
32531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
32532 Moved ...
32533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
32534 ... here.
32535 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
32536 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
32537 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
32538 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
32539 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
32540 Moved ...
32541 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
32542 ... here.
32543 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
32544 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
32545 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
32546 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
32547 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
32548 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
32549 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
32550 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
32551 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
32552 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
32553 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
32554 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
32555 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
32556 Moved ...
32557 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
32558 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
32559 Moved ...
32560 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
32561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
32562 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
32563 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
32564 Moved ...
32565 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
32566 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
32567 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
32568 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
32569 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
32570 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
32571 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
32572
32573 2014-06-10 Wilco <wdijkstr@arm.com>
32574
32575 * math/test-fenv-return.c: New file.
32576 * math/Makefile: Add new test test-fenv-return.
32577
32578 2014-06-10 Joseph Myers <joseph@codesourcery.com>
32579
32580 [BZ #17042]
32581 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
32582 when x - 1 is zero.
32583 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
32584 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
32585 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
32586 0.0L for an argument of 1.0L.
32587 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
32588 Likewise.
32589 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
32590 value when x - 1 is zero.
32591 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
32592 * sysdeps/i386/fpu/libm-test-ulps: Update.
32593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32594
32595 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
32596
32597 [BZ #15119]
32598 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
32599
32600 2014-06-09 Roland McGrath <roland@hack.frob.com>
32601
32602 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
32603 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
32604
32605 2014-06-09 Roland McGrath <roland@hack.frob.com>
32606
32607 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32608 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
32609
32610 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32611 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
32612
32613 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32614 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
32615
32616 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32617 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
32618
32619 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
32620 if not already defined.
32621 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
32622 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
32623 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
32624 (TLS_INIT_TP): Use it.
32625 (TLS_DEFINE_INIT_TP): New macro.
32626 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
32627
32628 2014-06-09 Joseph Myers <joseph@codesourcery.com>
32629
32630 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
32631 constant.
32632 [POSIX] (IXANY): Likewise.
32633 [POSIX] (OLCUC): Likewise.
32634 [POSIX || POSIX2008] (CBAUD): Do not allow.
32635 [POSIX || POSIX2008] (DEFECHO): Likewise.
32636 [POSIX || POSIX2008] (ECHOCTL): Likewise.
32637 [POSIX || POSIX2008] (ECHOKE): Likewise.
32638 [POSIX || POSIX2008] (ECHOPRT): Likewise.
32639 [POSIX || POSIX2008] (EXTA): Likewise.
32640 [POSIX || POSIX2008] (EXTB): Likewise.
32641 [POSIX || POSIX2008] (FLUSHO): Likewise.
32642 [POSIX || POSIX2008] (LOBLK): Likewise.
32643 [POSIX || POSIX2008] (PENDIN): Likewise.
32644 [POSIX || POSIX2008] (SWTCH): Likewise.
32645 [POSIX || POSIX2008] (VDISCARD): Likewise.
32646 [POSIX || POSIX2008] (VDSUSP): Likewise.
32647 [POSIX || POSIX2008] (VLNEXT): Likewise.
32648 [POSIX || POSIX2008] (VREPRINT): Likewise.
32649 [POSIX || POSIX2008] (VSTATUS): Likewise.
32650 [POSIX || POSIX2008] (VWERASE): Likewise.
32651 (B*): Change to B[0123456789]*.
32652 * conform/data/time.h-data [POSIX || UNIX98]
32653 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
32654 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32655 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
32656 [POSIX] (tm_*): Do not allow.
32657
32658 2014-06-07 Joseph Myers <joseph@codesourcery.com>
32659
32660 * Makefile (install): Don't set LANGUAGE.
32661 * Makefile.in (install): Likewise.
32662 * assert/Makefile (test-assert-ENV): Remove variable.
32663 (test-assert-perr-ENV): Likewise.
32664 * elf/Makefile (neededtest4-ENV): Likewise.
32665 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32666 [$(cross-compiling) = no]: Don't set LANGUAGE.
32667 * io/ftwtest-sh (LANG): Remove variable.
32668 * libio/Makefile (tst-widetext-ENV): Likewise.
32669 * manual/install.texi (Running make install): Don't refer to
32670 environment settings for make install.
32671 * INSTALL: Regenerated.
32672 * nptl/tst-tls6.sh: Don't set LANG.
32673 * posix/globtest.sh (LANG): Remove variable.
32674 * string/Makefile (tester-ENV): Likewise.
32675 (inl-tester-ENV): Likewise.
32676 (noinl-tester-ENV): Likewise.
32677 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32678 [$(cross-compiling) = no]: Don't set LANGUAGE.
32679 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
32680 without explicit environment settings.
32681
32682 2014-06-06 Roland McGrath <roland@hack.frob.com>
32683
32684 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
32685 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
32686 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
32687 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
32688
32689 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
32690
32691 * crypt/crypt-private.h [DOS]: Add some includes taken from the
32692 other files in the crypt directory.
32693 * crypt/crypt.c: Remove duplicate includes.
32694 * crypt/crypt-entry.c: Likewise.
32695 * crypt/crypt_util.c: Likewise.
32696
32697 2014-06-06 Joseph Myers <joseph@codesourcery.com>
32698
32699 * Makeconfig (run-program-env): New variable.
32700 (run-program-prefix-before-env): Likewise.
32701 (run-program-prefix-after-env): Likewise.
32702 (run-program-prefix): Define in terms of new variables.
32703 (built-program-cmd-before-env): New variable.
32704 (built-program-cmd-after-env): Likewise.
32705 (built-program-cmd): Define in terms of new variables.
32706 (test-program-prefix-before-env): New variable.
32707 (test-program-prefix-after-env): Likewise.
32708 (test-program-prefix): Define in terms of new variables.
32709 (test-program-cmd-before-env): New variable.
32710 (test-program-cmd-after-env): Likewise.
32711 (test-program-cmd): Define in terms of new variables.
32712 * Rules (make-test-out): Use $(run-program-env).
32713 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
32714 (help): Do not mention environment variables. Mention
32715 --timeoutfactor option.
32716 (timeoutfactor): New variable.
32717 (blacklist_exports): Remove function.
32718 (exports): Remove variable.
32719 (command): Do not include ${exports}.
32720 * manual/install.texi (Configuring and compiling): Do not mention
32721 test wrappers preserving environment variables. Mention that last
32722 assignment to a variable must take precedence.
32723 * INSTALL: Regenerated.
32724 * benchtests/Makefile (run-bench): Use $(run-program-env).
32725 * catgets/Makefile ($(objpfx)test1.cat): Use
32726 $(built-program-cmd-before-env), $(run-program-env) and
32727 $(built-program-cmd-after-env).
32728 ($(objpfx)test2.cat): Do not specify environment variables
32729 explicitly.
32730 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
32731 $(run-program-env) and $(built-program-cmd-after-env).
32732 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
32733 $(run-program-env) and $(test-program-cmd-after-env).
32734 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
32735 explicitly.
32736 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
32737 run_program_env and test_program_cmd_after_env arguments.
32738 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
32739 * elf/tst-pathopt.sh: Use run_program_env argument.
32740 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
32741 $(test-wrapper-env) and $(run-program-env).
32742 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
32743 run_program_env arguments.
32744 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
32745 * intl/Makefile ($(objpfx)tst-gettext.out): Use
32746 $(test-program-prefix-before-env), $(run-program-env) and
32747 $(test-program-prefix-after-env).
32748 ($(objpfx)tst-gettext2.out): Likewise.
32749 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
32750 run_program_env and test_program_prefix_after_env arguments.
32751 * intl/tst-gettext2.sh: Likewise.
32752 * intl/tst-gettext4.sh: Do not set environment variables
32753 explicitly.
32754 * intl/tst-gettext6.sh: Likewise.
32755 * intl/tst-translit.sh: Likewise.
32756 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
32757 $(test-program-prefix-before-env), $(run-program-env) and
32758 $(test-program-prefix-after-env).
32759 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
32760 run_program_env and test_program_prefix_after_env arguments.
32761 * math/Makefile (run-regen-ulps): Use $(run-program-env).
32762 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
32763 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
32764 explicitly with each use of ${test_wrapper_env}.
32765 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
32766 $(test-program-prefix-before-env), $(run-program-env) and
32767 $(test-program-prefix-after-env).
32768 * posix/tst-getconf.sh: Do not set environment variables
32769 explicitly.
32770 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
32771 run_program_env and test_program_prefix_after_env arguments.
32772 * stdio-common/tst-printf.sh: Do not set environment variables
32773 explicitly.
32774 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
32775 $(test-program-prefix-before-env), $(run-program-env) and
32776 $(test-program-prefix-after-env).
32777 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
32778 run_program_env and test_program_prefix_after_env arguments.
32779 Split $test calls into $test_pre and $test.
32780 * timezone/Makefile (build-testdata): Use
32781 $(built-program-cmd-before-env), $(run-program-env) and
32782 $(built-program-cmd-after-env).
32783
32784 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32785
32786 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
32787 strlen for non SHARED builds.
32788
32789 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32790
32791 * nptl/allocatestack.c (check_list): Inlined function...
32792 (__reclaim_stacks): ... here.
32793
32794 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32795
32796 [BZ #15698]
32797 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32798 memory overrun.
32799
32800 2014-06-05 Joseph Myers <joseph@codesourcery.com>
32801
32802 * Rules (make-test-out): Include
32803 LOCPATH=$(common-objpfx)localedata in default environment.
32804 * debug/Makefile (tst-chk1-ENV): Remove variable.
32805 (tst-chk2-ENV): Likewise.
32806 (tst-chk3-ENV): Likewise.
32807 (tst-chk4-ENV): Likewise.
32808 (tst-chk5-ENV): Likewise.
32809 (tst-chk6-ENV): Likewise.
32810 (tst-lfschk1-ENV): Likewise.
32811 (tst-lfschk2-ENV): Likewise.
32812 (tst-lfschk3-ENV): Likewise.
32813 (tst-lfschk4-ENV): Likewise.
32814 (tst-lfschk5-ENV): Likewise.
32815 (tst-lfschk6-ENV): Likewise.
32816 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
32817 (tst-iconv7-ENV): Likewise.
32818 * intl/Makefile (LOCPATH-ENV): Likewise.
32819 (tst-codeset-ENV): Likewise.
32820 (tst-gettext3-ENV): Likewise.
32821 (tst-gettext5-ENV): Likewise.
32822 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
32823 (tst-fopenloc-ENV): Likewise.
32824 (tst-fgetws-ENV): Remove variable.
32825 (tst-ungetwc1-ENV): Likewise.
32826 (tst-ungetwc2-ENV): Likewise.
32827 (bug-ungetwc2-ENV): Likewise.
32828 (tst-swscanf-ENV): Likewise.
32829 (bug-ftell-ENV): Likewise.
32830 (tst-fgetwc-ENV): Likewise.
32831 (tst-fseek-ENV): Likewise.
32832 (tst-ftell-partial-wide-ENV): Likewise.
32833 (tst-ftell-active-handler-ENV): Likewise.
32834 (tst-ftell-append-ENV): Likewise.
32835 * posix/Makefile (tst-fnmatch-ENV): Likewise.
32836 (tst-regexloc-ENV): Likewise.
32837 (bug-regex1-ENV): Likewise.
32838 (tst-regex-ENV): Likewise.
32839 (tst-regex2-ENV): Likewise.
32840 (bug-regex5-ENV): Likewise.
32841 (bug-regex6-ENV): Likewise.
32842 (bug-regex17-ENV): Likewise.
32843 (bug-regex18-ENV): Likewise.
32844 (bug-regex19-ENV): Likewise.
32845 (bug-regex20-ENV): Likewise.
32846 (bug-regex22-ENV): Likewise.
32847 (bug-regex23-ENV): Likewise.
32848 (bug-regex25-ENV): Likewise.
32849 (bug-regex26-ENV): Likewise.
32850 (bug-regex30-ENV): Likewise.
32851 (bug-regex32-ENV): Likewise.
32852 (bug-regex33-ENV): Likewise.
32853 (bug-regex34-ENV): Likewise.
32854 (bug-regex35-ENV): Likewise.
32855 (tst-rxspencer-ENV): Likewise.
32856 (tst-rxspencer-no-utf8-ENV): Likewise.
32857 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
32858 (tst-sscanf-ENV): Likewise.
32859 (tst-swprintf-ENV): Likewise.
32860 (tst-swscanf-ENV): Likewise.
32861 (test-vfprintf-ENV): Likewise.
32862 (scanf13-ENV): Likewise.
32863 (bug14-ENV): Likewise.
32864 (tst-grouping-ENV): Likewise.
32865 * stdlib/Makefile (tst-strtod-ENV): Likewise.
32866 (tst-strtod3-ENV): Likewise.
32867 (tst-strtod4-ENV): Likewise.
32868 (tst-strtod5-ENV): Likewise.
32869 (testmb2-ENV): Likewise./
32870 * string/Makefile (tst-strxfrm-ENV): Likewise.
32871 (tst-strxfrm2-ENV): Likewise.
32872 (bug-strcoll1-ENV): Likewise.
32873 (test-strcasecmp-ENV): Likewise.
32874 (test-strncasecmp-ENV): Likewise.
32875 * time/Makefile (tst-strptime-ENV): Likewise.
32876 (tst-ftime_l-ENV): Likewise.
32877 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
32878 (tst-mbrtowc-ENV): Likewise.
32879 (tst-wcrtomb-ENV): Likewise.
32880 (tst-mbrtowc2-ENV): Likewise.
32881 (tst-c16c32-1-ENV): Likewise.
32882 (tst-mbsnrtowcs-ENV): Likewise.
32883
32884 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
32885
32886 * manual/resource.texi (How to get information about the memory
32887 subsystem?): Fix typo.
32888 Reported by Peon de la Parra Ivan <peon@keba.com>
32889
32890 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
32891
32892 [BZ #16882]
32893 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
32894 (pthread_spin_lock): Branch out of spin loop to proper location.
32895 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
32896 (pthread_spin_lock): Likewise.
32897
32898 * nptl/tst-spin4.c: New test.
32899 * nptl/Makefile (tests): Add tst-spin4.
32900
32901 2014-06-03 Andreas Schwab <schwab@suse.de>
32902
32903 [BZ #15946]
32904 * resolv/res_send.c (send_dg): Reload file descriptor after
32905 calling reopen.
32906
32907 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
32908
32909 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32910
32911 2014-06-03 Richard Henderson <rth@redhat.com>
32912
32913 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
32914 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
32915 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
32916 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
32917 in the SAVE_PID block.
32918 (__libc_vfork): New alias.
32919 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
32920
32921 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
32922 child in registers, not on the stack. Remove RESET_PID conditionals.
32923 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
32924
32925 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
32926
32927 * sysdeps/aarch64/libm-test-ulps: Regenerate.
32928
32929 2014-06-03 Wilco <wdijkstr@arm.com>
32930
32931 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
32932 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
32933 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32934 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
32935 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
32936 Likewise.
32937
32938 2014-06-03 Wilco <wdijkstr@arm.com>
32939
32940 * sysdeps/aarch64/fpu/math_private.h
32941 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
32942 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
32943 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
32944 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
32945 Fix declarations.
32946
32947 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
32948
32949 * crypt/crypt-private.h: Include ufc-crypt.h.
32950 (__b64_from_24bit): Declare extern.
32951 * crypt/crypt_util.c(__b64_from_24bit): New function.
32952 (b64t): New static const variable.
32953 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
32954 (b64t): Remove variable.
32955 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
32956 * crypt/sha256-crypt.c: Include crypt-private.h.
32957 (b64t): Remove variable.
32958 (__sha256_crypt_r): Remove b64_from_24bit and replace
32959 with __b64_from_24bit.
32960 * crypt/sha512-crypt.c: Likewise.
32961
32962 2014-06-02 Roland McGrath <roland@hack.frob.com>
32963
32964 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
32965 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
32966 Label the code __libc_vfork rather than __vfork.
32967 [!NOT_IN_libc] (vfork): Define as weak alias.
32968 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
32969 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
32970 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
32971
32972 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32973
32974 * malloc/malloc.c (malloc_info): Fix format specifier for
32975 n_mmaps.
32976
32977 2014-06-02 Wilco <wdijkstr@arm.com>
32978
32979 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
32980 FPCR write.
32981
32982 2014-06-02 Wilco <wdijkstr@arm.com>
32983
32984 [BZ #17009]
32985 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
32986 Rewrite to reduce FPCR/FPSR accesses.
32987
32988 2014-06-01 David S. Miller <davem@davemloft.net>
32989
32990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32991
32992 2014-05-31 David S. Miller <davem@davemloft.net>
32993
32994 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
32995 to occur in round to nearest mode when |x| >= 2.0
32996
32997 2014-05-30 Richard Henderson <rth@twiddle.net>
32998
32999 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33000 (PSEUDO_RET_NOERRNO): Remove.
33001 (ret): Don't redefine.
33002 (ret_NOERRNO): Define in terms of ret.
33003 (ret_ERRVAL): Likewise.
33004
33005 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33006 use of PSEUDO_RET; perform the error check directly.
33007
33008 2014-05-30 Marko Myllynen <myllynen@redhat.com>
33009
33010 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33011 with __int128_t.
33012
33013 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33014
33015 * malloc/malloc (malloc_info): Fix formatting.
33016
33017 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33018 Roland McGrath <roland@hack.frob.com>
33019
33020 * malloc/malloc (malloc_info): Also print mmapped statistics.
33021
33022 2014-05-30 Roland McGrath <roland@hack.frob.com>
33023
33024 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33025 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33026
33027 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
33028
33029 * malloc/malloc.c (malloc_info): Inline mi_arena.
33030
33031 2014-05-29 Richard Henderson <rth@twiddle.net>
33032
33033 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33034 Remove comma before expanding ASM_ARGS_##nr.
33035 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33036 Make _x0 a strict output; make _x8 a strict input; adjust expansion
33037 of ASM_ARGS_##nr.
33038 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33039 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33040 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33041 (ASM_ARGS_1): Add leading comma.
33042
33043 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33044 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33045 to __errno_location.
33046 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33047 Remove the expected plt for __errno_location.
33048
33049 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33050 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33051 call to __read_tp.
33052
33053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33054 Always allocate 64 bytes of stack frame. Use ldp/stp to create
33055 it and break it down.
33056 (DOCARGS_0, DOCARGS_1): Do nothing.
33057 (DOCARGS_2): Update to store into the new stack frame.
33058 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33059 (UNDOCARGS_1): Update to restore from the new stack frame.
33060 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33061 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33062
33063 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33064 (SINGLE_THREAD_P): New parameter for result regno.
33065 (PSEUDO): Update to match; use cbz instead of beq.
33066
33067 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33068 Use ENTRY to define the _nocancel entry point. Share the syscall
33069 and syscall error check paths with the cancel path.
33070 (PSEUDO_END): New.
33071
33072 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33073 whitespace; tabs before and after asm mnemonics.
33074
33075 2014-05-29 Eric Wong <normalperson@yhbt.net>
33076
33077 [BZ #15132]
33078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33079 Call fstat64 or stat64 internally, depending on arguments passed.
33080 Replace stat buffer argument with file descriptor argument.
33081 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33082 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33083 Pass fd to __internal_statvfs instead of calling fstat64.
33084 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33085 Pass fd to __internal_statvfs64 instead of calling fstat64.
33086 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33087 Pass -1 to __internal_statvfs instead of calling stat64.
33088 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33089 Pass -1 to __internal_statvfs64 instead of calling stat64.
33090
33091 2014-05-28 Roland McGrath <roland@hack.frob.com>
33092
33093 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33094 that was previously under [RESET_PID].
33095 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33096
33097 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33098 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33099
33100 2014-05-27 Roland McGrath <roland@hack.frob.com>
33101
33102 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33103
33104 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33105 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33106
33107 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
33108
33109 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33110
33111 2014-05-27 Andreas Schwab <schwab@suse.de>
33112
33113 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33114 TLS_INIT_TP macro.
33115 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33116 * elf/rtld.c (init_tls, dl_main): Likewise.
33117 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33118 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33119 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33120 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33121 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33122 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33123 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33124 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33125 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33126 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33127 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33128 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33129 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33130 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33131 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33132 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33133 * sysdeps/generic/tls.h: Update description.
33134
33135 2014-05-27 Will Newton <will.newton@linaro.org>
33136
33137 [BZ #16990]
33138 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33139 and restore r2 rather than just restoring.
33140
33141 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33142
33143 [BZ #16724]
33144 * libio/tst-ftell-append.c: New test case.
33145 * libio/Makefile (tests): Add test case.
33146 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33147 append mode.
33148 * libio/wfileops.c (do_ftell_wide): Likewise.
33149
33150 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33151
33152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33153
33154 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33155 ...
33156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33158 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33159 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33160 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33161 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33162 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33164 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33165 Moved ...
33166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33167 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33168 Moved ...
33169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33170 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33171 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33172 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33173 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33174 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33175 ...
33176 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33177 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33178 Moved ...
33179 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33180 here.
33181 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33182 ...
33183 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33184 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33185 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33186
33187 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33188 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33189 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33190 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33191
33192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33193 merge into ...
33194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33195 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33196 ...
33197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33199 ...
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33202 Moved ...
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33204 here.
33205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33206 Moved ...
33207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33209 Moved ...
33210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33211
33212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33213 conditional [RESET_PID].
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33216 removed.
33217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33218 removed.
33219
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33221 <tcb-offsets.h>.
33222 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33223 (__libc_vfork): New strong alias.
33224 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33225 removed.
33226 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33227 Removed.
33228
33229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33230 <tcb-offsets.h>.
33231 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33232 (__libc_vfork): New strong alias.
33233 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33234 removed.
33235 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33236 removed.
33237
33238 2014-05-26 Carlos O'Donell <carlos@redhat.com>
33239
33240 * malloc/malloc.c (mi_arena): New function.
33241 (malloc_info): Remove nested function mi_arena. Call non-nosted
33242 function mi_arena.
33243
33244 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33245
33246 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33247 by insrwi.
33248 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33249 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33250 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33251 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33252 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33253 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33254 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33255
33256 2014-05-26 Andreas Schwab <schwab@suse.de>
33257
33258 [BZ #16984]
33259 * locale/programs/repertoire.c (repertoire_read): Add slash
33260 between I18NPATH element and file name.
33261 * locale/programs/locfile.c (locfile_read): Likewise.
33262
33263 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
33264
33265 * nptl/pthread_mutexattr_settype.c
33266 (__pthread_mutexattr_settype):
33267 Disable lock elision for PTHREAD_MUTEX_NORMAL.
33268
33269 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
33270
33271 * nptl/tst-mutex5 (do_test):
33272 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33273
33274 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33275
33276 * benchtests/README: Document 'init' directive.
33277 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33278 BENCH_INIT.
33279 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33280 (parse_file): Recognize 'init' directive.
33281
33282 2014-05-26 Kyle McMartin <kyle@redhat.com>
33283
33284 [BZ #16796]
33285 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33286 alignment of struct pthread.
33287
33288 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33289
33290 [BZ #16878]
33291 * nscd/netgroupcache.c (addgetnetgrentX): Look for
33292 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33293 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33294 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33295
33296 2014-05-25 Richard Henderson <rth@twiddle.net>
33297
33298 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33299 (SINGLE_THREAD_P_PIC): Remove.
33300 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33301 (SINGLE_THREAD_P_PIC): Remove.
33302
33303 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33304 branch to syscall error ...
33305 (PSEUDO): ... here.
33306 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33307 from __local_syscall_error to .Lsyscall_error.
33308 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33309 (SYSCALL_ERROR): Update label name.
33310
33311 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33312 Do not use DOARGS/UNDOARGS.
33313 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33314 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33315 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33316 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33317 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33318
33319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33320 block comment.
33321
33322 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33323 define if !NOT_IN_libc.
33324 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33325 define with non-default symbol versions.
33326
33327 2014-05-23 Richard Henderson <rth@twiddle.net>
33328
33329 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33330 (vfork, __vfork): Define via compat_symbol.
33331
33332 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33333 [!HAVE_IFUNC] (vfork_compat): Remove.
33334 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33335
33336 2014-05-23 Joseph Myers <joseph@codesourcery.com>
33337
33338 [BZ #16978]
33339 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33340 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33341 variable.
33342
33343 2014-05-23 Richard Henderson <rth@twiddle.net>
33344
33345 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33346 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33347 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33348 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33349
33350 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33351 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33352 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33353 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33354 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33355 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33356 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33357 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33358 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33359 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33360 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33361 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33362 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33363 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33364 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33365 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33366 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33367 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33368 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33369 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33370 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33371 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33372 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33373 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33374 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33375 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33376 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33377 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33378 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33379 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33380 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33381 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33382 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33383 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33384 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33385 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33386 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33387 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33388 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33389 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33390 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33391 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33392 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33393 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33394 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33395 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33396 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33397 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33398 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33399 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33400 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33401 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33402 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33403 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33404 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33405 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33406
33407 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33408 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33409 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
33410 before exiting on error.
33411 (__libc_vfork): New strong alias.
33412 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33413 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33414
33415 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33416 that was previously under [RESET_PID].
33417 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33418
33419 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33420
33421 2014-05-23 Joseph Myers <joseph@codesourcery.com>
33422
33423 [BZ #16977]
33424 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33425 value when x - 1 is zero.
33426 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33427 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33428 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33429 0.0L for an argument of 1.0L.
33430 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33431 Likewise.
33432 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33433 value when x - 1 is zero.
33434 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33435 * sysdeps/i386/fpu/libm-test-ulps: Update.
33436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33437
33438 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
33439
33440 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33441 alphasort and versionsort.
33442
33443 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33444
33445 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
33446 macro.
33447 [copysignf]: Likewise.
33448
33449 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
33450
33451 * crypt/md5-crypt.c: Fix formatting.
33452
33453 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
33454
33455 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
33456 (b64_from_24bit): New function.
33457
33458 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33459
33460 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
33461 libc_hidden_builtin_def to ifunc.
33462 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
33463 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
33464
33465 2014-05-21 Roland McGrath <roland@hack.frob.com>
33466
33467 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
33468 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
33469
33470 2014-05-21 Joseph Myers <joseph@codesourcery.com>
33471
33472 * nscd/Depend (linuxthreads): Remove.
33473 (nptl): Add.
33474 * resolv/Depend (linuxthreads): Remove.
33475 * rt/Depend (linuxthreads): Remove.
33476
33477 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
33478 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
33479 $(common-objpfx)elf/.
33480 (link-libc-before-gnulib): Likewise.
33481 (elfobjdir): Remove variable.
33482 * Makefile (install): Use $(elf-objpfx) instead of
33483 $(common-objpfx)elf/.
33484 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
33485 $(elfobjdir)/.
33486 (link-libc-deps): Likewise.
33487 ($(common-objpfx)libc.so): Likewise.
33488 ($(common-objpfx)linkobj/libc.so): Likewise.
33489 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
33490 instead of $(common-objpfx)elf/.
33491 (symbolic-link-list): Likewise.
33492 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33493 [$(cross-compiling) = no]: Likewise.
33494 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
33495 $(elfobjdir)/.
33496 (static-gnulib-arch): Likewise.
33497 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33498 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
33499 $(common-objpfx)elf/.
33500
33501 2014-05-21 Richard Henderson <rth@redhat.com>
33502
33503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33504 (SINGLE_THREAD_P): Use the correct width load. Fold
33505 into the ldr offset.
33506
33507 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
33508 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
33509
33510 2014-05-20 Joseph Myers <joseph@codesourcery.com>
33511
33512 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
33513 (libgcc_s_resume): Use __attribute_used__.
33514 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
33515 Likewise.
33516
33517 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33518
33519 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
33520 optimization when used with float constants.
33521
33522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33523
33524 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
33525
33526 [BZ #16915]
33527 * locale/nl_langinfo_l.c: Make direct reference to every
33528 _nl_current_CATEGORY symbol.
33529 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
33530 (tests-static): Add tst-langinfo-static.
33531 (tests-special): Add tst-langinfo-static.out.
33532 ($(objpfx)tst-langinfo.out): Redirect output.
33533 ($(objpfx)tst-langinfo-static.out): New.
33534 * localedata/tst-langinfo.sh: Send output to stdout.
33535 * localedata/tst-langinfo-static.c: New file.
33536
33537 [BZ #16965]
33538 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
33539 when the shift amount is modulo the limb size.
33540
33541 2014-05-20 Richard Henderson <rth@redhat.com>
33542
33543 [BZ #16967]
33544 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
33545 Change type of sa_flags from unsigned int to int.
33546
33547 [BZ #16966]
33548 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
33549
33550 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
33551
33552 2014-05-20 Will Newton <will.newton@linaro.org>
33553
33554 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33555 Test the return value of the system call in the nocancel case.
33556
33557 2014-05-20 Will Newton <will.newton@linaro.org>
33558 Yvan Roux <yvan.roux@linaro.org>
33559
33560 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
33561 #include of asm/ptrace.h.
33562 (PTRACE_GET_THREAD_AREA): Remove #undef.
33563 (PTRACE_GETHBPREGS): Likewise.
33564 (PTRACE_SETHBPREGS): Likewise.
33565 (struct user_regs_struct): New structure.
33566 (struct user_fpsimd_struct): New structure.
33567 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
33568 #include of asm/ptrace.h and second #include of sys/user.h.
33569 (PTRACE_GET_THREAD_AREA): Remove #undef.
33570 (PTRACE_GETHBPREGS): Likewise.
33571 (PTRACE_SETHBPREGS): Likewise.
33572 (ELF_NGREG): Use new struct user_regs_struct.
33573 (elf_fpregset_t): Use new struct user_fpsimd_struct.
33574
33575 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33576
33577 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
33578 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
33579
33580 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
33581
33582 [BZ #16958]
33583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
33584 membar to avoid block loads/stores to overlap previous stores.
33585
33586 2014-05-17 Richard Henderson <rth@redhat.com>
33587
33588 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
33589 Create the __##syscall_name##_nocancel entry point.
33590 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
33591 Remove; let the sysdep-cancel.h code create it.
33592
33593 2014-05-17 David S. Miller <davem@davemloft.net>
33594
33595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
33596 Protect with __USE_GNU.
33597 (TIOCSET_TEMPT): Likewise.
33598 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33599 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
33600 these are already provided in bits/ioctl-types.h
33601
33602 2014-05-16 Roland McGrath <roland@hack.frob.com>
33603
33604 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
33605 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
33606
33607 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
33608 Use wait4 regardless of [__NR_waitpid].
33609
33610 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
33611
33612 PR libgcc/60166
33613 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33614 (_FP_NANSIGN_Q): Set the quiet bit.
33615
33616 2014-05-16 Joseph Myers <joseph@codesourcery.com>
33617
33618 * benchtests/Makefile
33619 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
33620 not $(common-objpfx)math/libm.so.
33621 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
33622 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
33623 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
33624 $(common-objpfx)dlfcn/libdl.so.
33625 ($(objpfx)tst-audit8): Depend on $(libm), not
33626 $(common-objpfx)math/libm.so.
33627 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
33628 not $(common-objpfx)dlfcn/libdl.so.
33629 * math/Makefile
33630 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
33631 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
33632 [$(build-shared) = yes].
33633 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
33634 $(common-objpfx)nptl/libpthread.so.
33635 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
33636 $(common-objpfx)math/libm.so$(libm.so-version) or
33637 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
33638 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
33639 $(common-objpfx)dlfcn/libdl.so.
33640 * setjmp/Makefile (link-libm): Remove variable.
33641 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
33642 * stdio-common/Makefile (link-libm): Remove variable.
33643 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
33644 * stdlib/Makefile (link-libm): Remove variable.
33645 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
33646 ($(objpfx)tst-strtod-round): Likewise.
33647 ($(objpfx)tst-tininess): Likewise.
33648 ($(objpfx)tst-strtod-underflow): Likewise.
33649 ($(objpfx)tst-strtod6): Likewise.
33650 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
33651 $(libdl), not $(common-objpfx)nptl/libpthread.so and
33652 $(common-objpfx)dlfcn/libdl.so.
33653
33654 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33655
33656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
33657 BSD terminal modes definitions.
33658
33659 2014-05-16 Roland McGrath <roland@hack.frob.com>
33660
33661 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
33662 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
33663
33664 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
33665 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
33666 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
33667 Don't do #include_next.
33668 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
33669 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
33670 Don't do #include_next.
33671 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
33672 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
33673 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
33674 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
33675
33676 2014-05-16 Allan McRae <allan@archlinux.org>
33677
33678 * po/sv.po: Update Swedish translation from translation project.
33679
33680 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
33681 in sed expression.
33682
33683 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
33684
33685 [BZ #16917]
33686 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
33687 errno if the TIOCGPTN ioctl fails with an error different than
33688 EINVAL.
33689 * login/tst-ptsname.c: New file.
33690 * login/Makefile (tests): Add tst-ptsname.
33691
33692 [BZ #16943]
33693 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
33694 and prlimit64.
33695
33696 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33697
33698 [BZ #16849]
33699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
33700 herrno to return EAI_AGAIN.
33701
33702 2014-05-14 Roland McGrath <roland@hack.frob.com>
33703
33704 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
33705 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
33706 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
33707 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
33708 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
33709 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
33710 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
33711 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
33712 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
33713 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
33714 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
33715 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
33716 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
33717 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
33718 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
33719 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
33720 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
33721 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
33722 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
33723 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
33724 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
33725 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
33726 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
33727 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
33728 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
33729 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
33730 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
33731 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
33732 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
33733 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
33734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
33735 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
33736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
33737 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
33738 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33739 Moved ...
33740 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
33741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
33742 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
33743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
33744 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
33745 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
33746 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
33747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
33748 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
33749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
33750 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
33751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
33752 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
33753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
33754 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
33755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
33756 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
33757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
33758 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
33759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
33760 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
33761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
33762 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
33763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
33764 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
33765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
33766 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
33767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33768 Moved ...
33769 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
33770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
33771 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
33772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
33773 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
33774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
33775 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
33776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
33777 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
33778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
33779 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
33780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
33781 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
33782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
33783 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
33784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
33785 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
33786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
33787 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
33788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33789 Moved ...
33790 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
33791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
33792 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
33793
33794 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
33795 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
33796 (libpthread-sysdep_routines): Add elision-related stuff here instead.
33797 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
33798 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
33799 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
33800 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
33801 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
33802 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
33803 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
33804 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
33805 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
33806 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
33807 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
33808 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
33809 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
33810 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
33811 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
33812 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
33813 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
33814 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
33815 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
33816 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
33817 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
33818 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
33819 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
33820 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
33821 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
33822 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
33823 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
33824 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
33825
33826 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
33827 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
33828
33829 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
33830 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
33831 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
33832 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
33833 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
33834 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
33835 Moved ...
33836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
33837 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
33838 Moved ...
33839 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
33840 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
33841 Moved ...
33842 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
33843 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
33844 Moved ...
33845 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
33846 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
33847 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
33848 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
33849 Moved ...
33850 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
33851 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
33852 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
33853 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
33854 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
33855 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
33856 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
33857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
33858 Moved ...
33859 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
33860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33861 Moved ...
33862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
33863 ... here.
33864 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
33865 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
33866 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
33867 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
33868 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33869 Moved ...
33870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
33871 ... here.
33872 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
33873 Moved ...
33874 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
33875 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
33876 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
33877 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
33878 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
33879 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
33880 Moved ...
33881 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
33882 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
33883 Moved ...
33884 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
33885 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
33886 Moved ...
33887 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
33888 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
33889 Moved ...
33890 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
33891 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
33892 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
33893 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
33894 Moved ...
33895 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
33896 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
33897 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
33898 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
33899 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
33900 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
33901 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
33902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
33903 Moved ...
33904 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
33905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33906 Moved ...
33907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
33908 ... here.
33909 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
33910 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
33911 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
33912 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
33913 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33914 Moved ...
33915 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
33916 ... here.
33917 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
33918 Moved ...
33919 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
33920 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
33921 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
33922 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
33923 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
33924 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
33925 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
33926 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
33927 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
33928 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
33929 Moved ...
33930 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
33931 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
33932 Moved ...
33933 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
33934 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
33935 Moved ...
33936 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
33937 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
33938 Moved ...
33939 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
33940 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
33941 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
33942 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
33943 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
33944 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
33945 Moved ...
33946 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
33947 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
33948 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
33949 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
33950 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
33951 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
33952 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
33953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
33954 Moved ...
33955 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
33956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33957 Moved ...
33958 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
33959 ... here.
33960 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
33961 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
33962 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
33963 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
33964 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33965 Moved ...
33966 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
33967 ... here.
33968 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
33969 Moved ...
33970 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
33971 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
33972 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
33973 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
33974 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
33975 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
33976 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
33977 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
33978 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
33979 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
33980 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
33981
33982 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
33983 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
33984
33985 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
33986 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
33987
33988 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
33989 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
33990 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
33991 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
33992 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
33993 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
33994 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
33995 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
33996 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
33997 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
33998 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
33999 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34000 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34001 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34002 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34003 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34004 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34005 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34006 Moved ...
34007 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34008 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34009 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34010 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34011 Moved ...
34012 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34013 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34014 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34015 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34016 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34017 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34018 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34019 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34020 Moved ...
34021 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34023 Moved ...
34024 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34026 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34028 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34029 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34030 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34031 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34032 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34033 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34034 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34035 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34036 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34037 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34038 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34039 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34040 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34041
34042 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34043 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34044 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34045 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34046 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34047
34048 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34049 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34050 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34051 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34052 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34053 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34054 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34055 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34056 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34057 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34058
34059 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34060 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34061
34062 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34063 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34064 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34065 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34066 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34067 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34068 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34069 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34070 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34071 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34072 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34073 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34074 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34075 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34076 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34077 Update #include.
34078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34079 Likewise.
34080 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34081 Likewise.
34082 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34083 Likewise.
34084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34085 Likewise.
34086 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34087 Likewise.
34088 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34089 Likewise.
34090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34091 Likewise.
34092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34093 Likewise.
34094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34095 Likewise.
34096 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34101 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34102 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34103 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34104 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34105 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34106 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34107 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34108 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34109 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
34110 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
34111
34112 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34113 that was previously under [RESET_PID].
34114 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34115 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34116 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34117
34118 * sysdeps/i386/nptl/Implies: New file.
34119 * sysdeps/x86_64/nptl/Implies: New file.
34120 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34121 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34122 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34123 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34124
34125 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34126 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34127 (__libc_vfork): New strong alias.
34128 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34129 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34130
34131 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34132 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34133 (__libc_vfork): New strong alias.
34134 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34135 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34136
34137 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34138 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34139 (__libc_vfork): New strong alias.
34140 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34141 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34142 * nptl/pt-vfork.c: New file.
34143 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34144 (libpthread: GLIBC_2.20): New version set (empty).
34145
34146 2014-05-14 Will Newton <will.newton@linaro.org>
34147
34148 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34149 rather than #if.
34150
34151 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34152
34153 [BZ #16564]
34154 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34155 arguments with exponent 65 or above.
34156 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34157 arguments 0x1p113L or above.
34158 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34159 to arguments 0x1p107L or above.
34160 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34161 positive arguments with exponent 65 or above.
34162 * math/auto-libm-test-in: Add more tests of log1p.
34163 * math/auto-libm-test-out: Regenerated.
34164
34165 [BZ #16928]
34166 * math/s_cacos.c (__cacos): Ensure zero real part of result from
34167 non-finite arguments is +0.
34168 * math/s_cacosf.c (__cacosf): Likewise.
34169 * math/s_cacosl.c (__cacosl): Likewise.
34170 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34171 * sysdeps/i386/fpu/libm-test-ulps: Update.
34172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34173
34174 [BZ #16927]
34175 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34176 value.
34177 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34178 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34179 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34180 for explicit high bit of mantissa when testing for argument equal
34181 to 1.
34182 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34183 * sysdeps/i386/fpu/libm-test-ulps: Update.
34184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34185
34186 [BZ #16516]
34187 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34188 (__erf): Scale by 16 instead of 8 in potentially underflowing
34189 case. Ensure exception if result actually underflows.
34190 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34191 (__erff): Scale by 16 instead of 8 in potentially underflowing
34192 case. Ensure exception if result actually underflows.
34193 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34194 (efx8): Remove variable.
34195 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34196 case. Ensure exception if result actually underflows.
34197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34198 (efx8): Remove variable.
34199 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34200 case. Ensure exception if result actually underflows.
34201 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34202 (efx8): Remove variable.
34203 (__erfl): Scale by 16 instead of 8 in potentially underflowing
34204 case. Ensure exception if result actually underflows.
34205 * math/auto-libm-test-in: Add more tests of erf.
34206 * math/auto-libm-test-out: Regenerated.
34207
34208 2014-05-14 Andreas Schwab <schwab@suse.de>
34209
34210 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34211 Remove code conditionalized on USE___THREAD.
34212
34213 * config.h.in (HAVE_PT_CHOWN): Define as 0.
34214 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34215 not definedness.
34216
34217 2014-05-14 Joseph Myers <joseph@codesourcery.com>
34218
34219 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34220 Define unconditionally.
34221 (__ASSUME_O_CLOEXEC): Likewise.
34222 (__ASSUME_SOCK_CLOEXEC): Likewise.
34223 (__ASSUME_IN_NONBLOCK): Likewise.
34224 (__ASSUME_PIPE2): Likewise.
34225 (__ASSUME_EVENTFD2): Likewise.
34226 (__ASSUME_SIGNALFD4): Likewise.
34227 (__ASSUME_DUP3): Likewise.
34228 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34229 (__ASSUME_DUP3): Do not define.
34230 (__ASSUME_EVENTFD2): Likewise.
34231 (__ASSUME_IN_NONBLOCK): Likewise.
34232 (__ASSUME_O_CLOEXEC): Likewise.
34233 (__ASSUME_PIPE2): Likewise.
34234 (__ASSUME_SIGNALFD4): Likewise.
34235 (__ASSUME_SOCK_CLOEXEC): Likewise.
34236 (__ASSUME_UTIMES): Undefine.
34237 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34238 (__ASSUME_UTIMES): Do not define.
34239 (__ASSUME_O_CLOEXEC): Likewise.
34240 (__ASSUME_SOCK_CLOEXEC): Likewise.
34241 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34242 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34243 0x020621].
34244 (__ASSUME_PIPE2): Likewise.
34245 (__ASSUME_EVENTFD2): Likewise.
34246 (__ASSUME_SIGNALFD4): Likewise.
34247 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34248 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34249 Do not define.
34250 (__ASSUME_EVENTFD2): Likewise.
34251 (__ASSUME_SIGNALFD4): Likewise.
34252 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34253 (__ASSUME_32BITUIDS): Likewise.
34254 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34255 (__ASSUME_IPC64): Likewise.
34256 (__ASSUME_ST_INO_64_BIT): Likewise.
34257 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34258 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34259 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34260 (__ASSUME_UTIMES): Do not define.
34261 (__ASSUME_PSELECT): Likewise.
34262 (__ASSUME_PPOLL): Likewise.
34263 (__ASSUME_O_CLOEXEC): Likewise.
34264 (__ASSUME_SOCK_CLOEXEC): Likewise.
34265 (__ASSUME_IN_NONBLOCK): Likewise.
34266 (__ASSUME_PIPE2): Likewise.
34267 (__ASSUME_EVENTFD2): Likewise.
34268 (__ASSUME_SIGNALFD4): Likewise.
34269 (__ASSUME_DUP3): Likewise.
34270 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34271 (__ASSUME_UTIMES): Likewise.
34272 (__ASSUME_O_CLOEXEC): Likewise.
34273 (__ASSUME_SOCK_CLOEXEC): Likewise.
34274 (__ASSUME_IN_NONBLOCK): Likewise.
34275 (__ASSUME_PIPE2): Likewise.
34276 (__ASSUME_EVENTFD2): Likewise.
34277 (__ASSUME_SIGNALFD4): Likewise.
34278 (__ASSUME_DUP3): Likewise.
34279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34280 (__ASSUME_UTIMES): Likewise.
34281 (__ASSUME_O_CLOEXEC): Likewise.
34282 (__ASSUME_SOCK_CLOEXEC): Likewise.
34283 (__ASSUME_IN_NONBLOCK): Likewise.
34284 (__ASSUME_PIPE2): Likewise.
34285 (__ASSUME_EVENTFD2): Likewise.
34286 (__ASSUME_SIGNALFD4): Likewise.
34287 (__ASSUME_DUP3): Likewise.
34288 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34289 Likewise.
34290 (__ASSUME_UTIMES): Likewise.
34291 (__ASSUME_EVENTFD2): Likewise.
34292 (__ASSUME_SIGNALFD4): Likewise.
34293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
34294 (__ASSUME_O_CLOEXEC): Likewise.
34295 (__ASSUME_SOCK_CLOEXEC): Likewise.
34296 (__ASSUME_IN_NONBLOCK): Likewise.
34297 (__ASSUME_PIPE2): Likewise.
34298 (__ASSUME_EVENTFD2): Likewise.
34299 (__ASSUME_SIGNALFD4): Likewise.
34300 (__ASSUME_DUP3): Likewise.
34301 (__ASSUME_UTIMES): Undefine.
34302
34303 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34304 feclearexcept. Remove symbol versioning code.
34305 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
34306 symbol versioning code.
34307 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
34308 symbol versioning code.
34309 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34310 feupdateenv. Remove symbol versioning code.
34311 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34312 fegetexceptflag. Remove symbol versioning code.
34313 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34314 fesetexceptflag. Remove symbol versioning code.
34315 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34316 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
34317 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34318 (__posix_fadvise64_l32): Remove prototype.
34319 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34320 code.
34321
34322 2014-05-13 Roland McGrath <roland@hack.frob.com>
34323
34324 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34325 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34326 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34327 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34328
34329 2014-05-13 Sami Kerola <kerolasa@iki.fi>
34330
34331 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34332 current working directory
34333
34334 2014-05-13 Roland McGrath <roland@hack.frob.com>
34335
34336 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34337 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34338 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34339 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34340 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34341 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34342 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34343 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34344 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34345 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34346 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34347 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34348 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34349 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34350 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34351 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34352 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34353 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34354 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34355 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34356 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34357 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34358 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34359 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34360 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34361 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34362 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34363 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34364 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34365 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34366 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34367 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34368 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34369 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34370 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34371 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34372 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34373 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34374 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34375 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34376 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34377 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34378
34379 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34380 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34381
34382 * sysdeps/unix/sysv/linux/arm/Makefile
34383 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34384 Add rt-aeabi_unwind_cpp_pr1.
34385 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34386 Add nptl-aeabi_unwind_cpp_pr1.
34387 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34388 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34389 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34390 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34391 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34392 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34393
34394 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34395 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34396 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34397 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34398
34399 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34400 Deconditionalize the code that was previously under [RESET_PID].
34401 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34402
34403 * sysdeps/generic/exit-thread.h: New file.
34404 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34405 * include/unistd.h (__exit_thread): Remove declaration.
34406 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34407 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34408 * csu/libc-start.c: Include <exit-thread.h>.
34409 (LIBC_START_MAIN): Pass no argument to __exit_thread.
34410 * nptl/pthread_create.c: Include <exit-thread.h>.
34411 (start_thread): Call __exit_thread in place of __exit_thread_inline.
34412 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34413 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34414 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34415 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34416 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34417 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34418 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34419 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34420 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34421 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34422 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34423 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34424 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34425 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34426 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34427 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34428
34429 2014-05-13 Andreas Schwab <schwab@suse.de>
34430
34431 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34432
34433 2014-05-12 Joseph Myers <joseph@codesourcery.com>
34434
34435 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34436 (__ASSUME_UTIMES): Do not condition on kernel version.
34437 (__ASSUME_PSELECT): Define unconditionally.
34438 (__ASSUME_PPOLL): Likewise.
34439 (__ASSUME_ATFCTS): Likewise.
34440 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34441 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34442 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34443 (__ASSUME_UTIMENSAT): Define unconditionally.
34444 (__ASSUME_PRIVATE_FUTEX): Likewise.
34445 (__ASSUME_FALLOCATE): Likewise.
34446 (__ASSUME_O_CLOEXEC): Likewise.
34447 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
34448 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
34449 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
34450 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
34451 (__ASSUME_IN_NONBLOCK): Likewise.
34452 (__ASSUME_PIPE2): Likewise.
34453 (__ASSUME_EVENTFD2): Likewise.
34454 (__ASSUME_SIGNALFD4): Likewise.
34455 (__ASSUME_DUP3): Likewise.
34456 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34457 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
34458 (__ASSUME_AT_RANDOM): Likewise.
34459 (__ASSUME_PREADV): Likewise.
34460 (__ASSUME_PWRITEV): Likewise.
34461 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
34462 (__ASSUME_F_GETOWN_EX): Define unconditionally.
34463 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
34464 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34465 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
34466 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34467 (__ASSUME_O_CLOEXEC): Define unconditionally.
34468 (__ASSUME_PSELECT): Do not undefine conditionally.
34469 (__ASSUME_PPOLL): Likewise.
34470 (__ASSUME_ATFCTS): Likewise.
34471 (__ASSUME_SET_ROBUST_LIST): Likewise.
34472 (__ASSUME_UTIMENSAT): Likewise.
34473 (__ASSUME_FDATASYNC): Define unconditionally.
34474 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34475 (__ASSUME_SIGFRAME_V2): Likewise.
34476 )__ASSUME_EVENTFD2): Likewise.
34477 (__ASSUME_SIGNALFD4): Likewise.
34478 (__ASSUME_PSELECT): Do not undefine conditionally.
34479 (__ASSUME_PPOLL): Likewise.
34480 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34481 (__ASSUME_PSELECT): Define unconditionally.
34482 (__ASSUME_PPOLL): Likewise.
34483 (__ASSUME_O_CLOEXEC): Likewise.
34484 (__ASSUME_SOCK_CLOEXEC): Likewise.
34485 (__ASSUME_IN_NONBLOCK): Likewise.
34486 (__ASSUME_PIPE2): Likewise.
34487 (__ASSUME_EVENTFD2): Likewise.
34488 (__ASSUME_SIGNALFD4): Likewise.
34489 (__ASSUME_DUP3): Likewise.
34490 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34491 (__ASSUME_O_CLOEXEC): Likewise.
34492 (__ASSUME_SOCK_CLOEXEC): Likewise.
34493 (__ASSUME_IN_NONBLOCK): Likewise.
34494 (__ASSUME_PIPE2): Likewise.
34495 (__ASSUME_EVENTFD2): Likewise.
34496 (__ASSUME_SIGNALFD4): Likewise.
34497 (__ASSUME_DUP3): Likewise.
34498 * sysdeps/unix/sysv/linux/mips/kernel-features.h
34499 (__ASSUME_EVENTFD2): Likewise.
34500 (__ASSUME_SIGNALFD4): Likewise.
34501 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
34502
34503 2014-05-12 Andreas Schwab <schwab@suse.de>
34504
34505 [BZ #16932]
34506 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
34507 (_nss_nis_gethostbyname4_r): Return error if item length is larger
34508 than maximum RPC packet size.
34509 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
34510 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
34511 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
34512 (_nss_nis_getservbyport_r): Likewise.
34513
34514 2014-05-12 Will Newton <will.newton@linaro.org>
34515
34516 * malloc/Makefile (tests): Add tst-mallopt.
34517 * malloc/tst-mallopt.c: New file.
34518
34519 2014-05-09 Roland McGrath <roland@hack.frob.com>
34520
34521 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
34522 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
34523
34524 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34525
34526 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
34527 (tst-tlsmod6.so): Likewise.
34528
34529 2014-05-09 Roland McGrath <roland@hack.frob.com>
34530
34531 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
34532
34533 2014-05-09 Joseph Myers <joseph@codesourcery.com>
34534
34535 [BZ #16064]
34536 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
34537 and <dl-procinfo.h>.
34538 (__fegetenv): Save SSE state in envp->__eip if supported.
34539 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
34540 envp->__eip if supported.
34541 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
34542 and <dl-procinfo.h>.
34543 (__fesetenv): Always set __eip, __cs_selector, __opcode,
34544 __data_offset and __data_selector in environment to 0. Set SSE
34545 state if supported.
34546 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
34547 test-fenv-sse.
34548 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
34549 -mfpmath=sse.
34550 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
34551
34552 2014-05-09 Will Newton <will.newton@linaro.org>
34553
34554 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
34555 and libc_relro_required for ARM.
34556 * sysdeps/arm/preconfigure: Regenerate.
34557
34558 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
34559 Stefan Liebler <stli@linux.vnet.ibm.com>
34560
34561 * config.make.in (enable-lock-elision): New Makefile variable.
34562 * configure.ac: Likewise.
34563 * configure: Regenerate.
34564 * sysdeps/s390/configure.ac:
34565 Add check for gcc transactions support.
34566 * sysdeps/s390/configure: Regenerate.
34567 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
34568 Build elision files if enabled.
34569 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
34570 Add lock elision support for s390.
34571 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
34572 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
34573 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
34574 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
34575 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
34576 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
34577 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34578 Likewise.
34579 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
34580 Likewise.
34581 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
34582 Likewise.
34583 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
34584 Likewise.
34585 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
34586 (__lll_timedlock_elision, __lll_lock_elision)
34587 (__lll_unlock_elision, __lll_trylock_elision)
34588 (lll_timedlock_elision, lll_lock_elision)
34589 (lll_unlock_elision, lll_trylock_elision): Add.
34590 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
34591 (pthread_mutex_t): Add lock elision support for s390.
34592
34593 2014-05-14 Wilco <wdijkstr@arm.com>
34594
34595 * sysdeps/arm/fclrexcpt.c: Cleanup.
34596 * sysdeps/arm/fedisblxcpt.c: Cleanup.
34597 * sysdeps/arm/feenablxcpt.c: Cleanup.
34598 * sysdeps/arm/fegetenv.c: Cleanup.
34599 * sysdeps/arm/fegetexcept.c: Cleanup.
34600 * sysdeps/arm/fegetround.c: Cleanup.
34601 * sysdeps/arm/feholdexcpt.c: Cleanup.
34602 * sysdeps/arm/fesetenv.c: Cleanup.
34603 * sysdeps/arm/fesetround.c: Cleanup.
34604 * sysdeps/arm/feupdateenv.c: Cleanup.
34605 * sysdeps/arm/fgetexcptflg.c: Cleanup.
34606 * sysdeps/arm/fraiseexcpt.c: Cleanup.
34607 * sysdeps/arm/fsetexcptflg.c: Cleanup.
34608 * sysdeps/arm/ftestexcept.c: Cleanup.
34609 * sysdeps/arm/get-rounding-mode.h: Cleanup.
34610 * sysdeps/arm/setfpucw.c: Cleanup.
34611
34612 2014-05-09 Will Newton <will.newton@linaro.org>
34613
34614 * sysdeps/arm/armv7/strcmp.S: New file.
34615 * NEWS: Mention addition of ARMv7 optimized strcmp.
34616
34617 2014-05-08 Roland McGrath <roland@hack.frob.com>
34618
34619 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
34620 look for %.ac rather than %.in.
34621
34622 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
34623 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
34624 * sysdeps/mach/hurd/configure: Regenerated.
34625 * sysdeps/unix/sysv/linux/configure: Regenerated.
34626
34627 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
34628
34629 2014-05-07 Steve Ellcey <sellcey@mips.com>
34630
34631 [BZ# 16922]
34632 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
34633 (LONG_SUB): Ditto.
34634 (PTR_SUB): Ditto.
34635
34636 2014-05-07 Andreas Schwab <schwab@suse.de>
34637
34638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
34639 when skipping over non-matching result from nscd.
34640
34641 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
34642
34643 [BZ #16876]
34644 * nptl/sockperf.c (client): Check socket return value.
34645
34646 [BZ #16877]
34647 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
34648 nscd security class.
34649
34650 2014-05-06 Roland McGrath <roland@hack.frob.com>
34651
34652 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
34653 * sysdeps/arm/unwind.h: ... here.
34654
34655 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
34656
34657 [BZ# 16916]
34658 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
34659 Define.
34660
34661 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
34662
34663 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
34664 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
34665 multiarch strncpy for PPC64.
34666 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
34667 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
34668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
34669 multiarch optimizations.
34670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34671 (__libc_ifunc_impl_list): Likewise.
34672 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
34673 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
34674 multiarch stpncpy for PPC64.
34675 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
34676 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
34677
34678 2014-05-06 Andreas Schwab <schwab@suse.de>
34679
34680 [BZ #16912]
34681 * gmon/mcount.c (_MCOUNT_DECL): Use
34682 atomic_compare_and_exchange_bool_acq instead of
34683 catomic_compare_and_exchange_bool_acq.
34684
34685 2014-05-05 Roland McGrath <roland@hack.frob.com>
34686
34687 * elf/Makefile (others, install-bin): Remove pldd.
34688 (pldd-modules): Variable removed.
34689 ($(objpfx)pldd): Target removed.
34690 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
34691 (others, install-bin): Append pldd here.
34692 ($(objpfx)pldd): New target.
34693
34694 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
34695 to 0, so the first #if test emitted later doesn't see it undefined.
34696 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
34697 * sysdeps/gnu/errlist.c: Regenerated.
34698
34699 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34700
34701 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34702 [libc_hidden_builtin_def]: Define to empty value.
34703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
34704 [libc_hidden_builtin_def]: Likewise.
34705 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
34706 [libc_hidden_builtin_def]: Likewise.
34707 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
34708 [libc_hidden_builtin_def]: Likewise.
34709 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
34710 __redirect_memcpy and define ifunc as default hidden symbol.
34711 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
34712 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
34713
34714 2014-05-04 Adam Conrad <adconrad@0c3.net>
34715
34716 * locale/iso-4217.def: Reintroduce XDR currency.
34717
34718 2014-05-04 Allan McRae <allan@archlinux.org>
34719
34720 * po/eo.po: Update Esperanto translation from translation project.
34721
34722 2014-05-02 Carlos O'Donell <carlos@redhat.com>
34723
34724 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
34725 and FEATURE_INDEX_MAX to 1.
34726 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
34727
34728 2014-05-01 Steve Ellcey <sellcey@mips.com>
34729
34730 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
34731 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
34732 * iconvdata/big5.c (ONE_DIRECTION): Define.
34733 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
34734 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
34735 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
34736 * iconvdata/cp932.c (ONE_DIRECTION): Define.
34737 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
34738 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
34739 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
34740 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
34741 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
34742 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
34743 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
34744 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
34745 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
34746 * iconvdata/gbk.c (ONE_DIRECTION): Define.
34747 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
34748 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
34749 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
34750 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
34751 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
34752 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
34753 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
34754 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
34755 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
34756 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
34757 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
34758 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
34759 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
34760 * iconvdata/iso646.c (ONE_DIRECTION): Define.
34761 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
34762 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
34763 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
34764 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
34765 * iconvdata/johab.c (ONE_DIRECTION): Define.
34766 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
34767 * iconvdata/sjis.c (ONE_DIRECTION): Define.
34768 * iconvdata/t.61.c (ONE_DIRECTION): Define.
34769 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
34770 * iconvdata/tscii.c (ONE_DIRECTION): Define.
34771 * iconvdata/uhc.c (ONE_DIRECTION): Define.
34772 * iconvdata/unicode.c (ONE_DIRECTION): Define.
34773 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
34774 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
34775 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
34776
34777 2014-05-01 Roland McGrath <roland@hack.frob.com>
34778
34779 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
34780 (_IO_JUMPS_OFFSET): Define to 0.
34781
34782 * nptl/sysdeps/pthread/bits/libc-lock.h
34783 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34784 (__libc_lock_define_initialized_recursive): Always define using
34785 initializer. Modern compilers treat uninitialized (implicit zero) and
34786 explicit zero initializers the same (i.e. put the datum in bss).
34787
34788 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34789
34790 * nscd/nscd-client.h: Include <string.h>.
34791
34792 2014-05-01 David S. Miller <davem@davemloft.net>
34793
34794 [BZ #16885]
34795 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
34796 multiple zero bytes exist at the end of a string.
34797 Reported by Aurelien Jarno <aurelien@aurel32.net>
34798
34799 * string/test-strcmp.c (check): Add explicit test for situations where
34800 there are multiple zero bytes after the first.
34801
34802 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
34803
34804 [BZ #16890]
34805 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
34806 when compiling wprintf.
34807 * stdio-common/tstdiomisc.c (t3): New function.
34808 (main): Call it.
34809
34810 2014-05-01 Steve Ellcey <sellcey@mips.com>
34811
34812 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
34813 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
34814 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
34815 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
34816
34817 2014-05-01 Steve Ellcey <sellcey@mips.com>
34818
34819 * stdlib/longlong.h: Updated from GCC.
34820
34821 2014-05-01 Will Newton <will.newton@linaro.org>
34822 Bernard Ogden <bernie.ogden@linaro.org>
34823
34824 * NEWS: Update fixed bug list.
34825
34826 [BZ #15119]
34827 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
34828
34829 2014-04-30 David S. Miller <davem@davemloft.net>
34830
34831 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
34832 (libc_feholdexcept_setround_sparc_ctx): New function.
34833 (libc_fesetenv_sparc_ctx): Likewise.
34834 (libc_feupdateenv_sparc_ctx): Likewise.
34835 (libc_feholdsetround_sparc_ctx): Likewise.
34836 (libc_feholdexcept_setround_ctx): Define.
34837 (libc_feholdexcept_setroundf_ctx): Likewise.
34838 (libc_feholdexcept_setroundl_ctx): Likewise.
34839 (libc_fesetenv_ctx): Likewise.
34840 (libc_fesetenvf_ctx): Likewise.
34841 (libc_fesetenvl_ctx): Likewise.
34842 (libc_feupdateenv_ctx): Likewise.
34843 (libc_feupdateenvf_ctx): Likewise.
34844 (libc_feupdateenvl_ctx): Likewise.
34845 (libc_feresetround_ctx): Likewise.
34846 (libc_feresetroundf_ctx): Likewise.
34847 (libc_feresetroundl_ctx): Likewise.
34848 (libc_feholdsetround_ctx): Likewise.
34849 (libc_feholdsetroundf_ctx): Likewise.
34850 (libc_feholdsetroundl_ctx): Likewise.
34851
34852 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34853 with __USE_GNU instead of XOPEN cpp guards.
34854
34855 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
34856 0.
34857
34858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
34859 with XOPEN cpp guards.
34860
34861 2014-04-30 Julian Brown <julian@codesourcery.com>
34862
34863 [BZ #16888]
34864 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
34865 handling.
34866
34867 2014-04-30 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #9894]
34870 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
34871 Change to 2.6.32.
34872 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
34873 * sysdeps/unix/sysv/linux/configure: Regenerated.
34874 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
34875 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
34876 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
34877 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
34878 * README: Update reference to required Linux kernel version.
34879 * manual/install.texi (Linux): Update reference to required Linux
34880 kernel headers version.
34881 * INSTALL: Regenerated.
34882
34883 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
34884 header inclusion.
34885 [POSIX] (limits.h): Likewise.
34886 [POSIX] (math.h): Likewise.
34887 [POSIX] (sys/wait.h): Likewise.
34888 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
34889 function.
34890 [POSIX] (stddef.h): Do not allow header inclusion.
34891
34892 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34893
34894 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
34895
34896 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
34897
34898 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
34899 Return immediately after lll_futex_wake.
34900
34901 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34902
34903 [BZ #16791]
34904 * nscd/nscd-client.h (datahead_init_common): Initialize entire
34905 structure.
34906 (datahead_init_pos): Call datahead_init_common early.
34907 (datahead_init_neg): Likewise.
34908
34909 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
34910 datahead_init_neg): New functions.
34911 * nscd/aicache.c (addhstaiX): Use them.
34912 * nscd/grpcache.c (cache_addgr): Likewise.
34913 * nscd/hstcache.c (cache_addhst): Likewise.
34914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34915 * nscd/netgroupcache.c (do_notfound): Likewise.
34916 (addgetnetgrentX): Likewise.
34917 (addinnetgrX): Likewise.
34918 * nscd/pwdcache.c (cache_addpw): Likewise.
34919 * nscd/servicescache.c (cache_addserv): Likewise.
34920
34921 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34922 Atsushi Onoe <atsushi@onoe.org>
34923
34924 [BZ #14308]
34925 [BZ #12994]
34926 [BZ #13651]
34927 * resolv/res_query.c (__libc_res_nsearch): Return if at least
34928 one response is valid.
34929 * resolv/res_send.c (send_dg): Check for validity of other
34930 response if the current response is a referral.
34931
34932 2014-04-29 Steve Ellcey <sellcey@mips.com>
34933
34934 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
34935
34936 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
34937
34938 [BZ #16823]
34939 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
34940 Always divide by positive zero when computing -Inf result.
34941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34942 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
34943
34944 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34945
34946 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
34947 FPSCR if value do not change.
34948 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34949 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
34950 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34951 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
34952 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
34953 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
34954 function.
34955
34956 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
34957
34958 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
34959 * sysdeps/unix/sysv/linux/hppa: Move directory from
34960 ports/systeps/unix/sysv/linux/hppa.
34961 * README: Update listing for hppa-*-linux-gnu.
34962
34963 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
34964
34965 [BZ #16754]
34966 * manual/stdio.texi (Hook functions): Fix types of stream hook
34967 functions.
34968 [BZ #16854]
34969 * socket/sys/socket.h: Fix typo in comment.
34970
34971 2014-04-28 Wilco <wdijkstr@arm.com>
34972
34973 * sysdeps/arm/fenv_private.h: New file.
34974 * sysdeps/arm/math_private.h: New file.
34975 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
34976
34977 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
34978
34979 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
34980 with __int128_t.
34981 (La_x86_64_retval): Likewise.
34982
34983 2014-04-24 Ian Bolton <ian.bolton@arm.com>
34984
34985 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
34986 fpsr if value didn't change.
34987 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
34988 to fpcr if value didn't change.
34989 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
34990 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
34991 fpsr or fpcr if value didn't change.
34992 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34993 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
34994 fpcr if value didn't change.
34995 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
34996 to fpsr if value didn't change.
34997
34998 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
34999
35000 * nptl/tst-sem3.c: Use test-skeleton.c
35001 (main): Rename to do_test. Use return instead of
35002 exit.
35003 * nptl/tst-sem4.c: Use test-skeleton.c
35004 (main): Rename to do_test.
35005
35006 2014-04-22 David S. Miller <davem@davemloft.net>
35007
35008 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35009 (struct sigaction): New struct member __glibc_reserved0, change
35010 type of sa_flags to int.
35011
35012 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
35013
35014 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35015 (COUNT_LEADING_ZEROS_0): Define for AArch64.
35016
35017 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35018
35019 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35020 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35021
35022 2014-04-22 Will Newton <will.newton@linaro.org>
35023 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
35024
35025 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35026 (__longjmp): Add longjmp and longjmp_target SystemTap
35027 probes.
35028 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35029 (__sigsetjmp): Add setjmp SystemTap probe.
35030
35031 2014-04-17 Carlos O'Donell <carlos@redhat.com>
35032
35033 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35034 match manual order.
35035
35036 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35037
35038 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35039
35040 * sysdeps/powerpc/fpu/fenv_private.h
35041 (libc_feholdexcept_setroundl_ctx): Define to
35042 libc_feholdexcept_setround_ppc_ctx.
35043 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35044 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35045 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35046 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35047
35048 2014-04-17 Ian Bolton <ian.bolton@arm.com>
35049
35050 * sysdeps/aarch64/math-tests.h: New file.
35051
35052 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
35053
35054 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35055 New.
35056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35057 Check and set bit_AVX2_Usable.
35058 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35059 macro.
35060 (bit_AVX2): Likewise.
35061 (index_AVX2_Usable): Likewise.
35062 (CPUID_AVX2): Likewise.
35063 (HAS_AVX2): Likewise.
35064
35065 2014-04-17 Will Newton <will.newton@linaro.org>
35066
35067 * manual/setjmp.texi (System V contexts): Add note that
35068 calling setcontext on a context created by a call to a
35069 signal handler is undefined. Update text to note that
35070 setcontext from a signal handler is possible but not
35071 recommended.
35072
35073 [BZ #16629]
35074 * stdlib/tst-setcontext.c: Include signal.h.
35075 (main): Check that the signal stack before and
35076 after swapcontext is the same.
35077
35078 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35079 Re-implement to restore registers in user code and avoid
35080 rt_sigreturn system call.
35081
35082 2014-04-17 Wilco <wdijkstr@arm.com>
35083
35084 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35085 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35086 * math/test-fenv.c: Skip exception trap tests on targets which only
35087 support non-stop mode.
35088
35089 2014-04-17 Ian Bolton <ian.bolton@arm.com>
35090 Wilco Dijkstra <wilco.dijkstra@arm.com>
35091
35092 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35093 (libc_feholdsetround_aarch64_ctx)
35094 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35095 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35096 (libc_feresetround_ctx, libc_feresetroundf_ctx)
35097 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35098 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35099 (libc_feresetround_noexl_ctx): Define.
35100
35101 2014-04-16 Richard Henderson <rth@redhat.com>
35102
35103 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35104
35105 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35106 unwind tables.
35107
35108 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35109 const from the non-libc, non-ldso copy.
35110
35111 * sysdeps/alpha/libm-test-ulps: Regenerate.
35112
35113 2014-04-16 Ian Bolton <ian.bolton@arm.com>
35114 Wilco Dijkstra <wilco.dijkstra@arm.com>
35115
35116 * sysdeps/aarch64/fpu/math_private.h: New file.
35117
35118 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
35119
35120 * sysdeps/aarch64/libm-test-ulps: Regenerate.
35121
35122 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
35123
35124 [BZ #16275]
35125 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35126 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35127 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35128 Intel MPX bound registers before _dl_profile_fixup.
35129 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35130 registers after _dl_profile_fixup. Save and restore bound
35131 registers bnd0/bnd1 when calling _dl_call_pltexit.
35132 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35133 (LR_BND_OFFSET): Likewise.
35134 (LRV_BND0_OFFSET): Likewise.
35135 (LRV_BND1_OFFSET): Likewise.
35136
35137 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35138
35139 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35140 to...
35141 * sysdeps/mach/hurd/i386/tls.h: ... here.
35142 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35143 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35144 fields.
35145
35146 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
35147
35148 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35149
35150 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35151
35152 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35153
35154 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
35155
35156 [BZ #14770]
35157 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35158 * sysdeps/s390/configure: Regenerate.
35159
35160 [BZ #16824]
35161 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35162 Set round-to-nearest internally to reduce error accumulation.
35163
35164 2014-04-16 Alan Modra <amodra@gmail.com>
35165
35166 [BZ #16740]
35167 [BZ #16619]
35168 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35169 * math/libm-test.inc (frexp_test_data): Add tests.
35170 * NEWS: Update fixed bug list.
35171
35172 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35173
35174 * benchtests/Makefile: Depend on libraries in build directory.
35175 (bench-math): Separate out math tests.
35176 (bench-pthread): Separate out pthread tests.
35177 (bench): Include math and pthread tests.
35178
35179 2014-04-14 Carlos O'Donell <carlos@redhat.com>
35180
35181 [BZ #16831]
35182 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35183 _dl_debug_initialize.
35184
35185 * configure.ac: Remove SELinux header check.
35186 * configure: Regenerate.
35187 * nscd/selinux.c (perms): Array of const char* to permission names.
35188 (nscd_request_avc_has_perm): Call security_deny_unknown to find
35189 default policy. Call string_to_security_class and string_to_av_perm to
35190 translate strings. Enforce default policy and call avs_has_perm with
35191 results of translated strings.
35192
35193 2014-04-13 David S. Miller <davem@davemloft.net>
35194
35195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35196
35197 2014-04-12 Allan McRae <allan@archlinux.org>
35198
35199 [BZ #16838]
35200 * manual/string.texi (Collation Functions): Fix qsort argument
35201 order in example.
35202 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35203
35204 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
35205
35206 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35207 Make the test a no-op if there are no exceptions defined.
35208
35209 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
35210
35211 * elf/Makefile (tests): make tst-dlopen-aout conditional on
35212 enable-hardcoded-path-in-tests
35213
35214 2014-04-11 Will Newton <will.newton@linaro.org>
35215
35216 * benchtests/Makefile (extra-objs): Add json-lib.o.
35217 (bench-func): Tidy up JSON output.
35218 * benchtests/bench-skeleton.c: Include json-lib.h.
35219 (main): Use JSON library functions to do output of
35220 benchmark results.
35221 * benchtests/bench-timing-type.c (main): Output the
35222 timing type simply, leaving formatting to the user.
35223 * benchtests/json-lib.c: New file.
35224 * benchtests/json-lib.h: Likewise.
35225
35226 2014-04-11 Torvald Riegel <triegel@redhat.com>
35227
35228 [BZ #15215]
35229 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35230 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
35231 memory barriers. Add comments.
35232 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35233 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35234 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35235 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35236 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35237 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35238
35239 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
35240
35241 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35242 * sysdeps/s390/s390-64/configure.ac: ... this ...
35243 * sysdeps/s390/configure.ac: ... to here.
35244 * sysdeps/s390/s390-32/configure: Delete file.
35245 * sysdeps/s390/s390-64/configure: Delete file.
35246 * sysdeps/s390/configure: Regenerate.
35247
35248 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
35249
35250 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35251
35252 2014-04-11 Will Newton <will.newton@linaro.org>
35253
35254 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35255 to zero if it is not defined elsewhere. (mtrim): Test
35256 the value of MALLOC_DEBUG with #if rather than #ifdef.
35257
35258 2014-04-10 Torvald Riegel <triegel@redhat.com>
35259
35260 * benchtests/pthread_once-inputs: New file.
35261 * benchtests/pthread_once-source.c: New file.
35262 * benchtests/README: Update documentation.
35263
35264 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
35265 H.J. Lu <hongjiu.lu@intel.com>
35266
35267 [BZ #16275]
35268 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35269 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35270 * sysdeps/x86_64/configure: Regenerated.
35271 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35272 macro.
35273 (REGISTER_SAVE_RAX): Likewise.
35274 (REGISTER_SAVE_RCX): Likewise.
35275 (REGISTER_SAVE_RDX): Likewise.
35276 (REGISTER_SAVE_RSI): Likewise.
35277 (REGISTER_SAVE_RDI): Likewise.
35278 (REGISTER_SAVE_R8): Likewise.
35279 (REGISTER_SAVE_R9): Likewise.
35280 (REGISTER_SAVE_BND0): Likewise.
35281 (REGISTER_SAVE_BND1): Likewise.
35282 (REGISTER_SAVE_BND2): Likewise.
35283 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
35284 bound registers when calling _dl_fixup.
35285
35286 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35287
35288 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35289 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35290 of its definition.
35291 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35292 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35293 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35294 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35295 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35296 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35297 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35298
35299 2014-04-09 Peter Brett <peter@peter-b.co.uk>
35300
35301 [BZ #15514]
35302 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35303 pathconf(_PC_NAME_MAX).
35304
35305 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35306
35307 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35308 Remove macro usage.
35309 (__PTHREAD_SPINS): Move definition to ...
35310 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35311 (__PTHREAD_SPINS): ... here.
35312 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35313 (__PTHREAD_SPIN): Likewise.
35314 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35315 (__PTHREAD_SPIN): Likewise.
35316 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35317 (__PTHREAD_SPIN): Likewise.
35318 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35319 (__PTHREAD_SPIN): Likewise.
35320 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35321 (__PTHREAD_SPIN): Likewise.
35322 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35323 (__PTHREAD_SPIN): Likewise.
35324 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35325 (__PTHREAD_SPIN): Likewise.
35326 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35327 (__PTHREAD_SPIN): Likewise.
35328 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35329 (__PTHREAD_SPIN): Likewise.
35330 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35331 (__PTHREAD_SPIN): Likewise.
35332 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35333 (__PTHREAD_SPIN): Likewise.
35334 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35335 (__PTHREAD_SPIN): Likewise.
35336
35337 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35338 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35339 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35340 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35341 imply folder.
35342 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35343 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35344 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35345 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35346 correct imply path.
35347 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35348 strlen symbol for non multi-arch builds.
35349 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35350 missing hidden_def and weak_alias.
35351
35352 2014-04-08 Carlos O'Donell <carlos@redhat.com>
35353
35354 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35355
35356 2014-04-07 Will Newton <will.newton@linaro.org>
35357
35358 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35359 and contents. [!_LIBC] Remove #ifndef and contents.
35360 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
35361 * string/memccpy.c (__memccpy): Use ANSI prototype.
35362 * string/memfrob.c (memfrob): Likewise.
35363 * string/strcoll.c (STRCOLL): Likewise.
35364 * string/strlen.c (strlen): Likewise.
35365 * string/strtok.c (STRTOK): Likewise.
35366 * string/strcat.c: Remove unused #include of memcopy.h.
35367 (strcat): Use ANSI prototype.
35368 * string/strchr.c: Remove unused #include of memcopy.h.
35369 (strchr): Use ANSI prototype.
35370 * string/strcmp.c: Remove unused #include of memcopy.h.
35371 (strcmp): Use ANSI prototype.
35372 * string/strcpy.c: Remove unused #include of memcopy.h.
35373 (strcpy): Use ANSI prototype.
35374
35375 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35376
35377 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35378 * config.make.in (config-extra-cppflags): Set it from
35379 libc_extra_cppflags.
35380 * configure.ac (libc_extra_cflags): Make it accumulate over
35381 configure fragments.
35382 (libc_extra_cppflags): New flag.
35383 * configure. Regenerate.
35384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35385 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35386 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35388
35389 [BZ #16815]
35390 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35391 result for FE_DOWNWARD rounding mode.
35392 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35393 Likewise.
35394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35395
35396 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
35397
35398 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35399 in function argument name.
35400
35401 2014-04-03 David Svoboda <svoboda@cert.org>
35402
35403 [BZ #5666]
35404 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35405 explicitly.
35406
35407 2014-04-03 Roland McGrath <roland@hack.frob.com>
35408
35409 * elf/dl-unmap-segments.h: New file.
35410 * sysdeps/generic/ldsodefs.h
35411 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35412 * elf/dl-close.c: Include <dl-unmap-segments.h>.
35413 * elf/dl-fptr.c: Likewise.
35414 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35415 * sysdeps/aarch64/tlsdesc.c: Likewise.
35416 * sysdeps/arm/tlsdesc.c: Likewise.
35417 * sysdeps/i386/tlsdesc.c: Likewise.
35418 * sysdeps/tile/dl-runtime.c: Likewise.
35419 * sysdeps/x86_64/tlsdesc.c: Likewise.
35420 * elf/dl-load.h: New file.
35421 * elf/dl-load.c: Include it.
35422 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35423 Macros moved to dl-load.h.
35424 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35425 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35426 Use _dl_unmap_segments in place of __munmap.
35427 Break out segment-mapping loop into ...
35428 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35429
35430 2014-04-03 Will Newton <will.newton@linaro.org>
35431
35432 * elf/dl-lookup.c (do_lookup_x): Remove comment
35433 referring to nested function and move variable
35434 declarations down to before first use.
35435
35436 2014-04-02 Joseph Myers <joseph@codesourcery.com>
35437
35438 [BZ #16799]
35439 [BZ #16800]
35440 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35441 with 0 numerator.
35442 * math/s_catanf.c (__catanf): Likewise.
35443 * math/s_catanh.c (__catanh): Likewise.
35444 * math/s_catanhf.c (__catanhf): Likewise.
35445 * math/s_catanhl.c (__catanhl): Likewise.
35446 * math/s_catanl.c (__catanl): Likewise.
35447 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
35448 by positive zero when computing -Inf result.
35449 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
35450 (catanh_test): Likewise.
35451 * sysdeps/i386/fpu/libm-test-ulps: Update.
35452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35453
35454 [BZ #16789]
35455 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
35456 instead of using underflowing value in computing result.
35457 * math/s_clog10.c (__clog10): Likewise.
35458 * math/s_clog10f.c (__clog10f): Likewise.
35459 * math/s_clog10l.c (__clog10l): Likewise.
35460 * math/s_clogf.c (__clogf): Likewise.
35461 * math/s_clogl.c (__clogl): Likewise.
35462 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
35463 (clog10_test): Likewise.
35464 * sysdeps/i386/fpu/libm-test-ulps: Update.
35465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35466
35467 2014-04-02 Alan Modra <amodra@gmail.com>
35468
35469 [BZ #16739]
35470 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
35471 output when value is near a power of two. Use int64_t for lx and
35472 remove casts. Use decimal rather than hex exponent constants.
35473 Don't use long double multiplication when double will suffice.
35474 * math/libm-test.inc (nextafter_test_data): Add tests.
35475 * NEWS: Add 16739 and 16786 to bug list.
35476
35477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
35478
35479 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
35480
35481 2014-04-01 Will Newton <will.newton@linaro.org>
35482
35483 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
35484 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
35485
35486 2014-04-01 Florian Weimer <fweimer@redhat.com>
35487
35488 [BZ #13347]
35489 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
35490 * nptl/tst-setuid2.c: New file.
35491 * nptl/Makefile (xtests): Add tst-setuid2.
35492
35493 2014-04-01 Alan Modra <amodra@gmail.com>
35494
35495 [BZ #16786]
35496 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
35497
35498 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35499
35500 [BZ #6803]
35501 [BZ #6804]
35502 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
35503 set errno as appropriate.
35504 * math/w_scalbf.c (__scalbf): Likewise.
35505 * math/w_scalbl.c (__scalbl): Likewise.
35506 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
35507 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
35508 * math/libm-test.inc (scalb_test_data): Add errno expectations.
35509 Add more NaN tests.
35510
35511 [BZ #16349]
35512 * math/w_atan2.c: Include <errno.h>.
35513 (__atan2): Set errno for result underflowing to zero.
35514 * math/w_atan2f.c: Include <errno.h>.
35515 (__atan2f): Set errno for result underflowing to zero.
35516 * math/w_atan2l.c: Include <errno.h>.
35517 (__atan2l): Set errno for result underflowing to zero.
35518 * math/auto-libm-test-in: Don't allow missing errno for some atan2
35519 tests.
35520 * math/auto-libm-test-out: Regenerated.
35521
35522 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35523
35524 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
35525 Encode instruction correctly in little endian.
35526 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
35527 Likewise.
35528 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
35529 Likewise.
35530 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
35531 Likewise.
35532 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
35533 Likewise.
35534
35535 2014-03-31 Joseph Myers <joseph@codesourcery.com>
35536
35537 [BZ #9894]
35538 * sysdeps/unix/sysv/linux/kernel-features.h
35539 [__sparc__ && !__arch64__ && !__sparc_v9__]
35540 (__ASSUME_SET_ROBUST_LIST): Do not define.
35541 [__sparc__ && !__arch64__ && !__sparc_v9__]
35542 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35543 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
35544 Likewise.
35545 * sysdeps/unix/sysv/linux/arm/kernel-features.h
35546 (__ASSUME_FUTEX_LOCK_PI): Undefine.
35547 (__ASSUME_REQUEUE_PI): Likewise.
35548 (__ASSUME_SET_ROBUST_LIST): Likewise.
35549 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35550 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
35551 Undefine.
35552 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
35554 Likewise.
35555 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
35556 Likewise.
35557 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
35558 Likewise.
35559 * sysdeps/unix/sysv/linux/mips/kernel-features.h
35560 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
35561 Undefine.
35562 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
35563 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
35564 Likewise.
35565
35566 [BZ #16648]
35567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35568 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
35569 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
35570
35571 2014-03-31 Will Newton <will.newton@linaro.org>
35572
35573 * benchtests/Makefile (bench): Add ffs and ffsll to list
35574 of tests.
35575 * benchtests/ffs-inputs: New file.
35576 * benchtests/ffsll-inputs: Likewise.
35577
35578 2014-03-29 Joseph Myers <joseph@codesourcery.com>
35579
35580 [BZ #16770]
35581 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
35582 too large before casting to int.
35583 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
35584 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
35585 * math/libm-test.inc (scalb_test_data): Add more tests.
35586
35587 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35588
35589 * benchtests/Makefile (DETAILED_OPT): New make option.
35590 (bench-func): Run benchmark program with -d if DETAILED_OPT is
35591 set.
35592 * benchtests/bench-skeleton.c: Include stdbool.h.
35593 (main): Store and print timings per input.
35594 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
35595 member to each argument value.
35596 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
35597 (_print_arg_data): Initialize per-input timing to 0.
35598
35599 * benchtests/Makefile (timing-type): New binary.
35600 (bench-clean): Also remove bench-timing-type.
35601 (bench): New target for timing-type.
35602 (bench-func): Print output in JSON format.
35603 * benchtests/bench-skeleton.c (main): Print output in JSON
35604 format.
35605 * benchtests/bench-timing-type.c: New file.
35606 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
35607 (TIMING_PRINT_STATS): Remove.
35608 * benchtests/scripts/bench.py (_print_arg_data): Store variant
35609 name separately.
35610
35611 * benchtests/bench-modf.c: Remove.
35612 * benchtests/modf-inputs: New inputs file.
35613
35614 2014-03-28 Joseph Myers <joseph@codesourcery.com>
35615
35616 [BZ #16362]
35617 * math/s_clog10.c (M_PI_LOG10E): New macro.
35618 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
35619 imaginary parts are 0.
35620 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
35621 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
35622 imaginary parts are 0.
35623 * math/s_clog10l.c (M_PI_LOG10El): New macro.
35624 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
35625 imaginary parts are 0.
35626 * math/libm-test.inc (clog10_test_data): Update expected results
35627 for when real and imaginary parts are 0.
35628
35629 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
35630
35631 * elf/dl-load.c: Finish conversion of __builtin_expect into
35632 __glibc_{un}likely.
35633
35634 2014-03-27 Joseph Myers <joseph@codesourcery.com>
35635
35636 [BZ #16348]
35637 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
35638 1+x for argument with exponent below -67.
35639 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
35640 Likewise.
35641 * math/auto-libm-test-in: Add more tests of exp.
35642 * math/auto-libm-test-out: Regenerated.
35643
35644 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35645
35646 [BZ #16759]
35647 * inet/getnetgrent_r.c (get_nonempty_val): New function.
35648 (nscd_getnetgrent): Use it.
35649
35650 [BZ #16760]
35651 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
35652 of stpcpy.
35653
35654 2014-03-27 Andi Kleen <ak@linux.intel.com>
35655
35656 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
35657 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35658 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35659 (lll_robust_unlock): Remove out of line section. Use cfi
35660 intrinsics.
35661 (LLL_STUB_UNWIND_INFO*): Remove.
35662 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
35663 (lll_robust_lock, lll_cond_lock, lll_timedlock)
35664 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
35665 (lll_robust_unlock): Remove out of line section. Use cfi
35666 intrinsics.
35667 (LLL_STUB_UNWIND_INFO*): Remove.
35668
35669 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35670
35671 [BZ #16758]
35672 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
35673 blank values.
35674
35675 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
35676
35677 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
35678
35679 2014-03-26 Joseph Myers <joseph@codesourcery.com>
35680
35681 [BZ #16198]
35682 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
35683 fnstenv.
35684 * math/test-fenv-preserve.c: New file.
35685 * math/Makefile (tests): Add test-fenv-preserve.
35686
35687 2014-03-26 Will Newton <will.newton@linaro.org>
35688
35689 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
35690
35691 2014-03-25 Roland McGrath <roland@hack.frob.com>
35692
35693 * scripts/versionlist.awk: Partition the version sets and emit all
35694 GLIBC_* (sorted) before all others (sorted).
35695
35696 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35697
35698 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
35699 GLIBC_2.2.5 version.
35700
35701 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35702
35703 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
35704 calls.
35705
35706 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
35707 previous change.
35708
35709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35710
35711 2014-03-25 Andreas Schwab <schwab@suse.de>
35712
35713 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
35714 label to be used after in6ailist is initialized.
35715
35716 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35717
35718 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35719 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35720
35721 2014-03-25 Joseph Myers <joseph@codesourcery.com>
35722
35723 [BZ #16357]
35724 [BZ #16599]
35725 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
35726 min_plus_half.
35727 (fp_formats): Update initializers.
35728 (init_fp_formats): Initialize new field.
35729 (output_for_one_input_case): Allow underflow for results up to
35730 min_plus_half.
35731 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
35732 * math/auto-libm-test-in: Don't mark some underflows from asin and
35733 atanh as spurious.
35734 * math/auto-libm-test-out: Regenerated.
35735 * sysdeps/i386/fpu/libm-test-ulps: Update.
35736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35737
35738 2014-03-25 Andreas Schwab <schwab@suse.de>
35739
35740 * libio/Makefile (tst-ftell-partial-wide-ENV)
35741 (tst-ftell-active-handler-ENV): Define.
35742
35743 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
35744
35745 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
35746
35747 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35748
35749 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
35750
35751 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35752
35753 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
35754 * sysdeps/x86_64/fpu/multiarch/e_exp.c
35755 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
35756
35757 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
35758
35759 [BZ #16634]
35760 * elf/dl-load.c (open_verify): Add mode parameter.
35761 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
35762 (open_path): Change from boolean 'secure' to complete flag 'mode'
35763 (_dl_map_object): Adjust.
35764 * elf/Makefile (tests): Add tst-dlopen-aout.
35765 * elf/tst-dlopen-aout.c: New test.
35766
35767 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
35768
35769 [BZ #16714]
35770 * sysdeps/unix/sysv/linux/s390/bits/stat.h
35771 (struct stat): Rename member pad0 to __glibc_reserved0.
35772
35773 [BZ #16712]
35774 * sysdeps/s390/s390-32/bits/wordsize.h
35775 (__WORDSIZE32_SIZE_ULONG): New define.
35776 * sysdeps/s390/s390-64/bits/wordsize.h
35777 (__WORDSIZE32_SIZE_ULONG): Likewise.
35778 * sysdeps/generic/stdint.h (SIZE_MAX):
35779 Define as UL if __WORDSIZE32_SIZE_ULONG.
35780
35781 [BZ #16713]
35782 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
35783 (__glibc_reserved0): New variable.
35784 (sa_flags): Change type to int.
35785
35786 * posix/Makefile (before-compile): Use += before-compile instead
35787 of a :=.
35788
35789 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35790 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
35791
35792 2014-03-20 Andreas Schwab <schwab@suse.de>
35793
35794 [BZ #16743]
35795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
35796 non-matching result from nscd.
35797
35798 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35799
35800 * scripts/bench.py: Moved to ...
35801 * benchtests/scripts/bench.py: ... here.
35802 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
35803
35804 2014-03-24 Andreas Schwab <schwab@suse.de>
35805
35806 [BZ #16002]
35807 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
35808 alloca_account and account alloca use for struct in6ailist.
35809
35810 2014-03-24 Joseph Myers <joseph@codesourcery.com>
35811
35812 [BZ #16284]
35813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
35814 rounding mode to recompute results that overflow to infinity or
35815 underflow to zero.
35816 * math/auto-libm-test-in: Don't mark tests as expected to fail for
35817 bug 16284.
35818 * math/auto-libm-test-out: Regenerated.
35819 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
35820 (ccosh_test): Likewise.
35821 (csin_test_data): Use plus_oflow.
35822 (csin_test): Use ALL_RM_TEST.
35823 (csinh_test_data): Use plus_oflow.
35824 (csinh_test): Use ALL_RM_TEST.
35825 * sysdeps/i386/fpu/libm-test-ulps: Update.
35826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35827
35828 2014-03-21 Joseph Myers <joseph@codesourcery.com>
35829
35830 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
35831 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
35832 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
35833
35834 [BZ #16731]
35835 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
35836 when x - 1 is zero.
35837 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
35838 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
35839 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
35841 argument is 1.
35842 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
35843 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
35844 zero.
35845 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
35846 * sysdeps/i386/fpu/libm-test-ulps: Update.
35847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35848
35849 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35850
35851 * scripts/bench.pl: Remove file.
35852 * scripts/bench.py: New benchmark script.
35853 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
35854 * benchtests/README: Mention python dependency.
35855 * scripts/pylintrc: New file.
35856 * scripts/pylint: New file.
35857
35858 * bits/mathdef.h: Use #ifdef instead of #if.
35859 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
35860 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35861 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
35862 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35863 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
35864 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
35865
35866 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35867 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
35868
35869 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
35870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
35871 and strpbrk-ppc64 objects.
35872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35873 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
35874 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
35875 multiarch strpbrk for POWER7.
35876 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
35877 multiarch strpbrk for PPC64.
35878 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
35879 ifunc selector.
35880 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
35881 strpbrk for POWER7.
35882
35883 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35884
35885 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
35886 (atan_test): Likewise.
35887 (atanh_test_data): Use NO_TEST_INLINE for two tests.
35888 (atanh_test): Use ALL_RM_TEST.
35889 (atan2_test_data): Likewise.
35890 (cabs_test): Likewise.
35891 (cacosh_test): Likewise.
35892 (carg_test): Likewise.
35893 (casin_test): Likewise.
35894 (casinh_test): Likewise.
35895 (cbrt_test): Likewise.
35896 (csqrt_test): Likewise.
35897 (erf_test): Likewise.
35898 (erfc_test): Likewise.
35899 (pow10_test): Likewise.
35900 (exp2_test): Likewise.
35901 (hypot_test): Likewise.
35902 (j0_test): Likewise.
35903 (j1_test): Likewise.
35904 (lgamma_test): Likewise.
35905 (gamma_test): Likewise.
35906 (sincos_test): Likewise.
35907 (tanh_test): Likewise.
35908 (y0_test): Likewise.
35909 (y1_test): Likewise.
35910 * sysdeps/i386/fpu/libm-test-ulps: Update.
35911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35912
35913 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35914
35915 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
35916 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
35917 and strcspn-ppc64 objects.
35918 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35919 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
35920 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
35921 multiarch strcspn for POWER7.
35922 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
35923 multiarch strcspn for PPC64.
35924 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
35925 ifunc selector.
35926 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
35927 strcspn for POWER7.
35928
35929 2014-03-20 Joseph Myers <joseph@codesourcery.com>
35930
35931 * math/gen-libm-test.pl (generate_testfile): Expect only function
35932 name as argument to AUTO_TESTS_* and pass results for all rounding
35933 modes to parse_args.
35934 (parse_auto_input): Separate inputs of automatic tests from
35935 outputs before storing in %auto_tests.
35936 * math/libm-test.inc (acos_test_data): Update call to
35937 AUTO_TESTS_f_f.
35938 (acos_test): Use ALL_RM_TEST.
35939 (acos_tonearest_test_data): Remove.
35940 (acos_test_tonearest): Likewise.
35941 (acos_towardzero_test_data): Likewise.
35942 (acos_test_towardzero): Likewise.
35943 (acos_downward_test_data): Likewise.
35944 (acos_test_downward): Likewise.
35945 (acos_upward_test_data): Likewise.
35946 (acos_test_upward): Likewise.
35947 (acosh_test_data): Update call to AUTO_TESTS_f_f.
35948 (asin_test_data): Likewise.
35949 (asin_test): Use ALL_RM_TEST.
35950 (asin_tonearest_test_data): Remove.
35951 (asin_test_tonearest): Likewise.
35952 (asin_towardzero_test_data): Likewise.
35953 (asin_test_towardzero): Likewise.
35954 (asin_downward_test_data): Likewise.
35955 (asin_test_downward): Likewise.
35956 (asin_upward_test_data): Likewise.
35957 (asin_test_upward): Likewise.
35958 (asinh_test_data): Update call to AUTO_TESTS_f_f.
35959 (atan_test_data): Likewise.
35960 (atanh_test_data): Likewise.
35961 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
35962 (cabs_test_data): Update call to AUTO_TESTS_c_f.
35963 (carg_test_data): Likewise.
35964 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
35965 (ccos_test_data): Update call to AUTO_TESTS_c_c.
35966 (ccosh_test_data): Likewise.
35967 (cexp_test_data): Likewise.
35968 (clog_test_data): Likewise.
35969 (clog10_test_data): Likewise.
35970 (cos_test_data): Update call to AUTO_TESTS_f_f.
35971 (cos_test): Use ALL_RM_TEST.
35972 (cos_tonearest_test_data): Remove.
35973 (cos_test_tonearest): Likewise.
35974 (cos_towardzero_test_data): Likewise.
35975 (cos_test_towardzero): Likewise.
35976 (cos_downward_test_data): Likewise.
35977 (cos_test_downward): Likewise.
35978 (cos_upward_test_data): Likewise.
35979 (cos_test_upward): Likewise.
35980 (cosh_test_data): Update call to AUTO_TESTS_f_f.
35981 (cosh_test): Use ALL_RM_TEST.
35982 (cosh_tonearest_test_data): Remove.
35983 (cosh_test_tonearest): Likewise.
35984 (cosh_towardzero_test_data): Likewise.
35985 (cosh_test_towardzero): Likewise.
35986 (cosh_downward_test_data): Likewise.
35987 (cosh_test_downward): Likewise.
35988 (cosh_upward_test_data): Likewise.
35989 (cosh_test_upward): Likewise.
35990 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
35991 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
35992 (ctan_test_data): Likewise.
35993 (ctan_test): Use ALL_RM_TEST.
35994 (ctan_tonearest_test_data): Remove.
35995 (ctan_test_tonearest): Likewise.
35996 (ctan_towardzero_test_data): Likewise.
35997 (ctan_test_towardzero): Likewise.
35998 (ctan_downward_test_data): Likewise.
35999 (ctan_test_downward): Likewise.
36000 (ctan_upward_test_data): Likewise.
36001 (ctan_test_upward): Likewise.
36002 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36003 (ctanh_test): Use ALL_RM_TEST.
36004 (ctanh_tonearest_test_data): Remove.
36005 (ctanh_test_tonearest): Likewise.
36006 (ctanh_towardzero_test_data): Likewise.
36007 (ctanh_test_towardzero): Likewise.
36008 (ctanh_downward_test_data): Likewise.
36009 (ctanh_test_downward): Likewise.
36010 (ctanh_upward_test_data): Likewise.
36011 (ctanh_test_upward): Likewise.
36012 (erf_test_data): Update call to AUTO_TESTS_f_f.
36013 (erfc_test_data): Likewise.
36014 (exp_test_data): Likewise.
36015 (exp_test): Use ALL_RM_TEST.
36016 (exp_tonearest_test_data): Remove.
36017 (exp_test_tonearest): Likewise.
36018 (exp_towardzero_test_data): Likewise.
36019 (exp_test_towardzero): Likewise.
36020 (exp_downward_test_data): Likewise.
36021 (exp_test_downward): Likewise.
36022 (exp_upward_test_data): Likewise.
36023 (exp_test_upward): Likewise.
36024 (exp10_test_data): Update call to AUTO_TESTS_f_f.
36025 (exp10_test): Use ALL_RM_TEST.
36026 (exp10_tonearest_test_data): Remove.
36027 (exp10_test_tonearest): Likewise.
36028 (exp10_towardzero_test_data): Likewise.
36029 (exp10_test_towardzero): Likewise.
36030 (exp10_downward_test_data): Likewise.
36031 (exp10_test_downward): Likewise.
36032 (exp10_upward_test_data): Likewise.
36033 (exp10_test_upward): Likewise.
36034 (exp2_test_data): Update call to AUTO_TESTS_f_f.
36035 (expm1_test_data): Likewise.
36036 (expm1_test): Use ALL_RM_TEST.
36037 (expm1_tonearest_test_data): Remove.
36038 (expm1_test_tonearest): Likewise.
36039 (expm1_towardzero_test_data): Likewise.
36040 (expm1_test_towardzero): Likewise.
36041 (expm1_downward_test_data): Likewise.
36042 (expm1_test_downward): Likewise.
36043 (expm1_upward_test_data): Likewise.
36044 (expm1_test_upward): Likewise.
36045 (fma_test_data): Update call to AUTO_TESTS_fff_f.
36046 (fma_test): Use ALL_RM_TEST.
36047 (fma_towardzero_test_data): Remove.
36048 (fma_test_towardzero): Likewise.
36049 (fma_downward_test_data): Likewise.
36050 (fma_test_downward): Likewise.
36051 (fma_upward_test_data): Likewise.
36052 (fma_test_upward): Likewise.
36053 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36054 (j0_test_data): Update call to AUTO_TESTS_f_f.
36055 (j1_test_data): Likewise.
36056 (jn_test_data): Update call to AUTO_TESTS_if_f.
36057 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36058 (log_test_data): Update call to AUTO_TESTS_f_f.
36059 (log10_test_data): Likewise.
36060 (log1p_test_data): Likewise.
36061 (log2_test_data): Likewise.
36062 (pow_test_data): Update call to AUTO_TESTS_ff_f.
36063 (pow_tonearest_test_data): Likewise.
36064 (sin_test_data): Update call to AUTO_TESTS_f_f.
36065 (sin_test): Use ALL_RM_TEST.
36066 (sin_tonearest_test_data): Remove.
36067 (sin_test_tonearest): Likewise.
36068 (sin_towardzero_test_data): Likewise.
36069 (sin_test_towardzero): Likewise.
36070 (sin_downward_test_data): Likewise.
36071 (sin_test_downward): Likewise.
36072 (sin_upward_test_data): Likewise.
36073 (sin_test_upward): Likewise.
36074 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36075 (sinh_test_data): Update call to AUTO_TESTS_f_f.
36076 (sinh_test): Use ALL_RM_TEST.
36077 (sinh_tonearest_test_data): Remove.
36078 (sinh_test_tonearest): Likewise.
36079 (sinh_towardzero_test_data): Likewise.
36080 (sinh_test_towardzero): Likewise.
36081 (sinh_downward_test_data): Likewise.
36082 (sinh_test_downward): Likewise.
36083 (sinh_upward_test_data): Likewise.
36084 (sinh_test_upward): Likewise.
36085 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36086 (sqrt_test): Use ALL_RM_TEST.
36087 (sqrt_tonearest_test_data): Remove.
36088 (sqrt_test_tonearest): Likewise.
36089 (sqrt_towardzero_test_data): Likewise.
36090 (sqrt_test_towardzero): Likewise.
36091 (sqrt_downward_test_data): Likewise.
36092 (sqrt_test_downward): Likewise.
36093 (sqrt_upward_test_data): Likewise.
36094 (sqrt_test_upward): Likewise.
36095 (tan_test_data): Update call to AUTO_TESTS_f_f.
36096 (tan_test): Use ALL_RM_TEST.
36097 (tan_tonearest_test_data): Remove.
36098 (tan_test_tonearest): Likewise.
36099 (tan_towardzero_test_data): Likewise.
36100 (tan_test_towardzero): Likewise.
36101 (tan_downward_test_data): Likewise.
36102 (tan_test_downward): Likewise.
36103 (tan_upward_test_data): Likewise.
36104 (tan_test_upward): Likewise.
36105 (tanh_test_data): Update call to AUTO_TESTS_f_f.
36106 (tgamma_test_data): Likewise.
36107 (y0_test_data): Likewise.
36108 (y1_test_data): Likewise.
36109 (yn_test_data): Update call to AUTO_TESTS_if_f.
36110 (main): Do not call removed functions.
36111
36112 2014-03-19 Joseph Myers <joseph@codesourcery.com>
36113
36114 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36115 (ldexp_test_data): Remove.
36116 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
36117 scalbn_test_data.
36118 (scalb_test): Use ALL_RM_TEST.
36119
36120 2014-03-19 Andreas Schwab <schwab@suse.de>
36121
36122 * nscd/nscd.service: Also invalidate netgroup cache on reload.
36123
36124 2014-03-19 Joseph Myers <joseph@codesourcery.com>
36125
36126 [BZ #16649]
36127 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36128 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36129 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36130 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36131 (__ASSUME_PREADV): Undefine.
36132 (__ASSUME_PWRITEV): Likewise.
36133
36134 2014-03-18 Roland McGrath <roland@hack.frob.com>
36135
36136 * bits/mman-linux.h: Add comment about non-Linux use.
36137 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36138 bits/mman-linux.h resting place.
36139
36140 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36141 * bits/mman-linux.h: ... here.
36142
36143 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36144
36145 * conform/conformtest.pl: Add standard definition when calling C
36146 preprocessor on data files.
36147 (checknamespace): Remove unused variable.
36148
36149 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36150
36151 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36152 minus_oflow, plus_uflow and minus_uflow in expected results.
36153 * math/libm-test.inc (scalbn_test_data): Add more tests of
36154 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
36155 minus_uflow.
36156 (scalbn_test): Use ALL_RM_TEST.
36157 (scalbln_test_data): Add more tests of negative arguments. Use
36158 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36159 (scalbln_test): Use ALL_RM_TEST.
36160
36161 2014-03-18 Roland McGrath <roland@hack.frob.com>
36162
36163 * scripts/abilist.awk: Ignore symbols marked with .hidden.
36164
36165 2014-03-18 Will Newton <will.newton@linaro.org>
36166
36167 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36168 inaccurate comment.
36169
36170 2014-03-18 Joseph Myers <joseph@codesourcery.com>
36171
36172 * Makerules [!subdir] (check-abi): Exit with error status if a
36173 test failed.
36174
36175 2014-03-17 Joseph Myers <joseph@codesourcery.com>
36176
36177 * math/libm-test.inc (nearbyint_test_data): Include all tests used
36178 for rint. Include results for all rounding modes.
36179 (nearbyint_test): Use ALL_RM_TEST.
36180 (rint_test_data): Include all tests used for nearbyint.
36181
36182 2014-03-17 Will Newton <will.newton@linaro.org>
36183
36184 * nptl/sysdeps/pthread/pthread.h: Revert previous
36185 change.
36186
36187 * sysdeps/generic/ldsodefs.h: Revert previous
36188 change.
36189
36190 * libio/genops.c: Revert previous change.
36191 * libio/libioP.h: Likewise.
36192 * stdio-common/vfprintf.c: Likewise.
36193
36194 * sysdeps/generic/math_private.h: Revert previous
36195 change.
36196
36197 * sysdeps/generic/math_private.h: Check whether
36198 HAVE_RM_CTX is defined with #ifdef rather
36199 than #if.
36200
36201 * argp/argp-fmtstream.h: Check whether
36202 __STRICT_ANSI__ is defined with #ifdef rather
36203 than #if.
36204 * argp/argp.h: Likewise.
36205
36206 * libio/genops.c: Check whether
36207 _IO_JUMPS_OFFSET is defined with #ifdef rather
36208 than #if.
36209 * libio/libioP.h: Likewise.
36210 * stdio-common/vfprintf.c: Likewise.
36211
36212 * sysdeps/generic/ldsodefs.h: Check whether
36213 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36214 than #if.
36215
36216 * nptl/sysdeps/pthread/pthread.h: Check
36217 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36218 its value.
36219
36220 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
36221
36222 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36223 setting O_APPEND.
36224 * libio/tst-ftell-active-handler.c (do_append_test): Add a
36225 test case.
36226
36227 [BZ #16680]
36228 * libio/fileops.c (_IO_file_open): Seek to end of file but
36229 don't cache the offset.
36230 (get_file_offset): Remove function.
36231 (do_ftell): Use cached offset when available.
36232 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36233 don't cache the offset.
36234 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36235 case.
36236 (do_one_test): Call it.
36237 (do_ftell_test): Fix up expected old offset for a+ mode.
36238 * libio/wfileops.c (do_ftell_wide): Used cached offset when
36239 available.
36240
36241 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36242 up test status with function return status.
36243 (do_write_test): Likewise.
36244 (do_append_test): Likewise.
36245
36246 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36247 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36248 Remove.
36249
36250 2014-03-17 Joseph Myers <joseph@codesourcery.com>
36251
36252 * math/gen-libm-test.pl (parse_args): Handle results specified for
36253 each rounding mode separately.
36254 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36255 tests and results from lrint_tonearest_test_data,
36256 lrint_towardzero_test_data, lrint_downward_test_data and
36257 lrint_upward_test_data.
36258 (lrint_test): Use ALL_RM_TEST.
36259 (lrint_tonearest_test_data): Remove.
36260 (lrint_test_tonearest): Likewise.
36261 (lrint_towardzero_test_data): Likewise.
36262 (lrint_test_towardzero): Likewise.
36263 (lrint_downward_test_data): Likewise.
36264 (lrint_test_downward): Likewise.
36265 (lrint_upward_test_data): Likewise.
36266 (lrint_test_upward): Likewise.
36267 (llrint_test_data): Merge in per-rounding-mode tests and results
36268 from llrint_tonearest_test_data, llrint_towardzero_test_data,
36269 llrint_downward_test_data and llrint_upward_test_data.
36270 (llrint_test): Use ALL_RM_TEST.
36271 (llrint_tonearest_test_data): Remove.
36272 (llrint_test_tonearest): Likewise.
36273 (llrint_towardzero_test_data): Likewise.
36274 (llrint_test_towardzero): Likewise.
36275 (llrint_downward_test_data): Likewise.
36276 (llrint_test_downward): Likewise.
36277 (llrint_upward_test_data): Likewise.
36278 (llrint_test_upward): Likewise.
36279 (rint_test_data): Merge in per-rounding-mode tests and results
36280 from rint_tonearest_test_data, rint_towardzero_test_data,
36281 rint_downward_test_data and rint_upward_test_data. Add
36282 per-rounding-mode results for tests not in those arrays.
36283 (rint_test): Use ALL_RM_TEST.
36284 (rint_tonearest_test_data): Remove.
36285 (rint_test_tonearest): Likewise.
36286 (rint_towardzero_test_data): Likewise.
36287 (rint_test_towardzero): Likewise.
36288 (rint_downward_test_data): Likewise.
36289 (rint_test_downward): Likewise.
36290 (rint_upward_test_data): Likewise.
36291 (rint_test_upward): Likewise.
36292 (main): Don't call removed functions.
36293
36294 2014-03-14 Roland McGrath <roland@hack.frob.com>
36295
36296 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36297 "Compiled on ..." crapola. It is anti-useful.
36298
36299 2014-03-14 Joseph Myers <joseph@codesourcery.com>
36300
36301 * scripts/evaluate-test.sh: Handle fourth argument to determine
36302 whether test run should stop on failure.
36303 * Makeconfig (stop-on-test-failure): New variable.
36304 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36305 $(stop-on-test-failure).
36306 * Makefile (tests): Give a summary of results from testing and
36307 exit with failure status if they include an ERROR or FAIL.
36308 (xtests): Likewise.
36309 * manual/install.texi (Configuring and compiling): Mention
36310 stop-on-test-failure=y.
36311 * INSTALL: Regenerated.
36312
36313 2014-03-14 Roland McGrath <roland@hack.frob.com>
36314
36315 * scripts/versionlist.awk: New file.
36316 * Makerules [$(build-shared) = yes]
36317 (postclean-generated): Add Versions.def, not Versions.def.v and
36318 Versions.def.v.i.
36319 ($(common-objpfx)Versions.def.v.i): Target removed.
36320 ($(common-objpfx)Versions.def): New target.
36321 ($(common-objpfx)Versions.all): Depend on that rather that
36322 $(common-objpfx)Versions.def.v.
36323 * Versions.def: File removed.
36324
36325 * Makeconfig (+gccwarn): Add -Wundef.
36326 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36327 a dl-sysdep.h breaking its contract.
36328 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36329 * include/stackinfo.h: New file.
36330 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36331 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36332 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36333 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36334 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36335 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36336 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36337 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36338 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36339 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36340 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36341 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36342 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36343 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36344 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36345
36346 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36347
36348 [BZ #16707]
36349 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36350 implementation.
36351 * math/libm-test.inc (round_test_data): Add more tests.
36352
36353 [BZ #16706]
36354 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36355 implementation.
36356 * math/libm-test.inc (nearbyint_test_data): Add more tests.
36357
36358 [BZ #16701]
36359 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36360 implementation.
36361 * math/libm-test.inc (ceil_test_data): Add more tests.
36362
36363 * math/libm-test.inc (trunc_test_data): Add more tests related to
36364 BZ#16414.
36365
36366 2014-03-14 Roland McGrath <roland@hack.frob.com>
36367
36368 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36369 with #if rather than #ifdef.
36370 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36371
36372 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
36373
36374 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36375 first. Disable AVX-512 GCC support if assembler doesn't support
36376 it.
36377 * sysdeps/x86_64/configure: Regenerated.
36378
36379 2014-03-13 Carlos O'Donell <carlos@redhat.com>
36380
36381 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36382 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36383 (__old_pthread_attr_setstack): Likewise.
36384 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36385 [!_STACK_GROWS_DOWN]: Likewise.
36386
36387 2014-03-13 Mike Frysinger <vapier@gentoo.org>
36388
36389 * config.make.in (have-bash2): Delete.
36390 * configure.ac (libc_cv_have_bash2): Delete.
36391 * configure: Regenerate.
36392 * elf/Makefile (common-ldd-rewrite): Rename to ...
36393 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
36394 (sh-ldd-rewrite): Delete.
36395 (bash-ldd-rewrite): Delete.
36396 (have-bash2): Delete checks.
36397 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36398 ldd-rewrite.
36399
36400 * config.make.in (have-ksh): Delete.
36401 (KSH): Delete.
36402 * configure.ac (libc_cv_have_ksh): Delete.
36403 * configure: Regenerate.
36404
36405 * elf/Makefile: Delete $(have-ksh) check.
36406 ($(objpfx)sotruss): Change KSH to BASH.
36407 * elf/sotruss.ksh: Rename to ...
36408 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
36409 function style to match POSIX. Drop ksh vim mode setting.
36410
36411 * manual/time.texi (Specifying the Time Zone with TZ): Change
36412 Tuesday to Thursday.
36413
36414 * debug/tst-longjmp_chk2.c: Update header comment.
36415 (stackoverflow_handler): Add comment. Call assert on pass value.
36416
36417 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
36418
36419 [BZ #16194]
36420 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36421 (HAVE_AVX512_ASM_SUPPORT): Likewise.
36422 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36423 (La_x86_64_vector): Add zmm.
36424 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36425 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36426 ($(objpfx)tst-audit10): New target.
36427 ($(objpfx)tst-audit10.out): Likewise.
36428 (tst-audit10-ENV): New.
36429 (AVX512-CFLAGS): Likewise.
36430 (CFLAGS-tst-audit10.c): Likewise.
36431 (CFLAGS-tst-auditmod10a.c): Likewise.
36432 (CFLAGS-tst-auditmod10b.c): Likewise.
36433 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36434 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36435 * sysdeps/x86_64/configure: Regenerated.
36436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36437 AVX-512 zmm register support.
36438 (_dl_x86_64_save_sse): Likewise.
36439 (_dl_x86_64_restore_sse): Likewise.
36440 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36441 size vector registers.
36442 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36443 (ZMM_SIZE): Likewise.
36444 * sysdeps/x86_64/tst-audit10.c: New file.
36445 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
36446 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
36447
36448 2014-03-13 Roland McGrath <roland@hack.frob.com>
36449
36450 * configure.ac (HAVE_EHDR_START): New check.
36451 * configure: Regenerated.
36452 * config.h.in (HAVE_EHDR_START): New #undef.
36453 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
36454 assuming the lowest-addressed segment maps the start of the file.
36455
36456 2014-03-13 Joseph Myers <joseph@codesourcery.com>
36457
36458 * INSTALL: Regenerated.
36459
36460 2014-03-13 Will Newton <will.newton@linaro.org>
36461
36462 * manual/setjmp.texi (System V contexts): Improve
36463 clarity and grammar of documentation.
36464
36465 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
36466
36467 [BZ #16381]
36468 * elf/Makefile (tests): Add tst-pie2.
36469 (tests-pie): Add tst-pie2.
36470 * elf/tst-pie2.c: New file.
36471 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
36472 for ET_EXEC.
36473 * elf/rtld.c (map_doit): Load executable as lt_executable.
36474 (dl_main): Likewise.
36475
36476 2014-03-12 Joseph Myers <joseph@codesourcery.com>
36477
36478 [BZ #16642]
36479 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36480 (__ASSUME_PSELECT): Undefine.
36481
36482 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36483
36484 [BZ #16689]
36485 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
36486 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
36487 static build.
36488 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
36489 selector for static builds.
36490
36491 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36492
36493 [BZ #16695]
36494 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
36495 key in the buffer.
36496
36497 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36498
36499 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
36500 IFUNC selector for static builds.
36501
36502 2014-03-11 Joseph Myers <joseph@codesourcery.com>
36503
36504 * sysdeps/mips/math_private.h [__mips_hard_float]
36505 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
36506 libc_feresetround_mips_ctx.
36507 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
36508 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
36509 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
36510
36511 [BZ #16677]
36512 * math/s_nextafter.c (__nextafter): Do not return value from
36513 overflowing computation.
36514 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
36515 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
36516 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
36517 Likewise.
36518 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
36519 Likewise.
36520 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
36521 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
36522
36523 2014-03-11 Roland McGrath <roland@hack.frob.com>
36524
36525 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
36526 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
36527 Move sfi_sp use from the load-multiple (that no longer sets sp) to
36528 the new mov targetting sp.
36529
36530 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36531
36532 [BZ #16683]
36533 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
36534 Define it for static builds as well.
36535 (NO_BZERO_IMPL): Likewise.
36536
36537 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36538
36539 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
36540 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
36541 multiarch strspn for PPC64.
36542 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
36543 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
36544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36545 (__libc_ifunc_impl_list): Likewise.
36546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
36547 multiarch optimizations
36548 * string/strspn.c (strspn): Using macro to redefine symbol name.
36549
36550 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36551 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36552
36553 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
36554 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
36555 multiarch strncat for PPC64.
36556 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
36557 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
36558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36559 (__libc_ifunc_impl_list): Likewise.
36560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
36561 multiarch optimizations
36562
36563 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36564
36565 [BZ #16639]
36566 * nscd/nscd.service: Make service type forking.
36567
36568 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36569
36570 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
36571 sign in non default rounding modes.
36572 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
36573
36574 2014-03-08 Joseph Myers <joseph@codesourcery.com>
36575
36576 * math/libm-test.inc (ALL_RM_TEST): New macro.
36577 (ceil_test): Use ALL_RM_TEST.
36578 (cimag_test): Likewise.
36579 (conj_test): Likewise.
36580 (copysign_test): Likewise.
36581 (cproj_test): Likewise.
36582 (creal_test): Likewise.
36583 (fabs_test): Likewise.
36584 (floor_test): Likewise.
36585 (fmax_test): Likewise.
36586 (fmin_test): Likewise.
36587 (fmod_test): Likewise.
36588 (fpclassify_test): Likewise.
36589 (frexp_test): Likewise.
36590 (ilogb_test): Likewise.
36591 (isfinite_test): Likewise.
36592 (finite_test): Likewise.
36593 (isgreater_test): Likewise.
36594 (isgreaterequal_test): Likewise.
36595 (isinf_test): Likewise.
36596 (isless_test): Likewise.
36597 (islessequal_test): Likewise.
36598 (islessgreater_test): Likewise.
36599 (isnan_test): Likewise.
36600 (isnormal_test): Likewise.
36601 (issignaling_test): Likewise.
36602 (isunordered_test): Likewise.
36603 (logb_test): Likewise.
36604 (logb_downward_test_data): Remove.
36605 (logb_test_downward): Likewise.
36606 (lround_test): Use ALL_RM_TEST.
36607 (llround_test): Likewise.
36608 (modf_test): Likewise.
36609 (nexttoward_test): Likewise.
36610 (remainder_test): Likewise.
36611 (drem_test): Likewise.
36612 (remainder_tonearest_test_data): Likewise.
36613 (remainder_test_tonearest): Likewise.
36614 (drem_test_tonearest): Likewise.
36615 (remainder_towardzero_test_data): Likewise.
36616 (remainder_test_towardzero): Likewise.
36617 (drem_test_towardzero): Likewise.
36618 (remainder_downward_test_data): Likewise.
36619 (remainder_test_downward): Likewise.
36620 (drem_test_downward): Likewise.
36621 (remainder_upward_test_data): Likewise.
36622 (remainder_test_upward): Likewise.
36623 (drem_test_upward): Likewise.
36624 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
36625 (round_test): Use ALL_RM_TEST.
36626 (signbit_test): Likewise.
36627 (trunc_test): Likewise.
36628 (significand_test): Likewise.
36629 (main): Don't call removed functions.
36630
36631 2014-03-07 Joseph Myers <joseph@codesourcery.com>
36632
36633 [BZ #16674]
36634 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
36635 || __USE_XOPEN2K8].
36636 (ILL_ILLOPN): Likewise.
36637 (ILL_ILLADR): Likewise.
36638 (ILL_ILLTRP): Likewise.
36639 (ILL_PRVOPC): Likewise.
36640 (ILL_PRVREG): Likewise.
36641 (ILL_COPROC): Likewise.
36642 (ILL_BADSTK): Likewise.
36643 (FPE_INTDIV): Likewise.
36644 (FPE_INTOVF): Likewise.
36645 (FPE_FLTDIV): Likewise.
36646 (FPE_FLTOVF): Likewise.
36647 (FPE_FLTUND): Likewise.
36648 (FPE_FLTRES): Likewise.
36649 (FPE_FLTINV): Likewise.
36650 (FPE_FLTSUB): Likewise.
36651 (SEGV_MAPERR): Likewise.
36652 (SEGV_ACCERR): Likewise.
36653 (BUS_ADRALN): Likewise.
36654 (BUS_ADRERR): Likewise.
36655 (BUS_OBJERR): Likewise.
36656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36657 (TRAP_TRACE): Likewise.
36658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36659 __USE_XOPEN2K8].
36660 (CLD_KILLED): Likewise.
36661 (CLD_DUMPED): Likewise.
36662 (CLD_TRAPPED): Likewise.
36663 (CLD_STOPPED): Likewise.
36664 (CLD_CONTINUED): Likewise.
36665 (POLL_IN): Likewise.
36666 (POLL_OUT): Likewise.
36667 (POLL_MSG): Likewise.
36668 (POLL_ERR): Likewise.
36669 (POLL_PRI): Likewise.
36670 (POLL_HUP): Likewise.
36671 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
36672 Likewise.
36673 (ILL_ILLOPN): Likewise.
36674 (ILL_ILLADR): Likewise.
36675 (ILL_ILLTRP): Likewise.
36676 (ILL_PRVOPC): Likewise.
36677 (ILL_PRVREG): Likewise.
36678 (ILL_COPROC): Likewise.
36679 (ILL_BADSTK): Likewise.
36680 (FPE_INTDIV): Likewise.
36681 (FPE_INTOVF): Likewise.
36682 (FPE_FLTDIV): Likewise.
36683 (FPE_FLTOVF): Likewise.
36684 (FPE_FLTUND): Likewise.
36685 (FPE_FLTRES): Likewise.
36686 (FPE_FLTINV): Likewise.
36687 (FPE_FLTSUB): Likewise.
36688 (SEGV_MAPERR): Likewise.
36689 (SEGV_ACCERR): Likewise.
36690 (BUS_ADRALN): Likewise.
36691 (BUS_ADRERR): Likewise.
36692 (BUS_OBJERR): Likewise.
36693 (BUS_MCEERR_AR): Likewise.
36694 (BUS_MCEERR_AO): Likewise.
36695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36696 (TRAP_TRACE): Likewise.
36697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36698 __USE_XOPEN2K8].
36699 (CLD_KILLED): Likewise.
36700 (CLD_DUMPED): Likewise.
36701 (CLD_TRAPPED): Likewise.
36702 (CLD_STOPPED): Likewise.
36703 (CLD_CONTINUED): Likewise.
36704 (POLL_IN): Likewise.
36705 (POLL_OUT): Likewise.
36706 (POLL_MSG): Likewise.
36707 (POLL_ERR): Likewise.
36708 (POLL_PRI): Likewise.
36709 (POLL_HUP): Likewise.
36710 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
36711 (ILL_ILLOPN): Likewise.
36712 (ILL_ILLADR): Likewise.
36713 (ILL_ILLTRP): Likewise.
36714 (ILL_PRVOPC): Likewise.
36715 (ILL_PRVREG): Likewise.
36716 (ILL_COPROC): Likewise.
36717 (ILL_BADSTK): Likewise.
36718 (FPE_INTDIV): Likewise.
36719 (FPE_INTOVF): Likewise.
36720 (FPE_FLTDIV): Likewise.
36721 (FPE_FLTOVF): Likewise.
36722 (FPE_FLTUND): Likewise.
36723 (FPE_FLTRES): Likewise.
36724 (FPE_FLTINV): Likewise.
36725 (FPE_FLTSUB): Likewise.
36726 (SEGV_MAPERR): Likewise.
36727 (SEGV_ACCERR): Likewise.
36728 (BUS_ADRALN): Likewise.
36729 (BUS_ADRERR): Likewise.
36730 (BUS_OBJERR): Likewise.
36731 (BUS_MCEERR_AR): Likewise.
36732 (BUS_MCEERR_AO): Likewise.
36733 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36734 (TRAP_TRACE): Likewise.
36735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36736 __USE_XOPEN2K8].
36737 (CLD_KILLED): Likewise.
36738 (CLD_DUMPED): Likewise.
36739 (CLD_TRAPPED): Likewise.
36740 (CLD_STOPPED): Likewise.
36741 (CLD_CONTINUED): Likewise.
36742 (POLL_IN): Likewise.
36743 (POLL_OUT): Likewise.
36744 (POLL_MSG): Likewise.
36745 (POLL_ERR): Likewise.
36746 (POLL_PRI): Likewise.
36747 (POLL_HUP): Likewise.
36748 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
36749 Likewise.
36750 (ILL_ILLOPN): Likewise.
36751 (ILL_ILLADR): Likewise.
36752 (ILL_ILLTRP): Likewise.
36753 (ILL_PRVOPC): Likewise.
36754 (ILL_PRVREG): Likewise.
36755 (ILL_COPROC): Likewise.
36756 (ILL_BADSTK): Likewise.
36757 (ILL_BADIADDR): Likewise.
36758 (ILL_BREAK): Likewise.
36759 (FPE_INTDIV): Likewise.
36760 (FPE_INTOVF): Likewise.
36761 (FPE_FLTDIV): Likewise.
36762 (FPE_FLTOVF): Likewise.
36763 (FPE_FLTUND): Likewise.
36764 (FPE_FLTRES): Likewise.
36765 (FPE_FLTINV): Likewise.
36766 (FPE_FLTSUB): Likewise.
36767 (FPE_DECOVF): Likewise.
36768 (FPE_DECDIV): Likewise.
36769 (FPE_DECERR): Likewise.
36770 (FPE_INVASC): Likewise.
36771 (FPE_INVDEC): Likewise.
36772 (SEGV_MAPERR): Likewise.
36773 (SEGV_ACCERR): Likewise.
36774 (SEGV_PSTKOVF): Likewise.
36775 (BUS_ADRALN): Likewise.
36776 (BUS_ADRERR): Likewise.
36777 (BUS_OBJERR): Likewise.
36778 (BUS_MCEERR_AR): Likewise.
36779 (BUS_MCEERR_AO): Likewise.
36780 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36781 (TRAP_TRACE): Likewise.
36782 (TRAP_BRANCH): Likewise.
36783 (TRAP_HWBKPT): Likewise.
36784 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36785 __USE_XOPEN2K8].
36786 (CLD_KILLED): Likewise.
36787 (CLD_DUMPED): Likewise.
36788 (CLD_TRAPPED): Likewise.
36789 (CLD_STOPPED): Likewise.
36790 (CLD_CONTINUED): Likewise.
36791 (POLL_IN): Likewise.
36792 (POLL_OUT): Likewise.
36793 (POLL_MSG): Likewise.
36794 (POLL_ERR): Likewise.
36795 (POLL_PRI): Likewise.
36796 (POLL_HUP): Likewise.
36797 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
36798 (ILL_ILLOPN): Likewise.
36799 (ILL_ILLADR): Likewise.
36800 (ILL_ILLTRP): Likewise.
36801 (ILL_PRVOPC): Likewise.
36802 (ILL_PRVREG): Likewise.
36803 (ILL_COPROC): Likewise.
36804 (ILL_BADSTK): Likewise.
36805 (FPE_INTDIV): Likewise.
36806 (FPE_INTOVF): Likewise.
36807 (FPE_FLTDIV): Likewise.
36808 (FPE_FLTOVF): Likewise.
36809 (FPE_FLTUND): Likewise.
36810 (FPE_FLTRES): Likewise.
36811 (FPE_FLTINV): Likewise.
36812 (FPE_FLTSUB): Likewise.
36813 (SEGV_MAPERR): Likewise.
36814 (SEGV_ACCERR): Likewise.
36815 (BUS_ADRALN): Likewise.
36816 (BUS_ADRERR): Likewise.
36817 (BUS_OBJERR): Likewise.
36818 (BUS_MCEERR_AR): Likewise.
36819 (BUS_MCEERR_AO): Likewise.
36820 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36821 (TRAP_TRACE): Likewise.
36822 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36823 __USE_XOPEN2K8].
36824 (CLD_KILLED): Likewise.
36825 (CLD_DUMPED): Likewise.
36826 (CLD_TRAPPED): Likewise.
36827 (CLD_STOPPED): Likewise.
36828 (CLD_CONTINUED): Likewise.
36829 (POLL_IN): Likewise.
36830 (POLL_OUT): Likewise.
36831 (POLL_MSG): Likewise.
36832 (POLL_ERR): Likewise.
36833 (POLL_PRI): Likewise.
36834 (POLL_HUP): Likewise.
36835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
36836 (ILL_ILLOPN): Likewise.
36837 (ILL_ILLADR): Likewise.
36838 (ILL_ILLTRP): Likewise.
36839 (ILL_PRVOPC): Likewise.
36840 (ILL_PRVREG): Likewise.
36841 (ILL_COPROC): Likewise.
36842 (ILL_BADSTK): Likewise.
36843 (FPE_INTDIV): Likewise.
36844 (FPE_INTOVF): Likewise.
36845 (FPE_FLTDIV): Likewise.
36846 (FPE_FLTOVF): Likewise.
36847 (FPE_FLTUND): Likewise.
36848 (FPE_FLTRES): Likewise.
36849 (FPE_FLTINV): Likewise.
36850 (FPE_FLTSUB): Likewise.
36851 (SEGV_MAPERR): Likewise.
36852 (SEGV_ACCERR): Likewise.
36853 (BUS_ADRALN): Likewise.
36854 (BUS_ADRERR): Likewise.
36855 (BUS_OBJERR): Likewise.
36856 (BUS_MCEERR_AR): Likewise.
36857 (BUS_MCEERR_AO): Likewise.
36858 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36859 (TRAP_TRACE): Likewise.
36860 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36861 __USE_XOPEN2K8].
36862 (CLD_KILLED): Likewise.
36863 (CLD_DUMPED): Likewise.
36864 (CLD_TRAPPED): Likewise.
36865 (CLD_STOPPED): Likewise.
36866 (CLD_CONTINUED): Likewise.
36867 (POLL_IN): Likewise.
36868 (POLL_OUT): Likewise.
36869 (POLL_MSG): Likewise.
36870 (POLL_ERR): Likewise.
36871 (POLL_PRI): Likewise.
36872 (POLL_HUP): Likewise.
36873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
36874 (ILL_ILLOPN): Likewise.
36875 (ILL_ILLADR): Likewise.
36876 (ILL_ILLTRP): Likewise.
36877 (ILL_PRVOPC): Likewise.
36878 (ILL_PRVREG): Likewise.
36879 (ILL_COPROC): Likewise.
36880 (ILL_BADSTK): Likewise.
36881 (FPE_INTDIV): Likewise.
36882 (FPE_INTOVF): Likewise.
36883 (FPE_FLTDIV): Likewise.
36884 (FPE_FLTOVF): Likewise.
36885 (FPE_FLTUND): Likewise.
36886 (FPE_FLTRES): Likewise.
36887 (FPE_FLTINV): Likewise.
36888 (FPE_FLTSUB): Likewise.
36889 (SEGV_MAPERR): Likewise.
36890 (SEGV_ACCERR): Likewise.
36891 (BUS_ADRALN): Likewise.
36892 (BUS_ADRERR): Likewise.
36893 (BUS_OBJERR): Likewise.
36894 (BUS_MCEERR_AR): Likewise.
36895 (BUS_MCEERR_AO): Likewise.
36896 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36897 (TRAP_TRACE): Likewise.
36898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36899 __USE_XOPEN2K8].
36900 (CLD_KILLED): Likewise.
36901 (CLD_DUMPED): Likewise.
36902 (CLD_TRAPPED): Likewise.
36903 (CLD_STOPPED): Likewise.
36904 (CLD_CONTINUED): Likewise.
36905 (POLL_IN): Likewise.
36906 (POLL_OUT): Likewise.
36907 (POLL_MSG): Likewise.
36908 (POLL_ERR): Likewise.
36909 (POLL_PRI): Likewise.
36910 (POLL_HUP): Likewise.
36911 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
36912 (ILL_ILLOPN): Likewise.
36913 (ILL_ILLADR): Likewise.
36914 (ILL_ILLTRP): Likewise.
36915 (ILL_PRVOPC): Likewise.
36916 (ILL_PRVREG): Likewise.
36917 (ILL_COPROC): Likewise.
36918 (ILL_BADSTK): Likewise.
36919 (ILL_DBLFLT): Likewise.
36920 (ILL_HARDWALL): Likewise.
36921 (FPE_INTDIV): Likewise.
36922 (FPE_INTOVF): Likewise.
36923 (FPE_FLTDIV): Likewise.
36924 (FPE_FLTOVF): Likewise.
36925 (FPE_FLTUND): Likewise.
36926 (FPE_FLTRES): Likewise.
36927 (FPE_FLTINV): Likewise.
36928 (FPE_FLTSUB): Likewise.
36929 (SEGV_MAPERR): Likewise.
36930 (SEGV_ACCERR): Likewise.
36931 (BUS_ADRALN): Likewise.
36932 (BUS_ADRERR): Likewise.
36933 (BUS_OBJERR): Likewise.
36934 (BUS_MCEERR_AR): Likewise.
36935 (BUS_MCEERR_AO): Likewise.
36936 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36937 (TRAP_TRACE): Likewise.
36938 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36939 __USE_XOPEN2K8].
36940 (CLD_KILLED): Likewise.
36941 (CLD_DUMPED): Likewise.
36942 (CLD_TRAPPED): Likewise.
36943 (CLD_STOPPED): Likewise.
36944 (CLD_CONTINUED): Likewise.
36945 (POLL_IN): Likewise.
36946 (POLL_OUT): Likewise.
36947 (POLL_MSG): Likewise.
36948 (POLL_ERR): Likewise.
36949 (POLL_PRI): Likewise.
36950 (POLL_HUP): Likewise.
36951 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
36952 (ILL_ILLOPN): Likewise.
36953 (ILL_ILLADR): Likewise.
36954 (ILL_ILLTRP): Likewise.
36955 (ILL_PRVOPC): Likewise.
36956 (ILL_PRVREG): Likewise.
36957 (ILL_COPROC): Likewise.
36958 (ILL_BADSTK): Likewise.
36959 (FPE_INTDIV): Likewise.
36960 (FPE_INTOVF): Likewise.
36961 (FPE_FLTDIV): Likewise.
36962 (FPE_FLTOVF): Likewise.
36963 (FPE_FLTUND): Likewise.
36964 (FPE_FLTRES): Likewise.
36965 (FPE_FLTINV): Likewise.
36966 (FPE_FLTSUB): Likewise.
36967 (SEGV_MAPERR): Likewise.
36968 (SEGV_ACCERR): Likewise.
36969 (BUS_ADRALN): Likewise.
36970 (BUS_ADRERR): Likewise.
36971 (BUS_OBJERR): Likewise.
36972 (BUS_MCEERR_AR): Likewise.
36973 (BUS_MCEERR_AO): Likewise.
36974 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
36975 (TRAP_TRACE): Likewise.
36976 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
36977 __USE_XOPEN2K8].
36978 (CLD_KILLED): Likewise.
36979 (CLD_DUMPED): Likewise.
36980 (CLD_TRAPPED): Likewise.
36981 (CLD_STOPPED): Likewise.
36982 (CLD_CONTINUED): Likewise.
36983 (POLL_IN): Likewise.
36984 (POLL_OUT): Likewise.
36985 (POLL_MSG): Likewise.
36986 (POLL_ERR): Likewise.
36987 (POLL_PRI): Likewise.
36988 (POLL_HUP): Likewise.
36989 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
36990 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
36991
36992 [BZ #16670]
36993 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
36994 before #include of <time.h>.
36995 [!__USE_XOPEN2K] (__need_timespec): Likewise.
36996 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
36997 (test-xfail-UNIX98/sched.h/conform): Likewise.
36998
36999 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
37000
37001 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37002 error absence of trapping exception support.
37003 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37004
37005 2014-03-07 Joseph Myers <joseph@codesourcery.com>
37006
37007 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37008 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37009 * timezone/Makefile (testdata): Move definition above include of
37010 Rules.
37011 (test-zones): New variable.
37012 (tests-special): Add zone files.
37013 (build-testdata): Use $(evaluate-test).
37014
37015 * elf/Makefile (tests-special): Rename tests to end with .out.
37016 ($(objpfx)noload-mem): Likewise.
37017 ($(objpfx)tst-leaks1-mem): Likewise.
37018 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37019 * iconv/Makefile (xtests-special): Change test-iconvconfig to
37020 $(objpfx)test-iconvconfig.out.
37021 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
37022 set -e inside subshell and redirect output to file.
37023 * iconvdata/Makefile (generated): Rename tests to end with .out.
37024 Correct type.
37025 (tests-special): Rename tests to end with .out.
37026 ($(objpfx)mtrace-tst-loading): Likewise.
37027 * intl/Makefile (generated): Likewise.
37028 (tests-special): Likewise.
37029 ($(objpfx)mtrace-tst-gettext): Likewise.
37030 * misc/Makefile (generated): Likewise.
37031 (tests-special): Likewise.
37032 ($(objpfx)tst-error1-mem): Likewise.
37033 * nptl/Makefile (tests-special): Likewise.
37034 ($(objpfx)tst-stack3-mem): Likewise.
37035 (generated): Likewise.
37036 * posix/Makefile (generated): Likewise.
37037 (tests-special): Likewise.
37038 (xtests-special): Likewise.
37039 ($(objpfx)tst-fnmatch-mem): Likewise.
37040 ($(objpfx)bug-regex2-mem): Likewise.
37041 ($(objpfx)bug-regex14-mem): Likewise.
37042 ($(objpfx)bug-regex21-mem): Likewise.
37043 ($(objpfx)bug-regex31-mem): Likewise.
37044 ($(objpfx)tst-vfork3-mem): Likewise.
37045 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37046 ($(objpfx)tst-pcre-mem): Likewise.
37047 ($(objpfx)tst-boost-mem): Likewise.
37048 ($(objpfx)bug-ga2-mem): Likewise.
37049 ($(objpfx)bug-glob2-mem): Likewise.
37050 * resolv/Makefile (generate): Likewise.
37051 (tests-special): Likewise.
37052 (xtests-special): Likewise.
37053 (generated): Likewise.
37054 ($(objpfx)mtrace-tst-leaks): Likewise.
37055 ($(objpfx)mtrace-tst-leaks2): Likewise.
37056
37057 * scripts/merge-test-results.sh: New file.
37058 * Makefile (tests-special-notdir): New variable.
37059 (tests): Run merge-test-results.sh.
37060 (xtests): Likewise.
37061 * Rules (tests-special-notdir): New variable.
37062 (xtests-special-notdir): Likewise.
37063 (tests): Run merge-test-results.sh
37064 (xtests): Likewise.
37065
37066 * Makeconfig (test-xfail-name): New variable.
37067 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37068 compute variable name for expected failures.
37069 * conform/Makefile (conformtest-headers-data): New variable.
37070 (conformtest-standards): Likewise.
37071 (conformtest-headers-ISO): Likewise.
37072 (conformtest-headers-ISO99): Likewise.
37073 (conformtest-headers-ISO11): Likewise.
37074 (conformtest-headers-POSIX): Likewise.
37075 (conformtest-headers-XPG3): Likewise.
37076 (conformtest-headers-XPG4): Likewise.
37077 (conformtest-headers-UNIX98): Likewise.
37078 (conformtest-headers-XOPEN2K): Likewise.
37079 (conformtest-headers-POSIX2008): Likewise.
37080 (conformtest-headers-XOPEN2K8): Likewise.
37081 (conformtest-header-list-base): Likewise.
37082 (conformtest-header-list-tests): Likewise.
37083 (conformtest-header-base): Likewise.
37084 (conformtest-header-tests): Likewise.
37085 (tests-special): Add $(conformtest-header-list-tests). If
37086 [$(fast-check) && !$(cross-compiling)], add
37087 $(conformtest-header-tests) instead of
37088 $(objpfx)run-conformtest.out.
37089 (generated): Add $(conformtest-header-list-base). If
37090 [$(fast-check) && !$(cross-compiling)], add
37091 $(conformtest-header-base). Remove previous setting.
37092 ($(conformtest-header-list-tests)): New target.
37093 (test-xfail-run-conformtest): Remove variable.
37094 ($(objpfx)run-conformtest.out): Remove target.
37095 (test-xfail-ISO11/complex.h/conform): New variable.
37096 (test-xfail-ISO11/stdalign.h/conform): Likewise.
37097 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37098 (test-xfail-XPG3/varargs.h/conform): Likewise.
37099 (test-xfail-XPG4/varargs.h/conform): Likewise.
37100 (test-xfail-UNIX98/varargs.h/conform): Likewise.
37101 (test-xfail-XPG4/ndbm.h/conform): Likewise.
37102 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37103 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37104 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37105 (test-xfail-XPG3/fcntl.h/conform): Likewise.
37106 (test-xfail-XPG3/ftw.h/conform): Likewise.
37107 (test-xfail-XPG3/grp.h/conform): Likewise.
37108 (test-xfail-XPG3/langinfo.h/conform): Likewise.
37109 (test-xfail-XPG3/limits.h/conform): Likewise.
37110 (test-xfail-XPG3/pwd.h/conform): Likewise.
37111 (test-xfail-XPG3/search.h/conform): Likewise.
37112 (test-xfail-XPG3/signal.h/conform): Likewise.
37113 (test-xfail-XPG3/stdio.h/conform): Likewise.
37114 (test-xfail-XPG3/stdlib.h/conform): Likewise.
37115 (test-xfail-XPG3/string.h/conform): Likewise.
37116 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37117 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37118 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37119 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37120 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37121 (test-xfail-XPG3/sys/types.h/conform): Likewise.
37122 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37123 (test-xfail-XPG3/termios.h/conform): Likewise.
37124 (test-xfail-XPG3/time.h/conform): Likewise.
37125 (test-xfail-XPG3/unistd.h/conform): Likewise.
37126 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37127 (test-xfail-XPG4/fcntl.h/conform): Likewise.
37128 (test-xfail-XPG4/langinfo.h/conform): Likewise.
37129 (test-xfail-XPG4/netdb.h/conform): Likewise.
37130 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37131 (test-xfail-XPG4/signal.h/conform): Likewise.
37132 (test-xfail-XPG4/stdio.h/conform): Likewise.
37133 (test-xfail-XPG4/stdlib.h/conform): Likewise.
37134 (test-xfail-XPG4/stropts.h/conform): Likewise.
37135 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37136 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37137 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37138 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37139 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37140 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37141 (test-xfail-XPG4/sys/time.h/conform): Likewise.
37142 (test-xfail-XPG4/sys/types.h/conform): Likewise.
37143 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37144 (test-xfail-XPG4/termios.h/conform): Likewise.
37145 (test-xfail-XPG4/ucontext.h/conform): Likewise.
37146 (test-xfail-XPG4/unistd.h/conform): Likewise.
37147 (test-xfail-XPG4/utmpx.h/conform): Likewise.
37148 (test-xfail-POSIX/sched.h/conform): Likewise.
37149 (test-xfail-POSIX/signal.h/conform): Likewise.
37150 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37151 (test-xfail-POSIX/tar.h/conform): Likewise.
37152 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37153 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37154 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37155 (test-xfail-UNIX98/netdb.h/conform): Likewise.
37156 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37157 (test-xfail-UNIX98/sched.h/conform): Likewise.
37158 (test-xfail-UNIX98/signal.h/conform): Likewise.
37159 (test-xfail-UNIX98/stdio.h/conform): Likewise.
37160 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37161 (test-xfail-UNIX98/stropts.h/conform): Likewise.
37162 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37163 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37164 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37165 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37166 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37167 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37168 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37169 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37170 (test-xfail-UNIX98/unistd.h/conform): Likewise.
37171 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37172 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37173 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37174 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37175 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37176 (test-xfail-XOPEN2K/math.h/conform): Likewise.
37177 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37178 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37179 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37180 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37181 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37182 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37183 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37184 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37185 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37186 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37187 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37188 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37189 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37190 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37191 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37192 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37193 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37194 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37195 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37196 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37197 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37198 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37199 (test-xfail-POSIX2008/signal.h/conform): Likewise.
37200 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37201 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37202 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37203 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37204 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37205 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37206 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37207 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37208 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37209 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37210 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37211 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37212 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37213 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37214 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37215 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37216 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37217 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37218 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37219 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37220 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37221 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37222 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37223 (conformtest-cc-flags): Likewise.
37224 ($(conformtest-header-tests): New target.
37225 * conform/check-header-lists.sh: New file.
37226 * conform/run-conformtest.sh: Remove.
37227
37228 * conform/conformtest.pl: Allow ' and \ in values given for
37229 constants.
37230 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37231 inclusion.
37232 [POSIX] (sys/types.h): Likewise.
37233 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37234 inclusion.
37235 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37236 inclusion.
37237 * conform/data/signal.h-data (SIGIO): Remove expectation.
37238 [XPG3] (SIGBUS): Do not expect.
37239 [POSIX || XPG3] (SIGPOLL): Likewise.
37240 [POSIX || XPG3] (SIGPROF): Likewise.
37241 [POSIX || XPG3] (SIGSYS): Likewise.
37242 [XPG3] (SIGTRAP): Likewise.
37243 [POSIX || XPG3] (SIGURG): Likewise.
37244 [POSIX || XPG3] (SIGVTALRM): Likewise.
37245 [POSIX || XPG3] (SIGXCPU): Likewise.
37246 [POSIX || XPG3] (SIGXFSZ): Likewise.
37247 [POSIX] (SA_SIGINFO): Expect.
37248 [XPG3] (siginfo_t): Do not expect type or contents.
37249 [POSIX] (si_pid): Do not expect element.
37250 [POSIX] (si_uid): Likewise.
37251 [POSIX] (si_addr): Likewise.
37252 [POSIX] (si_status): Likewise.
37253 [POSIX] (si_band): Likewise.
37254 [XPG4] (si_value): Likewise.
37255 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37256 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37257 [POSIX || XPG3] (ILL_ILLADR): Likewise.
37258 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37259 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37260 [POSIX || XPG3] (ILL_PRVREG): Likewise.
37261 [POSIX || XPG3] (ILL_COPROC): Likewise.
37262 [POSIX || XPG3] (ILL_BADSTK): Likewise.
37263 [POSIX || XPG3] (FPE_INTDIV): Likewise.
37264 [POSIX || XPG3] (FPE_INTOVF): Likewise.
37265 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37266 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37267 [POSIX || XPG3] (FPE_FLTUND): Likewise.
37268 [POSIX || XPG3] (FPE_FLTRES): Likewise.
37269 [POSIX || XPG3] (FPE_FLTINV): Likewise.
37270 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37271 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37272 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37273 [POSIX || XPG3] (BUS_ADRALN): Likewise.
37274 [POSIX || XPG3] (BUS_ADRERR): Likewise.
37275 [POSIX || XPG3] (BUS_OBJERR): Likewise.
37276 [POSIX || XPG3] (CLD_EXITED): Likewise.
37277 [POSIX || XPG3] (CLD_KILLED): Likewise.
37278 [POSIX || XPG3] (CLD_DUMPED): Likewise.
37279 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37280 [POSIX || XPG3] (CLD_STOPPED): Likewise.
37281 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37282 [POSIX || XPG3] (POLL_IN): Likewise.
37283 [POSIX || XPG3] (POLL_OUT): Likewise.
37284 [POSIX || XPG3] (POLL_MSG): Likewise.
37285 [POSIX || XPG3] (POLL_ERR): Likewise.
37286 [POSIX || XPG3] (POLL_PRI): Likewise.
37287 [POSIX || XPG3] (POLL_HUP): Likewise.
37288 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37289 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37290 (SIG*): Do not allow.
37291 [XPG3] (si_*): Likewise.
37292 [XPG3] (SI_*): Likewise.
37293 [XPG3 || XPG4] (sigev_*): Likewise.
37294 [XPG3 || XPG4] (SIGEV_*): Likewise.
37295 [XPG3 || XPG4] (sival_*): Likewise.
37296 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37297 [POSIX || XPG3] (BUS_*): Likewise.
37298 [POSIX || XPG3] (CLD_*): Likewise.
37299 [POSIX || XPG3] (FPE_*): Likewise.
37300 [POSIX || XPG3] (ILL_*): Likewise.
37301 [POSIX || XPG3] (POLL_*): Likewise.
37302 [POSIX || XPG3] (SEGV_*): Likewise.
37303 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37304 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37305 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37306 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37307 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37308 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37309 Specify type and value.
37310 (TVERSLEN): Likewise.
37311 (REGTYPE): Likewise.
37312 (AREGTYPE): Likewise.
37313 (LNKTYPE): Likewise.
37314 (SYMTYPE): Likewise.
37315 (CHRTYPE): Likewise.
37316 (BLKTYPE): Likewise.
37317 (DIRTYPE): Likewise.
37318 (FIFOTYPE): Likewise.
37319 (CONTTYPE): Likewise.
37320 (TSUID): Likewise.
37321 (TSGID): Likewise.
37322 (TSVTX): Likewise.
37323 (TUREAD): Likewise.
37324 (TUWRITE): Likewise.
37325 (TUEXEC): Likewise.
37326 (TGREAD): Likewise.
37327 (TGWRITE): Likewise.
37328 (TGEXEC): Likewise.
37329 (TOREAD): Likewise.
37330 (TOWRITE): Likewise.
37331 (TOEXEC): Likewise.
37332 [POSIX] (TSVTX): Expect constant.
37333
37334 2014-03-06 Joseph Myers <joseph@codesourcery.com>
37335
37336 * Makefile (tests): Change dependencies to ....
37337 (tests-special): ... additions to this variable.
37338 (tests): Depend on $(tests-special).
37339 * Makerules (check-abi-list): New variable.
37340 (check-abi): Depend on $(check-abi-list).
37341 [$(subdir) = elf] (tests-special): Add
37342 $(objpfx)check-abi-libc.out.
37343 [$(build-shared) = yes && subdir] (tests-special): Add
37344 $(check-abi-list).
37345 [$(build-shared) = yes && subdir] (tests): Do not depend on
37346 check-abi.
37347 * Rules (tests): Depend on $(tests-special).
37348 (xtests): Depend on $(xtests-special).
37349 * catgets/Makefile (tests): Change dependencies to ....
37350 (tests-special): ... additions to this variable.
37351 * conform/Makefile (tests): Change dependencies to ....
37352 (tests-special): ... additions to this variable.
37353 * elf/Makefile (tests): Change dependencies to ....
37354 (tests-special): ... additions to this variable.
37355 * grp/Makefile (tests): Change dependencies to ....
37356 (tests-special): ... additions to this variable.
37357 * iconv/Makefile (xtests): Change dependencies to ....
37358 (xtests-special): ... additions to this variable.
37359 * iconvdata/Makefile (tests): Change dependencies to ....
37360 (tests-special): ... additions to this variable.
37361 * intl/Makefile (tests): Change dependencies to ....
37362 (tests-special): ... additions to this variable. Also add
37363 $(objpfx)tst-gettext.out.
37364 * io/Makefile (tests): Change dependencies to ....
37365 (tests-special): ... additions to this variable.
37366 * libio/Makefile (tests): Change dependencies to ....
37367 (tests-special): ... additions to this variable.
37368 * malloc/Makefile (tests): Change dependencies to ....
37369 (tests-special): ... additions to this variable.
37370 * misc/Makefile (tests): Change dependencies to ....
37371 (tests-special): ... additions to this variable.
37372 * nptl/Makefile (tests): Change dependencies to ....
37373 (tests-special): ... additions to this variable.
37374 * nptl_db/Makefile (tests): Change dependencies to ....
37375 (tests-special): ... additions to this variable.
37376 * posix/Makefile (tests): Change dependencies to ....
37377 (tests-special): ... additions to this variable.
37378 (xtests): Change dependencies to ....
37379 (xtests-special): ... additions to this variable.
37380 * resolv/Makefile (tests): Change dependencies to ....
37381 (tests-special): ... additions to this variable.
37382 (xtests): Change dependencies to ....
37383 (xtests-special): ... additions to this variable.
37384 * stdio-common/Makefile (tests): Change dependencies to ....
37385 (tests-special): ... additions to this variable.
37386 (do-tst-unbputc): Remove target.
37387 (do-tst-printf): Likewise.
37388 * stdlib/Makefile (tests): Change dependencies to ....
37389 (tests-special): ... additions to this variable.
37390 * string/Makefile (tests): Change dependencies to ....
37391 (tests-special): ... additions to this variable.
37392 * sysdeps/x86/Makefile (tests): Change dependencies to ....
37393 (tests-special): ... additions to this variable.
37394
37395 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37396 whole file.
37397 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37398 whole file.
37399 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37400 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37401
37402 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37403 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37404 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37405 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37406 * conform/data/libgen.h-data [XPG3]: Likewise.
37407 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37408 * conform/data/ndbm.h-data [XPG3]: Likewise.
37409 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37410 * conform/data/netdb.h-data [XPG3]: Likewise.
37411 * conform/data/netinet/in.h-data [XPG3]: Likewise.
37412 * conform/data/poll.h-data [XPG3]: Likewise.
37413 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37414 * conform/data/strings.h-data [XPG3]: Likewise.
37415 * conform/data/stropts.h-data [XPG3]: Likewise.
37416 * conform/data/sys/mman.h-data [XPG3]: Likewise.
37417 * conform/data/sys/resource.h-data [XPG3]: Likewise.
37418 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37419 Likewise.
37420 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37421 * conform/data/sys/time.h-data [XPG3]: Likewise.
37422 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37423 * conform/data/sys/uio.h-data [XPG3]: Likewise.
37424 * conform/data/sys/un.h-data [XPG3]: Likewise.
37425 * conform/data/syslog.h-data [XPG3]: Likewise.
37426 * conform/data/ucontext.h-data [XPG3]: Likewise.
37427 * conform/data/utmpx.h-data [XPG3]: Likewise.
37428 * conform/data/varargs.h-data [UNIX98]: Enable file.
37429
37430 * manual/Makefile (INSTALL_INFO): Remove variable setting.
37431
37432 * math/libm-test.inc (struct test_f_f_data): Move expected results
37433 into structure for each rounding mode.
37434 (struct test_ff_f_data): Likewise.
37435 (struct test_ff_f_data_nexttoward): Likewise.
37436 (struct test_fi_f_data): Likewise.
37437 (struct test_fl_f_data): Likewise.
37438 (struct test_if_f_data): Likewise.
37439 (struct test_fff_f_data): Likewise.
37440 (struct test_c_f_data): Likewise.
37441 (struct test_f_f1_data): Likewise.
37442 (struct test_fF_f1_data): Likewise.
37443 (struct test_ffI_f1_data): Likewise.
37444 (struct test_c_c_data): Likewise.
37445 (struct test_cc_c_data): Likewise.
37446 (struct test_f_i_data): Likewise.
37447 (struct test_ff_i_data): Likewise.
37448 (struct test_f_l_data): Likewise.
37449 (struct test_f_L_data): Likewise.
37450 (struct test_fFF_11_data): Likewise.
37451 (RM_): New macro.
37452 (RM_FE_DOWNWARD): Likewise.
37453 (RM_FE_TONEAREST): Likewise.
37454 (RM_FE_TOWARDZERO): Likewise.
37455 (RM_FE_UPWARD): Likewise.
37456 (RUN_TEST_LOOP_f_f): Update references to expected results.
37457 (RUN_TEST_LOOP_2_f): Likewise.
37458 (RUN_TEST_LOOP_fff_f): Likewise.
37459 (RUN_TEST_LOOP_c_f): Likewise.
37460 (RUN_TEST_LOOP_f_f1): Likewise.
37461 (RUN_TEST_LOOP_fF_f1): Likewise.
37462 (RUN_TEST_LOOP_fI_f1): Likewise.
37463 (RUN_TEST_LOOP_ffI_f1): Likewise.
37464 (RUN_TEST_LOOP_c_c): Likewise.
37465 (RUN_TEST_LOOP_cc_c): Likewise.
37466 (RUN_TEST_LOOP_f_i): Likewise.
37467 (RUN_TEST_LOOP_f_i_tg): Likewise.
37468 (RUN_TEST_LOOP_ff_i_tg): Likewise.
37469 (RUN_TEST_LOOP_f_b): Likewise.
37470 (RUN_TEST_LOOP_f_b_tg): Likewise.
37471 (RUN_TEST_LOOP_f_l): Likewise.
37472 (RUN_TEST_LOOP_f_L): Likewise.
37473 (RUN_TEST_LOOP_fFF_11): Likewise.
37474 * math/gen-libm-test.pl (parse_args): Output four copies of
37475 expected results for each test.
37476
37477 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37478 (__ASSUME_UTIMES): Remove.
37479 * sysdeps/unix/sysv/linux/tile/kernel-features.h
37480 (__ASSUME_UTIMES): Likewise.
37481
37482 * math/gen-auto-libm-tests.c: Update comment on output format.
37483 (output_for_one_input_case): Generate before-rounding and
37484 after-rounding information as conditions on output flags not
37485 floating-point format.
37486 * math/auto-libm-test-out: Regenerated.
37487 * math/gen-libm-test.pl (cond_value): New function.
37488 (or_cond_value): Use cond_value.
37489 (generate_testfile): Handle conditional exceptions.
37490
37491 2014-03-05 Joseph Myers <joseph@codesourcery.com>
37492
37493 * math/libm-test.inc (max_valid_error): New variable.
37494 (init_max_error): Take new argument specifying whether function
37495 results are exactly determined. Set max_valid_error and bound
37496 other variables for errors based on this argument.
37497 (set_max_error): Do not record results above max_valid_error.
37498 (check_float_internal): Only accept errors of up to 0.5ulps if
37499 also at most max_valid_error.
37500 (START): Take new argument EXACT and pass it to init_max_error.
37501 (acos_test): Update call to START.
37502 (acos_test_tonearest): Likewise.
37503 (acos_test_towardzero): Likewise.
37504 (acos_test_downward): Likewise.
37505 (acos_test_upward): Likewise.
37506 (acosh_test): Likewise.
37507 (asin_test): Likewise.
37508 (asin_test_tonearest): Likewise.
37509 (asin_test_towardzero): Likewise.
37510 (asin_test_downward): Likewise.
37511 (asin_test_upward): Likewise.
37512 (asinh_test): Likewise.
37513 (atan_test): Likewise.
37514 (atanh_test): Likewise.
37515 (atan2_test): Likewise.
37516 (cabs_test): Likewise.
37517 (cacos_test): Likewise.
37518 (cacosh_test): Likewise.
37519 (carg_test): Likewise.
37520 (casin_test): Likewise.
37521 (casinh_test): Likewise.
37522 (catan_test): Likewise.
37523 (catanh_test): Likewise.
37524 (cbrt_test): Likewise.
37525 (ccos_test): Likewise.
37526 (ccosh_test): Likewise.
37527 (ceil_test): Likewise.
37528 (cexp_test): Likewise.
37529 (cimag_test): Likewise.
37530 (clog_test): Likewise.
37531 (clog10_test): Likewise.
37532 (conj_test): Likewise.
37533 (copysign_test): Likewise.
37534 (cos_test): Likewise.
37535 (cos_test_tonearest): Likewise.
37536 (cos_test_towardzero): Likewise.
37537 (cos_test_downward): Likewise.
37538 (cos_test_upward): Likewise.
37539 (cosh_test): Likewise.
37540 (cosh_test_tonearest): Likewise.
37541 (cosh_test_towardzero): Likewise.
37542 (cosh_test_downward): Likewise.
37543 (cosh_test_upward): Likewise.
37544 (cpow_test): Likewise.
37545 (cproj_test): Likewise.
37546 (creal_test): Likewise.
37547 (csin_test): Likewise.
37548 (csinh_test): Likewise.
37549 (csqrt_test): Likewise.
37550 (ctan_test): Likewise.
37551 (ctan_test_tonearest): Likewise.
37552 (ctan_test_towardzero): Likewise.
37553 (ctan_test_downward): Likewise.
37554 (ctan_test_upward): Likewise.
37555 (ctanh_test): Likewise.
37556 (ctanh_test_tonearest): Likewise.
37557 (ctanh_test_towardzero): Likewise.
37558 (ctanh_test_downward): Likewise.
37559 (ctanh_test_upward): Likewise.
37560 (erf_test): Likewise.
37561 (erfc_test): Likewise.
37562 (exp_test): Likewise.
37563 (exp_test_tonearest): Likewise.
37564 (exp_test_towardzero): Likewise.
37565 (exp_test_downward): Likewise.
37566 (exp_test_upward): Likewise.
37567 (exp10_test): Likewise.
37568 (exp10_test_tonearest): Likewise.
37569 (exp10_test_towardzero): Likewise.
37570 (exp10_test_downward): Likewise.
37571 (exp10_test_upward): Likewise.
37572 (pow10_test): Likewise.
37573 (exp2_test): Likewise.
37574 (expm1_test): Likewise.
37575 (expm1_test_tonearest): Likewise.
37576 (expm1_test_towardzero): Likewise.
37577 (expm1_test_downward): Likewise.
37578 (expm1_test_upward): Likewise.
37579 (fabs_test): Likewise.
37580 (fdim_test): Likewise.
37581 (floor_test): Likewise.
37582 (fma_test): Likewise.
37583 (fma_test_towardzero): Likewise.
37584 (fma_test_downward): Likewise.
37585 (fma_test_upward): Likewise.
37586 (fmax_test): Likewise.
37587 (fmin_test): Likewise.
37588 (fmod_test): Likewise.
37589 (fpclassify_test): Likewise.
37590 (frexp_test): Likewise.
37591 (hypot_test): Likewise.
37592 (ilogb_test): Likewise.
37593 (isfinite_test): Likewise.
37594 (finite_test): Likewise.
37595 (isgreater_test): Likewise.
37596 (isgreaterequal_test): Likewise.
37597 (isinf_test): Likewise.
37598 (isless_test): Likewise.
37599 (islessequal_test): Likewise.
37600 (islessgreater_test): Likewise.
37601 (isnan_test): Likewise.
37602 (isnormal_test): Likewise.
37603 (issignaling_test): Likewise.
37604 (isunordered_test): Likewise.
37605 (j0_test): Likewise.
37606 (j1_test): Likewise.
37607 (jn_test): Likewise.
37608 (ldexp_test): Likewise.
37609 (lgamma_test): Likewise.
37610 (gamma_test): Likewise.
37611 (lrint_test): Likewise.
37612 (lrint_test_tonearest): Likewise.
37613 (lrint_test_towardzero): Likewise.
37614 (lrint_test_downward): Likewise.
37615 (lrint_test_upward): Likewise.
37616 (llrint_test): Likewise.
37617 (llrint_test_tonearest): Likewise.
37618 (llrint_test_towardzero): Likewise.
37619 (llrint_test_downward): Likewise.
37620 (llrint_test_upward): Likewise.
37621 (log_test): Likewise.
37622 (log10_test): Likewise.
37623 (log1p_test): Likewise.
37624 (log2_test): Likewise.
37625 (logb_test): Likewise.
37626 (logb_test_downward): Likewise.
37627 (lround_test): Likewise.
37628 (llround_test): Likewise.
37629 (modf_test): Likewise.
37630 (nearbyint_test): Likewise.
37631 (nextafter_test): Likewise.
37632 (nexttoward_test): Likewise.
37633 (pow_test): Likewise.
37634 (pow_test_tonearest): Likewise.
37635 (pow_test_towardzero): Likewise.
37636 (pow_test_downward): Likewise.
37637 (pow_test_upward): Likewise.
37638 (remainder_test): Likewise.
37639 (drem_test): Likewise.
37640 (remainder_test_tonearest): Likewise.
37641 (drem_test_tonearest): Likewise.
37642 (remainder_test_towardzero): Likewise.
37643 (drem_test_towardzero): Likewise.
37644 (remainder_test_downward): Likewise.
37645 (drem_test_downward): Likewise.
37646 (remainder_test_upward): Likewise.
37647 (drem_test_upward): Likewise.
37648 (remquo_test): Likewise.
37649 (rint_test): Likewise.
37650 (rint_test_tonearest): Likewise.
37651 (rint_test_towardzero): Likewise.
37652 (rint_test_downward): Likewise.
37653 (rint_test_upward): Likewise.
37654 (round_test): Likewise.
37655 (scalb_test): Likewise.
37656 (scalbn_test): Likewise.
37657 (scalbln_test): Likewise.
37658 (signbit_test): Likewise.
37659 (sin_test): Likewise.
37660 (sin_test_tonearest): Likewise.
37661 (sin_test_towardzero): Likewise.
37662 (sin_test_downward): Likewise.
37663 (sin_test_upward): Likewise.
37664 (sincos_test): Likewise.
37665 (sinh_test): Likewise.
37666 (sinh_test_tonearest): Likewise.
37667 (sinh_test_towardzero): Likewise.
37668 (sinh_test_downward): Likewise.
37669 (sinh_test_upward): Likewise.
37670 (sqrt_test): Likewise.
37671 (sqrt_test_tonearest): Likewise.
37672 (sqrt_test_towardzero): Likewise.
37673 (sqrt_test_downward): Likewise.
37674 (sqrt_test_upward): Likewise.
37675 (tan_test): Likewise.
37676 (tan_test_tonearest): Likewise.
37677 (tan_test_towardzero): Likewise.
37678 (tan_test_downward): Likewise.
37679 (tan_test_upward): Likewise.
37680 (tanh_test): Likewise.
37681 (tgamma_test): Likewise.
37682 (trunc_test): Likewise.
37683 (y0_test): Likewise.
37684 (y1_test): Likewise.
37685 (yn_test): Likewise.
37686 (significand_test): Likewise.
37687
37688 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
37689 individual tests in comment.
37690 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
37691 (prev_max_error): New variable.
37692 (prev_real_max_error): Likewise.
37693 (prev_imag_max_error): Likewise.
37694 (compare_ulp_data): Don't refer to test names in comment.
37695 (find_test_ulps): Remove function.
37696 (find_function_ulps): Likewise.
37697 (find_complex_function_ulps): Likewise.
37698 (init_max_error): Take function name as argument. Look up ulps
37699 for that function.
37700 (print_ulps): Remove function.
37701 (print_max_error): Use prev_max_error instead of calling
37702 find_function_ulps.
37703 (print_complex_max_error): Use prev_real_max_error and
37704 prev_imag_max_error instead of calling find_complex_function_ulps.
37705 (check_float_internal): Take max_ulp parameter instead of calling
37706 find_test_ulps. Don't call print_ulps.
37707 (check_float): Update call to check_float_internal.
37708 (check_complex): Update calls to check_float_internal.
37709 (START): Pass argument to init_max_error.
37710 * math/gen-libm-test.pl (%results): Don't include "kind"
37711 information.
37712 (parse_ulps): Don't handle ulps of individual tests.
37713 (print_ulps_file): Likewise.
37714 (output_ulps): Likewise.
37715 * math/README.libm-test: Update.
37716 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
37717 individual tests.
37718 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
37719 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
37720 * sysdeps/arm/libm-test-ulps: Likewise.
37721 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
37722 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
37723 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
37724 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
37725 * sysdeps/microblaze/libm-test-ulps: Likewise.
37726 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
37727 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37728 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37729 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
37730 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37731 * sysdeps/sh/libm-test-ulps: Likewise.
37732 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37733 * sysdeps/tile/libm-test-ulps: Likewise.
37734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37735
37736 2014-03-04 Joseph Myers <joseph@codesourcery.com>
37737
37738 * math/libm-test.inc (print_complex_max_error): Check separately
37739 whether real and imaginary errors are within allowed range and
37740 pass 0 to print_complex_function_ulps instead of value within
37741 allowed range.
37742
37743 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37744
37745 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
37746 formatting.
37747 (get_handles_fopen): Likewise.
37748 (do_write_test): Likewise.
37749
37750 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
37751
37752 * libio/fileops.c (do_ftell): Use cached offset when
37753 available.
37754 * libio/iofwide.c (do_ftell_wide): Likewise.
37755 * libio/iofdopen.c (_IO_new_fdopen): Don't use
37756 _IO_file_attach.
37757 * libio/wfileops.c (_IO_fwide): Don't cache offset.
37758
37759 [BZ #16532]
37760 * libio/libioP.h (get_file_offset): New function.
37761 * libio/fileops.c (get_file_offset): Likewise.
37762 (do_ftell): Likewise.
37763 (_IO_new_file_seekoff): Split out ftell logic.
37764 * libio/wfileops.c (do_ftell_wide): Likewise.
37765 (_IO_wfile_seekoff): Split out ftell logic.
37766 * libio/tst-ftell-active-handler.c: New test case.
37767 * libio/Makefile (tests): Add it.
37768
37769 2014-03-03 Roland McGrath <roland@hack.frob.com>
37770
37771 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
37772 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
37773
37774 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37775
37776 [BZ #16639]
37777 * nscd/connections.c (nscd_init): Call do_exit.
37778 (start_threads): Call do_exit and notify_parent.
37779 (begin_drop_privileges): Call do_exit.
37780 (finish_drop_privileges): Likewise.
37781 * nscd/selinux.c (preserve_capabilities): Likewise.
37782 (install_real_capabilities): Likewise.
37783 (nscd_selinux_enabled): Likewise.
37784 (avc_create_thread): Likewise.
37785 (avc_alloc_lock): Likewise.
37786 (nscd_avc_init): Likewise.
37787 * nscd/nscd.c (parent_fd): New static variable.
37788 (main): Create a pipe between parent and child processes.
37789 Skip closing parent_fd.
37790 (monitor_child): New function.
37791 (do_exit): Likewise.
37792 (notify_parent): Likewise.
37793 * nscd/nscd.h (notify_parent): Likewise.
37794 (do_exit): Likewise.
37795
37796 2014-03-03 Carlos O'Donell <carlos@redhat.com>
37797
37798 * malloc/malloc.c (__libc_calloc): Revert last change.
37799
37800 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37801
37802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37803
37804 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37805
37806 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
37807 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
37808 implementation.
37809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37810 (__libc_ifunc_impl_list): Likewise.
37811 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
37812 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
37813 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
37814 * string/strrchr.c: Define STRRCHR.
37815
37816 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
37817
37818 * benchtest/bench-strtok.c (simple_strtok): Delete.
37819 (strtok_string): Use as benchmark.
37820 * string/strtok (STRTOK): New macro.
37821
37822 2014-02-28 Carlos O'Donell <carlos@redhat.com>
37823
37824 * manual/threads.texi: Add header and standard comments to all
37825 functions.
37826
37827 * elf/dl-lookup.c (check_match): New function.
37828 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
37829 (do_lookup_x): Remove nested function check_match. Use non-nested
37830 function check_match.
37831
37832 2014-02-28 Roland McGrath <roland@hack.frob.com>
37833
37834 * csu/Makefile (generated, before-compile): Use += rather than =.
37835 * catgets/Makefile (generated, generated-dirs): Likewise.
37836 * debug/Makefile (generated): Likewise.
37837 * dlfcn/Makefile (generated): Likewise.
37838 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
37839 * iconvdata/Makefile (before-compile, generated): Likewise.
37840 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
37841 * libio/Makefile (generated): Likewise.
37842 * malloc/Makefile (generated): Likewise.
37843 * manual/Makefile (generated, generated-dirs): Likewise.
37844 * misc/Makefile (generated): Likewise.
37845 * posix/Makefile (generated): Likewise.
37846 * resolv/Makefile (generated): Likewise.
37847 * sunrpc/Makefile (generated, generated-dirs): Likewise.
37848 * timezone/Makefile (generated, generated-dirs): Likewise.
37849
37850 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
37851
37852 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37853
37854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37855 power8 implementation.
37856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
37857 file: POWER8 llround ifunc implementation.
37858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
37859 (__lllround): Add POWER8 implementation.
37860 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
37861 POWER8 llround implementation.
37862
37863 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
37864 power8 implementation.
37865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
37866 file: POWER8 llrint ifunc implementation.
37867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
37868 Add POWER8 implementation.
37869 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
37870 POWER8 llrint implementation.
37871
37872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
37873 power8 implementation.
37874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
37875 file: POWER8 finite ifunc implementation.
37876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
37877 Add POWER8 implementation.
37878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
37879 Likewise.
37880 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
37881 POWER8 finite implementation.
37882 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
37883
37884 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
37885 power8 implementation.
37886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
37887 file: POWER8 isinf ifunc implementation.
37888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
37889 POWER8 implementation.
37890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
37891 Likewise.
37892 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
37893 isinf implementation.
37894 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
37895
37896 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
37897 (INIT_ARCH): Add hwcap2 initialization.
37898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37899 power8 implementation.
37900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
37901 file: POWER8 isnan ifunc implementation.
37902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
37903 POWER8 implementation.
37904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
37905 Likewise.
37906 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
37907 isnan implementation.
37908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
37909
37910 2014-02-27 Joey Ye <joey.ye@arm.com>
37911
37912 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37913 (_FP_NANFRAC_Q): Set to zero.
37914
37915 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37916
37917 [BZ #16623]
37918 * math/auto-libm-test-in: New test inputs.
37919 * math/auto-libm-test-out: Regenerate.
37920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
37921 and DA.
37922 (__cos): Likewise.
37923 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37924
37925 2014-02-27 Joseph Myers <joseph@codesourcery.com>
37926
37927 * scripts/evaluate-test.sh: Take new argument indicating whether
37928 failure is expected.
37929 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
37930 indicating whether failure is expected.
37931 * conform/Makefile (test-xfail-run-conformtest): New variable.
37932 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
37933 level.
37934 * posix/Makefile (test-xfail-annexc): New variable.
37935 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
37936
37937 2014-02-26 Joseph Myers <joseph@codesourcery.com>
37938
37939 * argp/Makefile: Include Makeconfig immediately after defining
37940 subdir.
37941 * assert/Makefile: Likewise.
37942 * benchtests/Makefile: Likewise.
37943 * catgets/Makefile: Likewise.
37944 * conform/Makefile: Likewise.
37945 * crypt/Makefile: Likewise.
37946 * csu/Makefile: Likewise.
37947 (all): Remove target.
37948 * ctype/Makefile: Include Makeconfig immediately after defining
37949 subdir.
37950 * debug/Makefile: Likewise.
37951 * dirent/Makefile: Likewise.
37952 * dlfcn/Makefile: Likewise.
37953 * gmon/Makefile: Likewise.
37954 * gnulib/Makefile: Likewise.
37955 * grp/Makefile: Likewise.
37956 * gshadow/Makefile: Likewise.
37957 * hesiod/Makefile: Likewise.
37958 * hurd/Makefile: Likewise.
37959 (all): Remove target.
37960 * iconvdata/Makefile: Include Makeconfig immediately after
37961 defining subdir.
37962 * inet/Makefile: Likewise.
37963 * intl/Makefile: Likewise.
37964 * io/Makefile: Likewise.
37965 * libio/Makefile: Likewise.
37966 (all): Remove target.
37967 * locale/Makefile: Include Makeconfig immediately after defining
37968 subdir.
37969 * login/Makefile: Likewise.
37970 * mach/Makefile: Likewise.
37971 (all): Remove target.
37972 * malloc/Makefile: Include Makeconfig immediately after defining
37973 subdir.
37974 (all): Remove target.
37975 * manual/Makefile: Include Makeconfig immediately after defining
37976 subdir.
37977 * math/Makefile: Likewise.
37978 * misc/Makefile: Likewise.
37979 * nis/Makefile: Likewise.
37980 * nss/Makefile: Likewise.
37981 * po/Makefile: Likewise.
37982 (all): Remove target.
37983 * posix/Makefile: Include Makeconfig immediately after defining
37984 subdir.
37985 * pwd/Makefile: Likewise.
37986 * resolv/Makefile: Likewise.
37987 * resource/Makefile: Likewise.
37988 * rt/Makefile: Likewise.
37989 * setjmp/Makefile: Likewise.
37990 * shadow/Makefile: Likewise.
37991 * signal/Makefile: Likewise.
37992 * socket/Makefile: Likewise.
37993 * soft-fp/Makefile: Likewise.
37994 * stdio-common/Makefile: Likewise.
37995 * stdlib/Makefile: Likewise.
37996 * streams/Makefile: Likewise.
37997 * string/Makefile: Likewise.
37998 * sunrpc/Makefile: Likewise.
37999 (all): Remove target.
38000 * sysvipc/Makefile: Include Makeconfig immediately after defining
38001 subdir.
38002 * termios/Makefile: Likewise.
38003 * time/Makefile: Likewise.
38004 * timezone/Makefile: Likewise.
38005 (all): Remove target.
38006 * wcsmbs/Makefile: Include Makeconfig immediately after defining
38007 subdir.
38008 * wctype/Makefile: Likewise.
38009
38010 2014-02-26 Steve Ellcey <sellcey@mips.com>
38011
38012 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38013 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38014 (libc_feholdexcept_setround_mips): Ditto.
38015 (libc_feholdsetround): New.
38016 (libc_feholdsetroundf): New.
38017 (libc_feholdsetroundl): New.
38018 (libc_feupdateenv_test_mips): New.
38019 (libc_feupdateenv_test): New.
38020 (libc_feupdateenv_testf): New.
38021 (libc_feupdateenv_testl): New.
38022 (libc_feresetround): New.
38023 (libc_feresetroundf): New.
38024 (libc_feresetroundl): New.
38025 (libc_fetestexcept_mips): New.
38026 (libc_fetestexcept): New.
38027 (libc_fetestexceptf): New.
38028 (libc_fetestexceptl): New.
38029 (HAVE_RM_CTX): New.
38030 (libc_feholdexcept_setround_mips_ctx): New.
38031 (libc_feholdexcept_setround_ctx): New.
38032 (libc_feholdexcept_setroundf_ctx): New.
38033 (libc_feholdexcept_setroundl_ctx): New.
38034 (libc_fesetenv_mips_ctx): New.
38035 (libc_fesetenv_ctx): New.
38036 (libc_fesetenv_ctxf): New.
38037 (libc_fesetenv_ctxl): New.
38038 (libc_feupdateenv_mips_ctx): New.
38039 (libc_feupdateenv_ctx): New.
38040 (libc_feupdateenvf_ctx): New.
38041 (libc_feupdateenvl_ctx): New.
38042 (libc_feholdsetround_mips_ctx): New.
38043 (libc_feholdsetround_ctx): New.
38044 (libc_feholdsetroundf_ctx): New.
38045 (libc_feholdsetroundl_ctx): New.
38046 (libc_feresetround_mips_ctx): New.
38047 (libc_feresetround_ctx): New.
38048 (libc_feresetroundf_ctx): New.
38049 (libc_feresetroundl_ctx): New.
38050
38051 2014-02-26 Carlos O'Donell <carlos@redhat.com>
38052
38053 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38054
38055 * manual/ipc.texi: New file.
38056 * manual/Makefile (chapters): Add ipc.
38057 * manual/job.texi: Add "Inter-Process Communication" to next.
38058 * manual/process.texi: Add "Inter-Process Communication" to prev.
38059
38060 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38061
38062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38063
38064 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
38065
38066 * malloc/malloc.c (__libc_calloc): Simplify implementation.
38067
38068 * manual/arith.texi: Fix spaces after sentences.
38069 * manual/charset.texi: Likewise.
38070 * manual/errno.texi: Likewise.
38071 * manual/install.texi: Likewise.
38072 * manual/llio.texi: Likewise.
38073 * manual/locale.texi: Likewise.
38074 * manual/maint.texi: Likewise.
38075 * manual/math.texi: Likewise.
38076 * manual/memory.texi: Likewise.
38077 * manual/message.texi: Likewise.
38078 * manual/probes.texi: Likewise.
38079 * manual/resource.texi: Likewise.
38080 * manual/signal.texi: Likewise.
38081 * manual/socket.texi: Likewise.
38082 * manual/stdio.texi: Likewise.
38083 * manual/string.texi: Likewise.
38084 * manual/time.texi: Likewise.
38085 * manual/users.texi: Likewise.
38086
38087 2014-02-25 Carlos O'Donell <carlos@redhat.com>
38088
38089 [BZ #16632]
38090 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38091 _DEFAULT_SOURCE is defined.
38092
38093 2014-02-25 Ulrich Drepper <drepper@gmail.com>
38094 Carlos O'Donell <carlos@redhat.com>
38095
38096 [BZ #16613]
38097 * elf/dl-tls.c (_dl_count_modids): New function.
38098 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38099 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38100 audit library and increment generation counter.
38101 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38102 * elf/tst-audit9.c: New file.
38103 * elf/tst-auditmod9a.c: New file.
38104 * elf/tst-auditmod9b.c: New file.
38105 * elf/Makefile: Add rules to build and run tst-audit9.
38106
38107 2014-02-25 Florian Weimer <fweimer@redhat.com>
38108
38109 [BZ #15347]
38110 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38111
38112 2014-02-25 Will Newton <will.newton@linaro.org>
38113
38114 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38115 (__longjmp): Restore sp and lr before restoring callee
38116 saved registers. Add longjmp and longjmp_target
38117 SystemTap probe point.
38118 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38119 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38120 Define to zero to match jmpbuf layout.
38121 * sysdeps/arm/setjmp.S: Include stap-probe.h.
38122 (__sigsetjmp): Save sp and lr before saving callee
38123 saved registers. Add setjmp SystemTap probe point.
38124
38125 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
38126
38127 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38128
38129 2014-02-24 Andreas Schwab <schwab@suse.de>
38130
38131 [BZ #15804]
38132 * elf/pldd.c (wait_for_ptrace_stop): New function.
38133 (main): Call it after attaching.
38134
38135 2014-02-22 Roland McGrath <roland@hack.frob.com>
38136
38137 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38138 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38139 Versions files is now verboten.
38140 * hurd/Versions (libc: GLIBC_2.0):
38141 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38142 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38143 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38144 * mach/Versions: Likewise.
38145
38146 * csu/Versions: Remove unused %include.
38147 * resolv/Versions: Likewise.
38148
38149 2014-02-21 Joseph Myers <joseph@codesourcery.com>
38150
38151 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38152 ($(objpfx)check-local-headers.out): Likewise.
38153 ($(objpfx)begin-end-check.out): Likewise.
38154 * Makerules (check-abi-%.out): Likewise.
38155 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38156 ($(objpfx)test2.cat): Likewise.
38157 ($(objpfx)de/libc.cat): Likewise.
38158 ($(objpfx)test-gencat.out): Likewise.
38159 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38160 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38161 ($(objpfx)noload-mem): Likewise.
38162 ($(objpfx)tst-pathopt.out): Likewise.
38163 ($(objpfx)tst-rtld-load-self.out): Likewise.
38164 ($(objpfx)tst-array1-cmp.out): Likewise.
38165 ($(objpfx)tst-array1-static-cmp.out): Likewise.
38166 ($(objpfx)tst-array2-cmp.out): Likewise.
38167 ($(objpfx)tst-array3-cmp.out): Likewise.
38168 ($(objpfx)tst-array4-cmp.out): Likewise.
38169 ($(objpfx)tst-array5-cmp.out): Likewise.
38170 ($(objpfx)tst-array5-static-cmp.out): Likewise.
38171 ($(objpfx)check-textrel.out): Likewise.
38172 ($(objpfx)check-execstack.out): Likewise.
38173 ($(objpfx)check-localplt.out): Likewise.
38174 ($(objpfx)order2-cmp.out): Likewise.
38175 ($(objpfx)tst-leaks1-mem): Likewise.
38176 ($(objpfx)tst-leaks1-static-mem): Likewise.
38177 ($(objpfx)tst-initorder-cmp.out): Likewise.
38178 ($(objpfx)tst-initorder2-cmp.out): Likewise.
38179 ($(objpfx)tst-unused-dep.out): Likewise.
38180 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38181 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38182 * iconv/Makefile (test-iconvconfig): Likewise.
38183 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38184 ($(objpfx)iconv-test.out): Likewise.
38185 ($(objpfx)tst-tables.out): Likewise.
38186 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38187 ($(objpfx)tst-gettext.out): Likewise.
38188 ($(objpfx)tst-translit.out): Likewise.
38189 ($(objpfx)tst-gettext2.out): Likewise.
38190 ($(objpfx)tst-gettext4.out): Likewise.
38191 ($(objpfx)tst-gettext6.out): Likewise.
38192 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38193 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38194 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38195 ($(objpfx)tst-fopenloc-mem.out): Likewise.
38196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38197 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38198 * posix/Makefile ($(objpfx)globtest.out): Likewise.
38199 ($(objpfx)wordexp-tst.out): Likewise.
38200 ($(objpfx)annexc.out): Likewise.
38201 ($(objpfx)tst-fnmatch-mem): Likewise.
38202 ($(objpfx)bug-regex2-mem): Likewise.
38203 ($(objpfx)bug-regex14-mem): Likewise.
38204 ($(objpfx)bug-regex21-mem): Likewise.
38205 ($(objpfx)bug-regex31-mem): Likewise.
38206 ($(objpfx)tst-vfork3-mem): Likewise.
38207 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38208 ($(objpfx)tst-pcre-mem): Likewise.
38209 ($(objpfx)tst-boost-mem): Likewise.
38210 ($(objpfx)tst-getconf.out): Likewise.
38211 ($(objpfx)bug-ga2-mem): Likewise.
38212 ($(objpfx)bug-glob2-mem): Likewise.
38213 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38214 ($(objpfx)mtrace-tst-leaks2): Likewise.
38215 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38216 ($(objpfx)tst-printf.out): Likewise.
38217 ($(objpfx)tst-setvbuf1.out): Likewise.
38218 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38219 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38220 ($(objpfx)tst-fmtmsg.out): Likewise.
38221 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38222 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38223
38224 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38225 * bits/sigaction.h [__USE_MISC]: Likewise.
38226 * bits/waitstatus.h: Update #endif comments.
38227 * ctype/ctype.h: Likewise.
38228 * dirent/dirent.h: Likewise.
38229 [__USE_MISC]: Remove redundant conditionals.
38230 * grp/grp.h: Update #endif comments.
38231 [__USE_GNU]: Remove redundant conditionals.
38232 [__USE_MISC]: Likewise.
38233 * inet/netinet/in.h [__USE_GNU]: Likewise.
38234 * io/sys/stat.h [__USE_MISC]: Likewise.
38235 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38236 * libio/bits/stdio.h: Update #endif comments.
38237 [__USE_MISC]: Remove redundant conditionals.
38238 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38239 * libio/stdio.h: Update #endif comments.
38240 [__USE_MISC]: Remove redundant conditionals.
38241 * math/bits/math-finite.h [__USE_MISC]: Likewise.
38242 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38243 * math/math.h: Update #else and #endif comments.
38244 [__USE_MISC]: Remove redundant conditionals.
38245 * misc/sys/uio.h: Update #endif comments.
38246 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38247 * posix/glob.h [__USE_MISC]: Likewise.
38248 * posix/sys/types.h: Update #endif comments.
38249 [__USE_MISC]: Remove redundant conditionals.
38250 * posix/sys/wait.h: Update #endif comments.
38251 [__USE_MISC]: Remove redundant conditionals.
38252 * posix/unistd.h: Update #endif comments.
38253 [__USE_MISC]: Remove redundant conditionals.
38254 * pwd/pwd.h [__USE_GNU]: Likewise.
38255 [__USE_MISC]: Likewise.
38256 * resolv/netdb.h [__USE_GNU]: Likewise.
38257 * signal/signal.h: Update #endif comments.
38258 [__USE_MISC]: Remove redundant conditionals.
38259 * stdlib/stdlib.h: Update #else and #endif comments.
38260 [__USE_MISC]: Remove redundant conditionals.
38261 [__USE_GNU]: Likewise.
38262 * string/bits/string2.h [__USE_MISC]: Likewise.
38263 * string/string.h: Update #endif comments.
38264 [__USE_MISC]: Remove redundant conditionals.
38265 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38266 Likewise.
38267 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38268 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38269 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38270 Likewise.
38271 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38272 Likewise.
38273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38274 comments.
38275 [__USE_MISC]: Remove redundant conditionals.
38276 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38277 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38278 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38279 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38280 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38281 Likewise.
38282 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38283 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38284 Likewise.
38285 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38286 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38287 Likewise.
38288 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38289 Likewise.
38290 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38291 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38292 Likewise.
38293 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38294 Likewise.
38295 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38296 * sysdeps/x86/bits/string.h: Update #endif comments.
38297 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38298 conditionals.
38299 * time/sys/time.h: Update #endif comments.
38300 * time/time.h: Likewise.
38301 [__USE_MISC]: Remove redundant conditionals.
38302
38303 2014-02-21 Yury Gribov <y.gribov@samsung.com>
38304
38305 [BZ #16600]
38306 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38307
38308 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
38309
38310 * Versions.def (librt): Add GLIBC_2.17.
38311
38312 2014-02-21 Adam Conrad <adconrad@0c3.net>
38313
38314 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38315 synonym for _SYS_AUXV_H to allow direct inclusion.
38316 * sysdeps/sparc/bits/hwcap.h: Likewise.
38317 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38318 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38319 * sysdeps/sparc/sysdep.h: Likewise.
38320
38321 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38322
38323 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38324
38325 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38326
38327 * benchtests/bench-strrchr.c: Print length instead of position.
38328
38329 2014-02-20 Joseph Myers <joseph@codesourcery.com>
38330
38331 [BZ #16611]
38332 * sysdeps/unix/sysv/linux/kernel-features.h
38333 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38334 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38335 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38336 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38337 Likewise.
38338 [__i386__ || __powerpc__ || __sh__ || __sparc__]
38339 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38340 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38341 (__ASSUME_SENDMMSG): Define instead of using previous
38342 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38343 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38344 (__ASSUME_SENDMMSG_SYSCALL): Define.
38345 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38346 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38347 Likewise.
38348 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38349 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38350 Likewise.
38351 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38352 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38353 Likewise.
38354 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38355 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38356 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38357 [__ASSUME_SENDMMSG]: Change conditionals to
38358 [__ASSUME_SENDMMSG_SOCKETCALL].
38359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38360 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38361 Define.
38362 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38363 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38364 Likewise.
38365 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38366 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38367 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38368 [!__ASSUME_SENDMMSG]: Change conditional to
38369 [!__ASSUME_SENDMMSG_SOCKETCALL].
38370 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38371 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38372 Define.
38373
38374 [BZ #16610]
38375 * sysdeps/unix/sysv/linux/kernel-features.h
38376 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38377 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38378 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38379 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38380 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38381 [__i386__ || __sparc__]
38382 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38383 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38384 (__ASSUME_RECVMMSG): Define instead of using previous
38385 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38386 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38387 (__ASSUME_RECVMMSG_SYSCALL): Define.
38388 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38389 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38390 Likewise.
38391 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38392 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38393 Likewise.
38394 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38395 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38396 Likewise.
38397 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38398 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38399 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38400 [__ASSUME_RECVMMSG]: Change condition to
38401 [__ASSUME_RECVMMSG_SOCKETCALL].
38402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38404 Define.
38405 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38406 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38408 Likewise.
38409 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38410 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38411 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38412 [!__ASSUME_RECVMMSG]: Change condition to
38413 [!__ASSUME_RECVMMSG_SOCKETCALL].
38414 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38415 (__ASSUME_RECVMMSG_SYSCALL): Define.
38416
38417 [BZ #16609]
38418 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38419 __powerpc__ || __s390__ || __sh__ || __sparc__]
38420 (__ASSUME_SOCKETCALL): Define.
38421 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38422 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38423 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38424 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38425 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38426 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38427 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38428 (__ASSUME_ACCEPT4): Define instead of using previous
38429 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38430 __powerpc__ || __sparc__ || __s390__)] condition.
38431 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38432 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38433 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38434 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38435 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38436 [!__ASSUME_ACCEPT4]: Change condition to
38437 [!__ASSUME_ACCEPT4_SOCKETCALL].
38438 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38439 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
38440 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38441 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38442 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38443 __ASSUME_ACCEPT4_SYSCALL.
38444 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
38445 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
38446 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38447 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
38448 __ASSUME_ACCEPT4_SYSCALL.
38449 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
38450 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38451 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38452 [__ASSUME_ACCEPT4]: Change condition to
38453 [__ASSUME_ACCEPT4_SOCKETCALL].
38454 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38455 (__ASSUME_SOCKETCALL): Define.
38456 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
38457 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38458 (__ASSUME_SOCKETCALL): Define.
38459 (__ASSUME_ACCEPT4): Remove.
38460 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
38461 Define.
38462 * sysdeps/unix/sysv/linux/mips/kernel-features.h
38463 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
38464 Likewise.
38465 * sysdeps/unix/sysv/linux/tile/kernel-features.h
38466 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38467
38468 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
38469 macro.
38470 (HWCAP_ARM_LPAE): Likewise.
38471 (HWCAP_ARM_EVTSTRM): Likewise.
38472 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
38473 Add vpfd32, lpae and evtstrm.
38474 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
38475 Increase to 22.
38476
38477 2014-02-19 Joseph Myers <joseph@codesourcery.com>
38478
38479 * math/auto-libm-test-in: Add tests of clog10.
38480 * math/auto-libm-test-out: Regenerated.
38481 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
38482 * sysdeps/i386/fpu/libm-test-ulps: Update.
38483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38484
38485 2014-02-18 Andreas Schwab <schwab@suse.de>
38486
38487 [BZ #16574]
38488 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
38489 Store non-zero if the second buffer was newly allocated.
38490 (send_dg): Likewise.
38491 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
38492 to send_vc and send_dg.
38493 (res_nsend): Pass NULL for ansp2_malloced.
38494 * resolv/res_query.c (__libc_res_nquery): Add parameter
38495 answerp2_malloced and pass it down to __libc_res_nsend.
38496 (res_nquery): Pass additional NULL to __libc_res_nquery.
38497 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
38498 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
38499 second answer buffer if answerp2_malloced was set.
38500 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
38501 (__libc_res_nquerydomain): Add parameter
38502 answerp2_malloced and pass it down to __libc_res_nquery.
38503 (res_nquerydomain): Pass additional NULL to
38504 __libc_res_nquerydomain.
38505 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
38506 additional NULL to __libc_res_nsend and __libc_res_nquery.
38507 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
38508 additional NULL to __libc_res_nsearch.
38509 (_nss_dns_gethostbyname4_r): Revert last change. Use new
38510 parameter of __libc_res_nsearch to check for separately allocated
38511 second buffer.
38512 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
38513 __libc_res_nquery.
38514 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
38515 additional NULL to __libc_res_nquery.
38516 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
38517 __libc_res_nsearch.
38518 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
38519 * include/resolv.h: Update prototypes of __libc_res_nquery,
38520 __libc_res_nsearch, __libc_res_nsend.
38521
38522 2014-02-18 Joseph Myers <joseph@codesourcery.com>
38523
38524 * math/auto-libm-test-in: Add tests of fma.
38525 * math/auto-libm-test-out: Regenerated.
38526 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
38527 (fma_towardzero_test_data): Likewise.
38528 (fma_downward_test_data): Likewise.
38529 (fma_upward_test_data): Likewise.
38530 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
38531 mpc_mode.
38532 (rounding_modes): Add values for new field.
38533 (func_calc_method): Add value mpfr_fff_f.
38534 (func_calc_desc): Add mpfr_fff_f union field.
38535 (test_function): Add field exact_args.
38536 (FUNC): Add macro argument EXACT_ARGS.
38537 (FUNC_mpfr_f_f): Update call to FUNC.
38538 (FUNC_mpfr_f_f): Likewise.
38539 (FUNC_mpfr_ff_f): Likewise.
38540 (FUNC_mpfr_if_f): Likewise.
38541 (FUNC_mpc_c_f): Likewise.
38542 (FUNC_mpc_c_c): Likewise.
38543 (test_functions): Add fma. Update calls to FUNC.
38544 (handle_input_arg): Add argument exact_args.
38545 (add_test): Update call to handle_input_arg.
38546 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
38547 (output_for_one_input_case): Update call to calc_generic_results.
38548 Recalculate exact zero results in each rounding mode.
38549
38550 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
38551 non-negative before setting low bit.
38552 * math/auto-libm-test-in: Mark one asin test possibly having
38553 spurious underflow.
38554 * math/auto-libm-test-out: Regenerated.
38555 * sysdeps/i386/fpu/libm-test-ulps: Update.
38556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38557
38558 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
38559
38560 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
38561 * sysdeps/unix/sysv/linux/microblaze: Move directory from
38562 ports/sysdeps/unix/sysv/linux/microblaze.
38563 * README: Add missing listing for microblaze*-*-linux-gnu.
38564
38565 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
38566
38567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
38568 duplicate code
38569
38570 2014-02-16 Mike Frysinger <vapier@gentoo.org>
38571
38572 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
38573 * sysdeps/unix/sysv/linux/ia64: Move directory from
38574 ports/sysdeps/unix/sysv/linux/ia64.
38575 * README: Update listing for ia64-*-linux-gnu.
38576
38577 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
38578 Joseph Myers <joseph@codesourcery.com>
38579
38580 * Makeconfig (test-name): New variable.
38581 (evaluate-test): Likewise.
38582 * Makerules (do-test-clean): Remove .test-result files.
38583 (common-mostlyclean): Likewise.
38584 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
38585 * scripts/evaluate-test.sh: New file.
38586
38587 2014-02-14 Joseph Myers <joseph@codesourcery.com>
38588
38589 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
38590 separate $(objpfx)tst-fopenloc-cmp.out and
38591 $(objpfx)tst-fopenloc-mem.out targets.
38592 (tests): Update dependencies.
38593 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
38594 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
38595 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
38596 (tst-rxspencer-no-utf8-ARGS): New variable.
38597 (tst-rxspencer-no-utf8-ENV): Likewise.
38598 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
38599 instead of $(objpfx)tst-rxspencer-mem.
38600 ($(objpfx)tst-rxspencer-mem): Change target to
38601 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
38602 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
38603 * posix/tst-rxspencer-no-utf8.c: New file.
38604
38605 * elf/Makefile ($(objpfx)order.out): Remove rule.
38606 [$(run-built-tests) = yes] (tests): Depend on
38607 $(objpfx)order-cmp.out.
38608 ($(objpfx)order-cmp.out): New rule.
38609 [$(run-built-tests) = yes] (tests): Depend on
38610 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
38611 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
38612 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
38613 $(objpfx)tst-array5-static-cmp.out.
38614 ($(objpfx)tst-array1.out): Remove rule.
38615 ($(objpfx)tst-array1-cmp.out): New rule.
38616 ($(objpfx)tst-array1-static.out): Remove rule.
38617 ($(objpfx)tst-array1-static-cmp.out): New rule.
38618 ($(objpfx)tst-array2.out): Remove rule.
38619 ($(objpfx)tst-array2-cmp.out): New rule.
38620 ($(objpfx)tst-array3.out): Remove rule.
38621 ($(objpfx)tst-array3-cmp.out): New rule.
38622 ($(objpfx)tst-array4.out): Remove rule.
38623 ($(objpfx)tst-array4-cmp.out): New rule.
38624 ($(objpfx)tst-array5.out): Remove rule.
38625 ($(objpfx)tst-array5-cmp.out): New rule.
38626 ($(objpfx)tst-array5-static.out): Remove rule.
38627 ($(objpfx)tst-array5-static-cmp.out): New rule.
38628 [$(run-built-tests) = yes] (tests): Depend on
38629 $(objpfx)order2-cmp.out.
38630 ($(objpfx)order2.out): Remove rule.
38631 ($(objpfx)order2-cmp.out): New rule.
38632 ($(objpfx)tst-initorder.out): Remove rule.
38633 [$(run-built-tests) = yes] (tests): Depend on
38634 $(objpfx)tst-initorder-cmp.out.
38635 ($(objpfx)tst-initorder-cmp.out): New rule.
38636 ($(objpfx)tst-initorder2.out): Remove rule.
38637 [$(run-built-tests) = yes] (tests): Depend on
38638 $(objpfx)tst-initorder2-cmp.out.
38639 ($(objpfx)tst-initorder2-cmp.out): New rule.
38640 [$(run-built-tests) = yes] (tests): Depend on
38641 $(objpfx)tst-unused-dep-cmp.out.
38642 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
38643 ($(objpfx)tst-unused-dep-cmp.out): New rule.
38644 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
38645 on $(objpfx)tst-setvbuf1-cmp.out.
38646 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
38647 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
38648 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
38649 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
38650 ($(objpfx)tst-svc.out): Remove rule.
38651 ($(objpfx)tst-svc-cmp.out): New rule.
38652
38653 2014-02-13 Joseph Myers <joseph@codesourcery.com>
38654
38655 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
38656 * ctype/ctype.h [__USE_MISC]: Likewise.
38657 * dirent/dirent.h [__USE_MISC]: Likewise.
38658 * grp/grp.h [__USE_MISC]: Likewise.
38659 * io/fcntl.h [__USE_MISC]: Likewise.
38660 * io/sys/stat.h [__USE_MISC]: Likewise.
38661 * libio/stdio.h [__USE_MISC]: Likewise.
38662 * posix/unistd.h [__USE_MISC]: Likewise.
38663 * pwd/pwd.h [__USE_MISC]: Likewise.
38664 * stdlib.h [__USE_MISC]: Likewise.
38665 * string/bits/string2.h [__USE_MISC]: Likewise.
38666 * string/string.h [__USE_MISC]: Likewise.
38667 * time/time.h [__USE_MISC]: Likewise.
38668
38669 2014-02-13 Andreas Schwab <schwab@suse.de>
38670
38671 [BZ #16574]
38672 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
38673 second answer buffer if it was separately allocated.
38674
38675 2014-02-12 Joseph Myers <joseph@codesourcery.com>
38676
38677 * sysdeps/mips/math-tests.h: Include <features.h>.
38678 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38679 (ROUNDING_TESTS_long_double): Do not define.
38680 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
38681 (EXCEPTION_TESTS_long_double): Likewise.
38682 * sysdeps/mips/mips64/libm-test-ulps: Update.
38683
38684 * include/features.h (__USE_BSD): Remove macro definitions.
38685 (__USE_SVID): Likewise.
38686 (_BSD_SOURCE): Likewise.
38687 (_SVID_SOURCE): Likewise.
38688 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
38689 from definition of _DEFAULT_SOURCE.
38690 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
38691 [_DEFAULT_SOURCE].
38692 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
38693 * bits/mman.h [__USE_BSD]: Likewise.
38694 * bits/termios.h [__USE_BSD]: Likewise.
38695 * bits/waitstatus.h [__USE_BSD]: Likewise.
38696 * ctype/ctype.h [__USE_SVID]: Likewise.
38697 * dirent/dirent.h [__USE_BSD]: Likewise.
38698 * grp/grp.h [__USE_SVID]: Likewise.
38699 [__USE_BSD]: Likewise.
38700 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
38701 * io/fcntl.h [__USE_BSD]: Likewise.
38702 * io/ftw.h [__USE_BSD]: Likewise.
38703 * io/sys/stat.h [__USE_BSD]: Likewise.
38704 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
38705 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
38706 * libio/stdio.h [__USE_SVID]: Likewise.
38707 [__USE_BSD]: Likewise.
38708 * math/math.h [__USE_SVID]: Likewise.
38709 [__USE_BSD]: Likewise.
38710 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
38711 * misc/bits/syslog.h [__USE_BSD]: Likewise.
38712 * misc/search.h [__USE_SVID]: Likewise.
38713 * misc/sys/mman.h [__USE_BSD]: Likewise.
38714 * misc/sys/syslog.h [__USE_BSD]: Likewise.
38715 * misc/sys/uio.h [__USE_BSD]: Likewise.
38716 * posix/bits/unistd.h [__USE_BSD]: Likewise.
38717 * posix/glob.h [__USE_BSD]: Likewise.
38718 * posix/regex.h [__USE_BSD]: Likewise.
38719 * posix/sys/types.h [__USE_BSD]: Likewise.
38720 [__USE_SVID]: Likewise.
38721 * posix/sys/utsname.h [__USE_SVID]: Likewise.
38722 * posix/sys/wait.h [__USE_BSD]: Likewise.
38723 [__USE_SVID]: Likewise.
38724 * posix/unistd.h [__USE_BSD]: Likewise.
38725 [__USE_SVID]: Likewise.
38726 * pwd/pwd.h [__USE_SVID]: Likewise.
38727 * resolv/netdb.h [__USE_BSD]: Likewise.
38728 * setjmp/setjmp.h [__USE_BSD]: Likewise.
38729 * signal/signal.h [__USE_BSD]: Likewise.
38730 [__USE_SVID]: Likewise.
38731 * socket/sys/socket.h [__USE_BSD]: Likewise.
38732 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
38733 * stdlib/stdlib.h [__USE_BSD]: Likewise.
38734 [__USE_SVID]: Likewise.
38735 * string/bits/string2.h [__USE_BSD]: Likewise.
38736 [__USE_SVID]: Likewise.
38737 * string/bits/string3.h [__USE_BSD]: Likewise.
38738 * string/endian.h [__USE_BSD]: Likewise.
38739 * string/string.h [__USE_SVID]: Likewise.
38740 [__USE_BSD]: Likewise.
38741 * string/strings.h [__USE_BSD]: Likewise.
38742 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
38743 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
38744 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
38745 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
38746 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
38747 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
38748 Likewise.
38749 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
38750 Likewise.
38751 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
38752 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
38753 Likewise.
38754 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
38755 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
38756 Likewise.
38757 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
38758 Likewise.
38759 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
38760 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
38761 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
38762 Likewise.
38763 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
38764 Likewise.
38765 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
38766 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
38767 * termios/termios.h [__USE_BSD]: Likewise.
38768 * time/sys/time.h [__USE_BSD]: Likewise.
38769 * time/time.h [__USE_BSD]: Likewise.
38770 [__USE_SVID]: Likewise.
38771
38772 * Makefile (subdir_targets): Remove subdir_lint.out.
38773
38774 * stdio-common/Makefile (do-tst-unbputc): Remove target.
38775 (do-tst-printf): Likewise.
38776 (tests): Depend directly on $(objpfx)tst-unbputc.out and
38777 $(objpfx)tst-printf.out.
38778
38779 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
38780
38781 * Makerules (check-abi-%): Change target to
38782 $(objpfx)check-abi-%.out.
38783 (check-abi target): Update dependencies.
38784 (check-abi-pattern variable): Redirect output of diff to $@.
38785 (check-abi variable): Likewise.
38786 * elf/Makefile (check-abi): Update dependencies.
38787
38788 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
38789 unused.
38790 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
38791 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
38792 subnormal range.
38793 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
38794 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
38795 value has largest subnormal exponent.
38796 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
38797 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
38798 * sysdeps/aarch64/soft-fp/sfp-machine.h
38799 (_FP_TININESS_AFTER_ROUNDING): New macro.
38800 * sysdeps/alpha/soft-fp/sfp-machine.h
38801 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38802 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38803 Likewise.
38804 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
38805 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38806 * sysdeps/mips/soft-fp/sfp-machine.h
38807 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38808 * sysdeps/powerpc/soft-fp/sfp-machine.h
38809 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38810 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38811 Likewise.
38812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38813 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38815 (_FP_TININESS_AFTER_ROUNDING): Likewise.
38816 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
38817 Likewise.
38818
38819 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
38820
38821 [BZ #16545]
38822 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
38823 model 1.
38824
38825 2014-02-12 Richard Henderson <rth@redhat.com>
38826
38827 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
38828 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
38829 * sysdeps/unix/sysv/linux/alpha: Move directory from
38830 ports/sysdeps/unix/sysv/linux/alpha.
38831 * README: Update listing for alpha-*-linux-gnu.
38832
38833 2014-02-11 Joseph Myers <joseph@codesourcery.com>
38834
38835 * include/features.h: Update comment documenting feature test
38836 macros.
38837 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
38838 _DEFAULT_SOURCE.
38839 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
38840 (_SVID_SOURCE): Likewise.
38841 (_DEFAULT_SOURCE): Update description of default features.
38842 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
38843 with _GNU_SOURCE.
38844 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
38845 (S_ISVTX): Likewise.
38846 * manual/math.texi (Mathematical Constants): Likewise.
38847 * manual/signal.texi (Interrupted Primitives): Likewise.
38848 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
38849 * math/test-matherr.c (_SVID_SOURCE): Do not define.
38850 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
38851 Don't refer to _SVID_SOURCE in warning text.
38852
38853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38854
38855 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
38856 already defined.
38857 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
38858 * sysdeps/mips/dl-lookup.c: Remove.
38859 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
38860
38861 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
38862
38863 [BZ #16447]
38864 * math/auto-libm-test-in: Add testcase for expl.
38865 * math/auto-libm-test-out: Regenerate.
38866 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
38867 calculation of unsafe.
38868 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
38869
38870 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
38871
38872 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
38873 * sysdeps/unix/sysv/linux/aarch64: Move directory from
38874 ports/sysdeps/unix/sysv/linux/aarch64.
38875 * README: Update listing for aarch64*-*-linux-gnu.
38876
38877 2014-02-11 Will Newton <will.newton@linaro.org>
38878
38879 * manual/probes.texi (Mathematical Function Probes): Use
38880 "triggered" instead of "hit".
38881
38882 * manual/probes.texi (Internal Probes): Add documentation
38883 of setjmp, longjmp and longjmp_target probes.
38884
38885 * include/stap-probe.h: Add comment about probe argument
38886 format.
38887
38888 * malloc/mtrace.c (attribute_hidden): Remove unused macro
38889 definition. (tr_where, tr_freehook, tr_mallochook,
38890 tr_reallochook, tr_memalignhook): Use ANSI protoype.
38891
38892 2014-02-11 David S. Miller <davem@davemloft.net>
38893
38894 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
38895 processing int_tests.
38896
38897 2014-02-10 Joseph Myers <joseph@codesourcery.com>
38898
38899 * sysdeps/mips: Move directory from ports/sysdeps/mips.
38900 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
38901 * sysdeps/unix/sysv/linux/mips: Move directory from
38902 ports/sysdeps/unix/sysv/linux/mips.
38903 * README: Update listing for mips-*-linux-gnu and
38904 mips64-*-linux-gnu.
38905
38906 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
38907
38908 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
38909 * sysdeps/unix/sysv/linux/m68k: Move directory from
38910 ports/sysdeps/unix/sysv/linux/m68k.
38911 * README: Update listing for m68k-*-linux-gnu.
38912
38913 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
38914
38915 * sysdeps/tile: Move directory from ports/sysdeps/tile.
38916 * sysdeps/unix/sysv/linux/generic: Move directory from
38917 ports/sysdeps/unix/sysv/linux/generic.
38918 * sysdeps/unix/sysv/linux/tile: Move directory from
38919 ports/sysdeps/unix/sysv/linux/tile.
38920 * README: Update listing for tile*-*-linux-gnu.
38921
38922 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
38923
38924 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
38925 __builtin_expect.
38926 * benchtests/bench-memmem.c (simple_memmem): Likewise.
38927 * catgets/open_catalog.c (__open_catalog): Likewise.
38928 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
38929 * debug/confstr_chk.c: Likewise.
38930 * debug/fread_chk.c (__fread_chk): Likewise.
38931 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
38932 * debug/getgroups_chk.c: Likewise.
38933 * debug/mbsnrtowcs_chk.c: Likewise.
38934 * debug/mbsrtowcs_chk.c: Likewise.
38935 * debug/mbstowcs_chk.c: Likewise.
38936 * debug/memcpy_chk.c: Likewise.
38937 * debug/memmove_chk.c: Likewise.
38938 * debug/mempcpy_chk.c: Likewise.
38939 * debug/memset_chk.c: Likewise.
38940 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
38941 * debug/strcat_chk.c (__strcat_chk): Likewise.
38942 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
38943 * debug/strncat_chk.c (__strncat_chk): Likewise.
38944 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
38945 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
38946 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
38947 * debug/wcpncpy_chk.c: Likewise.
38948 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
38949 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
38950 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
38951 * debug/wcsncpy_chk.c: Likewise.
38952 * debug/wcsnrtombs_chk.c: Likewise.
38953 * debug/wcsrtombs_chk.c: Likewise.
38954 * debug/wcstombs_chk.c: Likewise.
38955 * debug/wmemcpy_chk.c: Likewise.
38956 * debug/wmemmove_chk.c: Likewise.
38957 * debug/wmempcpy_chk.c: Likewise.
38958 * debug/wmemset_chk.c: Likewise.
38959 * dirent/scandirat.c (SCANDIRAT): Likewise.
38960 * dlfcn/dladdr1.c (dladdr1): Likewise.
38961 * dlfcn/dladdr.c (dladdr): Likewise.
38962 * dlfcn/dlclose.c (dlclose_doit): Likewise.
38963 * dlfcn/dlerror.c (__dlerror): Likewise.
38964 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
38965 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
38966 * dlfcn/dlopen.c (dlopen_doit): Likewise.
38967 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
38968 * dlfcn/dlsym.c (dlsym_doit): Likewise.
38969 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
38970 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
38971 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
38972 Likewise.
38973 * elf/dl-conflict.c: Likewise.
38974 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
38975 * elf/dl-dst.h: Likewise.
38976 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
38977 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
38978 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
38979 * elf/dl-init.c (call_init, _dl_init): Likewise.
38980 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
38981 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
38982 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
38983 Likewise.
38984 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
38985 Likewise.
38986 * elf/dl-minimal.c (__libc_memalign): Likewise.
38987 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
38988 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
38989 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
38990 * elf/dl-sym.c (do_sym): Likewise.
38991 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
38992 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
38993 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
38994 * elf/dl-writev.h (_dl_writev): Likewise.
38995 * elf/ldconfig.c (search_dir): Likewise.
38996 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
38997 (dl_main): Likewise.
38998 * elf/setup-vdso.h (setup_vdso): Likewise.
38999 * grp/compat-initgroups.c (compat_call): Likewise.
39000 * grp/fgetgrent.c (fgetgrent): Likewise.
39001 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39002 * grp/putgrent.c (putgrent): Likewise.
39003 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39004 Likewise.
39005 * hurd/hurdinit.c: Likewise.
39006 * iconvdata/8bit-gap.c (struct): Likewise.
39007 * iconvdata/ansi_x3.110.c : Likewise.
39008 * iconvdata/big5.c : Likewise.
39009 * iconvdata/big5hkscs.c : Likewise.
39010 * iconvdata/cp1255.c: Likewise.
39011 * iconvdata/cp1258.c : Likewise.
39012 * iconvdata/cp932.c : Likewise.
39013 * iconvdata/euc-cn.c: Likewise.
39014 * iconvdata/euc-jisx0213.c : Likewise.
39015 * iconvdata/euc-jp.c: Likewise.
39016 * iconvdata/euc-jp-ms.c : Likewise.
39017 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39018 * iconvdata/gb18030.c : Likewise.
39019 * iconvdata/gbbig5.c (const): Likewise.
39020 * iconvdata/gbgbk.c: Likewise.
39021 * iconvdata/gbk.c : Likewise.
39022 * iconvdata/ibm1364.c : Likewise.
39023 * iconvdata/ibm930.c : Likewise.
39024 * iconvdata/ibm932.c: Likewise.
39025 * iconvdata/ibm933.c : Likewise.
39026 * iconvdata/ibm935.c : Likewise.
39027 * iconvdata/ibm937.c : Likewise.
39028 * iconvdata/ibm939.c : Likewise.
39029 * iconvdata/ibm943.c: Likewise.
39030 * iconvdata/iso_11548-1.c: Likewise.
39031 * iconvdata/iso-2022-cn.c : Likewise.
39032 * iconvdata/iso-2022-cn-ext.c : Likewise.
39033 * iconvdata/iso-2022-jp-3.c: Likewise.
39034 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39035 * iconvdata/iso-2022-kr.c : Likewise.
39036 * iconvdata/iso646.c (gconv_end): Likewise.
39037 * iconvdata/iso_6937-2.c : Likewise.
39038 * iconvdata/iso_6937.c : Likewise.
39039 * iconvdata/iso8859-1.c: Likewise.
39040 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39041 * iconvdata/shift_jisx0213.c : Likewise.
39042 * iconvdata/sjis.c : Likewise.
39043 * iconvdata/t.61.c : Likewise.
39044 * iconvdata/tcvn5712-1.c : Likewise.
39045 * iconvdata/tscii.c: Likewise.
39046 * iconvdata/uhc.c : Likewise.
39047 * iconvdata/unicode.c (gconv_end): Likewise.
39048 * iconvdata/utf-16.c (gconv_end): Likewise.
39049 * iconvdata/utf-32.c (gconv_end): Likewise.
39050 * iconvdata/utf-7.c (base64): Likewise.
39051 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39052 * iconv/gconv_close.c (__gconv_close): Likewise.
39053 * iconv/gconv_open.c (__gconv_open): Likewise.
39054 * iconv/gconv_simple.c (internal_ucs4_loop_single)
39055 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39056 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39057 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39058 (ucs4le_internal_loop_single): Likewise.
39059 * iconv/iconv.c (iconv): Likewise.
39060 * iconv/iconv_close.c: Likewise.
39061 * iconv/loop.c (SINGLE): Likewise.
39062 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39063 * include/atomic.h: Likewise.
39064 * inet/inet6_option.c (option_alloc): Likewise.
39065 * intl/bindtextdom.c (set_binding_values): Likewise.
39066 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39067 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39068 * intl/localealias.c (read_alias_file): Likewise.
39069 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39070 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39071 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39072 * libio/fmemopen.c (fmemopen): Likewise.
39073 * libio/iofgets.c (_IO_fgets): Likewise.
39074 * libio/iofgets_u.c (fgets_unlocked): Likewise.
39075 * libio/iofgetws.c (fgetws): Likewise.
39076 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39077 * libio/iogetdelim.c (_IO_getdelim): Likewise.
39078 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39079 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39080 * locale/findlocale.c (_nl_find_locale): Likewise.
39081 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39082 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39083 Likewise.
39084 * locale/setlocale.c (setlocale): Likewise.
39085 * login/programs/pt_chown.c (main): Likewise.
39086 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39087 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39088 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39089 (mmap, mmap64, mremap, munmap): Likewise.
39090 * math/e_exp2l.c: Likewise.
39091 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39092 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39093 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39094 * math/s_catan.c (__catan): Likewise.
39095 * math/s_catanf.c (__catanf): Likewise.
39096 * math/s_catanh.c (__catanh): Likewise.
39097 * math/s_catanhf.c (__catanhf): Likewise.
39098 * math/s_catanhl.c (__catanhl): Likewise.
39099 * math/s_catanl.c (__catanl): Likewise.
39100 * math/s_ccosh.c (__ccosh): Likewise.
39101 * math/s_ccoshf.c (__ccoshf): Likewise.
39102 * math/s_ccoshl.c (__ccoshl): Likewise.
39103 * math/s_cexp.c (__cexp): Likewise.
39104 * math/s_cexpf.c (__cexpf): Likewise.
39105 * math/s_cexpl.c (__cexpl): Likewise.
39106 * math/s_clog10.c (__clog10): Likewise.
39107 * math/s_clog10f.c (__clog10f): Likewise.
39108 * math/s_clog10l.c (__clog10l): Likewise.
39109 * math/s_clog.c (__clog): Likewise.
39110 * math/s_clogf.c (__clogf): Likewise.
39111 * math/s_clogl.c (__clogl): Likewise.
39112 * math/s_csin.c (__csin): Likewise.
39113 * math/s_csinf.c (__csinf): Likewise.
39114 * math/s_csinh.c (__csinh): Likewise.
39115 * math/s_csinhf.c (__csinhf): Likewise.
39116 * math/s_csinhl.c (__csinhl): Likewise.
39117 * math/s_csinl.c (__csinl): Likewise.
39118 * math/s_csqrt.c (__csqrt): Likewise.
39119 * math/s_csqrtf.c (__csqrtf): Likewise.
39120 * math/s_csqrtl.c (__csqrtl): Likewise.
39121 * math/s_ctan.c (__ctan): Likewise.
39122 * math/s_ctanf.c (__ctanf): Likewise.
39123 * math/s_ctanh.c (__ctanh): Likewise.
39124 * math/s_ctanhf.c (__ctanhf): Likewise.
39125 * math/s_ctanhl.c (__ctanhl): Likewise.
39126 * math/s_ctanl.c (__ctanl): Likewise.
39127 * math/w_pow.c: Likewise.
39128 * math/w_powf.c: Likewise.
39129 * math/w_powl.c: Likewise.
39130 * math/w_scalb.c (sysv_scalb): Likewise.
39131 * math/w_scalbf.c (sysv_scalbf): Likewise.
39132 * math/w_scalbl.c (sysv_scalbl): Likewise.
39133 * misc/error.c (error_tail): Likewise.
39134 * misc/pselect.c (__pselect): Likewise.
39135 * nis/nis_callback.c (__nis_create_callback): Likewise.
39136 * nis/nis_call.c (__nisfind_server): Likewise.
39137 * nis/nis_creategroup.c (nis_creategroup): Likewise.
39138 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39139 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39140 * nis/nis_getservlist.c (nis_getservlist): Likewise.
39141 * nis/nis_lookup.c (nis_lookup): Likewise.
39142 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39143 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39144 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39145 * nis/nis_xdr.c (xdr_endpoint): Likewise.
39146 * nis/nss_compat/compat-grp.c (getgrent_next_file)
39147 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39148 * nis/nss_compat/compat-initgroups.c (add_group)
39149 (internal_getgrent_r): Likewise.
39150 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39151 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39152 * nis/nss_compat/compat-spwd.c (getspent_next_file)
39153 (internal_getspnam_r): Likewise.
39154 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39155 (_nss_nis_getaliasbyname_r): Likewise.
39156 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39157 (_nss_nis_getntohost_r): Likewise.
39158 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39159 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39160 (_nss_nis_getgrgid_r): Likewise.
39161 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39162 (internal_nis_gethostent_r, internal_gethostbyname2_r)
39163 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39164 (_nss_nis_gethostbyname4_r): Likewise.
39165 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39166 (initgroups_netid): Likewise.
39167 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39168 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39169 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39170 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39171 (_nss_nis_getprotobynumber_r): Likewise.
39172 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39173 (_nss_nis_getsecretkey): Likewise.
39174 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39175 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39176 (_nss_nis_getpwuid_r): Likewise.
39177 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39178 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39179 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39180 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39181 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39182 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39183 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39184 Likewise.
39185 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39186 (_nss_nisplus_getntohost_r): Likewise.
39187 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39188 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39189 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39190 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39191 Likewise.
39192 * nis/nss_nisplus/nisplus-initgroups.c
39193 (_nss_nisplus_initgroups_dyn): Likewise.
39194 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39195 (_nss_nisplus_getnetbyaddr_r): Likewise.
39196 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39197 (_nss_nisplus_getprotobynumber_r): Likewise.
39198 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39199 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39200 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39201 Likewise.
39202 * nis/nss_nisplus/nisplus-service.c
39203 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39204 (_nss_nisplus_getservbyport_r): Likewise.
39205 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39206 (_nss_nisplus_getspnam_r): Likewise.
39207 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39208 Likewise.
39209 * nscd/aicache.c (addhstaiX): Likewise.
39210 * nscd/cache.c (cache_search, prune_cache): Likewise.
39211 * nscd/connections.c (register_traced_file, send_ro_fd)
39212 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39213 (main_loop_epoll): Likewise.
39214 * nscd/grpcache.c (addgrbyX): Likewise.
39215 * nscd/hstcache.c (addhstbyX): Likewise.
39216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39217 * nscd/mem.c (gc, mempool_alloc): Likewise.
39218 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39219 (addinnetgrX): Likewise.
39220 * nscd/nscd-client.h (__nscd_acquire_maplock)
39221 (__nscd_drop_map_ref): Likewise.
39222 * nscd/nscd_getai.c (__nscd_getai): Likewise.
39223 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39224 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39225 Likewise.
39226 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39227 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39228 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39229 (__nscd_get_map_ref): Likewise.
39230 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39231 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39232 Likewise.
39233 * nscd/pwdcache.c (addpwbyX): Likewise.
39234 * nscd/selinux.c (preserve_capabilities): Likewise.
39235 * nscd/servicescache.c (addservbyX): Likewise.
39236 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39237 * posix/fnmatch.c (fnmatch): Likewise.
39238 * posix/getopt.c (_getopt_internal_r): Likewise.
39239 * posix/glob.c (glob, glob_in_dir): Likewise.
39240 * posix/wordexp.c (exec_comm_child): Likewise.
39241 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39242 (getanswer_r, gaih_getanswer_slice): Likewise.
39243 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39244 * resolv/res_init.c: Likewise.
39245 * resolv/res_mkquery.c (res_nmkquery): Likewise.
39246 * resolv/res_query.c (__libc_res_nquery): Likewise.
39247 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39248 Likewise.
39249 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39250 * stdio-common/perror.c (perror): Likewise.
39251 * stdio-common/printf_fp.c (___printf_fp): Likewise.
39252 * stdio-common/tmpnam.c (tmpnam): Likewise.
39253 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39254 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39255 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39256 Likewise.
39257 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39258 * stdlib/putenv.c (putenv): Likewise.
39259 * stdlib/setenv.c (__add_to_environ): Likewise.
39260 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39261 * stdlib/strtol_l.c (INTERNAL): Likewise.
39262 * string/memmem.c (memmem): Likewise.
39263 * string/strerror.c (strerror): Likewise.
39264 * string/strnlen.c (__strnlen): Likewise.
39265 * string/test-memmem.c (simple_memmem): Likewise.
39266 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39267 * sunrpc/pm_getport.c (__get_socket): Likewise.
39268 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39269 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39270 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39271 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39272 Likewise.
39273 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39274 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39275 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39276 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39277 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39278 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39279 Likewise.
39280 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39281 Likewise.
39282 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39283 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39285 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39286 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39288 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39289 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39290 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39291 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39292 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39293 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39294 Likewise.
39295 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39296 Likewise.
39297 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39298 Likewise.
39299 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39301 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39302 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39303 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39304 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39305 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39306 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39307 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39308 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39309 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39310 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39311 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39312 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39315 Likewise.
39316 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39317 Likewise.
39318 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39319 Likewise.
39320 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39321 Likewise.
39322 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39324 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39325 Likewise.
39326 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39327 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39328 * sysdeps/posix/opendir.c (__opendirat): Likewise.
39329 * sysdeps/posix/sleep.c: Likewise.
39330 * sysdeps/posix/tempname.c: Likewise.
39331 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39332 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39333 Likewise.
39334 * sysdeps/powerpc/powerpc32/dl-machine.h
39335 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39336 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39338 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39339 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39340 Likewise.
39341 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39342 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39343 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39344 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39345 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39346 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39347 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39348 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39349 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39350 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39351 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39352 (elf_machine_lazy_rel): Likewise.
39353 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39355 (elf_machine_lazy_rel): Likewise.
39356 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39357 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39358 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39359 * sysdeps/unix/grantpt.c (grantpt): Likewise.
39360 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39361 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39362 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39364 Likewise.
39365 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39366 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39367 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39368 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39369 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39370 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39371 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39372 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39374 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39375 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39376 Likewise.
39377 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39378 (__posix_fallocate64_l64): Likewise.
39379 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39380 (posix_fallocate): Likewise.
39381 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39382 Likewise.
39383 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39384 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39385 (getifaddrs_internal): Likewise.
39386 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39388 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39389 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39390 * sysdeps/unix/sysv/linux/posix_fallocate64.c
39391 (__posix_fallocate64_l64): Likewise.
39392 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39393 Likewise.
39394 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39396 (__get_clockfreq): Likewise.
39397 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39398 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39399 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39400 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39401 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39402 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39403 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39404 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39405 Likewise.
39406 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39407 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39408 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39409 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39410 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39411 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39412 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39413 Likewise.
39414 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39415 (posix_fallocate): Likewise.
39416 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39417 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39418 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39419 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39420 (elf_machine_rela, elf_machine_rela_relative)
39421 (elf_machine_lazy_rel): Likewise.
39422 * time/asctime.c (asctime_internal): Likewise.
39423 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39424 * time/tzset.c (__tzset_parse_tz): Likewise.
39425 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39426 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39427 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39428 * wcsmbs/wcsmbsload.h: Likewise.
39429
39430 [BZ #15894]
39431 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39432
39433 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39434 (arena_get2): Remove THREAD_STATS conditionals.
39435 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39436 (__malloc_stats, int): Likewise.
39437
39438 2014-02-08 Mike Frysinger <vapier@gentoo.org>
39439
39440 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39441 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
39442
39443 * manual/setjmp.texi: Fix typos/grammar errors.
39444
39445 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
39446 Only return early when n is <= 0. Delete unused return statement.
39447
39448 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
39449 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
39450 * debug/tst-longjmp_chk3.c: New file.
39451
39452 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
39453 (test_main): Replace code with set_fortify_handler call.
39454 * debug/test-strcpy_chk.c: Likewise.
39455 * debug/tst-chk1.c: Likewise.
39456 * debug/tst-longjmp_chk.c: Likewise.
39457 * test-skeleton.c: Include fcntl.h & paths.h
39458 (set_fortify_handler): Define.
39459
39460 * debug/tst-longjmp_chk.c: Add header comment and include
39461 ../test-skeleton.c.
39462 (do_test): Mark static.
39463 (TEST_FUNCTION): Define.
39464
39465 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
39466 (IP_PMTUDISC_INTERFACE): Likewise.
39467 (IP_MULTICAST_IF): Likewise.
39468 (IP_MULTICAST_TTL): Likewise.
39469 (IP_MULTICAST_LOOP): Likewise.
39470 (IP_ADD_MEMBERSHIP): Likewise.
39471 (IP_DROP_MEMBERSHIP): Likewise.
39472 (IP_UNBLOCK_SOURCE): Likewise.
39473 (IP_BLOCK_SOURCE): Likewise.
39474 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
39475 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
39476 (IP_MSFILTER): Likewise.
39477 (MCAST_JOIN_GROUP): Likewise.
39478 (MCAST_BLOCK_SOURCE): Likewise.
39479 (MCAST_UNBLOCK_SOURCE): Likewise.
39480 (MCAST_LEAVE_GROUP): Likewise.
39481 (MCAST_JOIN_SOURCE_GROUP): Likewise.
39482 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
39483 (MCAST_MSFILTER): Likewise.
39484 (IP_MULTICAST_ALL): Likewise.
39485 (IP_UNICAST_IF): Likewise.
39486
39487 * timezone/Makefile: Delete $(have-ksh) check.
39488 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
39489 * timezone/tzselect.ksh: Add +x mode bits.
39490
39491 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
39492 (ANON_INODE_FS_MAGIC): Likewise.
39493 (BDEVFS_MAGIC): Likewise.
39494 (BINFMTFS_MAGIC): Likewise.
39495 (BTRFS_TEST_MAGIC): Likewise.
39496 (CRAMFS_MAGIC_WEND): Likewise.
39497 (DEBUGFS_MAGIC): Likewise.
39498 (ECRYPTFS_SUPER_MAGIC): Likewise.
39499 (EXT3_SUPER_MAGIC): Likewise.
39500 (EXT4_SUPER_MAGIC): Likewise.
39501 (FUTEXFS_SUPER_MAGIC): Likewise.
39502 (HOSTFS_SUPER_MAGIC): Likewise.
39503 (HUGETLBFS_MAGIC): Likewise.
39504 (MINIX3_SUPER_MAGIC): Likewise.
39505 (MTD_INODE_FS_MAGIC): Likewise.
39506 (NILFS_SUPER_MAGIC): Likewise.
39507 (OPENPROM_SUPER_MAGIC): Likewise.
39508 (PIPEFS_MAGIC): Likewise.
39509 (PSTOREFS_MAGIC): Likewise.
39510 (QNX6_SUPER_MAGIC): Likewise.
39511 (RAMFS_MAGIC): Likewise.
39512 (REISERFS_SUPER_MAGIC_STRING): Likewise.
39513 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
39514 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
39515 (SECURITYFS_MAGIC): Likewise.
39516 (SELINUX_MAGIC): Likewise.
39517 (SMACK_MAGIC): Likewise.
39518 (SOCKFS_MAGIC): Likewise.
39519 (SQUASHFS_MAGIC): Likewise.
39520 (STACK_END_MAGIC): Likewise.
39521 (TMPFS_MAGIC): Likewise.
39522 (USBDEVICE_SUPER_MAGIC): Likewise.
39523 (V9FS_MAGIC): Likewise.
39524 (XENFS_SUPER_MAGIC): Likewise.
39525 (CRAMFS_MAGIC): Fix typo in comment.
39526 (EXT2_SUPER_MAGIC): Update comment.
39527 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
39528
39529 2014-02-08 Joseph Myers <joseph@codesourcery.com>
39530
39531 * sysdeps/arm: Move directory from ports/sysdeps/arm.
39532 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
39533 * sysdeps/unix/sysv/linux/arm: Move directory from
39534 ports/sysdeps/unix/sysv/linux/arm.
39535 * README: Update listing for arm-*-linux-gnueabi.
39536
39537 * README: Remove mention of am33.
39538
39539 2014-02-07 Roland McGrath <roland@hack.frob.com>
39540
39541 * bits/sigset.h (__sigemptyset): Use a statement expression rather
39542 than the comma operator, to avoid "rhs of comma has no effect"
39543 compiler warnings.
39544 (__sigfillset, __sigandset, __sigorset): Likewise.
39545 * include/signal.h (__sigemptyset): Likewise.
39546 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
39547
39548 2014-02-07 Allan McRae <allan@archlinux.org>
39549
39550 * version.h (RELEASE): Set to "development".
39551 (VERSION): Set to "2.19.90"
39552 * NEWS: Add 2.20 section.
39553
39554 2014-02-06 Carlos O'Donell <carlos@redhat.com>
39555
39556 [BZ #16529]
39557 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
39558
39559 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39560
39561 * manual/contrib.texi: Update entry for Carlos O'Donell,
39562 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
39563
39564 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
39565
39566 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
39567
39568 * sysdeps/unix/sysv/linux/kernel-features.h
39569 [__LINUX_KERNEL_VERSION >= 0x020621]
39570 (__ASSUME_PROC_PID_TASK_COMM): Define.
39571
39572 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39573
39574 [BZ #16398]
39575 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
39576 conversion when destination buffer does not have enough space.
39577 * libio/tst-ftell-partial-wide.c: New test case.
39578 * libio/Makefile (tests): Add tst-ftell-partial-wide.
39579
39580 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
39581 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
39582 Leonard and Allan McRae.
39583
39584 2014-02-04 David S. Miller <davem@davemloft.net>
39585
39586 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
39587 32-bit.
39588
39589 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39590
39591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39592 New file
39593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39594 New file
39595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39596 New file.
39597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39598 New file.
39599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39600 New file.
39601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39602 New file.
39603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39604 New file.
39605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39606 New file.
39607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39608 New file.
39609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39610 New file.
39611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39612 New file.
39613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39614 New file.
39615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39616 New file.
39617
39618 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39619
39620 * nptl/shlib-versions: Change powerpc*le start to 2.17.
39621 * shlib-versions: Likewise.
39622
39623 2014-02-04 Roland McGrath <roland@hack.frob.com>
39624 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39625
39626 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
39627 (abilist-pattern): New variable, set to %-le.abilist.
39628
39629 * Makerules (abilist-pattern): New variable.
39630 (vpath): Use $(abilist-pattern) in place of %.abilist.
39631 (check-abi-% pattern rule): Likewise.
39632 (check-abi, update-abi): Likewise.
39633
39634 2014-02-04 Eric Wong <normalperson@yhbt.net>
39635
39636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39637
39638 2014-02-03 Carlos O'Donell <carlos@redhat.com>
39639
39640 * manual/startup.texi: Add next, previous, and top entries for
39641 the `Program Arguments' and `Environment Variables' nodes.
39642
39643 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
39644
39645 * manual/macros.texi: Add comments before MTASC-safety macros.
39646
39647 * manual/users.texi: Document MTASC-safety properties.
39648
39649 * manual/threads.texi (pthread_key_create, pthread_key_delete)
39650 (pthread_getspecific, pthread_setspecific): Format with
39651 @deftypefun, and add @safety note.
39652 * manual/signal.texi: Move comments that analyze the above
39653 functions to their home place.
39654
39655 2014-02-03 Allan McRae <allan@archlinux.org>
39656
39657 * po/sl.po: Update Slovenian translation from translation project.
39658
39659 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
39660
39661 * manual/time.texi (timegm): Add missing blank after @c.
39662 Reported by Joseph Myers <joseph@codesourcery.com>.
39663
39664 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
39665
39666 * manual/check-safety.sh: New.
39667 * manual/Makefile ($(objpfx)stamp-summary): Run it.
39668
39669 * manual/terminal.texi: Document MTASC-safety properties.
39670
39671 * manual/filesys.texi: Document MTASC-safety properties.
39672
39673 * manual/errno.texi: Document MTASC-safety properties.
39674
39675 * manual/intro.texi: Document safety identifiers and
39676 conditionals.
39677
39678 * manual/string.texi (wcstok): Fix prototype.
39679 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
39680
39681 * manual/time.texi: Document MTASC-safety properties.
39682
39683 * manual/string.texi: Document MTASC-safety properties.
39684
39685 * manual/threads.texi: Document MTASC-safety properties.
39686
39687 * manual/stdio.texi: Document MTASC-safety properties.
39688
39689 * manual/syslog.texi: Document MTASC-safety properties.
39690
39691 * manual/sysinfo.texi: Document MTASC-safety properties.
39692
39693 * manual/startup.texi: Document MTASC-safety properties.
39694
39695 * manual/socket.texi: Document MTASC-safety properties.
39696
39697 * manual/signal.texi: Document MTASC-safety properties.
39698
39699 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
39700
39701 * manual/setjmp.texi: Document MTASC-safety properties.
39702
39703 * manual/search.texi: Document MTASC-safety properties.
39704
39705 * manual/resource.texi: Document MTASC-safety properties.
39706
39707 * manual/process.texi: Document MTASC-safety properties.
39708
39709 * manual/platform.texi: Document MTASC-safety properties.
39710
39711 * manual/pipe.texi: Document MTASC-safety properties.
39712
39713 * manual/pattern.texi: Document MTASC-safety properties.
39714
39715 * manual/message.texi: Document MTASC-safety properties.
39716
39717 [BZ #12751]
39718 * manual/memory.texi: Document MTASC-safety properties.
39719
39720 * manual/math.texi: Document MTASC-safety properties.
39721
39722 * manual/locale.texi: Document MTASC-safety properties.
39723
39724 * manual/llio.texi: Document MTASC-safety properties.
39725
39726 * manual/libdl.texi: New.
39727
39728 * manual/lang.texi: Document MTASC-safety properties.
39729
39730 * manual/job.texi: Document MTASC-safety properties.
39731
39732 * manual/getopt.texi: Document MTASC-safety properties.
39733
39734 * manual/ctype.texi: Document MTASC-safety properties.
39735
39736 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
39737
39738 [BZ #16046]
39739 * csu/libc-tls.c (static_map): Remove variable.
39740 (__libc_setup_tls): Use main executable's link map for TLS data.
39741 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
39742 casing for LM_ID_BASE and GL(dl_nns).
39743 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
39744 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
39745 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
39746 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
39747 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
39748 member.
39749 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
39750 l_phnum members.
39751
39752 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
39753
39754 * manual/debug.texi: Document MTASC-safety properties.
39755
39756 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
39757
39758 [BZ #16510]
39759 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
39760 of __x86_64__ when disabling x87 inline functions.
39761
39762 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
39763
39764 * manual/charset.texi: Document MTASC-safety properties.
39765
39766 * manual/crypt.texi: Document MTASC-safety properties.
39767
39768 * manual/conf.texi: Document MTASC-safety properties.
39769
39770 * manual/arith.texi: Document MTASC-safety properties.
39771
39772 * manual/argp.texi: Document MTASC-safety properties.
39773
39774 * manual/macros.texi: Introduce macros to document multi
39775 thread, asynchronous signal and asynchronous cancellation
39776 safety properties.
39777 * manual/intro.texi: Introduce the properties themselves.
39778
39779 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39780
39781 * sysdeps/sh/sh4/Makefile: New file.
39782
39783 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
39784
39785 * math/gen-libm-test.pl ($srcdir): New variable.
39786 ($auto_input): Use it.
39787
39788 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39789
39790 [BZ #16506]
39791 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
39792 access beyond array bounds when parsing netgroups file.
39793
39794 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
39795 the old buffer before realloc.
39796
39797 2014-01-27 Allan McRae <allan@archlinux.org>
39798
39799 * po/fr.po: Update French translation from translation project.
39800
39801 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39802
39803 * sysdeps/sh/libm-test-ulps: Regenerate.
39804
39805 2014-01-24 David S. Miller <davem@davemloft.net>
39806
39807 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
39808
39809 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39810
39811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
39812 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
39813
39814 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39815
39816 [BZ #16474]
39817 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
39818 string pointers after reallocation.
39819
39820 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39821
39822 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
39823 __SH4A__ instead of __SH_FPU_ANY__.
39824
39825 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39826
39827 * sysdeps/sh/fpu_control.h: New file.
39828 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
39829 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
39830 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
39831 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
39832 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
39833 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
39834 * sysdeps/sh/sys/ucontext.h: Remove.
39835 * sysdeps/sh/sys: Remove directory.
39836
39837 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39838
39839 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
39840 s390/sys/ucontext.h.
39841 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
39842 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
39843
39844 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
39845
39846 [BZ #15605]
39847 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
39848
39849 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39850
39851 [BZ#16431]
39852 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
39853 Adjust the vDSO correctly for internal calls.
39854 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
39855
39856 2014-01-20 Allan McRae <allan@archlinux.org>
39857
39858 * po/ca.po: Update Catalan translation from translation project.
39859
39860 2014-01-16 Mike Frysinger <vapier@gentoo.org>
39861
39862 * sysdeps/s390/sotruss-lib.c: New file.
39863
39864 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39865
39866 [BZ#16430]
39867 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
39868 (__GI___gettimeofday): Alias for a different internal symbol to avoid
39869 local calls issues by not having a PLT stub required for IFUNC calls.
39870 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
39871
39872 2014-01-16 Joseph Myers <joseph@codesourcery.com>
39873
39874 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
39875 * math/test-fpucw-static.c: Likewise.
39876
39877 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39878
39879 [BZ #16453]
39880 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
39881
39882 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39883
39884 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
39885 implementation for powerpc.
39886
39887 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
39888
39889 [BZ #14782]
39890 * sysdeps/posix/system.c (__libc_system): Do not enable
39891 asynchronous cancellation.
39892
39893 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39894
39895 [BZ #16427]
39896 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
39897 handling only for numbers special also in the IEEE case.
39898
39899 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39900
39901 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39902
39903 2014-01-11 Allan McRae <allan@archlinux.org>
39904
39905 * po/bg.po: Update Bulgarian translation from translation project.
39906
39907 * po/de.po: Update German translation from translation project.
39908
39909 2014-01-10 Roland McGrath <roland@hack.frob.com>
39910
39911 * sysdeps/generic/gcc-compat.h: New file.
39912
39913 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39914
39915 * benchtests/asin-inputs: Correct slow inputs.
39916 * benchtests/acos-inputs: Likewise.
39917
39918 2014-01-10 Allan McRae <allan@archlinux.org>
39919
39920 * po:sv.po: Update Swedish translation from translation project.
39921
39922 * po/vi.po: Update Vietnamese translation from translation project.
39923
39924 * po/eo.po: Update Esperanto translation from translation project.
39925
39926 * po/cs.po: Update Czech translation from translation project.
39927
39928 * po/nl.po: Update Dutch translation from translation project.
39929
39930 * po/pl.po: Update Polish translation from translation project.
39931
39932 * po/ru.po: Update Russian translation from translation project.
39933
39934 * po/uk.po: Update Ukrainian translation from translation project.
39935
39936 2014-01-08 Brooks Moses <bmoses@google.com>
39937
39938 * elf/dl-load.c: Fix comment typo.
39939
39940 2014-01-08 Carlos O'Donell <carlos@redhat.com>
39941
39942 * po/header.pot: Rename to...
39943 * po/pot.header: ... this.
39944 * po/Makefile: Use pot.header.
39945
39946 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39947 Maxim Kuvyrkov <maxim@kugelworks.com>
39948
39949 [BZ #16394]
39950 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
39951 SRC and DEST against LEN.
39952
39953 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39954
39955 [BZ #16414]
39956 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
39957 implementation.
39958 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
39959
39960 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39961
39962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39963
39964 2014-01-08 Joseph Myers <joseph@codesourcery.com>
39965
39966 [BZ #16408]
39967 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
39968 for large positive arguments.
39969
39970 2014-01-07 Joseph Myers <joseph@codesourcery.com>
39971
39972 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
39973
39974 * math/auto-libm-test-in: Mark various tests with
39975 xfail-rounding:ldbl-128ibm.
39976 * math/auto-libm-test-out: Regenerated.
39977
39978 [BZ #16407]
39979 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39980 Increase overflow threshold.
39981
39982 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
39983
39984 [BZ #14286]
39985 * stdio-common/vfprintf.c: Check for integer overflow.
39986
39987 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39988
39989 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
39990 the first argument and return value of __tls_get_addr_internal.
39991
39992 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39993
39994 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
39995 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
39996
39997 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39998
39999 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40000 * sysdeps/s390/rtld-global-offsets.sym: New file.
40001 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40002 GLIBC_2.19 symbol.
40003 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40004 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40005 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40006 ... this.
40007 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40008 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40009 ... this.
40010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40011 Regenerate.
40012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40013 Regenerate.
40014 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40015 halfs of GPRs for high_gprs contexts.
40016 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40017 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
40018 field.
40019 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40020 uc_flags field.
40021 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40022 64 bit versions:
40023 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40024 for high GPRs (uc_high_gprs) and for future extensions
40025 (__reserved).
40026 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40027 for future extensions (__reserved).
40028 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40029 64 bit versions:
40030 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40031 SC_HIGHGPRS offset definition.
40032 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40033 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40034
40035 * Versions.def: Add GLIBC_2.19 for libpthread.
40036 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40037 siglongjmp for libpthread with GLIBC_2.19 symver.
40038 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40039 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40040 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40041 * sysdeps/s390/__longjmp.c: New file.
40042 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40043 * sysdeps/s390/longjmp.c: New file.
40044 * sysdeps/s390/setjmp.S: New file.
40045 * sysdeps/s390/sigjmp.S: New file.
40046 * sysdeps/s390/v1-longjmp.c: New file.
40047 * sysdeps/s390/v1-setjmp.h: New file.
40048 * sysdeps/s390/v1-sigjmp.c: New file.
40049 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40050 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40051 GLIBC_2.19 version.
40052 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40053 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40054 versioned symbols for ____longjmp_chk.
40055 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40056 Likewise.
40057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40058 Regenerate.
40059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40060 Regenerate.
40061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40062 Regenerate.
40063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40064 Regenerate.
40065 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40066 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40067 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40068 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40069 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40070 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40071 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40072 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40073 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40074 * sysdeps/s390/rtld-__longjmp.c: New file.
40075 * sysdeps/s390/rtld-setjmp.S: New file.
40076
40077 2014-01-06 Joseph Myers <joseph@codesourcery.com>
40078
40079 [BZ #16400]
40080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40081 Return -__logl (x) for small positive arguments without evaluating
40082 a polynomial.
40083
40084 2014-01-06 Mike Frysinger <vapier@gentoo.org>
40085
40086 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40087 Rename to ...
40088 (__ptrace_peeksiginfo_args): ... this.
40089 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40090 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40091 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40092
40093 2014-01-06 Allan McRae <allan@archlinux.org>
40094
40095 * inet/netinet/in.h: Fix typo in comment.
40096
40097 2014-01-05 Andreas Jaeger <aj@suse.de>
40098
40099 * sysdeps/i386/fpu/libm-test-ulps: Update.
40100
40101 2014-01-05 Allan McRae <allan@archlinux.org>
40102
40103 * po/libc.pot: Regenerated.
40104
40105 * malloc/memusagestat.c: Fix gettext call formatting.
40106
40107 2014-01-04 Sami Kerola <kerolasa@iki.fi>
40108
40109 * nscd/nscd.c: Improve usage() output.
40110
40111 2014-01-04 Mike Frysinger <vapier@gentoo.org>
40112
40113 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40114 * sysdeps/unix/sysv/linux/configure: Regenerated.
40115 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40116 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40117
40118 2014-01-03 Joseph Myers <joseph@codesourcery.com>
40119
40120 [BZ #16390]
40121 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40122 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40123
40124 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40125
40126 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40127 extra tokens at end of #undef directive.
40128 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40129 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40130 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40131
40132 2014-01-03 Joseph Myers <joseph@codesourcery.com>
40133
40134 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40135
40136 * math/auto-libm-test-in: Mark various tests with
40137 xfail-rounding:ldbl-128ibm.
40138 * math/auto-libm-test-out: Regenerated.
40139
40140 2014-01-02 Joseph Myers <joseph@codesourcery.com>
40141
40142 [BZ #16386]
40143 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40144 numbers with subnormal high part when calculating exponent.
40145
40146 [BZ #16385]
40147 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40148 fabs.
40149
40150 [BZ #16384]
40151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40152 M_LN2l.
40153 (__ieee754_acoshl): Use __log1pl not __log1p.
40154
40155 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
40156
40157 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40158 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40159 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40160 (grow_heap, heap_trim, _int_new_arena, get_free_list)
40161 (reused_arena, arena_get2): Convert to GNU style.
40162 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40163 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40164 (memalign_check, __malloc_set_state): Likewise.
40165 * malloc/mallocbug.c (main): Likewise.
40166 * malloc/malloc.c (__malloc_assert, malloc_init_state)
40167 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40168 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40169 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40170 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40171 (__posix_memalign, malloc_info): Likewise.
40172 * malloc/malloc.h: Likewise.
40173 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40174 (mallochook, memalignhook, reallochook, mabort): Likewise.
40175 * malloc/mcheck.h: Likewise.
40176 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40177 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40178 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40179 * malloc/morecore.c (__default_morecore): Likewise.
40180 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40181 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40182 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40183 (print_and_abort): Likewise.
40184 * malloc/obstack.h: Likewise.
40185 * malloc/set-freeres.c (__libc_freeres): Likewise.
40186 * malloc/tst-mallocstate.c (main): Likewise.
40187 * malloc/tst-mtrace.c (main): Likewise.
40188 * malloc/tst-realloc.c (do_test): Likewise.
40189
40190 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
40191
40192 [BZ #16366]
40193 * nscd/netgroupcache.c (do_notfound): New function.
40194 (addgetnetgrentX): Use it.
40195
40196 [BZ # 16365]
40197 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40198 NSS_STATUS_NOTFOUND.
40199
40200 2014-01-01 Joseph Myers <joseph@codesourcery.com>
40201
40202 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40204
40205 2014-01-01 Allan McRae <allan@archlinux.org>
40206
40207 * scripts/update-copyrights: Update configure input file suffix.
40208
40209 * NEWS: Update copyright year.
40210 * catgets/gencat.c: Likewise.
40211 * csu/version.c: Likewise.
40212 * debug/catchsegv.sh: Likewise.
40213 * debug/pcprofiledump.c: Likewise.
40214 * debug/xtrace.sh: Likewise.
40215 * elf/ldconfig.c: Likewise.
40216 * elf/ldd.bash.in: Likewise.
40217 * elf/pldd.c: Likewise.
40218 * elf/sotruss.ksh: Likewise.
40219 * elf/sprof.c: Likewise.
40220 * iconv/iconv_prog.c: Likewise.
40221 * iconv/iconvconfig.c: Likewise.
40222 * locale/programs/locale.c: Likewise.
40223 * locale/programs/localedef.c: Likewise.
40224 * login/programs/pt_chown.c: Likewise.
40225 * malloc/memusage.sh: Likewise.
40226 * malloc/memusagestat.c: Likewise.
40227 * malloc/mtrace.pl: Likewise.
40228 * manual/libc.texinfo: Likewise.
40229 * nscd/nscd.c: Likewise.
40230 * nss/getent.c: Likewise.
40231 * nss/makedb.c: Likewise.
40232 * posix/getconf.c: Likewise.
40233 * scripts/test-installation.pl: Likewise.
40234
40235 * All files with FSF copyright notices: Update copyright dates
40236 using scripts/update-copyrights.
40237 * intl/plural.c: Regenerated.
40238 * locale/programs/charmap-kw.h: Likewise.
40239 * locale/programs/locfile-kw.h: Likewise.
40240
40241 2013-12-31 Mike Frysinger <vapier@gentoo.org>
40242
40243 * sysdeps/unix/sysv/linux/configure: Regenerated.
40244 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40245 the linux/fanotify.h header.
40246 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40247 HAVE_LINUX_FANOTIFY_H is defined.
40248
40249 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40250
40251 * benchtests/cos-inputs: New inputs.
40252 * benchtests/sin-inputs: Likewise.
40253
40254 * benchtests/atan-inputs: New inputs. Fix name of multiple
40255 precision fallback inputs.
40256
40257 * benchtests/atanh-inputs: New inputs.
40258 * benchtests/tanh-inputs: Likewise.
40259
40260 * benchtests/acosh-inputs: New inputs.
40261 * benchtests/asinh-inputs: Likewise.
40262
40263 * benchtests/cosh-inputs: New inputs.
40264 * benchtests/sinh-inputs: Likewise.
40265
40266 * benchtests/acos-inputs: Add more inputs.
40267 * benchtests/asin-inputs: Likewise.
40268
40269 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
40270
40271 [BZ #16375]
40272 * manual/arith.texi: Fix spelling.
40273 * manual/charset.texi: Likewise.
40274 * manual/errno.texi: Likewise.
40275 * manual/filesys.texi: Likewise.
40276 * manual/lang.texi: Likewise.
40277 * manual/llio.texi: Likewise.
40278 * manual/locale.texi: Likewise.
40279 * manual/message.texi: Likewise.
40280 * manual/resource.texi: Likewise.
40281 * manual/search.texi: Likewise.
40282 * manual/setjmp.texi: Likewise.
40283 * manual/stdio.texi: Likewise.
40284 * manual/string.texi: Likewise.
40285 * manual/sysinfo.texi: Likewise.
40286 * manual/time.texi: Likewise.
40287
40288 2013-12-27 Carlos O'Donell <carlos@redhat.com>
40289
40290 * po/sl.po: New file.
40291
40292 2013-12-27 Mike Frysinger <vapier@gentoo.org>
40293
40294 * .gitignore: Add core/.gdbinit/.gdb_history.
40295
40296 2013-12-27 Allan McRae <allan@archlinux.org>
40297
40298 [BZ #16369]
40299 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40300 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40301
40302 2013-12-24 Brooks Moses <bmoses@google.com>
40303
40304 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40305 all compilers that claim C++98 compliance, not just GCC.
40306 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40307 Likewise.
40308
40309 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
40310
40311 * NEWS: Restore accidentally deleted bug-fix entries.
40312
40313 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
40314 Ondřej Bílka <neleai@seznam.cz>
40315
40316 [BZ #15073]
40317 * malloc/malloc.c (_int_free): Perform sanity check only if we
40318 have_lock.
40319
40320 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
40321
40322 [BZ #12986]
40323 * manual/stdio.texi (String Input Conversions): Clarify that character
40324 classes are not supported.
40325
40326 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40327
40328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40329
40330 2013-12-22 Joseph Myers <joseph@codesourcery.com>
40331
40332 [BZ #16337]
40333 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40334 Calculate results for small negative arguments directly rather
40335 than using reflection formula with special underflow handling.
40336
40337 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40338 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40339 sysdeps/unix/bsd/bsd4.4/syscalls.list.
40340 (fchflags): Likewise.
40341 (revoke): Likewise.
40342 (setlogin): Likewise.
40343 (sigaltstack): Likewise.
40344 (wait4): Likewise.
40345 (sigblock): Remove.
40346 (sigsetmask): Likewise.
40347 (wait3): Likewise.
40348 (waitpid): Likewise.
40349 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40350 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40351 file.
40352 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40353 * sysdeps/unix/bsd/Makefile: ... here.
40354 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40355 * sysdeps/unix/bsd/Versions: ... here.
40356 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40357 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40358 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40359 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40360 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40361 * sysdeps/unix/bsd/sigblock.c: ... here.
40362 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40363 * sysdeps/unix/bsd/sigsetmask.c: ... here.
40364 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40365 * sysdeps/unix/bsd/sigvec.c: ... here.
40366 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40367 * sysdeps/unix/bsd/tcdrain.c: ... here.
40368 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40369 * sysdeps/unix/bsd/tcgetattr.c: ... here.
40370 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40371 * sysdeps/unix/bsd/tcsetattr.c: ... here.
40372 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40373 * sysdeps/unix/bsd/wait.c: ... here.
40374 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40375 * sysdeps/unix/bsd/wait3.c: ... here.
40376 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40377 * sysdeps/unix/bsd/waitpid.c: ... here.
40378
40379 2013-12-21 Joseph Myers <joseph@codesourcery.com>
40380
40381 [BZ #16356]
40382 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40383 round-to-nearest for [!USE_AS_EXPM1L].
40384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40385 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
40386 more tests of exp and exp10. Expect some exp10 tests to miss
40387 exceptions or fail in directed rounding modes.
40388 * math/auto-libm-test-out: Regenerated.
40389 * math/libm-test.inc (exp10_tonearest_test_data): New array.
40390 (exp10_test_tonearest): New function.
40391 (exp10_towardzero_test_data): New array.
40392 (exp10_test_towardzero): New function.
40393 (exp10_downward_test_data): New array.
40394 (exp10_test_downward): New function.
40395 (exp10_upward_test_data): New array.
40396 (exp10_test_upward): New function.
40397 (main): Call the new functions.
40398 * sysdeps/i386/fpu/libm-test-ulps: Update.
40399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40400
40401 2013-12-20 Joseph Myers <joseph@codesourcery.com>
40402
40403 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40404 asinh, atan, atan2, atanh, cbrt, cos and cosh.
40405 * math/auto-libm-test-out: Regenerated.
40406 * math/libm-test.inc (acosh_test_data): Add more tests.
40407 (atanh_test_data): Likewise.
40408 (ceil_test_data): Likewise.
40409 (copysign_test_data): Likewise.
40410 * sysdeps/i386/fpu/libm-test-ulps: Update.
40411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40412
40413 * timezone/checktab.awk: Update from tzcode 2013i.
40414 * timezone/private.h: Likewise.
40415 * timezone/scheck.c: Likewise.
40416 * timezone/tzfile.h: Likewise.
40417 * timezone/tzselect.ksh: Likewise.
40418 * timezone/zdump.c: Likewise.
40419 * timezone/zic.c: Likewise.
40420
40421 * math/auto-libm-test-in: Add tests of cpow.
40422 * math/auto-libm-test-out: Regenerated.
40423 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40424 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40425 mpc_cc_c.
40426 (func_calc_desc): Add mpc_cc_c union field.
40427 (test_functions): Add cpow.
40428 (special_fill_2pi): New function.
40429 (special_real_inputs): Add 2pi.
40430 (calc_generic_results): Handle mpc_cc_c.
40431 * sysdeps/i386/fpu/libm-test-ulps: Update.
40432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40433
40434 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40435 csqrt, ctan and ctanh.
40436 * math/auto-libm-test-out: Regenerated.
40437 * math/libm-test.inc (TEST_COND_x86_64): New macro.
40438 (TEST_COND_x86): Likewise.
40439 (ccos_test_data): Use AUTO_TESTS_c_c.
40440 (ccosh_test_data): Likewise.
40441 (cexp_test_data): Likewise.
40442 (clog_test_data): Likewise.
40443 (csqrt_test_data): Likewise.
40444 (ctan_test_data): Likewise.
40445 (ctan_tonearest_test_data): Likewise.
40446 (ctan_towardzero_test_data): Likewise.
40447 (ctan_downward_test_data): Likewise.
40448 (ctan_upward_test_data): Likewise.
40449 (ctanh_test_data): Likewise.
40450 (ctanh_tonearest_test_data): Likewise.
40451 (ctanh_towardzero_test_data): Likewise.
40452 (ctanh_downward_test_data): Likewise.
40453 (ctanh_upward_test_data): Likewise.
40454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40455 mpc_c_c.
40456 (func_calc_desc): Add mpc_c_c union field.
40457 (FUNC_mpc_c_c): New macro.
40458 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
40459 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
40460 ctanh.
40461 (special_fill_min_subnorm_p120): New function.
40462 (special_real_inputs): Add min_subnorm_p120.
40463 (calc_generic_results): Handle mpc_c_c.
40464 * sysdeps/i386/fpu/libm-test-ulps: Update.
40465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40466
40467 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
40468
40469 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
40470 (do_sin_slow): New functions.
40471 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
40472 (cslow2, csloww1, csloww2): Use the new functions.
40473
40474 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
40475 Use M to change sign of result instead of X. Assume X is
40476 positive.
40477 (csloww1): Likewise.
40478 (__sin): Adjust.
40479 (__cos): Adjust.
40480
40481 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
40482 arguments A and DA.
40483 (__sin): Adjust.
40484 (__cos): Likewise.
40485
40486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
40487 (__cos): Likewise.
40488 (sloww1): Don't adjust sign of DX.
40489 (csloww1): Likewise.
40490 (sloww2): Use X directly and don't adjust sign of DX.
40491 (csloww2): Likewise.
40492
40493 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40494
40495 * math/auto-libm-test-in: Add tests of cabs and carg.
40496 * math/auto-libm-test-out: Regenerated.
40497 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
40498 (carg_test_data): Likewise.
40499 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40500 mpc_c_f.
40501 (func_calc_desc): Add mpc_c_f union field.
40502 (test_functions): Add cabs and carg.
40503 (calc_generic_results): Handle mpc_c_f.
40504
40505 * sysdeps/powerpc/powerpc32/libgcc-compat.S
40506 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
40507 as a macro and a compat symbol.
40508 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
40509 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
40510 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
40511 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
40512 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
40513 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
40514 not use .hidden.
40515 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
40516 Likewise.
40517 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
40518 Likewise.
40519 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
40520 Likewise.
40521 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
40522 Likewise.
40523 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
40524 Likewise.
40525 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
40526 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
40527 from GLIBC_2.3.2.
40528
40529 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40530
40531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40532
40533 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40534
40535 * manual/texinfo.tex: Update to version 2013-11-26.10 with
40536 trailing whitespace removed.
40537 * scripts/config.guess: Update to version 2013-11-29.
40538 * scripts/config.sub: Update to version 2013-10-01.
40539
40540 * math/auto-libm-test-in: Add tests of sincos.
40541 * math/auto-libm-test-out: Regenerated.
40542 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
40543 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40544 mpfr_f_11.
40545 (func_calc_desc): Add mpfr_f_11 union field.
40546 (test_functions): Add sincos.
40547 (calc_generic_results): Handle mpfr_f_11.
40548 * sysdeps/i386/fpu/libm-test-ulps: Update.
40549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40550
40551 2013-12-19 Andreas Schwab <schwab@suse.de>
40552
40553 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
40554 CALL_MCOUNT.
40555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40556 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
40557 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
40558
40559 2013-12-19 Joseph Myers <joseph@codesourcery.com>
40560
40561 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
40562 * sysdeps/i386/fpu/libm-test-ulps: Update.
40563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40564
40565 [BZ #16293]
40566 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
40567 round-to-nearest mode when using frndint.
40568 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
40569 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40570 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
40571 Likewise.
40572 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
40573 sinh test to fail.
40574 * math/auto-libm-test-out: Regenerated.
40575 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
40576 (TEST_COND_x86): Likewise.
40577 (expm1_tonearest_test_data): New array.
40578 (expm1_test_tonearest): New function.
40579 (expm1_towardzero_test_data): New array.
40580 (expm1_test_towardzero): New function.
40581 (expm1_downward_test_data): New array.
40582 (expm1_test_downward): New function.
40583 (expm1_upward_test_data): New array.
40584 (expm1_test_upward): New function.
40585 (main): Run the new test functions.
40586 * sysdeps/i386/fpu/libm-test-ulps: Update.
40587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40588
40589 * include/features.h: Update comment documenting feature test
40590 macros. Mention _DEFAULT_SOURCE in comment.
40591 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
40592 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
40593 _BSD_SOURCE and _SVID_SOURCE.
40594 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
40595 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
40596 !_SVID_SOURCE]: Likewise.
40597 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40598 (__USE_POSIX_IMPLICITLY): Define.
40599 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40600 (_POSIX_SOURCE): Undefine and redefine.
40601 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
40602 (_POSIX_C_SOURCE): Likewise.
40603 * manual/creature.texi (_DEFAULT_SOURCE): Document.
40604 (Feature Test Macros): Update documentation of default features.
40605
40606 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40607
40608 * benchtests/Makefile: Add bench-strtok.
40609 * benchtests/bench-strtok.c: New file: strtok benchtest.
40610
40611 2013-12-19 Allan McRae <allan@archlinux.org>
40612
40613 * manual/install.texi: Suppress menu for plain text output.
40614 * INSTALL: Regenerated.
40615
40616 2013-12-18 Brooks Moses <bmoses@google.com>
40617
40618 [BZ #15846]
40619 * misc/getauxval.c: Include errno.h.
40620 (__getauxval): Set errno to ENOENT if the requested type is not
40621 found.
40622 * misc/sys/auxv.h (getauxval): Document that it may set errno;
40623 don't declare with __attribute_const__.
40624 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
40625 * manual/startup.texi: Document that getauxval sets errno.
40626
40627 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40628
40629 * math/auto-libm-test-in: Add tests of jn and yn.
40630 * math/auto-libm-test-out: Regenerated.
40631 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
40632 (yn_test_data): Likewise.
40633 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40634 mpfr_if_f.
40635 (func_calc_desc): Add mpfr_if_f union field.
40636 (FUNC_mpfr_if_f): New macro.
40637 (test_functions): Add jn and yn.
40638 (calc_generic_results): Assert type of second input for
40639 mpfr_ff_f. Handle mpfr_if_f.
40640 (output_for_one_input_case): Disable all checking for arguments
40641 fitting floating-point types in case of an integer argument.
40642 * sysdeps/i386/fpu/libm-test-ulps: Update.
40643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40644
40645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40646 Don't expect fegetround reference in libm.so.
40647
40648 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
40649
40650 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
40651 $(config-cflags-nofma).
40652
40653 2013-12-18 Joseph Myers <joseph@codesourcery.com>
40654
40655 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
40656 * math/auto-libm-test-out: Regenerated.
40657
40658 [BZ #16338]
40659 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
40660 to determine exponent and adjust argument to have exponent of -1.
40661 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
40662 log2.
40663 * math/auto-libm-test-out: Regenerated.
40664 * sysdeps/i386/fpu/libm-test-ulps: Update.
40665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40666
40667 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
40668
40669 * manual/probes.texi: Remove cases when per-thread arenas are
40670 disabled.
40671
40672 2013-12-18 Andreas Schwab <schwab@suse.de>
40673
40674 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
40675 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
40676 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
40677 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
40678 * sysdeps/i386/i686/multiarch/Makefile: Update.
40679 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
40680
40681 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40682
40683 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
40684 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
40685
40686 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
40687
40688 [BZ #15968]
40689 Support TZ transition times < 00:00:00.
40690 This is needed for version-3 tz-format files; it supports time
40691 stamps past 2037 for America/Godthab (the only entry in the tz
40692 database for which this change is relevant).
40693 * manual/time.texi (TZ Variable): Document transition times
40694 from -167:59:59 through -00:00:01.
40695 * time/tzset.c (tz_rule): Time of day is now signed.
40696 (__tzset_parse_tz): Parse negative time of day.
40697
40698 Document TZ transition times >= 25:00:00.
40699 * manual/time.texi (TZ Variable): Document transition times from
40700 25:00:00 through 167:59:59. These are already supported, and this
40701 support will help with version-3 tz-format files.
40702
40703 * manual/time.texi (TZ Variable): Modernize North America example
40704 to reflect current (i.e., 2007-and-later) daylight saving rules.
40705
40706 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
40707
40708 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40709
40710 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
40711 * sysdeps/unix/bsd/bits/stat.h: Likewise.
40712 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
40713 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40714 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
40715 * sysdeps/unix/bsd/bsdstat.h: Likewise.
40716 * sysdeps/unix/bsd/clock.c: Likewise.
40717 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
40718 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
40719 * sysdeps/unix/bsd/init-posix.c: Likewise.
40720 * sysdeps/unix/bsd/poll.c: Likewise.
40721 * sysdeps/unix/bsd/ptsname.c: Likewise.
40722 * sysdeps/unix/bsd/seekdir.c: Likewise.
40723 * sysdeps/unix/bsd/setegid.c: Likewise.
40724 * sysdeps/unix/bsd/seteuid.c: Likewise.
40725 * sysdeps/unix/bsd/setgid.c: Likewise.
40726 * sysdeps/unix/bsd/setrgid.c: Likewise.
40727 * sysdeps/unix/bsd/setruid.c: Likewise.
40728 * sysdeps/unix/bsd/setsid.c: Likewise.
40729 * sysdeps/unix/bsd/setuid.c: Likewise.
40730 * sysdeps/unix/bsd/sigaction.c: Likewise.
40731 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
40732 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
40733 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
40734 * sysdeps/unix/bsd/telldir.c: Likewise.
40735 * sysdeps/unix/bsd/times.c: Likewise.
40736 * sysdeps/unix/bsd/usleep.c: Likewise.
40737
40738 * misc/Makefile (install-lib): Remove libbsd-compat.a.
40739 ($(objpfx)libbsd-compat.a): Remove rule.
40740
40741 * include/features.h (__FAVOR_BSD): Do not define.
40742 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
40743 features conflicting with POSIX.
40744 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
40745 (_BSD_SOURCE): Remove description of not being a subset of other
40746 feature test macros.
40747 * manual/job.texi (getpgrp): Do not document BSD version.
40748 (getpgid): Do not document by reference to BSD getpgrp.
40749 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
40750 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
40751 * signal/signal.h [__FAVOR_BSD]: Likewise.
40752 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
40753 instead of making contents conditional on [__FAVOR_BSD].
40754 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
40755
40756 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40757
40758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40759
40760 2013-12-17 Joseph Myers <joseph@codesourcery.com>
40761
40762 [BZ #16314]
40763 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
40764 values below 2**-450, not 2**-500.
40765 * math/auto-libm-test-in: Don't allow spurious underflow from
40766 hypot.
40767 * math/auto-libm-test-out: Regenerated.
40768
40769 [BZ #16316]
40770 [BZ #16330]
40771 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
40772 values of ha and hb and sort them after adjusting subnormal
40773 arguments.
40774 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
40775 Likewise.
40776 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
40777 values of ea and eb and sort them after adjusting subnormal
40778 arguments.
40779 * math/auto-libm-test-in: Do not expect some hypot tests of
40780 subnormals to fail. Add more hypot tests.
40781 * math/auto-libm-test-out: Regenerated.
40782
40783 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40784
40785 [BZ #13304]
40786 * sysdeps/sh/s_fma.c: New file.
40787 * sysdeps/sh/s_fmaf.c: New file.
40788 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
40789 version.
40790 * sysdeps/sh/Implies: Add sh/soft-fp.
40791
40792 2013-12-16 Roland McGrath <roland@hack.frob.com>
40793
40794 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
40795 level of indirection to members `objname', `errstring', `malloced'.
40796 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
40797 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
40798 it as the __longjmp argument (just pass 1 instead).
40799 (_dl_catch_error): Initialize C with argument pointers and address of
40800 volatile local ERRCODE rather than copying values out of C at return.
40801
40802 2013-12-16 Joseph Myers <joseph@codesourcery.com>
40803
40804 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
40805 * math/auto-libm-test-out: Regenerated.
40806 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
40807 (hypot_test_data): Likewise.
40808 (pow_test_data): Likewise.
40809 (pow_tonearest_test_data): Likewise.
40810 * math/gen-auto-libm-tests.c (func_calc_method): Add value
40811 mpfr_ff_f.
40812 (func_calc_desc): Add mpfr_ff_f union field.
40813 (FUNC_mpfr_ff_f): New macro.
40814 (test_functions): Add atan2, hypot and pow.
40815 (special_fill_min): New function.
40816 (special_fill_minus_min): Likewise.
40817 (special_fill_min_subnorm): Likewise.
40818 (special_fill_minus_min_subnorm): Likewise.
40819 (special_real_inputs): Add min, -min, min_subnorm and
40820 -min_subnorm.
40821 (calc_generic_results): Handle mpfr_ff_f.
40822 * sysdeps/i386/fpu/libm-test-ulps: Update.
40823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40824
40825 2013-12-16 Will Newton <will.newton@linaro.org>
40826
40827 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
40828 (Aligned Memory Blocks): Add documentation for aligned_alloc
40829 and suggest it as an alternative to posix_memalign.
40830 (Hooks for Malloc): Document __memalign_hook is also called
40831 for aligned_alloc. (Summary of Malloc): Add summary for
40832 aligned alloc. Document __memalign_hook is also called
40833 for aligned_alloc.
40834
40835 2013-12-16 Will Newton <will.newton@linaro.org>
40836
40837 * manual/memory.texi (Malloc Examples): Clarify default
40838 alignment documentation. Suggest posix_memalign rather
40839 than memalign or valloc.
40840 (Aligned Memory Blocks): Remove suggestion to use memalign
40841 or valloc. Remove obsolete comment about BSD.
40842 Document memalign errno values and mark the function obsolete.
40843 Document posix_memalign returned error codes. Mark valloc
40844 as obsolete. (Hooks for Malloc): __memalign_hook is also
40845 called for posix_memalign and valloc.
40846 (Summary of Malloc): Add posix_memalign to function summary.
40847 __memalign_hook is also called for posix_memalign and valloc.
40848
40849 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
40850
40851 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
40852 TAYLOR_SIN.
40853 (__sin): Adjust.
40854 (__cos): Likewise.
40855 (sloww): Use mynumber union. Expand ternary operator into
40856 if-else statements.
40857 (cslow): use mynumber union.
40858
40859 2013-12-16 Allan McRae <allan@archlinux.org>
40860
40861 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
40862 * configure: Regenerated.
40863
40864 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
40865
40866 [BZ #14120]
40867 * configure.ac: Added --enable-maintainer-mode. Check for
40868 autoconf when enabled.
40869 * configure: Regenerated.
40870
40871 * nscd/nscd.service: New file.
40872 * nscd/nscd.tmpfiles: New file.
40873
40874 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
40875
40876 [BZ #12100]
40877 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
40878 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
40879 * sysdeps/x86_64/multiarch/strstr.c: ... here.
40880 (strstr): Add __strstr_sse2_unaligned ifunc.
40881 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
40882 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
40883 (strcasestr): Remove __strcasestr_sse42 ifunc.
40884 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
40885 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
40886 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40887
40888 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40889
40890 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
40891 * sysdeps/sh/bits/fenv.h: ... here.
40892 * sysdeps/sh/sh4/fpu/bits: Remove directory.
40893
40894 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40895
40896 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
40897
40898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
40899 hypotf multiarch implementations.
40900 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
40901 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
40902 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
40903 multiarch hypot for PPC64.
40904 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
40905 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
40906 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
40907 multiarch hypotf for PPC64.
40908
40909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
40910 modff multiarch implementations.
40911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
40912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
40913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
40914 multiarch modf for PPC64.
40915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
40916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
40917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
40918 multiarch modff for PPC64.
40919
40920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
40921 and logl multiarch implementations.
40922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
40923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
40924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
40925 multiarch logb for PPC64.
40926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
40927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
40928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
40929 multiarch logb for PPC64.
40930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
40931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
40932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
40933 multiarch logb for PPC64.
40934
40935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
40936 isinff multiarch implementation.
40937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
40938 file.
40939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
40940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
40941 multiarch isinf for PPC64.
40942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
40943 file.
40944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
40945 multiarch isinff for PPC64.
40946
40947 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
40948 finitef multiarch implementation.
40949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
40950 file.
40951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
40952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
40953 multiarch finite for PPC64.
40954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
40955 file.
40956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
40957 multiarch finitef for PPC64.
40958
40959 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
40960 lrint multiarch implementation.
40961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
40962 file.
40963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
40964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
40965 multiarch llrint for PPC64.
40966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
40967 multiarch lrint for PPC64.
40968
40969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
40970 copysignf multiarch implementation.
40971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
40972 file.
40973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
40974 file.
40975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
40976 multiarch copysign for PPC64.
40977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
40978 multiarch copysignf for PPC64.
40979
40980 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
40981 multiarch implementation.
40982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
40983 file.
40984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
40985 file.
40986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
40987 file.
40988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
40989 file.
40990 multiarch llround for PPC64.
40991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
40992 multiarch trunc for PPC64.
40993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
40994 multiarch truncf for PPC64.
40995
40996 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
40997 multiarch implementation.
40998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
40999 file.
41000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41001 file.
41002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41003 file.
41004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41005 file.
41006 multiarch llround for PPC64.
41007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41008 multiarch round for PPC64.
41009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41010 multiarch roundf for PPC64.
41011
41012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41013 multiarch implementation.
41014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41015 file.
41016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41017 file.
41018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41019 file.
41020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41021 file.
41022 multiarch llround for PPC64.
41023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41024 multiarch floor for PPC64.
41025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41026 multiarch floorf for PPC64.
41027
41028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41029 multiarch implementation.
41030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41031 file.
41032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41033 file.
41034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41035 file.
41036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41037 file.
41038 multiarch llround for PPC64.
41039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41040 multiarch ceil for PPC64.
41041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41042 multiarch ceilf for PPC64.
41043
41044 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41045 multiarch implementation.
41046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41047 file.
41048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41049 file.
41050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41051 file.
41052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41053 multiarch llround for PPC64.
41054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41055 multiarch lround for PPC64.
41056
41057 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41058 multiarch implementation.
41059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41062 file.
41063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41066 multiarch isnan for PPC64.
41067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41068 multiarch isnanf for PPC64.
41069
41070 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41071 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41072 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41073 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41074 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41076
41077 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41078 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41079 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41080 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41081
41082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41083 multiarch implementations.
41084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41085 (__libc_ifunc_impl_list): Likewise.
41086 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41087 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41088 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41089 multiarch stpcpy for PPC64.
41090
41091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41092 multiarch implementations.
41093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41094 (__libc_ifunc_impl_list): Likewise.
41095 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41096 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41097 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41098 multiarch strcpy for PPC64.
41099
41100 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41101 redefine function name.
41102 (_wordcopy_fwd_dest_aligned): Likewise.
41103 (_wordcopy_bwd_aligned): Likewise.
41104 (_wordcopy_bwd_dest_aligned): Likewise.
41105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41106 multiarch implementations.
41107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41108 (__libc_ifunc_impl_list): Likewise.
41109 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41110 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41111 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41112 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41113 multiarch wcscpy for PPC64.
41114
41115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41116 multiarch implementations.
41117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41118 (__libc_ifunc_impl_list): Likewise.
41119 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41120 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41121 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41122 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41123 multiarch wcscpy for PPC64.
41124
41125 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41126 multiarch implementations.
41127 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41128 (__libc_ifunc_impl_list): Likewise.
41129 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41130 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41131 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41132 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41133 multiarch wcsrchr for PPC64.
41134
41135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41136 multiarch implementations.
41137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41138 (__libc_ifunc_impl_list): Likewise.
41139 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41140 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41141 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41142 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41143 multiarch wcschr for PPC64.
41144
41145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41146 multiarch implementations.
41147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41148 (__libc_ifunc_impl_list): Likewise.
41149 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41150 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41151 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41152 multiarch strchrnul for PPC64.
41153
41154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41155 implementations.
41156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41157 (__libc_ifunc_impl_list): Likewise.
41158 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41159 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41160 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41161 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41162 strchr for PPC64.
41163
41164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41165 implementations.
41166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41167 (__libc_ifunc_impl_list): Likewise.
41168 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41169 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41170 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41171 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41172 strncmp for PPC64.
41173
41174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41175 multiarch implementations.
41176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41177 (__libc_ifunc_impl_list): Likewise.
41178 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41179 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41180 strncasecmp for PPC64.
41181 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41182 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41183 multiarch strncasecmp_l for PPC64.
41184
41185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41186 multiarch implementations.
41187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41188 (__libc_ifunc_impl_list): Likewise.
41189 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41190 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41191 multiarch strcasecmp for PPC64.
41192 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41193 file.
41194 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41195 multiarch strcasecmp_l for PPC64.
41196
41197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41198 implementations.
41199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41200 (__libc_ifunc_impl_list): Likewise.
41201 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41202 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41203 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41204 strnlen for PPC64.
41205
41206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41207 implementations.
41208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41209 (__libc_ifunc_impl_list): Likewise.
41210 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41211 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41212 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41213 strlen for PPC64.
41214
41215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41216 implementations.
41217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41218 (__libc_ifunc_impl_list): Likewise.
41219 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41220 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41221 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41222 rawmemrchr for PPC64.
41223
41224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41225 implementation.
41226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41227 (__libc_ifunc_impl_list): Likewise.
41228 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41229 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41230 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41231 memrchr for PPC64.
41232
41233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41234 implementation.
41235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41236 (__libc_ifunc_impl_list): Likewise.
41237 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41238 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41239 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41240 memchr for PPC64.
41241
41242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41243 implementation.
41244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41245 (__libc_ifunc_impl_list): Likewise.
41246 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41247 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41248 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41249 mempcpy for PPC64.
41250
41251 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41252 avoid cretion of __bzero symbol.
41253 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41254 Likewise.
41255 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41256 Likewise.
41257 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41258 Likewise.
41259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41260 multiarch implementations.
41261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41262 (__libc_ifunc_impl_list): Likewise.
41263 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41264 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41265 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41266 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41267 bzero for PPC32.
41268 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41269 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41270 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41271 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41272 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41273 memset for PPC64.
41274 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41275
41276 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41278 implementations.
41279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41280 (__libc_ifunc_impl_list): Likewise.
41281 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41282 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41283 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41284 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41285 memcmp for PPC64.
41286
41287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41288 multiarch for POWER/PPC64.
41289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41290 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41291 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41292 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41293 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41294 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41295 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41296 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41297 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41298 memcpy for PPC64.
41299
41300 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41301 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41302 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41303 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41304 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41305 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41306 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41307 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41308 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41309 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41310 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41311 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41312 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41313 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41314 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41322
41323 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41324
41325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41326
41327 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
41328
41329 * benchtests/Makefile (bench): Add exp2 and log2.
41330 (LDLIBS-bench-exp2): Add -lm.
41331 (LDLIBS-bench-log2): Likewise.
41332 * benchtests/exp2-inputs: New inputs file.
41333 * benchtests/log2-inputs: New inputs file.
41334 * benchtests/log-inputs: Add new inputs.
41335 * benchtests/tan-inputs: Likewise.
41336
41337 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
41338
41339 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41340 definition...
41341 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41342 (csloww2): ... from here.
41343
41344 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41345 instead of structures.
41346 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41347 (POLYNOMIAL): Likewise.
41348 (TAYLOR_SLOW): Likewise.
41349 (__sin): Likewise.
41350 (__cos): Likewise.
41351 (slow1): Likewise.
41352 (slow2): Likewise.
41353 (sloww): Likewise.
41354 (sloww1); Likewise.
41355 (sloww2): Likewise.
41356 (bsloww1): Likewise.
41357 (bsloww2): Likewise.
41358 (cslow2): Likewise.
41359 (csloww): Likewise.
41360 (csloww1): Likewise.
41361 (csloww2): Likewise.
41362
41363 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
41364
41365 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41366 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41367 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41368 * malloc/hooks.c (realloc_check): Likewise.
41369
41370 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41371 * malloc/arena.c: Remove PER_THREAD conditional.
41372 [!PER_THREAD]: Remove code.
41373 (ptmalloc_unlock_all2): Likewise.
41374 (ptmalloc_init): Likewise.
41375 (_int_new_arena): Likewise.
41376 (arena_get2): Likewise.
41377 * malloc/hooks.c (__malloc_get_state): Likewise.
41378 (__malloc_set_state): Likewise.
41379 * malloc/malloc.c: Likewise.
41380 (struct malloc_state): Likewise.
41381 (struct malloc_par): Likewise.
41382 (__libc_realloc): Likewise.
41383 (__libc_mallopt): Likewise.
41384
41385 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41386
41387 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41388
41389 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
41390
41391 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41392 macro to a function. Check for zero perturb_byte.
41393 (_int_malloc, _int_free): Remove zero perturb_byte checks.
41394
41395 * malloc/malloc.c: (force_reg): Remove.
41396 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41397 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41398 force_reg by atomic_forced_read.
41399 * malloc/arena.c (ptmalloc_init): Likewise.
41400 * malloc/hooks.c (top_check): Likewise.
41401
41402 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41403
41404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41405
41406 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
41407
41408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41409
41410 2013-12-08 Joseph Myers <joseph@codesourcery.com>
41411
41412 * math/auto-libm-test-in: Add tests of lgamma.
41413 * math/auto-libm-test-out: Regenerated.
41414 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41415 (M_LOG_2_SQRT_PIl): Likewise.
41416 (lgamma_test_data): Use AUTO_TESTS_f_f1.
41417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
41418 mpfr_f_f1.
41419 (func_calc_desc): Add mpfr_f_f1 union field.
41420 (ARGS1): New macro.
41421 (ARGS2): Likewise.
41422 (ARGS3): Likewise.
41423 (ARGS4): Likewise.
41424 (RET1): Likewise.
41425 (RET2): Likewise.
41426 (CALC): Likewise.
41427 (FUNC): Likewise.
41428 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41429 (test_functions): Add lgamma.
41430 (calc_generic_results): Handle mpfr_f_f1.
41431 * sysdeps/i386/fpu/libm-test-ulps: Update.
41432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41433
41434 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41435
41436 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41437 __mpn_add_n for PowerPC64/POWER7.
41438 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41439 __mpn_sub_n for PowerPC64/POWER7.
41440
41441 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41442 __mpn_addmul_1 for PowerPC64.
41443 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
41444 __mpn_submul_1 for PowerPC64.
41445 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
41446 for PowerPC64.
41447 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
41448 for PowerPC64.
41449
41450 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
41451
41452 [BZ #15089]
41453 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
41454
41455 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41456
41457 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
41458
41459 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
41460 add multiarch folders.
41461 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
41462 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
41463 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
41464 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
41465 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
41466 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
41467 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
41468 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
41469 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
41470 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
41471 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
41473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
41474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
41476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
41477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
41478
41479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41480 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
41481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
41482 New file.
41483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
41484 New file.
41485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
41486 multiarch __ieee754_hypot for PowerPC32.
41487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
41488 New file.
41489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
41490 New file.
41491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
41492 multiarch __ieee754_hypotf for PowerPC32.
41493
41494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
41495 long_double_symbol only if __logbl is defined.
41496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
41497 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
41498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
41499 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
41500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
41501 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
41502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
41503 path for implementation.
41504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
41505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
41506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
41507 logb, and logbl multiarch implementations for PowerPC32.
41508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
41509 file.
41510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
41511 file.
41512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
41513 multiarch logb for PowerPC32.
41514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
41515 file.
41516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
41517 file.
41518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
41519 multiarch logbf for PowerPC32.
41520 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
41521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
41522 file.
41523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
41524 multiarch logbl implementation for PowerPC32.
41525
41526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
41527 and modff multiarch implementations.
41528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
41529 New file.
41530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
41531 New file.
41532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
41533 multiarch modf for PowerPC32.
41534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
41535 New file.
41536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
41537 New file.
41538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
41539 multiarch modff for PowerPC32.
41540
41541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
41542 and lrintf multiarch implementations.
41543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
41544 New file.
41545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
41546 New file.
41547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
41548 multiarch lrint for PowerPC32.
41549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
41550 file: multiarch lrintf for PowerPC32.
41551
41552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
41553 and lroundf multiarch implementations.
41554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
41555 New file.
41556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
41557 New file.
41558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
41559 New file.
41560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
41561 multiarch lround for PowerPC32.
41562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
41563 file: multiarch lroundf for PowerPC32.
41564
41565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
41566 copysign and copysignf multiarch implementations.
41567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
41568 New file.
41569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
41570 New file.
41571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
41572 file: multiarch copysign for PowerPC32.
41573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
41574 file: multiarch copysignf for PowerPC32.
41575
41576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
41577 and truncf multiarch implementations.
41578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
41579 New file.
41580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
41581 file.
41582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
41583 multiarch trunc for PowerPC32.
41584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
41585 New file.
41586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
41587 New file.
41588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
41589 multiarch truncf for PowerPC32.
41590
41591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
41592 and roundf multiarch implementations.
41593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
41594 New file.
41595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
41596 file.
41597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
41598 multiarch round for PowerPC32.
41599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
41600 New file.
41601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
41602 New file.
41603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
41604 multiarch roundf for PowerPC32.
41605
41606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
41607 and floorf multiarch implementations.
41608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
41609 New file.
41610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
41611 file.
41612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
41613 multiarch floor for PowerPC32.
41614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
41615 New file.
41616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
41617 New file.
41618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
41619 multiarch floorf for PowerPC32.
41620
41621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
41622 and ceilf multiarch implementations.
41623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
41624 New file.
41625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
41626 file.
41627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
41628 multiarch ceil for PowerPC32.
41629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
41630 New file.
41631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
41632 file.
41633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
41634 multiarch ceilf for PowerPC32.
41635
41636 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
41637 is defined.
41638 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
41639 FINITEF is defined.
41640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
41641 and finitef multiarch implementations.
41642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
41643 New file.
41644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
41645 file.
41646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
41647 multiarch finite for PowerPC32.
41648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
41649 New file.
41650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
41651 file: multiarch finitef for PowerPC32.
41652
41653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
41654 and isinff multiarch implementations.
41655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
41656 file.
41657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
41658 file.
41659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
41660 multiarch isinf for PowerPC32.
41661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
41662 New file.
41663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
41664 multiarch isinff for PowerPC32.
41665
41666 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
41667 alias when __isnan is defined.
41668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
41669 and isnanf multiarch implementations.
41670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
41671 file.
41672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
41673 file.
41674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
41675 file.
41676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
41677 file.
41678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
41679 multiarch isnan for PowerPC32.
41680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
41681 New file.
41682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
41683 New file.
41684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
41685 multiarch isnanf for PowerPC32.
41686
41687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
41688 and sqrtf multiarch implementations.
41689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
41690 file.
41691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
41692 file.
41693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
41694 multiarch sqrt for PowerPC32.
41695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
41696 file.
41697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
41698 file.
41699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
41700 multiarch sqrtf for PowerPC32.
41701
41702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
41703 and llroundf multiarch implementations.
41704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
41705 New file.
41706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
41707 New file.
41708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
41709 New file.
41710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
41711 file: multiarch llround for PowerPC32.
41712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
41713 file: multiarch llroundf for PowerPC32.
41714
41715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
41716 multiarch PowerPC32 fpu implementations.
41717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
41718 New file.
41719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
41720 New file.
41721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
41722 multiarch llrint for PowerPC32.
41723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
41724 New file.
41725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
41726 New file.
41727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
41728 file.
41729
41730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
41731
41732 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
41733 file.
41734 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
41735 file.
41736 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
41737 file.
41738 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
41739 multiarch wordcopy for PPC32.
41740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41741 wordcopy objects.
41742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41743 (__libc_ifunc_impl_list): Likewise.
41744 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
41745 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
41746 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
41747 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
41748 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
41749 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
41750
41751 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
41752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
41753 file.
41754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
41755 file.
41756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
41757 file.
41758 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
41759 multiarch wcscpy for PPC32.
41760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
41761 multiarch objects.
41762 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41763 (__libc_ifunc_impl_list): Likewise.
41764 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41765 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41766 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
41767 sysdeps/powerpc/power6/wcscpy.c.
41768
41769 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
41770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
41771 file.
41772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
41773 file.
41774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
41775 file.
41776 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
41777 multiarch wcsrchr for PPC32.
41778 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41779 multiarch objects.
41780 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41781 (__libc_ifunc_impl_list): Likewise.
41782 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
41783 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
41784 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
41785 sysdeps/powerpc/power6/wcsrchr.c.
41786
41787 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
41788 file.
41789 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
41790 file.
41791 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
41792 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
41793 multiarch wcschr for PPc32.
41794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
41795 multiarch objects.
41796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41797 (__libc_ifunc_impl_list): Likewise.
41798 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
41799 * sysdeps/powerpc/power6/wcschr.c: ... to here.
41800 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
41801 sysdeps/powerpc/power6/wcschr.c.
41802
41803 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
41804 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
41805 file.
41806 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
41807 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
41808 file: multiarch strchr for PPC32.
41809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
41810 multiarch objects.
41811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41812 (__libc_ifunc_impl_list): Likewise.
41813
41814 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
41815 name.
41816 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
41817 file.
41818 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
41819 file.
41820 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
41821 multiarch strchrnul for PPC32.
41822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
41823 multiarch objects.
41824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41825 (__libc_ifunc_impl_list): Likewise.
41826
41827 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
41828 file.
41829 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
41830 multiarch strncasecmp for PPC32.
41831 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
41832 file.
41833 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
41834 multiarch strncasecmp_l for PPC32.
41835 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
41836 strncasecmp multiarch objects.
41837 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41838 (__libc_ifunc_impl_list): Likewise.
41839
41840 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
41841 file.
41842 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
41843 multiarch strncasecmp for PPC32.
41844 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41845 New file.
41846 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
41847 multiarch strcasecmp_l for PPC32.
41848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
41849 multiarch objects.
41850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41851 (__libc_ifunc_impl_list): Likewise.
41852
41853 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
41854 file.
41855 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
41856 file.
41857 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
41858 multiarch strncmp for PPC32.
41859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
41860 multiarch objects.
41861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41862 (__libc_ifunc_impl_list): Likewise.
41863
41864 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
41865 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
41866 file.
41867 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
41868 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
41869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
41870 multiarch objects.
41871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41872 (__libc_ifunc_impl_list): Likewise.
41873
41874 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
41875 file.
41876 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
41877 file.
41878 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
41879 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
41880 multiarch objects.
41881 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41882 (__libc_ifunc_impl_list): Likewise.
41883
41884 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41885 file.
41886 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
41887 file.
41888 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
41889 multiarch rawmemchr for PPC32.
41890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
41891 multiarch objects.
41892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41893 (__libc_ifunc_impl_list): Likewise.
41894
41895 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
41896 file.
41897 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
41898 file.
41899 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
41900 file: memrchr multiarch for PPC32.
41901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
41902 multiarch objects.
41903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
41904 (__libc_ifunc_impl_list): Likewise.
41905
41906 * string/memchr.c (__memchr): Using macro to redefine symbol name.
41907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
41908 file.
41909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
41910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
41911 multiarch memchr for PPC32.
41912 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
41913 multiarch objects.
41914 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41915 (__libc_ifunc_impl_list): Likewise.
41916
41917 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
41918 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
41919 file.
41920 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
41921 file.
41922 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
41923 file: multiarch mempcpy for PPC32.
41924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
41925 multiarch objects.
41926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41927 (__libc_ifunc_impl_list): Likewise.
41928
41929 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
41930 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
41931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
41932 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
41933 multiarch bzero for PPC32.
41934 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
41935 file.
41936 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
41937 file.
41938 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
41939 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41940 file: multiarch memset for PPC32.
41941 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
41942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
41943 memset multiarch objects.
41944 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41945 (__libc_ifunc_impl_list): Likewise.
41946
41947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
41948 file.
41949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
41950 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
41951 memcmp for PPC32.
41952 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
41953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
41954 multiarch objects.
41955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41956 (__libc_ifunc_impl_list): Likewise.
41957
41958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
41959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
41960 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
41961 file.
41962 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
41963 file.
41964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
41965 file.
41966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
41967 multiarch memcpy for PPC32.
41968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
41969 multiarch objects.
41970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41971 (__libc_ifunc_impl_list): Likewise.
41972
41973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
41974 support multiarch for POWER/PPC32.
41975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
41976 Likewise.
41977 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
41978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
41979 Implies file to make multiarch folder appers before the fpu and
41980 default folder for power4 configuration.
41981
41982 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41983
41984 * scripts/bench.pl: Append volatile keyword to type.
41985
41986 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41987
41988 * sysdeps/sh/sotruss-lib.c: New file.
41989 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
41990
41991 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41992
41993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41994
41995 2013-12-05 Joseph Myers <joseph@codesourcery.com>
41996
41997 [BZ #6810]
41998 * math/w_tgamma.c: Include <errno.h>.
41999 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
42000 * math/w_tgammaf.c: Include <errno.h>.
42001 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
42002 * math/w_tgammal.c: Include <errno.h>.
42003 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
42004 * math/auto-libm-test-in: Do not allow missing errno on tgamma
42005 underflow. Add more tgamma tests.
42006 * math/auto-libm-test-out: Regenerated.
42007 * sysdeps/i386/fpu/libm-test-ulps: Update.
42008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42009
42010 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42011 sin, sinh, tan, tanh, tgamma, y0 and y1.
42012 * math/auto-libm-test-out: Regenerated.
42013 * math/libm-test.inc (TEST_COND_x86_64): New macro.
42014 (TEST_COND_x86): Likewise.
42015 (M_E2l): Remove macro.
42016 (M_E3l): Likewise.
42017 (M_2_SQRT_PIl): Likewise.
42018 (M_SQRT_PIl): Likewise.
42019 (M_1_DIV_El): Likewise.
42020 (log_test_data): Use AUTO_TESTS_f_f.
42021 (log10_test_data): Likewise.
42022 (log1p_test_data): Likewise.
42023 (log2_test_data): Likewise.
42024 (sin_test_data): Likewise.
42025 (sin_tonearest_test_data): Likewise.
42026 (sin_towardzero_test_data): Likewise.
42027 (sin_downward_test_data): Likewise.
42028 (sin_upward_test_data): Likewise.
42029 (sinh_test_data): Likewise.
42030 (sinh_tonearest_test_data): Likewise.
42031 (sinh_towardzero_test_data): Likewise.
42032 (sinh_downward_test_data): Likewise.
42033 (sinh_upward_test_data): Likewise.
42034 (tan_test_data): Likewise.
42035 (tan_tonearest_test_data): Likewise.
42036 (tan_towardzero_test_data): Likewise.
42037 (tan_downward_test_data): Likewise.
42038 (tan_upward_test_data): Likewise.
42039 (tanh_test_data): Likewise.
42040 (tgamma_test_data): Likewise.
42041 (y0_test_data): Likewise.
42042 (y1_test_data): Likewise.
42043 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42044 (special_real_inputs): Add pi/4.
42045 * sysdeps/i386/fpu/libm-test-ulps: Update.
42046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42047
42048 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42049
42050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42051 "longjmp_target" static probes.
42052 (__longjmp): Rename to __longjmp_symbol.
42053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42054 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42055 on which longjmp to generate.
42056 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42057 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42058 probe.
42059 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42060 (__sigjmp_save): Rename to __sigjmp_save_symbol.
42061 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42062 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42063 and __sigjmp_save_symbol based on which sigsetjmp to generated.
42064 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42066 __longjmp_symbol based on which __longjmp to generate.
42067 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42068 probe.
42069 (setjmp): Rename to setjmp_symbol.
42070 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42071 (_setjmp): Rename to _setjmp_symbol.
42072 (__sigsetjmp): Rename to __sigsetjmp_symbol.
42073 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42074 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42075 which setjmp to generate.
42076 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42077 "longjmp_target" static probes.
42078
42079 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
42080
42081 * benchtests/README: Add note about output arguments.
42082 * benchtests/bench-sincos.c: Remove file.
42083 * benchtests/sincos-inputs: New file.
42084 * scripts/bench.pl: Identify output arguments and define
42085 static variables for them.
42086
42087 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42088
42089 [BZ #15941]
42090 * Makefile (INSTALL): Add install-plain.texi as the primary
42091 dependency.
42092 * manual/install-plain.texi: New file.
42093 * manual/install.texi: Include node directive only for
42094 non-plaintext output.
42095
42096 2013-12-04 Joseph Myers <joseph@codesourcery.com>
42097
42098 * stdlib/longlong.h: Update from GCC.
42099
42100 [BZ #6807]
42101 [BZ #15901]
42102 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42103 * math/w_j0f.c (y0f): Likewise.
42104 * math/w_j0l.c (__y0l): Likewise.
42105 * math/w_j1.c (y1): Likewise.
42106 * math/w_j1f.c (y1f): Likewise.
42107 * math/w_j1l.c (__y1l): Likewise.
42108 * math/w_jn.c (yn): Likewise.
42109 * math/w_jnf.c (ynf): Likewise.
42110 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42111 Bessel function pole errors in _POSIX_ mode. Use NAN as return
42112 value for Bessel function domain errors outside _SVID_ mode.
42113 Adjust sign of return value for yn (negative integer, 0).
42114 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42115 by zero in return for negative x and set sign appropriately for
42116 negative n.
42117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42118 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42119 * math/libm-test.inc (y0_test_data): Add more tests and adjust
42120 expectations in error cases.
42121 (y1_test_data): Likewise.
42122 (yn_test_data): Likewise.
42123 * sysdeps/i386/fpu/libm-test-ulps: Update.
42124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42125
42126 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42127
42128 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42129 "64" to "64-v1". Add "64-v2".
42130 (abi-64-options): Rename to ...
42131 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
42132 (abi-64-condition): Rename to ...
42133 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
42134 (abi-64-ld-soname): Rename to ...
42135 (abi-64-v1-ld-soname): ... this.
42136 (abi-64-v2-options): Define.
42137 (abi-64-v2-condition): Likewise.
42138 (abi-64-v2-ld-soname): Likewise.
42139 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42140 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42144
42145 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42146 Alan Modra <amodra@gmail.com>
42147
42148 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42149 New versions for use with the ELFv2 ABI.
42150 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42151 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42152 declaration.
42153 (struct La_ppc64v2_retval): Likewise.
42154 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42155 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42156 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42157 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42158 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42159 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42160 Do not save or restore CR.
42161 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42162 (_dl_profile_resolve): Do no save or restore CR. Support extended
42163 return values for ELFv2 ABI. Fix location of FPR return registers.
42164 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42165 updated values for _CALL_ELF == 2.
42166 (La_regs, La_retval, int_retval): Likewise.
42167
42168 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42169
42170 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42171 (FRAME_MIN_SIZE_PARM): Likewise.
42172 (FRAME_BACKCHAIN): Likewise.
42173 (FRAME_CR_SAVE): Likewise.
42174 (FRAME_LR_SAVE): Likewise.
42175 (FRAME_TOC_SAVE): Likewise.
42176 (FRAME_PARM_SAVE): Likewise.
42177 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42178 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42179 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42180 (call_mcount_parm_offset): New macro.
42181 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42182 (PROF): Use symbolic stack frame offsets.
42183 (TAIL_CALL_SYSCALL_ERROR): Likewise.
42184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42185 Redefine in terms of FRAME_MIN_SIZE.
42186 (_dl_runtime_resolve): Use symbolic stack frame offsets.
42187 (_dl_profile_resolve): Likewise. Update comment.
42188 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42189 symbols stack frame offsets.
42190 (__sigsetjmp): Likewise.
42191 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42192 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42193 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42194 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42195
42196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42197 (FRAME_BACKCHAIN): Remove.
42198 (FRAME_CR_SAVE): Likewise.
42199 (FRAME_LR_SAVE): Likewise.
42200 (FRAME_COMPILER_DW): Likewise.
42201 (FRAME_LINKER_DW): Likewise.
42202 (FRAME_TOC_SAVE): Likewise.
42203 (FRAME_PARM_SAVE): Likewise.
42204 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42205 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42206 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42208 (CHECK_SP): Use symbolic stack frame offsets.
42209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42210 zone" instead of caller's parameter save area for temp storage.
42211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42212 Likewise. Also, use symbolic stack frame offsets.
42213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42214 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42215 our own stack frame instead of the caller's.
42216 (__socket): Use symbolic stack frame offsets.
42217
42218 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42219 Alan Modra <amodra@gmail.com>
42220
42221 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42222 Define.
42223 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42224 (PPC64_LOCAL_ENTRY_OFFSET): Define.
42225 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42226 New function.
42227 (elf_machine_fixup_plt): Call it.
42228 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
42229 reloc arguments.
42230 (elf_machine_rela): Update call to elf_machine_plt_conflict.
42231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42232 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42233 r2 before calling target.
42234
42235 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42236 Alan Modra <amodra@gmail.com>
42237
42238 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42239 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42240 versions of macros to support ELFv2 ABI.
42241 (LOCALENTRY): New macro.
42242 (ENTRY, EALIGN): Use it.
42243 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42244 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42245 fall through into ENTRY entry point.
42246 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42247 Only define if _CALL_ELF != 2.
42248
42249 (elf_machine_matches_host): Verify ABI version matches.
42250 (RTLD_START): Use LOCALENTRY.
42251 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42252 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42253 (PLT_ENTRY_WORDS): New macro.
42254 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42255 (elf_machine_runtime_setup): Support ELFv2 ABI.
42256 (elf_machine_fixup_plt): Likewise.
42257 (elf_machine_plt_conflict): Likewise.
42258 (resolve_ifunc): Likewise.
42259 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42260 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42261 Likewise.
42262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42263 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42265 (makecontext): Support ELFv2 ABI.
42266 * elf/elf.h (EF_PPC64_ABI): Define.
42267
42268 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42269
42270 * sysdeps/powerpc/powerpc64/sysdep.h
42271 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42272 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42273 (ENTRY) [ASSEMBLER]: ... but instead here ...
42274 (EALIGN) [ASSEMBLER]: ... and here.
42275 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42276 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42277 (ENTRY_2) [!ASSEMBLER]: Use it.
42278 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42279 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
42280 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42281 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42282 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42284 Use PPC64_LOAD_FUNCPTR.
42285
42286 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42287
42288 2013-12-04 Alan Modra <amodra@gmail.com>
42289
42290 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42291 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42292 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42293 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42294
42295 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42296 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42297 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42298 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42299 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42300 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42301
42302 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42303
42304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42305 (__makecontext): Fix incorrect CFI when backtracing out of
42306 context created via makecontext.
42307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42308 (__setcontext): Fix incorrect CFI during switch to new context.
42309 (__novec_setcontext): Likewise.
42310
42311 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
42312
42313 [BZ #4772]
42314 * time/strptime_l.c (__strptime_internal): Allow modifiers
42315 in strptime.
42316 * time/tst-strptime.c (day_tests): Add testcase.
42317
42318 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42319
42320 * scripts/bench.pl: Skip over blank lines.
42321
42322 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
42323
42324 [BZ #926]
42325 * manual/time.texi (Calendar Time): Clarify what timezone functions
42326 use.
42327
42328 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42329
42330 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42331
42332 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
42333
42334 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42335 implementation.
42336 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42337 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42338 * debug/memset_chk.c (__memset_chk): Likewise.
42339 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42340 * debug/strncpy_chk.c: Likewise.
42341
42342 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42343
42344 [BZ #15268]
42345 [BZ #15425]
42346 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42347 (__ieee754_exp): For possibly underflowing results, check size of
42348 result and force underflow exception if required.
42349 * math/auto-libm-test-in: Add more tests of exp.
42350 * math/auto-libm-test-out: Regenerated.
42351 * sysdeps/i386/fpu/libm-test-ulps: Update.
42352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42353
42354 [BZ #16283]
42355 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42356 * math/w_exp2f.c (__exp2f): Likewise.
42357 * math/w_exp2l.c (__exp2l): Likewise.
42358 * math/auto-libm-test-in: Do not allow missing errno on exp2
42359 underflow.
42360 * math/auto-libm-test-out: Regenerated.
42361
42362 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
42363
42364 [BZ #16274]
42365 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42366 handle filename validation.
42367 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42368 (do_open): Delete.
42369
42370 2013-12-03 Joseph Myers <joseph@codesourcery.com>
42371
42372 [BZ #6786]
42373 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42374 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42375 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42376 <float.h>.
42377 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42379 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42381 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42382 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42383 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42384 * math/auto-libm-test-in: Don't allow missing errno from erfc.
42385 Add more erfc tests.
42386 * math/auto-libm-test-out: Regenerated.
42387 * sysdeps/i386/fpu/libm-test-ulps: Update.
42388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42389
42390 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42391 exp2, expm1, j0 and j1.
42392 * math/auto-libm-test-out: Regenerated.
42393 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42394 (erfc_test_data): Likewise.
42395 (exp_test_data): Likewise.
42396 (exp_tonearest_test_data): Likewise.
42397 (exp_towardzero_test_data): Likewise.
42398 (exp_downward_test_data): Likewise.
42399 (exp_upward_test_data): Likewise.
42400 (exp10_test_data): Likewise.
42401 (exp2_test_data): Likewise.
42402 (expm1_test_data): Likewise.
42403 (j0_test_data): Likewise.
42404 (j1_test_data): Likewise.
42405 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42406 (input_flag_type): Add flag_xfail_rounding.
42407 (input_flags): Add xfail-rounding.
42408 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42409 (output_for_one_input_case): Handle flag_xfail_rounding.
42410 * sysdeps/i386/fpu/libm-test-ulps: Update.
42411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42412
42413 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
42414
42415 [BZ #16289]
42416 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42417 division by 0.
42418
42419 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
42420
42421 [BZ #16195]
42422 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42423 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42424 (STAP_PROBE0): New macro.
42425 (STAP_PROBE1): Likewise.
42426 (STAP_PROBE2): Likewise.
42427 (STAP_PROBE3): Likewise.
42428 (STAP_PROBE4): Likewise.
42429
42430 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
42431
42432 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42433
42434 2013-12-02 Steve Ellcey <sellcey@mips.com>
42435
42436 * benchtests/Makefile (bench): Add sqrt.
42437 (LDLIBS-bench-sqrt): New.
42438 * benchtests/sqrt-input: New.
42439
42440 2013-12-02 Pavel Simerda <psimerda@redhat.com>
42441
42442 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42443 (GAIH_EAI): Likewise.
42444 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
42445 (gaih_inet): Likewise.
42446 (getaddrinfo): Don't use GAIH_EAI.
42447
42448 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
42449 (struct gaih): Remove definition.
42450
42451 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
42452
42453 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
42454 Use HERRNOP directly.
42455
42456 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42457
42458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42459
42460 2013-11-30 Joseph Myers <joseph@codesourcery.com>
42461
42462 * math/gen-auto-libm-tests.c (test_functions): Add more
42463 single-argument functions.
42464 (special_fill_pi_2): New function.
42465 (special_fill_minus_pi_2): Likewise.
42466 (special_fill_pi_6): Likewise.
42467 (special_fill_minus_pi_6): Likewise.
42468 (special_fill_pi_3): Likewise.
42469 (special_fill_2pi_3): Likewise.
42470 (special_fill_e): Likewise.
42471 (special_fill_1_e): Likewise.
42472 (special_fill_e_minus_1): Likewise.
42473 (special_real_inputs): Add more special inputs.
42474 (output_for_one_input_case): Do not require ERANGE on underflow to
42475 zero if round-to-nearest result does not underflow to zero, unless
42476 exact results required.
42477 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
42478 atan, atanh, cbrt, cos and cosh.
42479 * math/auto-libm-test-out: Regenerated.
42480 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
42481 (acos_tonearest_test_data): Likewise.
42482 (acos_towardzero_test_data): Likewise.
42483 (acos_downward_test_data): Likewise.
42484 (acos_upward_test_data): Likewise.
42485 (acosh_test_data): Likewise.
42486 (asin_test_data): Likewise.
42487 (asin_tonearest_test_data): Likewise.
42488 (asin_towardzero_test_data): Likewise.
42489 (asin_upward_test_data): Likewise.
42490 (asinh_test_data): Likewise.
42491 (atan_test_data): Likewise.
42492 (atanh_test_data): Likewise.
42493 (cbrt_test_data): Likewise.
42494 (cos_test_data): Likewise.
42495 (cos_tonearest_test_data): Likewise.
42496 (cos_towardzero_test_data): Likewise.
42497 (cos_downward_test_data): Likewise.
42498 (cos_upward_test_data): Likewise.
42499 (cosh_test_data): Likewise.
42500 (cosh_tonearest_test_data): Likewise.
42501 (cosh_towardzero_test_data): Likewise.
42502 (cosh_downward_test_data): Likewise.
42503 (cosh_upward_test_data): Likewise.
42504 * sysdeps/i386/fpu/libm-test-ulps: Update.
42505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42506
42507 2013-11-29 Joseph Myers <joseph@codesourcery.com>
42508
42509 [BZ #6787]
42510 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
42511 * math/w_exp10f.c (__exp10f): Likewise.
42512 * math/w_exp10l.c (__exp10l): Likewise.
42513 * math/libm-test.inc (exp10_test_data): Add more tests and expect
42514 errno settings in existing tests.
42515
42516 [BZ #14032]
42517 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
42518 precision control set to double precision.
42519 * sysdeps/i386/fpu/w_sqrt.c: New file.
42520 * math/auto-libm-test-in: Add more tests.
42521 * math/auto-libm-test-out: Update.
42522
42523 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
42524 (sqrt_test_tonearest): New function.
42525 (sqrt_towardzero_test_data): New variable.
42526 (sqrt_test_towardzero): New function.
42527 (sqrt_downward_test_data): New variable.
42528 (sqrt_test_downward): New function.
42529 (sqrt_upward_test_data): New variable.
42530 (sqrt_test_upward): New function.
42531 (main): Call the new functions.
42532
42533 * math/gen-auto-libm-tests.c: New file.
42534 * math/auto-libm-test-in: Likewise.
42535 * math/auto-libm-test-out: New generated file.
42536 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
42537 variables.
42538 (%beautify): Add generated representations of zero.
42539 (top level): Set $auto_input and call parse_auto_input.
42540 (beautify): Remove trailing "f" from hex float constants.
42541 (parse_args): Handle XFAIL_TEST.
42542 (convert_condition): New function.
42543 (or_value): Likewise.
42544 (or_cond_value): Likewise.
42545 (generate_testfile): Handle AUTO_TESTS_* lines.
42546 (parse_auto_input): New function.
42547 * math/libm-test.inc (XFAIL_TEST): New macro.
42548 (ERRNO_UNCHANGED): Update value.
42549 (ERRNO_EDOM): Likewise.
42550 (ERRNO_ERANGE): Likewise.
42551 (IGNORE_RESULT): Likewise.
42552 (TEST_COND_flt_32): New macro.
42553 (TEST_COND_dbl_64): Likewise.
42554 (TEST_COND_ldbl_96_intel): Likewise.
42555 (TEST_COND_ldbl_96_m68k): Likewise.
42556 (TEST_COND_ldbl_128): Likewise.
42557 (TEST_COND_ldbl_128ibm): Likewise.
42558 (TEST_COND_long32): Likewise.
42559 (TEST_COND_long64): Likewise.
42560 (TEST_COND_before_rounding): Likewise.
42561 (TEST_COND_after_rounding): Likewise.
42562 (enable_test): Handle XFAIL_TEST flag.
42563 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
42564 with finite results.
42565 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
42566 auto-libm-test-out.
42567
42568 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42569 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42570
42571 [BZ #16214]
42572 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
42573 __tls_get_addr_internal instead of __tls_get_offset in order to
42574 avoid GOT pointer dependency. Make rtld export
42575 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
42576 __tls_get_addr since we are a __tls_get_offset platform.
42577 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
42578 GOT pointer being set up before.
42579 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
42580
42581 2013-11-28 Joseph Myers <joseph@codesourcery.com>
42582
42583 * manual/math.texi (Errors in Math Functions): Document accuracy
42584 goals.
42585
42586 [BZ #15004]
42587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
42588 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
42589 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42590 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42591 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42592 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42593 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42594 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42595 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42596 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42597 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42598 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42599 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42600 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42601 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42602 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42603
42604 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
42605 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
42606 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
42607 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
42608 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
42609 Likewise.
42610 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
42611 Likewise.
42612 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
42613 Likewise.
42614 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
42615 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
42616 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
42617 atomic-feupdateenv and flt-rounds.
42618 * sysdeps/powerpc/nofpu/Versions (libc): Add
42619 __atomic_feholdexcept, __atomic_feclearexcept,
42620 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
42621 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
42622 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
42623 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
42624 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
42625 here.
42626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42627 Update.
42628
42629 * manual/arith.texi (FP Exceptions): Document that exceptions may
42630 not be raised when matherr is used.
42631 (Math Error Reporting): Document overflow in directed rounding
42632 modes. Document that errno may not be set when finite values are
42633 returned on overflow. Document intent to set errno on underflow
42634 only for underflow to zero.
42635
42636 [BZ #16271]
42637 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
42638 round-to-nearest then adjust result for other rounding modes.
42639 * include/fenv.h (fegetround): Use libm_hidden_proto.
42640 * math/fegetround.c (fegetround): Use libm_hidden_def.
42641 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
42642 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
42643 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42644 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
42645 Likewise.
42646 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
42647 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42648 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
42649 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
42650
42651 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42652
42653 [BZ #16077]
42654 * nss/Versions (libnss_files): Add
42655 _nss_files_gethostbyname3_r.
42656 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
42657 New function.
42658 (HOST_DB_LOOKUP): Remove macro.
42659 (_nss_files_gethostbyname_r): Implement function without the
42660 HOST_DB_LOOKUP macro.
42661 (_nss_files_gethostbyname2_r): Likewise.
42662
42663 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
42664
42665 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
42666
42667 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
42668
42669 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
42670 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
42671 warning.
42672
42673 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42674
42675 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
42676 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
42677 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42678 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42679 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
42680 __fe_nomask_env_priv and attribute_hidden.
42681 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
42682 (libc_feupdateenv_test_ppc): Likewise.
42683 (libc_feresetround_ppc): Likewise.
42684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42685 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
42686 compat_symbol macro.
42687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42688 (__fe_nomask_env): Likewise.
42689 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
42690
42691 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42692
42693 * string/Makefile: Remove ifunc tests.
42694 * string/test-string.h: Define TEST_IFUNC.
42695 * string/test-bcopy-ifunc.c: Remove.
42696 * string/test-bzero-ifunc.c: Likewise.
42697 * string/test-memccpy-ifunc.c: Likewise.
42698 * string/test-memchr-ifunc.c: Likewise.
42699 * string/test-memcmp-ifunc.c: Likewise.
42700 * string/test-memcpy-ifunc.c: Likewise.
42701 * string/test-memmem-ifunc.c: Likewise.
42702 * string/test-memmove-ifunc.c: Likewise.
42703 * string/test-mempcpy-ifunc.c: Likewise.
42704 * string/test-memrchr-ifunc.c: Likewise.
42705 * string/test-memset-ifunc.c: Likewise.
42706 * string/test-rawmemchr-ifunc.c: Likewise.
42707 * string/test-stpcpy-ifunc.c: Likewise.
42708 * string/test-stpncpy-ifunc.c: Likewise.
42709 * string/test-strcasecmp-ifunc.c: Likewise.
42710 * string/test-strcasestr-ifunc.c: Likewise.
42711 * string/test-strcat-ifunc.c: Likewise.
42712 * string/test-strchr-ifunc.c: Likewise.
42713 * string/test-strchrnul-ifunc.c: Likewise.
42714 * string/test-strcmp-ifunc.c: Likewise.
42715 * string/test-strcpy-ifunc.c: Likewise.
42716 * string/test-strcspn-ifunc.c: Likewise.
42717 * string/test-strlen-ifunc.c: Likewise.
42718 * string/test-strncasecmp-ifunc.c: Likewise.
42719 * string/test-strncat-ifunc.c: Likewise.
42720 * string/test-strncmp-ifunc.c: Likewise.
42721 * string/test-strncpy-ifunc.c: Likewise.
42722 * string/test-strnlen-ifunc.c: Likewise.
42723 * string/test-strpbrk-ifunc.c: Likewise.
42724 * string/test-strrchr-ifunc.c: Likewise.
42725 * string/test-strspn-ifunc.c: Likewise.
42726 * string/test-strstr-ifunc.c: Likewise.
42727
42728 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42729
42730 * benchtests/Makefile: Remove ifunc tests.
42731 * benchtests/bench-string.h: Define TEST_IFUNC.
42732 * benchtests/bench-bcopy-ifunc.c: Remove.
42733 * benchtests/bench-bzero-ifunc.c: Likewise.
42734 * benchtests/bench-memccpy-ifunc.c: Likewise.
42735 * benchtests/bench-memchr-ifunc.c: Likewise.
42736 * benchtests/bench-memcmp-ifunc.c: Likewise.
42737 * benchtests/bench-memcpy-ifunc.c: Likewise.
42738 * benchtests/bench-memmem-ifunc.c: Likewise.
42739 * benchtests/bench-memmove-ifunc.c: Likewise.
42740 * benchtests/bench-mempcpy-ifunc.c: Likewise.
42741 * benchtests/bench-memrchr-ifunc.c: Likewise.
42742 * benchtests/bench-memset-ifunc.c: Likewise.
42743 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
42744 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
42745 * benchtests/bench-stpcpy-ifunc.c: Likewise.
42746 * benchtests/bench-stpncpy-ifunc.c: Likewise.
42747 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
42748 * benchtests/bench-strcasestr-ifunc.c: Likewise.
42749 * benchtests/bench-strcat-ifunc.c: Likewise.
42750 * benchtests/bench-strchr-ifunc.c: Likewise.
42751 * benchtests/bench-strchrnul-ifunc.c: Likewise.
42752 * benchtests/bench-strcmp-ifunc.c: Likewise.
42753 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
42754 * benchtests/bench-strcpy-ifunc.c: Likewise.
42755 * benchtests/bench-strcspn-ifunc.c: Likewise.
42756 * benchtests/bench-strlen-ifunc.c: Likewise.
42757 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
42758 * benchtests/bench-strncat-ifunc.c: Likewise.
42759 * benchtests/bench-strncmp-ifunc.c: Likewise.
42760 * benchtests/bench-strncpy-ifunc.c: Likewise.
42761 * benchtests/bench-strnlen-ifunc.c: Likewise.
42762 * benchtests/bench-strpbrk-ifunc.c: Likewise.
42763 * benchtests/bench-strrchr-ifunc.c: Likewise.
42764 * benchtests/bench-strsep-ifunc.c: Likewise.
42765 * benchtests/bench-strspn-ifunc.c: Likewise.
42766 * benchtests/bench-strstr-ifunc.c: Likewise.
42767
42768 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42769
42770 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
42771
42772 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
42773
42774 * resolv/netdb.h: Use __glibc_reserved instead __unused.
42775 * rt/aio.h: Likewise.
42776 * sysdeps/gnu/bits/utmp.h: Likewise.
42777 * sysdeps/gnu/bits/utmpx.h: Likewise.
42778 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
42779 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
42780 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
42781 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
42782 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
42783 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
42784 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
42785 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
42786 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
42787 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
42788 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
42789 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
42790 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
42791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
42792 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42793 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
42794 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
42795 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
42796 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
42797 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
42798 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
42799 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
42800 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
42801 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42802 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
42803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42804 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
42805 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
42806 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
42807 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
42808 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
42809 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
42810 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
42811 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42812 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
42813 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
42814 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
42815 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
42816 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
42817 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
42818 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
42819 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42820
42821 2013-11-25 Carlos O'Donell <carlos@redhat.com>
42822
42823 [BZ #16245]
42824 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
42825 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
42826
42827 2013-11-25 Joseph Myers <joseph@codesourcery.com>
42828
42829 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
42830 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
42831 Likewise.
42832
42833 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42834
42835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
42836 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
42837 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
42838 (__fesetround): Remove define.
42839 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
42840 rounding and exceptions handling.
42841 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
42842 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
42843 (__fe_nomask_env): Likewise.
42844 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
42845 __fegetround instead of fegetround.
42846 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42847 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
42848
42849 2013-11-21 Roland McGrath <roland@hack.frob.com>
42850
42851 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
42852 it's there.
42853
42854 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
42855
42856 2013-11-21 Meador Inge <meadori@codesourcery.com>
42857
42858 [BZ #11157]
42859 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
42860 (encrypt_r): Likewise.
42861 * malloc/obstack.h (obstack_free): Likewise.
42862 * posix/unistd.h (encrypt): Likewise.
42863
42864 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
42865
42866 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
42867 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
42868 DL_CALL_DT_FINI() that call the functions directly.
42869 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
42870 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
42871 * elf/dl-fini.c: Likewise.
42872
42873 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
42874
42875 * malloc/hooks.c (memalign_check): Add alignment rounding.
42876 * malloc/malloc.c (_mid_memalign): New function.
42877 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
42878 Implement by calling _mid_memalign.
42879 * manual/probes.texi (Memory Allocation Probes): Remove
42880 memory_valloc_retry and memory_pvalloc_retry.
42881
42882 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
42883
42884 * locale/programs/locarchive.c (open_archive): Add const
42885 qualifier to ARCHIVEFNAME and copy default fname to
42886 DEFAULT_FNAME.
42887
42888 [BZ #15601]
42889 * libio/tst-widetext.input: Rename Oriya to Odia.
42890 * locale/iso-639.def: Likewise.
42891
42892 * manual/probes.texi (Mathematical Function Probes): Add
42893 documentation for sin, cos, asin and acos probes.
42894 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
42895 (__sin32): Add slowasin probe.
42896 (__cos32): Add slowacos probe.
42897 (__mpsin): Add slowsin probe.
42898 (__mpcos): Add slowcos probe.
42899
42900 2013-11-19 Joseph Myers <joseph@codesourcery.com>
42901
42902 [BZ #15483]
42903 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
42904 thread-local __sim_exceptions_thread and global
42905 __sim_exceptions_global.
42906 (__sim_disabled_exceptions): Change to thread-local
42907 __sim_disabled_exceptions_thread and global
42908 __sim_disabled_exceptions_global.
42909 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42910 and global __sim_round_mode_global.
42911 (__simulate_exceptions): Use thread-local floating-point state and
42912 set global state from it as needed.
42913 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
42914 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
42915 __sim_round_mode_thread.
42916 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
42917 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
42918 and global __sim_exceptions_global.
42919 (__sim_disabled_exceptions): Change to thread-local
42920 __sim_disabled_exceptions_thread and global
42921 __sim_disabled_exceptions_global.
42922 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
42923 and global __sim_round_mode_global.
42924 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
42925 (SIM_SET_GLOBAL): Likewise.
42926 * sysdeps/powerpc/soft-fp/sfp-machine.h
42927 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
42928 __sim_round_mode_thread.
42929 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
42930 __sim_disabled_exceptions_thread.
42931 (__sim_exceptions): Change to __sim_exceptions_thread.
42932 (__sim_disabled_exceptions): Change to
42933 __sim_disabled_exceptions_thread.
42934 (__sim_round_mode): Change to __sim_round_mode_thread.
42935 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
42936 thread-local floating-point state and set global state from it as
42937 needed.
42938 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
42939 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
42940 (__sim_disabled_exceptions): Remove extern declaration.
42941 (feenableexcept): Use thread-local floating-point state and set
42942 global state from it as needed.
42943 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
42944 extern declaration.
42945 (__sim_disabled_exceptions): Likewise.
42946 (__sim_round_mode): Likewise.
42947 (__fegetenv): Use thread-local floating-point state.
42948 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
42949 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
42950 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
42951 floating-point state and set global state from it as needed.
42952 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
42953 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
42954 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
42955 Likewise.
42956 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
42957 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
42958 Likewise.
42959 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
42960 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
42961 Use __sim_round_mode_thread.
42962 * math/test-fenv-tls.c: New file.
42963 * math/Makefile (tests): Add test-fenv-tls.
42964 ($(objpfx)test-fenv-tls): Depend on
42965 $(common-objpfx)nptl/libpthread.so.
42966
42967 2013-11-19 Andreas Schwab <schwab@suse.de>
42968
42969 * locale/programs/locale.c (show_info): Decode wordarray elements.
42970 * locale/categories.def (LC_MONETARY): Add element for
42971 _NL_MONETARY_CRNCYSTR.
42972 * locale/C-monetary.c (conversion_rate): New variable.
42973 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
42974 element.
42975
42976 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
42977
42978 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
42979 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
42980
42981 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42982
42983 * elf/Makefile (tst-auxv): New test.
42984 * elf/tst-auxv.c: New
42985 * elf/rtld.c (dl_main): Adjust AT_EXECFN
42986
42987 2013-11-18 Joseph Myers <joseph@codesourcery.com>
42988
42989 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
42990 (hidden_proto): Caller changed.
42991 (hidden_tls_proto): New macro.
42992 (libc_hidden_tls_proto): Likewise.
42993 (rtld_hidden_tls_proto): Likewise.
42994 (libm_hidden_tls_proto): Likewise.
42995 (libresolv_hidden_tls_proto): Likewise.
42996 (librt_hidden_tls_proto): Likewise.
42997 (libdl_hidden_tls_proto): Likewise.
42998 (libnss_files_hidden_tls_proto): Likewise.
42999 (libnsl_hidden_tls_proto): Likewise.
43000 (libnss_nisplus_hidden_tls_proto): Likewise.
43001 (libutil_hidden_tls_proto): Likewise.
43002
43003 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
43004
43005 [BZ #10253]
43006 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43007 (decompose_rpath): Defer expansion to fillin_rpath.
43008 (_dl_init_paths): Pass linkmap to fillin_rpath.
43009
43010 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43011
43012 * benchtests/Makefile: Add strsep.
43013 * benchtests/bench-strsep.c: New file: strsep benchtest.
43014 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43015
43016 2013-11-18 Andreas Schwab <schwab@suse.de>
43017
43018 * locale/programs/locale.c (show_info) [case byte]: Check for
43019 '\377' instead of '\177'.
43020 * locale/C-monetary.c (not_available): Always use "\377".
43021 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43022 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
43023 detect unavailable sign_posn locale elements.
43024 * locale/localeconv.c (__localeconv): For grouping and
43025 mon_grouping handle "\177" and "\377" like no grouping.
43026 (INT_ELEM): New macro. Use it to set all numeric members.
43027 * locale/programs/ld-monetary.c (monetary_read)
43028 <tok_mon_grouping>: Normalize single -1 to the empty string.
43029 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43030 Likewise.
43031
43032 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
43033
43034 [BZ #16055]
43035 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43036 when we match (nil).
43037 * stdio-common/tst-sscanf.c (struct test): Add testcase.
43038
43039 2013-11-16 Joseph Myers <joseph@codesourcery.com>
43040
43041 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43042 (NO_TEST_INLINE): Update value.
43043 (ERRNO_UNCHANGED): Likewise.
43044 (ERRNO_EDOM): Likewise.
43045 (ERRNO_ERANGE): Likewise.
43046 (IGNORE_RESULT): Likewise.
43047 (check_float_internal): Check signs of NaN results if
43048 TEST_NAN_SIGN used.
43049 (check_complex): Pass TEST_NAN_SIGN flag through to second
43050 check_float_internal call.
43051 (copysign_test_data): Add tests with quiet NaNs as second
43052 argument. Use TEST_NAN_SIGN.
43053 (fabs_test_data): Add test of negative quiet NaN argument. Use
43054 TEST_NAN_SIGN.
43055 (signbit_test_data): Add tests of quiet NaN argument.
43056 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43057
43058 * math/gen-libm-test.pl (show_exceptions): Take extra argument
43059 $ignore_result.
43060 (parse_args): Handle function results specified as IGNORE.
43061 * math/libm-test.inc (IGNORE_RESULT): New macro.
43062 (check_float_internal): Do not check numerical result if flag
43063 IGNORE_RESULT set.
43064 (check_complex): Pass through IGNORE_RESULT to second
43065 check_float_internal call.
43066 (check_int): Do not check numerical result if flag IGNORE_RESULT
43067 set.
43068 (check_long): Likewise.
43069 (check_bool): Likewise.
43070 (check_longlong): Likewise.
43071 (lrint_test_data): Add tests of infinite and NaN arguments.
43072 (lrint_tonearest_test_data): Likewise.
43073 (lrint_towardzero_test_data): Likewise.
43074 (lrint_downward_test_data): Likewise.
43075 (lrint_upward_test_data): Likewise.
43076 (llrint_test_data): Likewise.
43077 (llrint_tonearest_test_data): Likewise.
43078 (llrint_towardzero_test_data): Likewise.
43079 (llrint_downward_test_data): Likewise.
43080 (llrint_upward_test_data): Likewise.
43081 (lround_test_data): Likewise.
43082 (llround_test_data): Likewise.
43083
43084 * math/libm-test.inc (NO_TEST_INLINE): New macro.
43085 (ERRNO_UNCHANGED): Update value.
43086 (ERRNO_EDOM): Likewise.
43087 (ERRNO_ERANGE): Likewise.
43088 (NO_TEST_INLINE_FLOAT): New macro.
43089 (NO_TEST_INLINE_DOUBLE): Likewise.
43090 (enable_test): New function.
43091 (RUN_TEST_f_f): Check enable_test before running test.
43092 (RUN_TEST_2_f): Likewise.
43093 (RUN_TEST_fff_f): Likewise.
43094 (RUN_TEST_c_f): Likewise.
43095 (RUN_TEST_f_f1): Likewise.
43096 (RUN_TEST_fF_f1): Likewise.
43097 (RUN_TEST_fI_f1): Likewise.
43098 (RUN_TEST_ffI_f1): Likewise.
43099 (RUN_TEST_c_c): Likewise.
43100 (RUN_TEST_cc_c): Likewise.
43101 (RUN_TEST_f_i): Likewise.
43102 (RUN_TEST_f_i_tg): Likewise.
43103 (RUN_TEST_ff_i_tg): Likewise.
43104 (RUN_TEST_f_b): Likewise.
43105 (RUN_TEST_f_b_tg): Likewise.
43106 (RUN_TEST_f_l): Likewise.
43107 (RUN_TEST_f_L): Likewise.
43108 (RUN_TEST_fFF_11): Likewise.
43109 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43110 conditionals.
43111 (cosh_test_data): Likewise.
43112 (exp_test_data): Likewise.
43113 (expm1_test_data): Likewise.
43114 (hypot_test_data): Likewise.
43115 (pow_test_data): Likewise.
43116 (sinh_test_data): Likewise.
43117 (tanh_test_data): Likewise.
43118 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43119 flags argument.
43120
43121 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43122 tests with quiet NaN input and output.
43123 (acosh_test_data): Likewise.
43124 (asin_test_data): Likewise.
43125 (asinh_test_data): Likewise.
43126 (atan_test_data): Likewise.
43127 (atanh_test_data): Likewise.
43128 (atan2_test_data): Likewise.
43129 (cbrt_test_data): Likewise.
43130 (cos_test_data): Likewise.
43131 (cosh_test_data): Likewise.
43132 (erf_test_data): Likewise.
43133 (erfc_test_data): Likewise.
43134 (exp_test_data): Likewise.
43135 (exp10_test_data): Likewise.
43136 (exp2_test_data): Likewise.
43137 (expm1_test_data): Likewise.
43138 (hypot_test_data): Likewise.
43139 (j0_test_data): Likewise.
43140 (j1_test_data): Likewise.
43141 (jn_test_data): Likewise.
43142 (lgamma_test_data): Likewise.
43143 (log_test_data): Likewise.
43144 (log10_test_data): Likewise.
43145 (log1p_test_data): Likewise.
43146 (log2_test_data): Likewise.
43147 (pow_test_data): Likewise.
43148 (scalb_test_data): Likewise.
43149 (sin_test_data): Likewise.
43150 (sincos_test_data): Likewise.
43151 (sinh_test_data): Likewise.
43152 (tan_test_data): Likewise.
43153 (tanh_test_data): Likewise.
43154 (tgamma_test_data): Likewise.
43155 (y0_test_data): Likewise.
43156 (y1_test_data): Likewise.
43157 (yn_test_data): Likewise.
43158
43159 [BZ #16167]
43160 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43161 argument being NaN and avoid computations with second argument in
43162 that case.
43163 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43164 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43165 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43166
43167 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
43168
43169 * locale/iso-639.def: Add Chitwani Tharu (the).
43170
43171 2013-11-14 Andreas Schwab <schwab@suse.de>
43172
43173 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43174 word instead of empty string.
43175
43176 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43177
43178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43179 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43181 (__fe_nomask_env): Likewise.
43182
43183 2013-11-13 Steve Ellcey <sellcey@mips.com>
43184
43185 * benchtests/bench-timing.h: Include time.h.
43186
43187 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
43188
43189 [BZ #15997]
43190 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43191 to 3.4.0 for x32.
43192 * sysdeps/unix/sysv/linux/configure: Regenerated.
43193
43194 2013-11-13 Joseph Myers <joseph@codesourcery.com>
43195
43196 [BZ #16151]
43197 * stdlib/strtod_l.c (round_and_return): Do not consider
43198 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43199 exponent one less than half the least subnormal exponent.
43200 * stdlib/test-strtod-round-data: Add more tests.
43201 * stdlib/tst-strtod-round.c (tests): Regenerated.
43202
43203 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43204
43205 [BZ #14143]
43206 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43207 (__fe_mask_env): Likewise.
43208 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43209 libm_hidden_proto and add function prototype.
43210 (__fe_mask_env): Add function prototype.
43211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43212 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43214 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43216 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43217
43218 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43219
43220 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43221 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43222
43223 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43224
43225 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43226 of htab_find_slot().
43227
43228 2013-11-11 David S. Miller <davem@davemloft.net>
43229
43230 [BZ #16150]
43231 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43232 symbol in the non-vis3 case in static builds.
43233 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43234 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43235 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43236 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43237
43238 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
43239
43240 [BZ #387]
43241 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43242 it is empty.
43243
43244 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43245
43246 * benchtests/Makefile: Add bench-strtod.
43247 * benchtests/bench-strtod.c: New file: strtod benchtest
43248
43249 2013-11-11 Andreas Schwab <schwab@suse.de>
43250
43251 [BZ #16153]
43252 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43253 terminating NUL in key length.
43254
43255 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43256
43257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43258 Add artificial ODP entry for vDSO symbol for PPC64.
43259 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43260 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43261
43262 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
43263
43264 [BZ #15374]
43265 * nss/getent.c (services_keys): Recognize services starting with digit.
43266
43267 2013-11-06 David S. Miller <davem@davemloft.net>
43268
43269 [BZ #15985]
43270 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43271 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43272
43273 2013-11-06 Will Newton <will.newton@linaro.org>
43274
43275 * manual/memory.texi (Malloc Examples): Remove register
43276 keyword from examples.
43277
43278 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
43279
43280 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43281
43282 2013-11-04 Joseph Myers <joseph@codesourcery.com>
43283
43284 [BZ #6981]
43285 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43286 depending on [__GCC_IEC_559 > 0].
43287 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43288 depending on [__GCC_IEC_559_COMPLEX > 0].
43289
43290 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
43291
43292 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43293 to iso-639.def.
43294
43295 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
43296
43297 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43298
43299 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
43300
43301 [BZ #16112]
43302 * malloc/malloc (malloc_info): Do not handle first bin as
43303 special case.
43304
43305 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
43306
43307 * locale/iso-639.def: Add Central Nahuatl (nhn).
43308
43309 2013-11-01 Bruno Haible <bruno@clisp.org>
43310
43311 [BZ #7003]
43312 * manual/math.texi (BSD Random): Specify range upper bound as
43313 in POSIX.
43314
43315 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
43316
43317 * locale/iso-639.def: Add Meadow Mari (mhr).
43318
43319 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
43320
43321 [BZ #14752], [BZ #15763]
43322 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43323 Validate name.
43324 * rt/tst_shm.c: Add test for escaping directory.
43325
43326 2013-10-31 Andreas Schwab <schwab@suse.de>
43327
43328 [BZ #15917]
43329 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43330 followed by 'x' as part of digit sequence.
43331 * stdio-common/tst-sscanf.c (double_tests2): New tests.
43332
43333 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43334
43335 [BZ #16037]
43336 * configure.ac: allow GNU Make 4.0 and greater.
43337 * configure: Regenerated.
43338
43339 2013-10-30 Will Newton <will.newton@linaro.org>
43340
43341 [BZ #16038]
43342 * malloc/hooks.c (memalign_check): Limit alignment to the
43343 maximum representable power of two.
43344 * malloc/malloc.c (__libc_memalign): Likewise.
43345 * malloc/tst-memalign.c (do_test): Add test for very
43346 large alignment values.
43347 * malloc/tst-posix_memalign.c (do_test): Likewise.
43348
43349 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
43350
43351 [BZ #11087]
43352 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43353 (munmap_chunk): Likewise.
43354 (mremap_chunk): Likewise.
43355
43356 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
43357
43358 [BZ #15799]
43359 * stdlib/div.c (div): Remove obsolete code.
43360 * stdlib/ldiv.c (ldiv): Likewise.
43361 * stdlib/lldiv.c (lldiv): Likewise.
43362
43363 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43364
43365 [BZ #16071]
43366 * nss/nss_files/files-XXX.c (get_contents_ret): New
43367 enumerator.
43368 (get_contents): New function.
43369 (internal_getent): Use it. Expand size of LINEBUFLEN.
43370
43371 2013-10-30 Mike Frysinger <vapier@gentoo.org>
43372
43373 * configure.in: Moved to ...
43374 * configure.ac: ... here. Change reference to configure.in
43375 to configure.ac.
43376 * sysdeps/arm/preconfigure.ac: ... here.
43377 configure.in to configure.ac.
43378 * sysdeps/gnu/configure.in: Moved to ...
43379 * sysdeps/gnu/configure.ac: ... here.
43380 * sysdeps/i386/configure.in: Moved to ...
43381 * sysdeps/i386/configure.ac: ... here.
43382 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43383 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43384 * sysdeps/mach/configure.in: Moved to ...
43385 * sysdeps/mach/configure.ac: ... here.
43386 * sysdeps/mach/hurd/configure.in: Moved to ...
43387 * sysdeps/mach/hurd/configure.ac: ... here.
43388 * sysdeps/powerpc/configure.in: Moved to ...
43389 * sysdeps/powerpc/configure.ac: ... here.
43390 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43391 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43392 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43393 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43394 * sysdeps/s390/s390-32/configure.in: Moved to ...
43395 * sysdeps/s390/s390-32/configure.ac: ... here.
43396 * sysdeps/s390/s390-64/configure.in: Moved to ...
43397 * sysdeps/s390/s390-64/configure.ac: ... here.
43398 * sysdeps/sh/configure.in: Moved to ...
43399 * sysdeps/sh/configure.ac: ... here.
43400 * sysdeps/sparc/configure.in: Moved to ...
43401 * sysdeps/sparc/configure.ac: ... here.
43402 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43403 * sysdeps/unix/sysv/linux/configure.ac: ... here.
43404 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43405 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43406 * sysdeps/x86_64/configure.in: Moved to ...
43407 * sysdeps/x86_64/configure.ac: ... here.
43408 * sysdeps/x86_64/preconfigure.in: Moved to ...
43409 * sysdeps/x86_64/preconfigure.ac: ... here.
43410 * aclocal.m4: Change reference to configure.in to configure.ac.
43411 * config.h.in: Likewise.
43412 * manual/install.texi: Likewise.
43413 * manual/maint.texi: Likewise.
43414 * Makefile: Likewise.
43415 * malloc/Makefile: Likewise.
43416 * nscd/Makefile: Likewise.
43417 * Makeconfig: Change reference to configure.in and
43418 preconfigure.in to configure.ac and preconfigure.ac
43419 respectively.
43420 * INSTALL: Regenerated.
43421 * configure: Likewise.
43422 * sysdeps/gnu/configure: Likewise.
43423 * sysdeps/i386/configure: Likewise.
43424 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43425 * sysdeps/mach/configure: Likewise.
43426 * sysdeps/mach/hurd/configure: Likewise.
43427 * sysdeps/powerpc/configure: Likewise.
43428 * sysdeps/powerpc/powerpc32/configure: Likewise.
43429 * sysdeps/powerpc/powerpc64/configure: Likewise.
43430 * sysdeps/s390/s390-32/configure: Likewise.
43431 * sysdeps/s390/s390-64/configure: Likewise.
43432 * sysdeps/sh/configure: Likewise.
43433 * sysdeps/sparc/configure: Likewise.
43434 * sysdeps/unix/sysv/linux/configure: Likewise.
43435 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43436 * sysdeps/x86_64/configure: Likewise.
43437 * sysdeps/x86_64/preconfigure: Likewise.
43438
43439 2013-10-29 Andreas Schwab <schwab@suse.de>
43440
43441 * stdio-common/Makefile (tst-swscanf-ENV): Define.
43442
43443 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43444
43445 * benchtests/pow-inputs: Add new inputs.
43446
43447 * benchtests/exp-inputs: Add new inputs.
43448
43449 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
43450 conditional check for return value.
43451 (__cos32): Likewise.
43452
43453 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43454
43455 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
43456 to provide a boost for large inputs with word alignment.
43457 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
43458 implementation based on optimized PPC64 strcpy.
43459 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
43460 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
43461 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
43462 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
43463
43464 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43465
43466 [BZ #2801]
43467 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
43468
43469 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43470
43471 [BZ #14876]
43472 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
43473 * time/tst-strptime.c (day_tests): Add testcase.
43474
43475 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
43476
43477 [BZ #14029]
43478 * manual/pattern.texi: Acknowledge that fnmatch can fail.
43479
43480 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
43481
43482 [BZ #16074]
43483 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
43484 MAP_FAILED on error.
43485
43486 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43487
43488 [BZ #16072]
43489 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
43490 heap for large requests.
43491
43492 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
43493
43494 [BZ #9954]
43495 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
43496 result if the result has no associated interface.
43497 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
43498 interface for all 127.X.Y.Z addresses.
43499
43500 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
43501
43502 * locale/iso-639.def: Add Ligurian (lij)
43503
43504 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
43505
43506 [BZ #15825]
43507 * sunrpc/rpc_main.c: Document rpcgen -5.
43508
43509 2013-10-19 Michael Stahl <mstahl@redhat.com>
43510
43511 * elf/rtld.c (do_preload): Print the reason why preloading failed.
43512
43513 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43514
43515 [BZ #10278]
43516 * posix/glob.c: Match only directories when trailing slash is present.
43517 * posix/tst-gnuglob.c (my_opendir): Do not open files.
43518 (main): Add testcase.
43519
43520 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
43521
43522 [BZ #15670]
43523 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
43524
43525 2013-10-18 Carlos O'Donell <carlos@redhat.com>
43526
43527 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
43528 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
43529 AUTH_DES and cindex for FIPS 140-2.
43530 (DES Encryption): Add cindex FIPS 46-3.
43531
43532 * locale/locarchive.h (struct locarhandle): Add fname.
43533 * locale/programs/localedef.c (main): Pass ARGV[remaining]
43534 if an optional argument was specified to --list-archive,
43535 otherwise NULL.
43536 * locale/programs/locarchive.c (show_archive_content): Take new
43537 argument fname and pass it via ah.fname to open_archive.
43538 * locale/programs/localedef.h: Update decl.
43539 (open_archive): If AH->fname is non-null, open that file
43540 rather than the default file name, and don't ignore ENOENT.
43541 (create_archive): Set AH.fname to NULL.
43542 (delete_locales_from_archive): Likewise.
43543 (add_locales_to_archive): Likewise.
43544 * locale/programs/locfile.c (write_all_categories): Likewise.
43545
43546 2013-10-18 Joseph Myers <joseph@codesourcery.com>
43547 Aldy Hernandez <aldyh@redhat.com>
43548
43549 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
43550 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
43551 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
43552 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
43553 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
43554 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
43555 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
43556 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
43557 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
43558 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
43559 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
43560 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
43561 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
43562 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
43563 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
43564 Likewise.
43565 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
43566 Likewise.
43567 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
43568 Likewise.
43569 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
43570 Likewise.
43571 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
43572 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
43573 Likewise.
43574 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
43575 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
43576 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
43577 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
43578 Likewise.
43579 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
43580 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
43581 * sysdeps/powerpc/preconfigure: Likewise.
43582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
43583 Likewise.
43584 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
43585 Replace contents of file by #include of <fenv_libc.h>.
43586 * sysdeps/powerpc/soft-fp/sfp-machine.h
43587 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
43588 and <sys/prctl.h>.
43589 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
43590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
43591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
43592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
43593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
43594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
43595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
43596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
43597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
43598 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
43599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
43600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
43601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43602 Allow copysignl PLT reference to be missing.
43603
43604 2013-10-18 Richard Sandiford <richard@codesourcery.com>
43605 Joseph Myers <joseph@codesourcery.com
43606
43607 [BZ #15948]
43608 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
43609 single character.
43610 (add_to_tablewc): Assert sequence of wide characters is nonempty.
43611
43612 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
43613
43614 * elf/tst-tls-dlinfo.c: Don't include tls.h.
43615 * elf/tst-tls1.c: Likewise.
43616 * elf/tst-tls10.h: Likewise.
43617 * elf/tst-tls14.c: Likewise.
43618 * elf/tst-tls2.c: Likewise.
43619 * elf/tst-tls3.c: Likewise.
43620 * elf/tst-tls4.c: Likewise.
43621 * elf/tst-tls5.c: Likewise.
43622 * elf/tst-tls6.c: Likewise.
43623 * elf/tst-tls7.c: Likewise.
43624 * elf/tst-tls8.c: Likewise.
43625 * elf/tst-tls9.c: Likewise.
43626 * elf/tst-tlsmod1.c: Likewise.
43627 * elf/tst-tlsmod13.c: Likewise.
43628 * elf/tst-tlsmod13a.c: Likewise.
43629 * elf/tst-tlsmod14a.c: Likewise.
43630 * elf/tst-tlsmod16a.c: Likewise.
43631 * elf/tst-tlsmod16b.c: Likewise.
43632 * elf/tst-tlsmod2.c: Likewise.
43633 * elf/tst-tlsmod3.c: Likewise.
43634 * elf/tst-tlsmod4.c: Likewise.
43635 * elf/tst-tlsmod5.c: Likewise.
43636 * elf/tst-tlsmod6.c: Likewise.
43637
43638 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
43639
43640 [BZ #12486]
43641 * malloc/malloc.c: remove checks for statistics.
43642
43643 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43644
43645 [BZ #15277]
43646 * inet/inet_net.c (inet_network): Detect additional invalid strings.
43647 * inet/tst-network.c: Add testcase.
43648
43649 2013-10-17 Andreas Schwab <schwab@suse.de>
43650
43651 [BZ #15218]
43652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
43653 to determine canonical name.
43654
43655 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
43656
43657 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
43658 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
43659 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43660 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43662 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43663 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43664 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43665 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43666 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43667 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43668 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43669 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43670 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43671 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43672 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43674 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43675 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43676 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43678 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
43681 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
43682 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43684 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
43685 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43686 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
43687 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43688 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43689 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43690 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43691 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43692 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43693 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43694 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43695 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43696 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43697 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43698 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43699 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43700 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43701 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43702 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43703 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43704 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43705 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43706 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43707 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43708 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43709 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43710 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43711 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43712 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43714 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43715
43716 2013-10-17 Joseph Myers <joseph@codesourcery.com>
43717
43718 [BZ #16041]
43719 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
43720 make result into a quiet NaN.
43721
43722 2013-10-16 Joseph Myers <joseph@codesourcery.com>
43723
43724 * soft-fp/adddf3.c: Fix horizontal whitespace.
43725 * soft-fp/addsf3.c: Likewise.
43726 * soft-fp/addtf3.c: Likewise.
43727 * soft-fp/divdf3.c: Likewise.
43728 * soft-fp/divsf3.c: Likewise.
43729 * soft-fp/divtf3.c: Likewise.
43730 * soft-fp/double.h: Likewise.
43731 * soft-fp/eqdf2.c: Likewise.
43732 * soft-fp/eqsf2.c: Likewise.
43733 * soft-fp/eqtf2.c: Likewise.
43734 * soft-fp/extenddftf2.c: Likewise.
43735 * soft-fp/extended.h: Likewise.
43736 * soft-fp/extendsfdf2.c: Likewise.
43737 * soft-fp/extendsftf2.c: Likewise.
43738 * soft-fp/extendxftf2.c: Likewise.
43739 * soft-fp/fixdfdi.c: Likewise.
43740 * soft-fp/fixdfsi.c: Likewise.
43741 * soft-fp/fixdfti.c: Likewise.
43742 * soft-fp/fixsfdi.c: Likewise.
43743 * soft-fp/fixsfsi.c: Likewise.
43744 * soft-fp/fixsfti.c: Likewise.
43745 * soft-fp/fixtfdi.c: Likewise.
43746 * soft-fp/fixtfsi.c: Likewise.
43747 * soft-fp/fixtfti.c: Likewise.
43748 * soft-fp/fixunsdfdi.c: Likewise.
43749 * soft-fp/fixunsdfsi.c: Likewise.
43750 * soft-fp/fixunsdfti.c: Likewise.
43751 * soft-fp/fixunssfdi.c: Likewise.
43752 * soft-fp/fixunssfsi.c: Likewise.
43753 * soft-fp/fixunssfti.c: Likewise.
43754 * soft-fp/fixunstfdi.c: Likewise.
43755 * soft-fp/fixunstfsi.c: Likewise.
43756 * soft-fp/fixunstfti.c: Likewise.
43757 * soft-fp/floatdidf.c: Likewise.
43758 * soft-fp/floatdisf.c: Likewise.
43759 * soft-fp/floatditf.c: Likewise.
43760 * soft-fp/floatsidf.c: Likewise.
43761 * soft-fp/floatsisf.c: Likewise.
43762 * soft-fp/floatsitf.c: Likewise.
43763 * soft-fp/floattidf.c: Likewise.
43764 * soft-fp/floattisf.c: Likewise.
43765 * soft-fp/floattitf.c: Likewise.
43766 * soft-fp/floatundidf.c: Likewise.
43767 * soft-fp/floatundisf.c: Likewise.
43768 * soft-fp/floatunditf.c: Likewise.
43769 * soft-fp/floatunsidf.c: Likewise.
43770 * soft-fp/floatunsisf.c: Likewise.
43771 * soft-fp/floatunsitf.c: Likewise.
43772 * soft-fp/floatuntidf.c: Likewise.
43773 * soft-fp/floatuntisf.c: Likewise.
43774 * soft-fp/floatuntitf.c: Likewise.
43775 * soft-fp/fmadf4.c: Likewise.
43776 * soft-fp/fmasf4.c: Likewise.
43777 * soft-fp/fmatf4.c: Likewise.
43778 * soft-fp/gedf2.c: Likewise.
43779 * soft-fp/gesf2.c: Likewise.
43780 * soft-fp/getf2.c: Likewise.
43781 * soft-fp/ledf2.c: Likewise.
43782 * soft-fp/lesf2.c: Likewise.
43783 * soft-fp/letf2.c: Likewise.
43784 * soft-fp/muldf3.c: Likewise.
43785 * soft-fp/mulsf3.c: Likewise.
43786 * soft-fp/multf3.c: Likewise.
43787 * soft-fp/negdf2.c: Likewise.
43788 * soft-fp/negsf2.c: Likewise.
43789 * soft-fp/negtf2.c: Likewise.
43790 * soft-fp/op-1.h: Likewise.
43791 * soft-fp/op-2.h: Likewise.
43792 * soft-fp/op-4.h: Likewise.
43793 * soft-fp/op-8.h: Likewise.
43794 * soft-fp/op-common.h: Likewise.
43795 * soft-fp/quad.h: Likewise.
43796 * soft-fp/single.h: Likewise.
43797 * soft-fp/soft-fp.h: Likewise.
43798 * soft-fp/sqrtdf2.c: Likewise.
43799 * soft-fp/sqrtsf2.c: Likewise.
43800 * soft-fp/sqrttf2.c: Likewise.
43801 * soft-fp/subdf3.c: Likewise.
43802 * soft-fp/subsf3.c: Likewise.
43803 * soft-fp/subtf3.c: Likewise.
43804 * soft-fp/truncdfsf2.c: Likewise.
43805 * soft-fp/trunctfdf2.c: Likewise.
43806 * soft-fp/trunctfsf2.c: Likewise.
43807 * soft-fp/trunctfxf2.c: Likewise.
43808 * soft-fp/unorddf2.c: Likewise.
43809 * soft-fp/unordsf2.c: Likewise.
43810 * soft-fp/unordtf2.c: Likewise.
43811
43812 2013-10-15 Joseph Myers <joseph@codesourcery.com>
43813
43814 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
43815 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
43816
43817 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
43818
43819 * elf/dl-libc.c: Clear initfini list after freeing.
43820
43821 2013-10-14 Joseph Myers <joseph@codesourcery.com>
43822
43823 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
43824 * soft-fp/addsf3.c: Likewise.
43825 * soft-fp/addtf3.c: Likewise.
43826 * soft-fp/divdf3.c: Likewise.
43827 * soft-fp/divsf3.c: Likewise.
43828 * soft-fp/divtf3.c: Likewise.
43829 * soft-fp/double.h: Likewise.
43830 * soft-fp/eqdf2.c: Likewise.
43831 * soft-fp/eqsf2.c: Likewise.
43832 * soft-fp/eqtf2.c: Likewise.
43833 * soft-fp/extenddftf2.c: Likewise.
43834 * soft-fp/extended.h: Likewise.
43835 * soft-fp/extendsfdf2.c: Likewise.
43836 * soft-fp/extendsftf2.c: Likewise.
43837 * soft-fp/extendxftf2.c: Likewise.
43838 * soft-fp/fixdfdi.c: Likewise.
43839 * soft-fp/fixdfsi.c: Likewise.
43840 * soft-fp/fixdfti.c: Likewise.
43841 * soft-fp/fixsfdi.c: Likewise.
43842 * soft-fp/fixsfsi.c: Likewise.
43843 * soft-fp/fixsfti.c: Likewise.
43844 * soft-fp/fixtfdi.c: Likewise.
43845 * soft-fp/fixtfsi.c: Likewise.
43846 * soft-fp/fixtfti.c: Likewise.
43847 * soft-fp/fixunsdfdi.c: Likewise.
43848 * soft-fp/fixunsdfsi.c: Likewise.
43849 * soft-fp/fixunsdfti.c: Likewise.
43850 * soft-fp/fixunssfdi.c: Likewise.
43851 * soft-fp/fixunssfsi.c: Likewise.
43852 * soft-fp/fixunssfti.c: Likewise.
43853 * soft-fp/fixunstfdi.c: Likewise.
43854 * soft-fp/fixunstfsi.c: Likewise.
43855 * soft-fp/fixunstfti.c: Likewise.
43856 * soft-fp/floatdidf.c: Likewise.
43857 * soft-fp/floatdisf.c: Likewise.
43858 * soft-fp/floatditf.c: Likewise.
43859 * soft-fp/floatsidf.c: Likewise.
43860 * soft-fp/floatsisf.c: Likewise.
43861 * soft-fp/floatsitf.c: Likewise.
43862 * soft-fp/floattidf.c: Likewise.
43863 * soft-fp/floattisf.c: Likewise.
43864 * soft-fp/floattitf.c: Likewise.
43865 * soft-fp/floatundidf.c: Likewise.
43866 * soft-fp/floatundisf.c: Likewise.
43867 * soft-fp/floatunsidf.c: Likewise.
43868 * soft-fp/floatunsisf.c: Likewise.
43869 * soft-fp/floatuntidf.c: Likewise.
43870 * soft-fp/floatuntisf.c: Likewise.
43871 * soft-fp/floatuntitf.c: Likewise.
43872 * soft-fp/fmadf4.c: Likewise.
43873 * soft-fp/fmasf4.c: Likewise.
43874 * soft-fp/fmatf4.c: Likewise.
43875 * soft-fp/gedf2.c: Likewise.
43876 * soft-fp/gesf2.c: Likewise.
43877 * soft-fp/getf2.c: Likewise.
43878 * soft-fp/ledf2.c: Likewise.
43879 * soft-fp/lesf2.c: Likewise.
43880 * soft-fp/letf2.c: Likewise.
43881 * soft-fp/muldf3.c: Likewise.
43882 * soft-fp/mulsf3.c: Likewise.
43883 * soft-fp/multf3.c: Likewise.
43884 * soft-fp/negdf2.c: Likewise.
43885 * soft-fp/negsf2.c: Likewise.
43886 * soft-fp/negtf2.c: Likewise.
43887 * soft-fp/op-1.h: Likewise.
43888 * soft-fp/op-2.h: Likewise.
43889 * soft-fp/op-4.h: Likewise.
43890 * soft-fp/op-8.h: Likewise.
43891 * soft-fp/op-common.h: Likewise.
43892 * soft-fp/quad.h: Likewise.
43893 * soft-fp/single.h: Likewise.
43894 * soft-fp/soft-fp.h: Likewise.
43895 * soft-fp/sqrtdf2.c: Likewise.
43896 * soft-fp/sqrtsf2.c: Likewise.
43897 * soft-fp/sqrttf2.c: Likewise.
43898 * soft-fp/subdf3.c: Likewise.
43899 * soft-fp/subsf3.c: Likewise.
43900 * soft-fp/subtf3.c: Likewise.
43901 * soft-fp/truncdfsf2.c: Likewise.
43902 * soft-fp/trunctfdf2.c: Likewise.
43903 * soft-fp/trunctfsf2.c: Likewise.
43904 * soft-fp/trunctfxf2.c: Likewise.
43905 * soft-fp/unorddf2.c: Likewise.
43906 * soft-fp/unordsf2.c: Likewise.
43907 * soft-fp/unordtf2.c: Likewise.
43908
43909 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
43910
43911 [BZ #15672]
43912 * misc/error.c (error_tail): Fix possible buffer overflow.
43913
43914 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
43915
43916 [BZ #13028]
43917 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
43918 address.
43919
43920 2013-10-14 P. J. McDermott <pj@pehjota.net>
43921
43922 [BZ #832]
43923 * elf/ldd.bash.in (try_trace): New function. Delete previous code
43924 testing pipefail option.
43925
43926 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43927
43928 * soft-fp/double.h: Indent preprocessor directives inside #if.
43929 * soft-fp/extended.h: Likewise.
43930 * soft-fp/op-2.h: Likewise.
43931 * soft-fp/op-4.h: Likewise.
43932 * soft-fp/op-common.h: Likewise.
43933 * soft-fp/quad.h: Likewise.
43934 * soft-fp/single.h: Likewise.
43935 * soft-fp/soft-fp.h: Likewise.
43936
43937 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
43938
43939 * iconv/iconv_prog.c: Fix typos.
43940 * stdio-common/psiginfo-data.h: Likewise.
43941
43942 2013-10-12 Reuben Thomas <rrt@sc3d.org>
43943
43944 [BZ #15764]
43945 * locale/setlocale.c: Fix typo.
43946
43947 2013-10-12 Joseph Myers <joseph@codesourcery.com>
43948
43949 [BZ #16036]
43950 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
43951 signaling NaN arguments.
43952 * soft-fp/unordsf2.c (__unordsf2): Likewise.
43953 * soft-fp/unordtf2.c (__unordtf2): Likewise.
43954
43955 [BZ #14910]
43956 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
43957 unordered operands.
43958 * soft-fp/gesf2.c (__gesf2): Likewise.
43959 * soft-fp/getf2.c (__getf2): Likewise.
43960 * soft-fp/ledf2.c (__ledf2): Likewise.
43961 * soft-fp/lesf2.c (__lesf2): Likewise.
43962 * soft-fp/letf2.c (__letf2): Likewise.
43963
43964 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
43965 * soft-fp/eqsf2.c (__eqsf2): Likewise.
43966 * soft-fp/eqtf2.c (__eqtf2): Likewise.
43967 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
43968 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
43969 * soft-fp/fixdfti.c (__fixdfti): Likewise.
43970 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
43971 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
43972 * soft-fp/fixsfti.c (__fixsfti): Likewise.
43973 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
43974 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
43975 * soft-fp/fixtfti.c (__fixtfti): Likewise.
43976 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
43977 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
43978 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
43979 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
43980 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
43981 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
43982 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
43983 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
43984 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
43985 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
43986 * soft-fp/floatdisf.c (__floatdisf): Likewise.
43987 * soft-fp/floatsisf.c (__floatsisf): Likewise.
43988 * soft-fp/floattidf.c (__floattidf): Likewise.
43989 * soft-fp/floattisf.c (__floattisf): Likewise.
43990 * soft-fp/floattitf.c (__floattitf): Likewise.
43991 * soft-fp/floatundidf.c (__floatundidf): Likewise.
43992 * soft-fp/floatundisf.c (__floatundisf): Likewise.
43993 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
43994 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
43995 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
43996 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
43997 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
43998 * soft-fp/gesf2.c (__gesf2): Likewise.
43999 * soft-fp/getf2.c (__getf2): Likewise.
44000 * soft-fp/ledf2.c (__ledf2): Likewise.
44001 * soft-fp/lesf2.c (__lesf2): Likewise.
44002 * soft-fp/letf2.c (__letf2): Likewise.
44003
44004 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44005 Undefine and redefine.
44006 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44007 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44008 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44009 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44010 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44011 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44012 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44013 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44014 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44015 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44016 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44017 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44018 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44019 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44020 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44021
44022 [BZ #16032]
44023 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44024 without decrementing exponent if mantissa >= that for the
44025 denominator, not >.
44026 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44027 denominator, not >. Decrement exponent in < case instead of
44028 incrementing in >= case.
44029 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44030 without decrementing exponent if mantissa >= that for the
44031 denominator, not >.
44032
44033 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44034 computing saturated result for unsigned overflow.
44035
44036 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
44037 Jeff Law <law@redhat.com>
44038
44039 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44040 (atan2Mp): Add systemtap probe marker.
44041 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44042 (__ieee754_log): Add systemtap probe marker.
44043 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44044 (atanMp): Add systemtap probe marker.
44045 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44046 (tanMp): Add systemtap probe marker.
44047 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44048 (__slowexp): Add systemtap probe marker.
44049 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44050 (__slowpow): Add systemtap probe marker.
44051 * manual/probes.texi: Document probes.
44052
44053 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
44054
44055 [BZ #15362]
44056 * libio/fileops.c (_IO_new_file_write): Return count of bytes
44057 written.
44058 (_IO_new_file_xsputn): Don't return EOF if nothing has been
44059 written.
44060 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44061 written to buffer but not flushed.
44062 * libio/iofwrite_u.c: Likewise.
44063 * libio/iopadn.c: Return bytes returned even if EOF was
44064 encountered.
44065 * libio/iowpadn.c: Likewise.
44066 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44067 if _IO_padn does not write the whole buffer.
44068 [!COMPILE_WPRINTF] (PAD): Likewise.
44069
44070 2013-10-10 David S. Miller <davem@davemloft.net>
44071
44072 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44073 directory block.
44074
44075 2013-10-10 Joseph Myers <joseph@codesourcery.com>
44076
44077 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
44078 instead of FSF address.
44079 * soft-fp/fixdfti.c: Likewise.
44080 * soft-fp/fixsfti.c: Likewise.
44081 * soft-fp/fixtfti.c: Likewise.
44082 * soft-fp/fixunsdfti.c: Likewise.
44083 * soft-fp/fixunssfti.c: Likewise.
44084 * soft-fp/fixunstfti.c: Likewise.
44085 * soft-fp/floattidf.c: Likewise.
44086 * soft-fp/floattisf.c: Likewise.
44087 * soft-fp/floattitf.c: Likewise.
44088 * soft-fp/floatuntidf.c: Likewise.
44089 * soft-fp/floatuntisf.c: Likewise.
44090 * soft-fp/floatuntitf.c: Likewise.
44091 * soft-fp/trunctfxf2.c: Likewise.
44092
44093 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
44094 * soft-fp/fixdfti.c: Likewise.
44095 * soft-fp/fixsfti.c: Likewise.
44096 * soft-fp/fixtfti.c: Likewise.
44097 * soft-fp/fixunsdfti.c: Likewise.
44098 * soft-fp/fixunssfti.c: Likewise.
44099 * soft-fp/fixunstfti.c: Likewise.
44100 * soft-fp/floattidf.c: Likewise.
44101 * soft-fp/floattisf.c: Likewise.
44102 * soft-fp/floattitf.c: Likewise.
44103 * soft-fp/floatuntidf.c: Likewise.
44104 * soft-fp/floatuntisf.c: Likewise.
44105 * soft-fp/floatuntitf.c: Likewise.
44106 * soft-fp/trunctfxf2.c: Likewise.
44107
44108 2013-10-10 David S. Miller <davem@davemloft.net>
44109
44110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44111
44112 2013-10-10 Joseph Myers <joseph@codsourcery.com>
44113
44114 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44115 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44116 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44117 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44118 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44119 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44120 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44121
44122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44123 for NaNs before doing comparisons on argument.
44124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44125 Likewise.
44126
44127 2013-10-10 Will Newton <will.newton@linaro.org>
44128
44129 * malloc/hooks.c (memalign_check): Ensure the value of bytes
44130 passed to _int_memalign does not overflow.
44131
44132 2013-10-10 Torvald Riegel <triegel@redhat.com>
44133
44134 * scripts/bench.pl: Add include-sources directive.
44135 * benchtests/README: Update documentation.
44136
44137 2013-10-10 Joseph Myers <joseph@codesourcery.com>
44138
44139 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44140 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44141 instead of FP_INIT_ROUNDMODE.
44142 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44143 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44144
44145 [BZ #16034]
44146 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
44147 copy class of input value.
44148 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
44149 not handle exceptions.
44150 * soft-fp/negsf2.c (__negsf2): Likewise.
44151 * soft-fp/negtf2.c (__negtf2): Likewise.
44152 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44153
44154 2013-10-09 Joseph Myers <joseph@codesourcery.com>
44155
44156 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44157 semicolon. From Linux kernel.
44158
44159 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
44160
44161 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44162
44163 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
44164
44165 [BZ #156]
44166 * manual/socket.texi: Added statement about buffer
44167 for gethostbyname2_r.
44168
44169 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
44170
44171 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44172 Use .p2align directive instead, throughout.
44173 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44174 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44175 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44176 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44177 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44178 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44179 * sysdeps/x86_64/strchr.S: Likewise.
44180 * sysdeps/x86_64/strrchr.S: Likewise.
44181
44182 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
44183
44184 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44185
44186 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44187
44188 * sysdeps/generic/math_private.h (__mpsin1): Remove
44189 declaration.
44190 (__mpcos1): Likewise.
44191 (__mpsin): New argument __range_reduce.
44192 (__mpcos): Likewise.
44193 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44194 (slow): Use __mpsin and __mpcos.
44195 (slow1): Likewise.
44196 (slow2): Likewise.
44197 (sloww): Likewise.
44198 (sloww1): Likewise.
44199 (sloww2): Likewise.
44200 (bsloww): Likewise.
44201 (bsloww1): Likewise.
44202 (bsloww2): Likewise.
44203 (cslow2): Likewise.
44204 (csloww): Likewise.
44205 (csloww1): Likewise.
44206 (csloww2): Likewise.
44207 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44208 range_reduce. Merge in __mpsin1.
44209 (__mpcos): Likewise.
44210 (__mpsin1): Remove.
44211 (__mpcos1): Likewise.
44212
44213 2013-10-07 Joseph Myers <joseph@codesourcery.com>
44214
44215 * locale/loadlocale.c (_nl_intern_locale_data): Use
44216 LOCFILE_ALIGNED_P.
44217 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44218 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44219 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44220 obstack data is appropriately aligned.
44221 (obstack_int32_grow_fast): Likewise.
44222 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44223 * locale/programs/locfile.c (add_locale_uint32): Likewise.
44224 (add_locale_uint32_array): Likewise.
44225
44226 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
44227
44228 * benchtests/Makefile: Remove ARGLIST and RET variables.
44229 ($(objpfx)bench-%.c): Pass only function name to the script.
44230 * benchtests/README: Update documentation.
44231 * benchtests/acos-inputs: Add new directives.
44232 * benchtests/acosh-inputs: Likewise.
44233 * benchtests/asin-inputs: Likewise.
44234 * benchtests/asinh-inputs: Likewise.
44235 * benchtests/atan-inputs: Likewise.
44236 * benchtests/atanh-inputs: Likewise.
44237 * benchtests/cos-inputs: Likewise.
44238 * benchtests/cosh-inputs: Likewise.
44239 * benchtests/exp-inputs: Likewise.
44240 * benchtests/log-inputs: Likewise.
44241 * benchtests/pow-inputs: Likewise.
44242 * benchtests/rint-inputs: Likewise.
44243 * benchtests/sin-inputs: Likewise.
44244 * benchtests/sinh-inputs: Likewise.
44245 * benchtests/tan-inputs: Likewise.
44246 * benchtests/tanh-inputs: Likewise.
44247 * scripts/bench.pl: Add support for new directives.
44248
44249 2013-10-07 Alan Modra <amodra@gmail.com>
44250
44251 * README: Fix careless merge.
44252
44253 2013-10-05 Alan Modra <amodra@gmail.com>
44254
44255 * NEWS: Mention powerpc64le support and bugs fixed.
44256 * README: Both big-endian and little-endian powerpc64 supported.
44257
44258 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
44259
44260 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44261 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44262 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44263 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44264
44265 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
44266
44267 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44268 match prototype.
44269
44270 2013-10-04 Joseph Myers <joseph@codesourcery.com>
44271
44272 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44273 Move -mhard-float appending from
44274 ports/sysdeps/powerpc/powerpc32/Makefile.
44275 [$(with-fp) = yes] (ASFLAGS): Likewise.
44276 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44277 * sysdeps/powerpc/nofpu: Move directory from
44278 ports/sysdeps/powerpc/nofpu.
44279 * sysdeps/powerpc/soft-fp: Move directory from
44280 ports/sysdeps/powerpc/soft-fp.
44281 * sysdeps/powerpc/powerpc32/405: Move directory from
44282 ports/sysdeps/powerpc/powerpc32/405.
44283 * sysdeps/powerpc/powerpc32/440: Move directory from
44284 ports/sysdeps/powerpc/powerpc32/440.
44285 * sysdeps/powerpc/powerpc32/464: Move directory from
44286 ports/sysdeps/powerpc/powerpc32/464.
44287 * sysdeps/powerpc/powerpc32/476: Move directory from
44288 ports/sysdeps/powerpc/powerpc32/476.
44289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44292 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44294 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44296 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44298 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44299 * README: Update for powerpc-*-linux-gnu software floating point
44300 support in libc.
44301
44302 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44303 case to powerpc/powerpc32*.
44304 * sysdeps/unix/sysv/linux/configure: Regenerated.
44305
44306 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44307 (_FPU_MASK_OM): Define as 0x04.
44308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44309 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44310 0x00c10080.
44311 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44312 0x0000003c.
44313 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44314
44315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44316 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44317 getcontext_e500.
44318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44319 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44320 setcontext_e500.
44321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44322 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44323 and setcontext_e500.
44324
44325 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
44326
44327 * locale/iso-3166.def: Update iso-1366.def and related occurrences
44328
44329 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44330
44331 * manual/threads.texi (Default Thread Attributes): Fix typo.
44332
44333 2013-10-04 Will Newton <will.newton@linaro.org>
44334
44335 * malloc/Makefile: Add tst-memalign.
44336 * malloc/tst-memalign.c: New file.
44337
44338 * malloc/tst-posix_memalign.c: Add comments.
44339 (do_test): Add comments and call free on all potentially
44340 allocated pointers. Add space after cast.
44341
44342 * malloc/tst-pvalloc.c: Add comments.
44343 (do_test): Add comments and call free on all potentially
44344 allocated pointers. Remove duplicate check for NULL pointer.
44345 Add space after cast.
44346
44347 * malloc/tst-valloc.c: Add comments.
44348 (do_test): Add comments and call free on all potentially
44349 allocated pointers. Remove duplicate check for NULL pointer.
44350 Add space after cast.
44351
44352 2013-10-04 Alan Modra <amodra@gmail.com>
44353
44354 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44355 Use stdint types in rather than __attribute__((mode())).
44356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44357
44358 2013-10-04 Alan Modra <amodra@gmail.com>
44359
44360 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44361 Correct handling of unaligned relocs for little-endian.
44362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44363
44364 2013-10-04 Alan Modra <amodra@gmail.com>
44365
44366 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44367 * configure: Regenerate.
44368 * nptl/shlib-versions: Powerpc*le starts at 2.18.
44369 * shlib-versions: Likewise.
44370
44371 2013-10-04 Alan Modra <amodra@gmail.com>
44372
44373 * string/tester.c (test_memrchr): Increment reported test cycle.
44374
44375 2013-10-04 Alan Modra <amodra@gmail.com>
44376
44377 * string/test-memcpy.c (do_one_test): When reporting errors, print
44378 string address and don't overrun end of string.
44379
44380 2013-10-04 Alan Modra <amodra@gmail.com>
44381
44382 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44383 insrdi. Make better use of reg selection to speed exit slightly.
44384 Schedule entry path a little better. Remove useless "are we done"
44385 checks on entry to main loop. Handle wrapping around zero address.
44386 Correct main loop count. Handle single left-over word from main
44387 loop inline rather than by using loop_small. Remove extra word
44388 case in loop_small caused by wrong loop count. Add little-endian
44389 support.
44390 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44391 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
44392 cache hint.
44393 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44394 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44395 support. Avoid rlwimi.
44396 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44397
44398 2013-10-04 Alan Modra <amodra@gmail.com>
44399
44400 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44401 insrdi. Formatting.
44402 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44403 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44404 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44405 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44406 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44407 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44408
44409 2013-10-04 Alan Modra <amodra@gmail.com>
44410
44411 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44413 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44414 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44415 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44416 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44417 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44418 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44419 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
44420 use of regs. Use power7 mtocrf. Tidy function tails.
44421
44422 2013-10-04 Alan Modra <amodra@gmail.com>
44423
44424 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44425 Formatting. Consistently use rXXX register defines or rN defines.
44426 Use early exit labels that avoid restoring unused non-volatile regs.
44427 Make cr field use more consistent with rWORDn compares. Rename
44428 regs used as shift registers for unaligned loop, using rN defines
44429 for short lifetime/multiple use regs.
44430 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44431 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
44432 addi 1,1,64 to pop stack frame. Simplify return value code.
44433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44434
44435 2013-10-04 Alan Modra <amodra@gmail.com>
44436
44437 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44438 support. Correct typos, formatting. Optimize tail. Use insrdi
44439 rather than rlwimi.
44440 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44441 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44442 little-endian support. Correct typos.
44443 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
44444 rather than rlwimi.
44445 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
44446 in loop and entry code to keep "and." results.
44447 (strchr): Add little-endian support. Comment. Move cntlzd
44448 earlier in tail.
44449 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
44450
44451 2013-10-04 Alan Modra <amodra@gmail.com>
44452
44453 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
44454 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
44455 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
44456 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
44457
44458 2013-10-04 Alan Modra <amodra@gmail.com>
44459
44460 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
44461 (rTMP): Define as r11.
44462 (strcmp): Add little-endian support. Optimise tail.
44463 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
44464 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44465 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
44466 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
44468 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44469 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44470
44471 2013-10-04 Alan Modra <amodra@gmail.com>
44472
44473 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
44474 little-endian support. Remove unnecessary "are we done" tests.
44475 Handle "s" wrapping around zero and extremely large "size".
44476 Correct main loop count. Handle single left-over word from main
44477 loop inline rather than by using small_loop. Correct comments.
44478 Delete "zero" tail, use "end_max" instead.
44479 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
44480
44481 2013-10-04 Alan Modra <amodra@gmail.com>
44482
44483 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
44484 support. Don't branch over align.
44485 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
44486 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
44487 support. Rearrange tmp reg use to suit. Comment.
44488 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
44489
44490 2013-10-04 Alan Modra <amodra@gmail.com>
44491
44492 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
44493
44494 2013-10-04 Alan Modra <amodra@gmail.com>
44495
44496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
44497 conditional form of branch and link when obtaining pc.
44498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
44499
44500 2013-10-04 Alan Modra <amodra@gmail.com>
44501
44502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
44503 HIWORD/LOWORD.
44504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
44505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
44506
44507 2013-10-04 Alan Modra <amodra@gmail.com>
44508
44509 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
44510 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
44511 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
44512 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
44513 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
44514 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
44515 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
44516 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
44517 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
44518 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
44519
44520 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44521 Alistair Popple <alistair@ozlabs.au.ibm.com>
44522 Alan Modra <amodra@gmail.com>
44523
44524 [BZ #15723]
44525 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
44526 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
44527 _dl_hwcap access for little-endian.
44528 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
44529 destroy vmx regs when saving unaligned.
44530 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
44531 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
44532 destroy vmx regs when saving unaligned.
44533
44534 2013-10-04 Alan Modra <amodra@gmail.com>
44535
44536 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44537 Don't use a union to pack hi/low value.
44538
44539 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44540
44541 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
44542 for little-endian.
44543 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44544 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
44545 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44546 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44547 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44548
44549 2013-10-04 Alan Modra <amodra@gmail.com>
44550
44551 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
44552 constants to usual value for .cst8 section, and remove redundant
44553 high address load.
44554 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
44555 constant for 0x1p52. Load little-endian words of double from
44556 correct stack offsets.
44557
44558 2013-10-04 Alan Modra <amodra@gmail.com>
44559
44560 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
44561 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
44562 words of double from correct stack offsets.
44563 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
44564 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
44565 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44566 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44568 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44569 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44570 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
44571 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
44572 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44573 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44574 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44575 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
44576 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44577 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
44578 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
44579 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
44580
44581 2013-10-04 Alan Modra <amodra@gmail.com>
44582
44583 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
44584 64-bit int/double union.
44585 (_FPU_SETCW): Likewise.
44586 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
44587 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
44588
44589 2013-10-04 Alan Modra <amodra@gmail.com>
44590
44591 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
44592 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
44593
44594 2013-10-04 Alan Modra <amodra@gmail.com>
44595
44596 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
44597 use vector int constants.
44598 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
44599
44600 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44601
44602 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
44603 array with long long.
44604 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
44605 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
44606 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
44607 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
44608 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
44609 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
44610 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
44611 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
44612 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
44613 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
44614 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
44615 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
44616 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
44617
44618 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
44619
44620 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
44621 (__signbit): Likewise. Correct for little-endian.
44622 (__signbitl): Call __signbit.
44623 (lrint): Correct for little-endian.
44624 (lrintf): Call lrint.
44625
44626 2013-10-04 Alan Modra <amodra@gmail.com>
44627
44628 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
44629 union 32-bit int array member with 64-bit int array.
44630 (t515, tm256): Double rather than long double.
44631 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44632
44633 2013-10-04 Alan Modra <amodra@gmail.com>
44634
44635 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
44636 Delete.
44637 (IEEE854_LONG_DOUBLE_BIAS): Delete.
44638 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
44639 version of math_ldbl.h.
44640
44641 2013-10-04 Alan Modra <amodra@gmail.com>
44642
44643 [BZ #15734], [BZ #15735]
44644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
44645 all uses of ieee875 long double macros and unions. Simplify test
44646 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
44647 ldbl_extract_mantissa value for ix,iy exponents. Properly
44648 normalize after ldbl_extract_mantissa, and don't add hidden bit
44649 already handled. Don't treat low word of ieee854 mantissa like
44650 low word of IBM long double and mask off bit when testing for
44651 zero.
44652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
44653 all uses of ieee875 long double macros and unions. Simplify tests
44654 for 0.0L and inf. Correct double adjustment of k. Delete dead code
44655 adjusting ha,hb. Simplify code setting kld. Delete two600 and
44656 two1022, instead use their values. Recognise that tests for large
44657 "a" and small "b" are mutually exclusive. Rename vars. Comment.
44658 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
44659 Rewrite all uses of ieee875 long double macros and unions. Simplify
44660 test for 0.0L and nan. Correct negation.
44661 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
44662 ieee875 long double macros and unions. Correct output for large
44663 magnitude x. Correct absolute value calculation.
44664 (__erfcl): Likewise.
44665 * math/libm-test.inc: Add tests for errors discovered in IBM long
44666 double versions of fmodl, remainderl, erfl and erfcl.
44667
44668 2013-10-04 Alan Modra <amodra@gmail.com>
44669
44670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
44671 all uses of ieee854 long double macros and unions. Simplify tests
44672 for long doubles that are fully specified by the high double.
44673 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
44674 Likewise.
44675 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
44676 Remove dead code too.
44677 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
44678 (__ieee754_ynl): Likewise.
44679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
44680 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
44681 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
44682 Remove dead code too.
44683 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44684 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
44685 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
44686 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
44687 Simplify.
44688 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
44689 Simplify.
44690 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
44691 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
44692 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
44693 Comment on variable precision.
44694 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
44695 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44696 Likewise.
44697 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
44698 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44699 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44700 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
44701 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
44702
44703 2013-10-04 Alan Modra <amodra@gmail.com>
44704
44705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
44706 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
44707 all uses of ieee854 long double macros and unions.
44708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
44709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44710 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
44711 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
44712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
44713 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
44714 Likewise.
44715 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
44716 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44717 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
44718 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
44720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
44721 Simplify sign and nan test too.
44722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
44723 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
44724 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
44725 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
44726 Likewise.
44727 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
44728 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
44729 Likewise.
44730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44731 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
44732 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
44733 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
44734 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
44735 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
44736
44737 2013-10-04 Alan Modra <amodra@gmail.com>
44738
44739 * stdio-common/printf_size.c (__printf_size): Don't use
44740 union ieee854_long_double in fpnum union.
44741 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
44742 signbit macro to retrieve sign from long double.
44743 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
44744 retrieve sign from long double.
44745 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
44746 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
44747 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
44748 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44749 * math/test-misc.c (main): Don't use union ieee854_long_double.
44750
44751 2013-10-04 Alan Modra <amodra@gmail.com>
44752
44753 [BZ #15680]
44754 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
44755 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
44756 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
44757 calculation. Remove unnecessary test for denormal exponent.
44758 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
44759 Correct handling of denormals. Avoid undefined shift behaviour.
44760 Correct normalisation of low mantissa when low double is denormal.
44761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
44762 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
44763 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
44764 Correct normalisation of low mantissa. Test for overflow of high
44765 mantissa and normalise.
44766 (ldbl_nearbyint): Use more readable constant for two52.
44767 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
44768 (__mpn_construct_long_double): Fix test for overflow of high
44769 mantissa and correct normalisation. Avoid undefined shift.
44770
44771 2013-10-04 Alan Modra <amodra@gmail.com>
44772
44773 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
44774 (union ibm_extended_long_double): Define as an array of ieee754_double.
44775 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
44776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
44777 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
44778 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44780 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
44781 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44782 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
44783 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44784 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
44785 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44786
44787 2013-10-03 Joseph Myers <joseph@codesourcery.com>
44788
44789 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
44790 page size instead of calling getpagesize.
44791
44792 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
44793 (LOCFILE_ALIGN_MASK): Likewise.
44794 (LOCFILE_ALIGN_UP): Likewise.
44795 (LOCFILE_ALIGNED_P): Likewise.
44796 * locale/programs/ld-collate.c (collate_output): Use the new
44797 macros instead of __alignof__ (int32_t).
44798 * locale/weight.h (findidx): Likewise.
44799
44800 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
44801
44802 [BZ #431]
44803 * manual/string.texi: Fix strncat and wcsncat.
44804
44805 2013-10-03 Brooks Moses <bmoses@google.com>
44806
44807 [BZ #15915]
44808 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
44809 * Makerules: ...here, and adjust associated comments.
44810
44811 2013-10-02 Will Newton <will.newton@linaro.org>
44812
44813 * malloc/Makefile: Add tst-pvalloc.
44814 * malloc/tst-pvalloc.c: New file.
44815
44816 2013-10-02 Will Newton <will.newton@linaro.org>
44817
44818 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
44819 improve test coverage.
44820
44821 2013-10-02 Will Newton <will.newton@linaro.org>
44822
44823 * malloc/Makefile: Add tst-posix_memalign.
44824 * malloc/tst-posix_memalign.c: New file.
44825
44826 2013-10-01 Eric Blake <eblake@redhat.com>
44827
44828 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
44829 Use __THROWNL rather than __THROW on static functions.
44830
44831 2013-09-30 Petr Machata <pmachata@redhat.com>
44832
44833 * elf/elf.h (R_AARCH64_ABS16): New macro.
44834 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
44835 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
44836 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
44837 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
44838 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
44839 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
44840 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
44841 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
44842 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
44843 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
44844 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
44845 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
44846 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
44847 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
44848 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
44849 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
44850 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
44851 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
44852 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
44853 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
44854 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
44855 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
44856 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
44857 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
44858 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
44859 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
44860 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
44861 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
44862 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
44863 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
44864 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
44865 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
44866 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
44867 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
44868 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
44869 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
44870 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
44871 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
44872 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
44873 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
44874 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
44875 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
44876 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
44877 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
44878 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
44879 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
44880 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
44881 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
44882 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
44883 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
44884 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
44885 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
44886 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
44887 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
44888 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
44889 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
44890 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
44891 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
44892 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
44893 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
44894 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
44895 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
44896 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
44897 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
44898 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
44899 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
44900 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
44901 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
44902 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
44903 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
44904 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
44905 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
44906 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
44907 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
44908 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
44909 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
44910 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
44911 (R_AARCH64_TLSDESC_LDR): Likewise.
44912 (R_AARCH64_TLSDESC_ADD): Likewise.
44913 (R_AARCH64_TLSDESC_CALL): Likewise.
44914
44915 2013-09-30 Andreas Schwab <schwab@suse.de>
44916
44917 [BZ #15048]
44918 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
44919 the nss database lookup.
44920 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44922
44923 2013-09-28 Mike Frysinger <vapier@gentoo.org>
44924
44925 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
44926
44927 2013-09-28 P. J. McDermott <pj@pehjota.net>
44928
44929 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
44930 ${Bash-specific parameter/pattern/string} parameter expansion.
44931 * sysdeps/unix/make-syscalls.sh: Likewise.
44932
44933 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44934
44935 * sysdeps/sh/stackguard-macros.h: New file.
44936
44937 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
44938
44939 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
44941 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
44942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
44943 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44944 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
44945
44946 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44947
44948 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
44949 Fix thread ID register.
44950
44951 2013-09-25 Joseph Myers <joseph@codesourcery.com>
44952
44953 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
44954 [POSIX || UNIX98]: Require rather than permitting all symbols from
44955 <time.h>.
44956 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
44957 element of struct sched_param.
44958 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
44959 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
44960 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
44961 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
44962 constant.
44963
44964 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
44965
44966 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
44967 argument calculation.
44968
44969 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44970
44971 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
44972 Expect macro.
44973 [POSIX] (pthread_attr_t): Do not require type.
44974 [POSIX] (pthread_cond_t): Likewise.
44975 [POSIX] (pthread_condattr_t): Likewise.
44976 [POSIX] (pthread_key_t): Likewise.
44977 [POSIX] (pthread_mutex_t): Likewise.
44978 [POSIX] (pthread_mutexattr_t): Likewise.
44979 [POSIX] (pthread_once_t): Likewise.
44980 [POSIX] (pthread_t): Likewise.
44981 [POSIX-based standards] (pthread_atfork): Expect function.
44982
44983 2013-09-24 Joseph Myers <joseph@codesourcery.com>
44984 Richard Sandiford <richard@codesourcery.com>
44985
44986 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
44987 (swap_endianness_p): New extern variable.
44988 (set_big_endian): New inline function.
44989 (maybe_swap_uint32): Likewise.
44990 (maybe_swap_uint32_array): Likewise.
44991 (maybe_swap_uint32_obstack): Likewise.
44992 * locale/programs/locfile.c: Include <stdbool.h>.
44993 (swap_endianness_p): New variable.
44994 (add_locale_uint32): Call maybe_swap_uint32.
44995 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
44996 (write_locale_data): Call maybe_swap_uint32_array.
44997 * locale/programs/ld-collate.c (obstack_int32_grow): Call
44998 maybe_swap_uint32.
44999 (obstack_int32_grow_fast): Likewise.
45000 (output_weightwc): Call maybe_swap_uint32_obstack.
45001 (collate_output): Likewise.
45002 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45003 (OPT_LITTLE_ENDIAN): Likewise.
45004 (options): Add --little-endian and --big-endian options.
45005 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45006 * locale/programs/locarchive.c: Include "locfile.h".
45007 (GET): New macro.
45008 (SET): Likewise.
45009 (INC): Likewise.
45010 (create_archive): Use the new macros to access fields of
45011 structures directly mapped from or written to locale archives.
45012 (oldlocrecentcmp): Likewise.
45013 (enlarge_archive): Likewise.
45014 (insert_name): Likewise.
45015 (add_alias): Likewise.
45016 (add_locale): Likewise.
45017 (delete_locales_from_archive): Likewise.
45018 (show_archive_content): Likewise.
45019 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
45020 locale data.
45021
45022 2013-09-24 Roland McGrath <roland@hack.frob.com>
45023
45024 * manual/freemanuals.texi: Updated from (newly) canonical copy at
45025 http://www.gnu.org/doc/freemanuals.texi.
45026 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45027
45028 2013-09-24 Will Newton <will.newton@linaro.org>
45029
45030 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45031 macro.
45032
45033 2013-09-23 Joseph Myers <joseph@codesourcery.com>
45034
45035 * locale/hashval.h (compute_hashval): Interpret bytes of key as
45036 unsigned char.
45037
45038 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
45039
45040 * manual/threads.texi (POSIX Threads): Fix a typo.
45041
45042 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
45043
45044 [BZ #14547]
45045 * string/tst-strcoll-overflow.c: New test case.
45046 * string/Makefile (xtests): Add tst-strcoll-overflow.
45047 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45048 cache if string sizes may cause integer overflow.
45049
45050 [BZ #14547]
45051 * string/strcoll_l.c (coll_seq): New members rule, idx,
45052 save_idx and back_us.
45053 (get_next_seq_nocache): New function.
45054 (do_compare_nocache): New function.
45055 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45056 when malloc fails.
45057
45058 2013-09-23 Carlos O'Donell <carlos@redhat.com>
45059
45060 [BZ #15754]
45061 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45062 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45063 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45064
45065 [BZ #15754]
45066 * elf/Makefile (tests): Add tst-ptrguard1.
45067 (tests-static): Add tst-ptrguard1-static.
45068 (tst-ptrguard1-ARGS): Define.
45069 (tst-ptrguard1-static-ARGS): Define.
45070 * elf/tst-ptrguard1.c: New file.
45071 * elf/tst-ptrguard1-static.c: New file.
45072 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45073 * sysdeps/i386/stackguard-macros.h: Likewise.
45074 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45075 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45076 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45077 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45078 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45079 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45080
45081 2013-09-23 Hector Marco <hecmargi@upv.es>
45082 Ismael Ripoll <iripoll@disca.upv.es>
45083 Carlos O'Donell <carlos@redhat.com>
45084
45085 [BZ #15754]
45086 * sysdeps/generic/stackguard-macros.h: Define
45087 __pointer_chk_guard_local and POINTER_CHK_GUARD.
45088 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45089 Define __pointer_chk_guard_local.
45090 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45091 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45092
45093 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
45094
45095 [BZ #15859]
45096 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45097
45098 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
45099
45100 * include/string.h (__ffs): Declare as hidden.
45101 * string/ffs.c (__ffs): Define as hidden.
45102 * sysdeps/i386/ffs.c (__ffs): Likewise.
45103 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45104 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45105 * sysdeps/s390/ffs.c (__ffs): Likewise.
45106 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45107
45108 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
45109
45110 * NEWS: Mention malloc probes.
45111
45112 * malloc/arena.c (new_heap): New memory_heap_new probe.
45113 (grow_heap): New memory_heap_more probe.
45114 (shrink_heap): New memory_heap_less probe.
45115 (heap_trim): New memory_heap_free probe.
45116 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45117 (systrim): New memory_sbrk_less probe.
45118 * manual/probes.texi: Document them.
45119
45120 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45121 * manual/probes.texi: Document it.
45122
45123 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45124 (__libc_realloc): Add memory_realloc_retry probe.
45125 (__libc_memalign): Add memory_memalign_retry probe.
45126 (__libc_valloc): Add memory_valloc_retry probe.
45127 (__libc_pvalloc): Add memory_pvalloc_retry probe.
45128 (__libc_calloc): Add memory_calloc_retry probe.
45129 * manual/probes.texi: Document them.
45130
45131 * malloc/arena.c (get_free_list): Add probe
45132 memory_arena_reuse_free_list.
45133 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45134 and memory_arena_reuse.
45135 (arena_get2) [!PER_THREAD]: Likewise.
45136 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45137 memory_arena_reuse_realloc.
45138 * manual/probes.texi: Document them.
45139
45140 * malloc/malloc.c (__libc_free): Add
45141 memory_mallopt_free_dyn_thresholds probe.
45142 (__libc_mallopt): Add multiple memory_mallopt probes.
45143 * manual/probes.texi: Document them.
45144
45145 * malloc/malloc.c: Include stap-probe.h.
45146 (__libc_mallopt): Add memory_mallopt probe.
45147 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45148 * manual/probes.texi: New.
45149 * manual/Makefile (chapters): Add probes.
45150 * manual/threads.texi: Set next node.
45151
45152 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
45153
45154 [BZ #15963, #13985]
45155 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45156 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45157 Add `Chinese' to `nan' entry name.
45158
45159 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45160
45161 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45162 (POLYNOMIAL): Likewise.
45163 (TAYLOR_SINCOS): Likewise.
45164 (TAYLOR_SLOW): Likewise.
45165 (__sin): Use TAYLOR_SINCOS.
45166 (__cos): Likewise.
45167 (slow): Use TAYLOR_SLOW.
45168 (sloww): Likewise.
45169 (bsloww): Likewise.
45170 (csloww): Likewise.
45171
45172 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45173
45174 * stdlib/strtod_l.c: Fix buffer overrun.
45175
45176 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
45177
45178 * benchtests/Makefile (bench): Add sincos.
45179 * benchtests/bench-sincos.c: New file.
45180
45181 * math/libm-test.inc (cos_test_data): New test inputs.
45182 (sin_test_data): Likewise.
45183
45184 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45185 macro.
45186 (__sin): Use it.
45187 (__cos): Likewise.
45188 (slow1): Likewise.
45189 (slow2): Likewise.
45190 (sloww1): Likewise.
45191 (sloww2): Likewise.
45192 (bsloww1): Likewise.
45193 (bsloww2): Likewise.
45194 (cslow2): Likewise.
45195 (csloww1): Likewise.
45196 (csloww2): Likewise.
45197
45198 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45199 function.
45200 (__sin): Use it.
45201 (__cos): Likewise.
45202
45203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45204 gotos.
45205 (__cos): Likewise.
45206
45207 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
45208
45209 * config.h.in (HAVE_MIPS_NAN2008): New macro.
45210 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45211 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45212 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45213 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45214 * elf/cache.c (print_entry): Handle the new cache flags.
45215
45216 2013-09-18 Joseph Myers <joseph@codesourcery.com>
45217 Aldy Hernandez <aldyh@redhat.com>
45218
45219 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45220 Change condition to [_SOFT_FLOAT].
45221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45233 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45236 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45237 declaration.
45238
45239 2013-09-18 Joseph Myers <joseph@codesourcery.com>
45240
45241 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45242 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45243 (__longjmp): Use LOAD_GP to load saved GPRs.
45244 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45245 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45246 (__sigsetjmp): Use SAVE_GP to save GPRs.
45247
45248 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45249 Do not append -msoft-float.
45250 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45251
45252 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45253
45254 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45255
45256 2013-09-17 Joseph Myers <joseph@codesourcery.com>
45257
45258 [BZ #15966]
45259 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45260 (_FPU_GETCW): Use initial "__" on variable and field names but not
45261 on macro parameter name.
45262 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
45263 parentheses around reference to macro parameter.
45264
45265 2013-09-13 Richard Sandiford <richard@codesourcery.com>
45266
45267 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45268 prototype.
45269 (ctype_startup): Use uint32_t in cast and sizeof for
45270 ctype->charnames.
45271
45272 2013-09-11 Jia Liu <proljc@gmail.com>
45273
45274 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45275 __daddr_t_defined.
45276 [__FreeBSD__]: Likewise.
45277
45278 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
45279
45280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45281 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45282 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45283 (strchr): Remove __strchr_sse42 ifunc selection.
45284 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45285 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45286
45287 2013-09-11 Will Newton <will.newton@linaro.org>
45288
45289 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45290 parameter to RES. Remove hardcoded 1000 value.
45291 * benchtests/bench-skeleton.c (main): Pass RES parameter
45292 to TIMING_INIT and multiply result by 1000.
45293
45294 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45295
45296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45297
45298 2013-09-11 Andreas Schwab <schwab@suse.de>
45299
45300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45301 if not defined.
45302 (O_TMPFILE) [__USE_GNU]: Define.
45303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45304 Define.
45305
45306 2013-09-11 Will Newton <will.newton@linaro.org>
45307
45308 [BZ #15857]
45309 * malloc/malloc.c (__libc_memalign): Check the value of bytes
45310 does not overflow.
45311
45312 2013-09-11 Will Newton <will.newton@linaro.org>
45313
45314 [BZ #15856]
45315 * malloc/malloc.c (__libc_valloc): Check the value of bytes
45316 does not overflow.
45317
45318 2013-09-11 Will Newton <will.newton@linaro.org>
45319
45320 [BZ #15855]
45321 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45322 does not overflow.
45323
45324 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
45325
45326 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45328 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45329 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45330 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45331
45332 2013-09-10 Allan McRae <allan@archlinux.org>
45333
45334 [BZ #15748]
45335 * manual/arith.texi (Parsing of Floats): Clarify
45336 cross-reference.
45337
45338 [BZ #15849]
45339 * manual/install.texi (Running make install): Mention
45340 --enable-pt-chown.
45341 * INSTALL: Regenerated.
45342
45343 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
45344
45345 * csu/init-first.c (_init): Remove the !SHARED condition around
45346 FPU control word initialization.
45347 * elf/dl-support.c (_dl_fpu_control): New variable.
45348 (_dl_aux_init) <AT_FPUCW>: Initialize it.
45349 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45350 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45351 * math/test-fpucw-static.c: New file.
45352 * math/test-fpucw-ieee.c: New file.
45353 * math/test-fpucw-ieee-static.c: New file.
45354 * math/Makefile (tests): Add `test-fpucw-ieee' and
45355 `$(tests-static)'.
45356 (tests-static): New variable.
45357 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45358 dependency to...
45359 [($(build-shared),yes)]
45360 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45361 ... this.
45362 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45363 New dependency.
45364
45365 2013-09-09 Allan McRae <allan@archlinux.org>
45366
45367 [BZ #15939]
45368 * manual/string.texi (Collation Functions): Fix typo in
45369 strcoll example.
45370 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45371
45372 [BZ #15893]
45373 * stdlib/isomac.c (get_null_defines): Fix memory leak.
45374
45375 [BZ #15892]
45376 * libio/memstream.c (open_memstream): Fix memory leak.
45377 * libio/wmemstream.c (open_wmemstream): Likewise.
45378
45379 [BZ #15895]
45380 * nscd/netgroupcache.c: Fix nesting of ifdefs.
45381
45382 2013-09-09 Will Newton <will.newton@linaro.org>
45383
45384 * malloc/Makefile: Add tst-realloc to tests.
45385 * malloc/tst-realloc.c: New file.
45386
45387 2013-09-09 Allan McRae <allan@archlinux.org>
45388
45389 [BZ #15844]
45390 * COPYING: Update from GNU website to fix FSF address.
45391 * COPYING.LIB: Likewise.
45392
45393 2013-09-06 David S. Miller <davem@davemloft.net>
45394
45395 * po/zh_TW.po: Update Chinese (traditional) translation from
45396 translation project.
45397
45398 2013-09-06 Richard Sandiford <richard@codesourcery.com>
45399 Joseph Myers <joseph@codesourcery.com>
45400
45401 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45402 "localeinfo.h".
45403 (obstack_chunk_alloc): New macro.
45404 (obstack_chunk_free): Likewise.
45405 (record_offset): New function.
45406 (init_locale_data): Likewise.
45407 (align_locale_data): Likewise.
45408 (add_locale_empty): Likewise.
45409 (add_locale_raw_data): Likewise.
45410 (add_locale_raw_obstack): Likewise.
45411 (add_locale_string): Likewise.
45412 (add_locale_wstring): Likewise.
45413 (add_locale_uint32): Likewise.
45414 (add_locale_uint32_array): Likewise.
45415 (add_locale_char): Likewise.
45416 (start_locale_structure): Likewise.
45417 (end_locale_structure): Likewise.
45418 (start_locale_prelude): Likewise.
45419 (end_locale_prelude): Likewise.
45420 (write_locale_data): Take locale_file structure rather than an
45421 iovec.
45422 * locale/programs/locfile.h: Include "obstack.h".
45423 (struct locale_file): Change to store locale file contents instead
45424 of header.
45425 (init_locale_data): New prototype.
45426 (align_locale_data): Likewise.
45427 (add_locale_empty): Likewise.
45428 (add_locale_raw_data): Likewise.
45429 (add_locale_raw_obstack): Likewise.
45430 (add_locale_string): Likewise.
45431 (add_locale_wstring): Likewise.
45432 (add_locale_uint32): Likewise.
45433 (add_locale_uint32_array): Likewise.
45434 (add_locale_char): Likewise.
45435 (start_locale_structure): Likewise.
45436 (end_locale_structure): Likewise.
45437 (start_locale_prelude): Likewise.
45438 (end_locale_prelude): Likewise.
45439 (write_locale_data): Update prototype.
45440 * locale/programs/3level.h (struct TABLE): Remove result field.
45441 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45442 Use new locale_file interface.
45443 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
45444 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
45445 * locale/programs/ld-address.c (address_output): Use new
45446 locale_file interface.
45447 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
45448 NO_ADD_LOCALE.
45449 (collate_finish): Don't call collseq_table_finalize.
45450 (collate_output): Use new locale_file interface.
45451 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
45452 in file.
45453 (NO_FINALIZE): Change to NO_ADD_LOCALE.
45454 (TABLE): Move defines earlier in file.
45455 (ELEMENT): Likewise.
45456 (DEFAULT): Likewise.
45457 (wctrans_table_add): Move macro and inline function earlier in
45458 file.
45459 (struct wctype_table): Move type earlier in file.
45460 (add_locale_wctype_table): New static prototype.
45461 (struct locale_ctype_t): Use logical types instead of struct iovec
45462 pointers for members.
45463 (ctype_output): Use new locale_file interface.
45464 (wctype_table_finalize): Change to add_locale_wctype_table. Use
45465 new locale_file interface.
45466 (allocate_arrays): Update for use of new locale_file interface.
45467 * locale/programs/ld-identification.c (identification_output): Use
45468 new locale_file interface.
45469 * locale/programs/ld-measurement.c (measurement_output): Likewise.
45470 * locale/programs/ld-messages.c (messages_output): Likewise.
45471 * locale/programs/ld-monetary.c (monetary_output): Likewise.
45472 * locale/programs/ld-name.c (name_output): Likewise.
45473 * locale/programs/ld-numeric.c (numeric_output): Likewise.
45474 * locale/programs/ld-paper.c (paper_output): Likewise.
45475 * locale/programs/ld-telephone.c (telephone_output): Likewise.
45476 * locale/programs/ld-time.c (time_output): Likewise.
45477
45478 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45479
45480 * benchtests/Makefile: Add memrchr benchmark.
45481 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
45482 benchmark as memrchr.
45483 * benchtests/bench-memrchr-ifunc.c: New file.
45484 * benchtests/bench-memrchr.c: New file.
45485
45486 2013-09-06 Will Newton <will.newton@linaro.org>
45487
45488 * benchtests/Makefile (string-bench): Add memcpy.
45489
45490 2013-09-05 Carlos O'Donell <carlos@redhat.com>
45491 Cong Wang <amwang@redhat.com>
45492
45493 [BZ #15850]
45494 * sysdeps/unix/sysv/linux/bits/in.h
45495 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
45496 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
45497 before __USE_KERNEL_IPV6_DEFS uses.
45498 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
45499 IPPROTO_BEETPH.
45500 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
45501 sockaddr_in6, or ipv6_mreq.
45502
45503 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45504
45505 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
45506 memory access for final bytes in some large inputs.
45507 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
45508
45509 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45510
45511 * string/test-memrchr.c: New file.
45512 * string/test-memrchr-ifunc.c: New file.
45513 * string/Makefile: Add new memrchr testcase.
45514
45515 2013-09-05 Mike Frysinger <vapier@gentoo.org>
45516
45517 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
45518 fanotify_init returns EPERM.
45519
45520 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45521
45522 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
45523 errors.
45524 (top level): Treat second token from macro or constant entries for
45525 allowed headers as allowed.
45526 * include/complex.h: Condition internal declarations on
45527 [!_ISOMAC].
45528 * include/fenv.h: Condition include of <stdbool.h> and internal
45529 declarations on [!_ISOMAC].
45530
45531 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
45532
45533 [BZ #15923]
45534 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
45535
45536 2013-09-04 Joseph Myers <joseph@codesourcery.com>
45537
45538 * configure.in (--enable-versioning): Remove configure option.
45539 (libc_cv_asm_symver_directive): Remove configure test.
45540 (libc_cv_ld_version_script_option): Likewise.
45541 (VERSIONING): Remove variable and AC_SUBST.
45542 (DO_VERSIONING): Remove AC_DEFINE.
45543 * configure: Regenerated.
45544 * config.h.in (DO_VERSIONING): Remove macro.
45545 * Makerules [$(versioning) = yes]: Change conditionals to
45546 [$(build-shared) = yes].
45547 * config.make.in (versioning): Remove variable.
45548 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
45549 [$(build-shared) = yes].
45550 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
45551 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
45552 * elf/Makefile [$(versioning) = yes]: Change conditionals to
45553 [$(build-shared) = yes].
45554 * extra-lib.mk [$(versioning) = yes]: Likewise.
45555 * hurd/Makefile [$(versioning) = yes]: Likewise.
45556 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
45557 [SHARED].
45558 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
45559 [SHARED].
45560 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45561 [SHARED && !NO_HIDDEN].
45562 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
45563 [SHARED].
45564 [SHARED && DO_VERSIONING]: Likewise..
45565 * libio/Makefile [$(versioning) = yes]: Change conditionals to
45566 [$(build-shared) = yes].
45567 * manual/install.texi (--disable-versioning): Remove
45568 documentation.
45569 * INSTALL: Regenerated.
45570 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
45571 to [SHARED].
45572 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
45573 [$(build-shared) = yes].
45574 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
45575 * sysdeps/i386/i686/multiarch/strstr-c.c
45576 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
45577 [SHARED && !NO_HIDDEN].
45578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
45579 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
45580 * sysdeps/powerpc/powerpc32/dl-machine.c
45581 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
45582 * sysdeps/powerpc/powerpc32/sysdep.h
45583 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
45584 to [SHARED && PIC && !NO_HIDDEN].
45585 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
45586 conditional to [SHARED].
45587
45588 2013-09-04 Will Newton <will.newton@linaro.org>
45589
45590 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
45591 * benchtests/bench-string.h: Include bench-timing.h instead
45592 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
45593 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
45594 call to HP_TIMING_DIFF_INIT.
45595 * benchtests/bench-memccpy.c: Use bench-timing.h macros
45596 instead of hp-timing.h macros.
45597 * benchtests/bench-memchr.c: Likewise.
45598 * benchtests/bench-memcmp.c: Likewise.
45599 * benchtests/bench-memcpy.c: Likewise.
45600 * benchtests/bench-memmem.c: Likewise.
45601 * benchtests/bench-memmove.c: Likewise.
45602 * benchtests/bench-memset.c: Likewise.
45603 * benchtests/bench-rawmemchr.c: Likewise.
45604 * benchtests/bench-strcasecmp.c: Likewise.
45605 * benchtests/bench-strcasestr.c: Likewise.
45606 * benchtests/bench-strcat.c: Likewise.
45607 * benchtests/bench-strchr.c: Likewise.
45608 * benchtests/bench-strcmp.c: Likewise.
45609 * benchtests/bench-strcpy.c: Likewise.
45610 * benchtests/bench-strcpy_chk.c: Likewise.
45611 * benchtests/bench-strlen.c: Likewise.
45612 * benchtests/bench-strncasecmp.c: Likewise.
45613 * benchtests/bench-strncat.c: Likewise.
45614 * benchtests/bench-strncmp.c: Likewise.
45615 * benchtests/bench-strncpy.c: Likewise.
45616 * benchtests/bench-strnlen.c: Likewise.
45617 * benchtests/bench-strpbrk.c: Likewise.
45618 * benchtests/bench-strrchr.c: Likewise.
45619 * benchtests/bench-strspn.c: Likewise.
45620 * benchtests/bench-strstr.c: Likewise.
45621
45622 2013-09-04 Will Newton <will.newton@linaro.org>
45623
45624 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
45625
45626 2013-09-03 Joseph Myers <joseph@codesourcery.com>
45627
45628 [BZ #15427]
45629 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
45630 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
45631 * math/libm-test.inc (lgamma_test_data): Add more tests.
45632 * sysdeps/i386/fpu/libm-test-ulps: Update.
45633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45634
45635 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
45636
45637 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
45638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45639 Add ifunc.
45640 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45641 Add strcmp-sse2-unaligned
45642 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
45643
45644 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45645
45646 * Versions.def (libc): Add GLIBC_2.19.
45647
45648 2013-09-02 Mike Frysinger <vapier@gentoo.org>
45649
45650 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
45651 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
45652
45653 2013-09-02 Joseph Myers <joseph@codesourcery.com>
45654
45655 [BZ #14155]
45656 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
45657 intermediate calculations in recurrence.
45658 (__ieee754_ynf): Likewise.
45659 * math/libm-test.inc (jn_test_data): Do not allow spurious
45660 underflow exception. Add more tests.
45661 (yn_test_data): Add more tests.
45662 * sysdeps/i386/fpu/libm-test-ulps: Update.
45663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45664
45665 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
45666
45667 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
45668
45669 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45670
45671 * csu/init-first.c: Fix then/than typos.
45672 * locale/programs/ld-collate.c: Likewise.
45673 * locale/programs/linereader.h: Likewise.
45674 * manual/charset.texi: Likewise.
45675 * manual/filesys.texi: Likewise.
45676 * manual/stdio.texi: Likewise.
45677 * manual/string.texi: Likewise.
45678 * stdlib/fmtmsg.c: Likewise.
45679 * sysdeps/i386/stpncpy.S: Likewise.
45680 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45681 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45682 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45683 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45684
45685 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45686
45687 * elf/dl-open.c: Fix typos.
45688 * iconvdata/gbbig5.c: Likewise.
45689 * iconvdata/iso-2022-jp.c: Likewise.
45690 * iconv/gconv_int.h: Likewise.
45691 * iconv/loop.c: Likewise.
45692 * nis/rpcsvc/nis.h: Likewise.
45693 * resolv/ns_name.c: Likewise.
45694 * stdio-common/vfscanf.c: Likewise.
45695 * streams/stropts.h: Likewise.
45696 * sunrpc/rpc_thread.c: Likewise.
45697 * sysdeps/i386/strpbrk.S: Likewise.
45698 * sysdeps/ieee754/k_standard.c: Likewise.
45699 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
45700 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45701 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
45702 * sysdeps/mach/hurd/profil.c: Likewise.
45703 * sysdeps/s390/dl-procinfo.h: Likewise.
45704 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
45705 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45706 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
45707 * sysdeps/x86_64/dl-trampoline.S: Likewise.
45708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45709
45710 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
45711
45712 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
45713 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
45714
45715 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45716
45717 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
45718 aix specific files.
45719 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
45720 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
45721 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
45722 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
45723 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
45724 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
45725 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
45726 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
45727
45728 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45729 Roland McGrath <roland@hack.frob.com>
45730
45731 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
45732 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
45733
45734 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
45735
45736 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
45737 __executable_start symbol instead of _start.
45738
45739 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
45740
45741 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
45742 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
45743 Move macros to...
45744 * sysdeps/gnu/ldsodefs.h: ... this new file.
45745
45746 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
45747 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
45748 instead of ELFOSABI_LINUX.
45749
45750 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
45751 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
45752 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
45753 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
45754 Likewise.
45755 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
45756 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
45757 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
45758 Likewise.
45759 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45760 (ibm_extended_long_double): Add ieee_nan member.
45761 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
45762 (do_test): New function.
45763
45764 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
45765 TEST_TRUNC.
45766 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
45767 functions, renamed from truncdfsf_test, trunctfsf_test,
45768 trunctfdf_test.
45769 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
45770 functions.
45771 (do_test): Run all these.
45772
45773 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
45774
45775 * argp/argp-help.c: Fix typos.
45776 * argp/argp-parse.c: Likewise.
45777 * debug/backtracesyms.c: Likewise.
45778 * elf/elf.h: Likewise.
45779 * malloc/malloc.c: Likewise.
45780 * nis/nis_print.c: Likewise.
45781 * resolv/res_comp.c: Likewise.
45782 * stdlib/stdlib.h: Likewise.
45783 * sunrpc/clnt_tcp.c: Likewise.
45784 * sunrpc/clnt_udp.c: Likewise.
45785 * sunrpc/clnt_unix.c: Likewise.
45786 * sysdeps/unix/bsd/ptsname.c: Likewise.
45787 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45788 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
45789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
45790 Likewise.
45791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
45792 Likewise.
45793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
45794 Likewise.
45795 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45796
45797 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45798
45799 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
45800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45801
45802 2013-08-27 Mike Frysinger <vapier@gentoo.org>
45803
45804 [BZ #15897]
45805 * dlfcn/Makefile (tests): Add bug-dl-leaf.
45806 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
45807 ($(objpfx)bug-dl-leaf): New rule.
45808 ($(objpfx)bug-dl-leaf.so): Likewise.
45809 ($(objpfx)bug-dl-leaf.out): Likewise.
45810 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
45811 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
45812 * dlfcn/bug-dl-leaf.c: New test.
45813 * dlfcn/bug-dl-leaf-lib.c: Likewise.
45814 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
45815 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
45816 (dlclose): Likewise.
45817 (dlmopen): Likewise.
45818
45819 2013-08-27 Roland McGrath <roland@hack.frob.com>
45820
45821 * include/netdb.h [!_ISOMAC]:
45822 Don't include <tls.h>.
45823 (h_errno, __libc_h_errno): Move declaration and macros out of
45824 [_LIBC_REENTRANT].
45825
45826 * include/resolv.h [_RESOLV_H_]:
45827 Don't include <tls.h>.
45828 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
45829 * resolv/res_libc.c: Don't include <tls.h>.
45830 (_res): Use __attribute__ ((nocommon)) in place of
45831 __attribute__ ((section (".bss"))).
45832
45833 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
45834 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
45835
45836 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
45837
45838 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
45839 only under [SIOCGIFCONF && SIOCGIFNETMASK].
45840
45841 * resolv/res_mkquery.c: Include <sys/time.h>.
45842
45843 * inet/ifreq.c: Moved to ...
45844 * sysdeps/unix/ifreq.c: ... here.
45845 * inet/ifreq.c: New file, true stub version.
45846
45847 * socket/sa_len.c: New file.
45848 * socket/Makefile (aux): Add it.
45849 * sysdeps/unix/sysv/linux/Makefile
45850 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
45851 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
45852 and #include <socket/sa_len.c>.
45853 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
45854 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
45855
45856 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
45857 * bits/socket.h: ... here.
45858
45859 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
45860 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
45861 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
45862
45863 2013-08-27 Andreas Schwab <schwab@suse.de>
45864
45865 [BZ #15736]
45866 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
45867 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
45868 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
45869 * string/test-strcasecmp.c (test_main): Run tests in several
45870 locales.
45871 * string/test-strncasecmp.c (test_main): Likewise.
45872
45873 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
45874 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
45875 to __strcasecmp_nonascii and __strncasecmp_nonascii.
45876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
45877 (__strncasecmp_ssse3) [PIC]: Likewise.
45878
45879 2013-08-26 Roland McGrath <roland@hack.frob.com>
45880
45881 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
45882
45883 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
45884 instead of explicitly declaring xdecrypt.
45885 * nis/nss_nis/nis-publickey.c: Likewise.
45886
45887 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45888
45889 [BZ #15890]
45890 * nscd/aicache.c: Include res_hconf.h.
45891 (addhstaiX): Initialize res_hconf.
45892
45893 2013-08-26 Andreas Schwab <schwab@suse.de>
45894
45895 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
45896 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
45897
45898 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45899
45900 * nscd/aicache.c (addhstaiX): Fix indentation.
45901
45902 2013-08-25 Mike Frysinger <vapier@gentoo.org>
45903
45904 * configure.ac: Quote $build_pt_chown test.
45905 * configure: Regenerated.
45906
45907 2013-08-23 Joseph Myers <joseph@codesourcery.com>
45908
45909 [BZ #15532]
45910 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
45911 * math/s_cexpf.c (__cexpf): Likewise.
45912 * math/s_cexpl.c (__cexpl): Likewise.
45913 * math/libm-test.inc (cexp_test_data): Correct expected return
45914 value for NaN + i0. Add another test.
45915
45916 2013-08-22 David S. Miller <davem@davemloft.net>
45917
45918 * po/ca.po: Update Catalan translation from translation project.
45919 * po/uk.po: Add Ukrainian translations from translation project.
45920
45921 2013-08-21 Joseph Myers <joseph@codesourcery.com>
45922
45923 [BZ #15797]
45924 * math/s_fdim.c (__fdim): Check for infinite arguments if result
45925 is infinite, not alongside NaN test.
45926 * math/s_fdimf.c (__fdimf): Likewise.
45927 * math/s_fdiml.c (__fdiml): Likewise.
45928 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
45929 errno is unchanged.
45930
45931 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
45932
45933 * argp/argp-help.c: Fix typos.
45934 * crypt/speeds.c: Likewise.
45935 * csu/check_fds.c: Likewise.
45936 * elf/dl-load.c: Likewise.
45937 * elf/dl-open.c: Likewise.
45938 * elf/reldep3.c: Likewise.
45939 * elf/reldep.c: Likewise.
45940 * elf/sprof.c: Likewise.
45941 * iconv/iconv_charmap.c: Likewise.
45942 * iconv/skeleton.c: Likewise.
45943 * iconv/strtab.c: Likewise.
45944 * io/lockf64.c: Likewise.
45945 * libio/libioP.h: Likewise.
45946 * resolv/gai_notify.c: Likewise.
45947 * resolv/ns_name.c: Likewise.
45948 * resolv/ns_samedomain.c: Likewise.
45949 * resolv/res_send.c: Likewise.
45950 * stdlib/random.c: Likewise.
45951 * sunrpc/rpc/xdr.h: Likewise.
45952 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
45953 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45954 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45955 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45956 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45957 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45960 * sysdeps/mach/hurd/check_fds.c: Likewise.
45961 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
45962 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45963 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45964 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
45965 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45966 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
45967 * sysdeps/pthread/aio_notify.c: Likewise.
45968 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
45969 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
45970 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
45971 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45972 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45973
45974 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45975
45976 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
45977 version if bit_Slow_SSE4_2 is set.
45978 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45979 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45980
45981 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45982
45983 [BZ #15867]
45984 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
45985 trampoline stack frame information.
45986 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
45987 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
45988 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
45989 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
45990 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
45991 * sysdeps/unix/sysv/linux/powerpc/init-first.c
45992 (_libc_vdso_platform_setup): Initialize the signal trampolines.
45993 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
45994 sa_flags value.
45995 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
45996 interrupting a syscall and set with option SA_SIGINFO.
45997
45998 2013-08-20 Joseph Myers <joseph@codesourcery.com>
45999
46000 [BZ #15531]
46001 * math/s_cproj.c (__cproj): Only return an infinity if one part of
46002 argument is infinite.
46003 * math/s_cprojf.c (__cprojf): Likewise.
46004 * math/s_cprojl.c (__cprojl): Likewise.
46005 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46006 * math/libm-test.inc (cproj_test_data): Add more tests.
46007
46008 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46009
46010 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46011 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46012 size. Use __ffs to determine corresponding shift.
46013
46014 2013-08-20 Joseph Myers <joseph@codesourcery.com>
46015 Roland McGrath <roland@hack.frob.com>
46016
46017 * Makefile (INSTALL): Remove trailing blank lines from output of
46018 makeinfo.
46019
46020 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46021
46022 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46023 Align 32 bit compat elf_greg to 8 bytes.
46024
46025 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
46026
46027 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46028
46029 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46030
46031 * string/strcoll_l.c (coll_seq): New structure.
46032 (get_next_seq_cached): New function.
46033 (get_next_seq): New function.
46034 (do_compare): New function.
46035 (STRCOLL): Use GNU style definition. Simplify implementation
46036 by using get_next_seq, get_next_seq_cached and do_compare.
46037
46038 2013-08-16 Florian Weimer <fweimer@redhat.com>
46039
46040 [BZ #14699]
46041 CVE-2013-4237
46042 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46043 member.
46044 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46045 member.
46046 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46047 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46048 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
46049 conditional.
46050 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46051 GETDENTS_64BIT_ALIGNED.
46052 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46053 * manual/filesys.texi (Reading/Closing Directory): Document
46054 ENAMETOOLONG return value of readdir_r. Recommend readdir more
46055 strongly.
46056 * manual/conf.texi (Limits for Files): Add portability note to
46057 NAME_MAX, PATH_MAX.
46058 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46059
46060 2013-08-13 Andreas Schwab <schwab@suse.de>
46061
46062 [BZ #15749]
46063 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46064 of fabs.
46065 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46066 LDBL_MAX_EXP >= 16384]: Add tests for it.
46067
46068 2013-08-12 David S. Miller <davem@davemloft.net>
46069
46070 * version.h (RELEASE): Set to "development".
46071 (VERSION): Set to "2.18.90".
46072 * NEWS: Add 2.19 section.
46073
46074 2013-08-03 David S. Miller <davem@davemloft.net>
46075
46076 * po/ko.po: Update Korean translation from translation project.
46077
46078 2013-08-01 David S. Miller <davem@davemloft.net>
46079
46080 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
46081 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46082 Bilka.
46083
46084 2013-07-30 David S. Miller <davem@davemloft.net>
46085
46086 * po/fr.po: Update French translation from translation project.
46087
46088 2013-07-28 David S. Miller <davem@davemloft.net>
46089
46090 * po/cs.po: Update Czech translation from translation project.
46091
46092 * po/sv.po: Update Swedish translation from translation project.
46093
46094 2013-07-27 David S. Miller <davem@davemloft.net>
46095
46096 * po/eo.po: Update Esperanto translation from translation project.
46097
46098 * po/vi.po: Update Vietnamese translation from translation project.
46099
46100 * po/de.po: Update German translation from translation project.
46101
46102 2013-07-26 David S. Miller <davem@davemloft.net>
46103
46104 * po/bg.po: Update Bulgarian translation from translation project.
46105
46106 * po/nl.po: Update Dutch translation from translation project.
46107 * po/pl.po: Update Polish translation from translation project.
46108 * po/ru.po: Update Russian translation from translation project.
46109
46110 2013-07-24 David S. Miller <davem@davemloft.net>
46111
46112 * po/libc.pot: Update.
46113
46114 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46115
46116 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46117 variable page size.
46118 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46119 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46120 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46121
46122 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46123
46124 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46125
46126 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46127 Andreas Schwab <schwab@suse.de>
46128 Roland McGrath <roland@hack.frob.com>
46129 Joseph Myers <joseph@codesourcery.com>
46130 Carlos O'Donell <carlos@redhat.com>
46131
46132 [BZ #15755]
46133 * config.h.in: Define HAVE_PT_CHOWN.
46134 * config.make.in (build-pt-chown): New variable.
46135 * configure.in (--enable-pt_chown): New configure option.
46136 * configure: Regenerate.
46137 * login/Makefile: Include Makeconfig. Build pt_chown only if
46138 build-pt-chown is enabled.
46139 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46140 pt_chown to fix pty ownership.
46141 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46142 CLOSE_ALL_FDS.
46143 * manual/install.texi (Configuring and compiling): Mention
46144 --enable-pt_chown. Add @findex for grantpt.
46145 * INSTALL: Regenerate.
46146
46147 2013-07-20 David S. Miller <davem@davemloft.net>
46148
46149 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46150 difference between 32-bit and 64-bit.
46151
46152 2013-07-15 Carlos O'Donell <carlos@redhat.com>
46153
46154 [BZ #15711]
46155 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46156 Avoid system header dependency with -ffreestanding.
46157 ($(objpfx)bits/syscall%d): Likewise.
46158
46159 2013-07-13 David S. Miller <davem@davemloft.net>
46160
46161 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46162 underflows from atanl/atan2l due to bug 15319.
46163 (casinh_test_data): Likewise.
46164
46165 2013-07-07 David S. Miller <davem@davemloft.net>
46166
46167 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46168
46169 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
46170
46171 * sysdeps/i386/fpu/libm-test-ulps: Update.
46172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46173
46174 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
46175
46176 * configure.in (--enable-lock-elision): Fix message text.
46177 * INSTALL: Regenerate.
46178 * configure: Regenerate.
46179
46180 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46181
46182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46183
46184 2013-07-03 Andreas Jaeger <aj@suse.de>
46185
46186 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46187 define.
46188 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46189 (ptrace_peeksiginfo_args): Add.
46190 (__ptrace_peeksiginfo_flags): Add.
46191 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46193 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46194
46195 2013-07-03 Allan McRae <allan@archlinux.org>
46196
46197 * sysdeps/i386/fpu/libm-test-ulps: Update.
46198
46199 2013-07-02 David S. Miller <davem@davemloft.net>
46200
46201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46202
46203 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
46204
46205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46206
46207 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46208
46209 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46211
46212 2013-07-02 Andi Kleen <ak@linux.intel.com>
46213
46214 * config.h.in (ENABLE_LOCK_ELISION): Add.
46215 * configure.in (--enable-lock-elision): Add option.
46216 * manual/install.texi: Document --enable lock elision.
46217 * configure: Regenerate
46218 * INSTALL: Regenerate.
46219
46220 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
46221
46222 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46223 SSE4.2 strcasecmp for libc.a.
46224 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46225
46226 2013-07-02 Joseph Myers <joseph@codesourcery.com>
46227
46228 [BZ #13304]
46229 * soft-fp/op-common.h (_FP_FMA): New macro.
46230 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46231 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
46232 (_FP_MUL_MEAT_1_imm): ... here.
46233 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
46234 (_FP_MUL_MEAT_1_wide): ... here.
46235 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
46236 (_FP_MUL_MEAT_1_hard): ... here.
46237 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46238 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
46239 (_FP_MUL_MEAT_2_wide): ... here.
46240 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
46241 (_FP_MUL_MEAT_2_wide_3mul): ... here.
46242 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
46243 (_FP_MUL_MEAT_2_gmp): ... here.
46244 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46245 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
46246 (_FP_MUL_MEAT_4_wide): ... here.
46247 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
46248 (_FP_MUL_MEAT_4_gmp): ... here.
46249 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46250 (_FP_WFRACBITS_DW_S): Likewise.
46251 (_FP_WFRACXBITS_DW_S): Likewise.
46252 (_FP_HIGHBIT_DW_S): Likewise.
46253 (FP_FMA_S): Likewise.
46254 (_FP_FRAC_HIGH_DW_S): Likewise.
46255 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46256 (_FP_WFRACBITS_DW_D): Likewise.
46257 (_FP_WFRACXBITS_DW_D): Likewise.
46258 (_FP_HIGHBIT_DW_D): Likewise.
46259 (FP_FMA_D): Likewise.
46260 (_FP_FRAC_HIGH_DW_D): Likewise.
46261 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46262 (_FP_WFRACBITS_DW_E): Likewise.
46263 (_FP_WFRACXBITS_DW_E): Likewise.
46264 (_FP_HIGHBIT_DW_E): Likewise.
46265 (FP_FMA_E): Likewise.
46266 (_FP_FRAC_HIGH_DW_E): Likewise.
46267 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46268 (_FP_WFRACBITS_DW_Q): Likewise.
46269 (_FP_WFRACXBITS_DW_Q): Likewise.
46270 (_FP_HIGHBIT_DW_Q): Likewise.
46271 (FP_FMA_Q): Likewise.
46272 (_FP_FRAC_HIGH_DW_Q): Likewise.
46273 * soft-fp/fmasf4.c: New file.
46274 * soft-fp/fmadf4.c: Likewise.
46275 * soft-fp/fmatf4.c: Likewise.
46276
46277 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46278
46279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46280 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46281 Silvermont.
46282 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46283 macro.
46284 (index_Slow_SSE4_2): Likewise.
46285 (index_Prefer_PMINUB_for_stringop): Likewise.
46286 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46287 bit_Slow_SSE4_2 is set.
46288 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46289 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46290
46291 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46292
46293 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46294 rtld_global._dl_hwcap2.
46295 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46296 POWER8.
46297 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46298 POWER8 feature descriptions defined in _dl_hwcap2.
46299 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46300 string handling for POWER8 feature bits.
46301 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46302 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46303 _dl_powerpc_cap_flags.
46304 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46305 * sysdeps/powerpc/rtld-global-offsets.sym
46306 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46307 _dl_hwcap2 in the rtld_global_ro structure.
46308
46309 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46310
46311 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46312 hardware capabilities in support of AT_HWCAP2.
46313 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46314 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46315 GLRO(dl_hwcap2).
46316 (_dl_show_auxv): Add support for calling _dl_procinfo to display
46317 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
46318 explicitly the unknown a_type display mechanism is used.
46319 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46320 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46321 struct member.
46322 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46323 to macro prototype for AT_HWCAP2 support.
46324 * sysdeps/i386/dl-procinfo.h: Likewise.
46325 * sysdeps/s390/dl-procinfo.h: Likewise.
46326 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46327 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
46328 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
46329 return -1 for unknown a_type display fallback.
46330 * sysdeps/sparc/dl-procinfo.h: Likewise.
46331 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46332 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46333
46334 2013-06-28 Joseph Myers <joseph@codesourcery.com>
46335
46336 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46337 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46338
46339 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
46340
46341 [BZ #12492]
46342 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46343 mprotect making __stack_prot writable.
46344
46345 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
46346 Joseph Myers <joseph@codesourcery.com>
46347
46348 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46349 as being properly aligned.
46350
46351 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
46352
46353 * dlfcn/modstatic5.c: New file.
46354 * dlfcn/tststatic5.c: New file.
46355 * dlfcn/Makefile (tests): Add tststatic5.
46356 (tests-static): Likewise.
46357 (modules-names): Add modstatic5.
46358 (tststatic5-ENV): New variable.
46359 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46360
46361 [BZ #15022]
46362 * elf/dl-support.c (_dl_main_map): New variable.
46363 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46364 (_dl_nns, _dl_load_adds): Set to 1.
46365 (_dl_initial_searchlist): Refer to _dl_main_map.
46366 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46367 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46368 call to _dl_get_origin.
46369 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46370 around call_map.
46371 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46372 * dlfcn/modstatic3.c: New file.
46373 * dlfcn/tststatic3.c: New file.
46374 * dlfcn/tststatic4.c: New file.
46375 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46376 (tests-static): Likewise.
46377 (modules-names): Add modstatic3.
46378 (tststatic3-ENV, tststatic4-ENV): New variables.
46379 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46380 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46381
46382 2013-06-26 Joseph Myers <joseph@codesourcery.com>
46383
46384 * configure.in (CC): Require GCC version 4.4 or later.
46385 * configure: Regenerated.
46386 * manual/install.texi (Tools for Compilation): Update GCC version
46387 requirement.
46388 * INSTALL: Regenerated.
46389
46390 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46391
46392 [BZ #15674]
46393 * string/test-memcmp.c (check2): New.
46394 (main): Call check2.
46395
46396 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46397
46398 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
46399
46400 [BZ #15022]
46401 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46402 over to...
46403 (dl_open_worker) [!SHARED]: ... here.
46404
46405 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46406
46407 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46408
46409 2013-06-25 Richard Henderson <rth@redhat.com>
46410
46411 * locale/programs/locarchive.c: Include <libc-internal.h>
46412
46413 2013-06-25 Joseph Myers <joseph@codesourcery.com>
46414
46415 * manual/texinfo.tex: Update to version 2013-06-21.17, with
46416 trailing whitespace removed.
46417
46418 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46419
46420 [BZ #10283]
46421 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46422 * locale/programs/locarchive.c: Include libc-mmap.h.
46423 (prepare_address_space): Take two new outputs (the mmap base and len).
46424 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
46425 values.
46426 (create_archive): Declare new mmap base and len values for
46427 prepare_address_space, and store the result in ah.
46428 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46429 (enlarge_archive): If ah->mmap_base is not NULL, use that and
46430 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46431 Declare new mmap base and len values for
46432 prepare_address_space, and store the result in new_ah.
46433 (open_archive): Declare new mmap base and len values for
46434 prepare_address_space, and store the result in ah.
46435 (close_archive): If ah->mmap_base is not NULL, use that and
46436 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46437 * sysdeps/generic/libc-mmap.h: New file.
46438
46439 2013-06-24 Mike Frysinger <vapier@gentoo.org>
46440
46441 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46442 (ALIGN_UP): Likewise.
46443 (PTR_ALIGN_DOWN): Likewise.
46444 (PTR_ALIGN_UP): Likewise.
46445
46446 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46447
46448 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
46449 entry mapped to PPC_PLATFORM_POWER8.
46450 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
46451 POWER8.
46452 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
46453 (_dl_string_platform): Add case for exporting platform position for
46454 POWER8.
46455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
46456 search path to sysdeps/powerpc/powerpc32/power8 directory.
46457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
46458 search path to sysdeps/powerpc/powerpc64/power8 directory.
46459 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
46460 power7 directories.
46461 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
46462 power7 directories.
46463
46464 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46465
46466 * INSTALL: Regenerate.
46467
46468 * nscd/connections.c (nscd_init): Fix comment.
46469
46470 2013-06-22 Joseph Myers <joseph@codesourcery.com>
46471
46472 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
46473
46474 [BZ #15667]
46475 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
46476 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
46477
46478 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46479
46480 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
46481 DL_DST_REQ_STATIC.
46482 (DL_DST_REQ_STATIC): Remove macro.
46483
46484 2013-06-21 Joseph Myers <joseph@codesourcery.com>
46485
46486 [BZ #7006]
46487 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
46488 with a shift of 0 bits.
46489
46490 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
46491
46492 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
46493 $(tststatic-ENV).
46494
46495 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46496
46497 [BZ #15655]
46498 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
46499
46500 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46501
46502 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
46503 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
46504 accepts -fno-tree-loop-distribute-patterns.
46505 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
46506 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
46507 recursive call.
46508 * string/memset.c (memset): Likewise.
46509 * string/test-memmove.c (simple_memmove): Disable loop transformation
46510 to library calls.
46511 * string/test-memset.c (simple_memset): Likewise.
46512 * benchtests/bench-memmove.c (simple_memmove): Likewise.
46513 * benchtests/bench-memset.c (simple_memset): Likewise.
46514 * configure: Regenerated.
46515
46516 2013-06-20 Joseph Myers <joseph@codesourcery.com>
46517
46518 * math/test-misc.c (main): Ignore fesetround failure when failures
46519 of subsequent rounding tests would be ignored.
46520
46521 [BZ #15654]
46522 * math/fedisblxcpt.c (fedisableexcept): Return 0.
46523 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
46524 * math/fegetenv.c (__fegetenv): Return 0.
46525 * math/fegetexcept.c (fegetexcept): Return 0.
46526 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
46527 FE_TONEAREST.
46528 * math/feholdexcpt.c (feholdexcept): Return 0.
46529 * math/fesetenv.c (__fesetenv): Return 0.
46530 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
46531 argument FE_TONEAREST.
46532 * math/feupdateenv.c (__feupdateenv): Return 0.
46533 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
46534
46535 2013-06-18 Roland McGrath <roland@hack.frob.com>
46536
46537 * elf/rtld-Rules (rtld-compile-command.S): New variable.
46538 (rtld-compile-command.s, rtld-compile-command.c): New variables.
46539 ($(objpfx)rtld-%.os rules): Use them.
46540
46541 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46542
46543 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
46544 fields.
46545
46546 2013-06-17 Roland McGrath <roland@hack.frob.com>
46547
46548 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
46549 length of target pattern, then descending length of dependency pattern.
46550 * configure.in (AWK): Require gawk 3.1.2 or newer.
46551 * manual/install.texi (Tools for Compilation): Say that we do.
46552 * configure: Regenerated.
46553
46554 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
46555 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
46556 * scripts/sysd-rules.awk: ... this new script.
46557 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
46558 than a glob-style pattern.
46559
46560 2013-06-17 Joseph Myers <joseph@codesourcery.com>
46561
46562 * math/test-misc.c (main): Do not treat incorrectly rounded
46563 conversions as failure unless ROUNDING_TESTS passes.
46564
46565 2013-06-15 Joseph Myers <joseph@codesourcery.com>
46566
46567 [BZ #15631]
46568 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
46569 restore exception state around main square root computation, then
46570 check for inexactness explicitly.
46571
46572 * math/libm-test.inc (fma_test_data): Add another test.
46573
46574 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
46575
46576 * manual/threads.texi (Non-POSIX Extensions): New document
46577 node. Document pthread_getattr_default_np and
46578 pthread_setattr_default_np.
46579
46580 * Versions.def (libpthread): Add GLIBC_2.18.
46581 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46583 Likewise.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46585 Likewise.
46586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46587 Likewise.
46588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46589 Likewise.
46590 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
46591 Likewise.
46592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46593 Likewise.
46594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46595 Likewise.
46596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
46597 Likewise.
46598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46599 Likewise.
46600
46601 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46602
46603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46604 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
46605
46606 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
46607 H.J. Lu <hjl.tools@gmail.com>
46608
46609 [BZ #15627]
46610 * sysdeps/x86_64/rtld-memset.c: Remove file.
46611 * sysdeps/x86_64/rtld-memset.S: New file.
46612
46613 2013-06-14 Joseph Myers <joseph@codesourcery.com>
46614
46615 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
46616 (test_in_one_mode): Take arguments for whether the rounding mode
46617 is supported for each floating-point type.
46618 (do_test): Pass new arguments to test_in_one_mode using
46619 ROUNDING_TESTS.
46620
46621 2013-06-13 Roland McGrath <roland@hack.frob.com>
46622
46623 * posix/tst-waitid.c (do_test): Distinguish different instances of
46624 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
46625 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
46626 before entering the kernel for waitpid.
46627
46628 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46629
46630 * NEWS: Fix note on clock function precision. Text by Roland
46631 McGrath.
46632
46633 2013-06-13 Roland McGrath <roland@hack.frob.com>
46634
46635 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
46636 it into place only when and if the sanity check passes.
46637
46638 2013-06-13 Joseph Myers <joseph@codesourcery.com>
46639
46640 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
46641 output for whether conversion result is exact. Take argument
46642 indicating whether type is IBM long double.
46643 (round_for_all): Change need_exact field to ibm_ld.
46644 * stdlib/tst-strtod-round.c (struct exactness): New type.
46645 (struct test): Change bool ld_ok field to struct exactness exact.
46646 (TEST): Update all definitions for change to field.
46647 (tests): Regenerate array contents.
46648 (test_in_one_mode): Take pointer to new field instead of old ld_ok
46649 field value. Check for IBM long double here.
46650 (do_test): Update calls to test_in_one_mode.
46651
46652 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
46653
46654 [BZ #12515]
46655 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
46656 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
46657
46658 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46659
46660 [BZ #15605]
46661 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
46662 generated by the compiler on loop optimizations.
46663 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
46664 general definitions.
46665
46666 2013-06-12 Joseph Myers <joseph@codesourcery.com>
46667
46668 * math/bug-nextafter.c: Include <math-tests.h>.
46669 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46670 the relevant type.
46671 * math/bug-nexttoward.c: Include <math-tests.h>.
46672 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46673 the relevant type.
46674 * math/test-misc.c: Include <math-tests.h>.
46675 (main): Only test for exceptions if EXCEPTION_TESTS is true for
46676 the relevant type.
46677
46678 2013-06-12 Andreas Jaeger <aj@suse.de>
46679
46680 * po/ia.po: Update Interlingua translation from translation
46681 project.
46682
46683 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
46684
46685 * include/fenv.h: Include stdbool.h.
46686 (struct rm_ctx): New structure.
46687 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
46688 Define macro.
46689 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
46690 (SET_RESTORE_ROUNDF): Likewise.
46691 (SET_RESTORE_ROUNDL): Likewise.
46692 (SET_RESTORE_ROUND_NOEX): Likewise.
46693 (SET_RESTORE_ROUND_NOEXF): Likewise.
46694 (SET_RESTORE_ROUND_NOEXL): Likewise.
46695 (SET_RESTORE_ROUND_53BIT): Likewise.
46696 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
46697 (libc_feresetround_noexf_ctx): Likewise.
46698 (libc_feresetround_noexl_ctx): Likewise.
46699 (libc_feholdsetround_53bit_ctx): Likewise.
46700 (libc_feresetround_53bit_ctx): Likewise.
46701 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
46702 (libc_feholdexcept_setround_sse_ctx): New function.
46703 (libc_fesetenv_sse_ctx): Likewise.
46704 (libc_feupdateenv_sse_ctx): Likewise.
46705 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
46706 (libc_feholdexcept_setround_387_ctx): Likewise.
46707 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
46708 (libc_feholdsetround_387_prec_ctx): Likewise.
46709 (libc_feholdsetround_387_ctx): Likewise.
46710 (libc_feholdsetround_387_53bit_ctx): Likewise.
46711 (libc_feholdsetround_sse_ctx): Likewise.
46712 (libc_feresetround_sse_ctx): Likewise.
46713 (libc_feresetround_387_ctx): Likewise.
46714 (libc_feupdateenv_387_ctx): Likewise.
46715 (libc_feholdexcept_setroundf_ctx): Define macro.
46716 (libc_fesetenvf_ctx): Likewise.
46717 (libc_feupdateenvf_ctx): Likewise.
46718 (libc_feholdsetroundf_ctx): Likewise.
46719 (libc_feresetroundf_ctx): Likewise.
46720 (libc_feholdexcept_setround_ctx): Likewise.
46721 (libc_fesetenv_ctx): Likewise.
46722 (libc_feupdateenv_ctx): Likewise.
46723 (libc_feholdsetround_ctx): Likewise.
46724 (libc_feresetround_ctx): Likewise.
46725 (libc_feholdexcept_setroundl_ctx): Likewise.
46726 (libc_feupdateenvl_ctx): Likewise.
46727 (libc_feholdsetroundl_ctx): Likewise.
46728 (libc_feresetroundl_ctx): Likewise.
46729 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
46730 (libc_feresetround_53bit_ctx): Likewise.
46731
46732 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46733
46734 * locale/iso-639.def: Convert to UTF-8.
46735
46736 2013-06-11 Joseph Myers <joseph@codesourcery.com>
46737
46738 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
46739 (EXCEPTION_TESTS_double): Likewise.
46740 (EXCEPTION_TESTS_long_double): Likewise.
46741 (EXCEPTION_TESTS): Likewise.
46742 * math/libm-test.inc (test_exceptions): Only test exceptions if
46743 EXCEPTION_TESTS (FLOAT).
46744
46745 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46746
46747 * benchtests/Makefile (string-bench): Add strcpy_chk and
46748 stpcpy_chk.
46749 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
46750 * benchtests/bench-stpcpy_chk.c: New file.
46751 * benchtests/bench-strcpy_chk-ifunc.c: New file.
46752 * benchtests/bench-strcpy_chk.c: New file.
46753 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
46754 code.
46755 (do_test): Likewise.
46756
46757 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46758
46759 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
46760 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
46761 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
46762 with tabs where appropriate.
46763 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
46764 dl-procinfo.h.
46765 [PPC_PLATFORM_PPC440]: Likewise.
46766 [PPC_PLATFORM_PPC464]: Likewise.
46767 [PPC_PLATFORM_PPC476]: Likewise.
46768 (_dl_string_platform): Add support for detecting ppc405, ppc440,
46769 ppc464, and ppc476 platform strings merging from ports/
46770 dl-procinfo.h.
46771
46772 2013-06-11 Andreas Schwab <schwab@suse.de>
46773
46774 [BZ #14991]
46775 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
46776 (from_ucs4_idx): Regenerate.
46777 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
46778 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
46779 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
46780 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
46781 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
46782 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
46783 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
46784 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
46785 from FROM_LOOP and TO_LOOP specific macros.
46786 (BODY): Handle combining characters.
46787 * iconvdata/BIG5HKSCS.irreversible: Update.
46788 * iconvdata/BIG5HKSCS.precomposed: New file.
46789 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
46790 characters.
46791 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
46792
46793 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46794
46795 * include/sys/time.h: Fix indentation and add copyright header.
46796
46797 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
46798 (do_test): Likewise.
46799 * string/test-memchr.c (do_one_test): Likewise.
46800 (do_test): Likewise.
46801 * string/test-memcmp.c (do_one_test): Likewise.
46802 (do_test): Likewise.
46803 * string/test-memcpy.c (do_one_test): Likewise.
46804 (do_test): Likewise.
46805 * string/test-memmem.c (do_one_test): Likewise.
46806 (do_test): Likewise.
46807 (do_random_tests): Likewise.
46808 * string/test-memmove.c (do_one_test): Likewise.
46809 (do_test): Likewise.
46810 * string/test-memset.c (do_one_test): Likewise.
46811 (do_test): Likewise.
46812 * string/test-rawmemchr.c (do_one_test): Likewise.
46813 (do_test): Likewise.
46814 * string/test-strcasecmp.c (do_one_test): Likewise.
46815 (do_test): Likewise.
46816 * string/test-strcasestr.c (do_one_test): Likewise.
46817 (do_test): Likewise.
46818 * string/test-strcat.c (do_one_test): Likewise.
46819 (do_test): Likewise.
46820 * string/test-strchr.c (do_one_test): Likewise.
46821 (do_test): Likewise.
46822 * string/test-strcmp.c (do_one_test): Likewise.
46823 (do_test): Likewise.
46824 * string/test-strcpy.c (do_one_test): Likewise.
46825 (do_test): Likewise.
46826 * string/test-string.h: Likewise.
46827 (test_init): Likewise.
46828 * string/test-strlen.c (do_one_test): Likewise.
46829 (do_test): Likewise.
46830 * string/test-strncasecmp.c (do_one_test): Likewise.
46831 (do_test): Likewise.
46832 * string/test-strncat.c (do_one_test): Likewise.
46833 (do_test): Likewise.
46834 * string/test-strncmp.c (do_one_test): Likewise.
46835 (do_test_limit): Likewise.
46836 (do_test): Likewise.
46837 * string/test-strncpy.c (do_one_test): Likewise.
46838 (do_test): Likewise.
46839 * string/test-strnlen.c (do_one_test): Likewise.
46840 (do_test): Likewise.
46841 * string/test-strpbrk.c (do_one_test): Likewise.
46842 (do_test): Likewise.
46843 * string/test-strrchr.c (do_one_test): Likewise.
46844 (do_test): Likewise.
46845 * string/test-strspn.c (do_one_test): Likewise.
46846 (do_test): Likewise.
46847 * string/test-strstr.c (do_one_test): Likewise.
46848 (do_test): Likewise.
46849
46850 * benchtests/Makefile (string-bench): Add string benchmarks.
46851 * benchtests/bench-bcopy-ifunc.c: New file.
46852 * benchtests/bench-bcopy.c: New file.
46853 * benchtests/bench-bzero-ifunc.c: New file.
46854 * benchtests/bench-bzero.c: New file.
46855 * benchtests/bench-memccpy-ifunc.c: New file.
46856 * benchtests/bench-memccpy.c: New file.
46857 * benchtests/bench-memchr-ifunc.c: New file.
46858 * benchtests/bench-memchr.c: New file.
46859 * benchtests/bench-memcmp-ifunc.c: New file.
46860 * benchtests/bench-memcmp.c: New file.
46861 * benchtests/bench-memmem-ifunc.c: New file.
46862 * benchtests/bench-memmem.c: New file.
46863 * benchtests/bench-memmove-ifunc.c: New file.
46864 * benchtests/bench-memmove.c: New file.
46865 * benchtests/bench-mempcpy-ifunc.c: New file.
46866 * benchtests/bench-mempcpy.c: New file.
46867 * benchtests/bench-memset-ifunc.c: New file.
46868 * benchtests/bench-memset.c: New file.
46869 * benchtests/bench-rawmemchr-ifunc.c: New file.
46870 * benchtests/bench-rawmemchr.c: New file.
46871 * benchtests/bench-stpcpy-ifunc.c: New file.
46872 * benchtests/bench-stpcpy.c: New file.
46873 * benchtests/bench-stpncpy-ifunc.c: New file.
46874 * benchtests/bench-stpncpy.c: New file.
46875 * benchtests/bench-strcasecmp-ifunc.c: New file.
46876 * benchtests/bench-strcasecmp.c: New file.
46877 * benchtests/bench-strcasestr-ifunc.c: New file.
46878 * benchtests/bench-strcasestr.c: New file.
46879 * benchtests/bench-strcat-ifunc.c: New file.
46880 * benchtests/bench-strcat.c: New file.
46881 * benchtests/bench-strchr-ifunc.c: New file.
46882 * benchtests/bench-strchr.c: New file.
46883 * benchtests/bench-strchrnul-ifunc.c: New file.
46884 * benchtests/bench-strchrnul.c: New file.
46885 * benchtests/bench-strcmp-ifunc.c: New file.
46886 * benchtests/bench-strcmp.c: New file.
46887 * benchtests/bench-strcpy-ifunc.c: New file.
46888 * benchtests/bench-strcpy.c: New file.
46889 * benchtests/bench-strcspn-ifunc.c: New file.
46890 * benchtests/bench-strcspn.c: New file.
46891 * benchtests/bench-strlen-ifunc.c: New file.
46892 * benchtests/bench-strlen.c: New file.
46893 * benchtests/bench-strncasecmp-ifunc.c: New file.
46894 * benchtests/bench-strncasecmp.c: New file.
46895 * benchtests/bench-strncat-ifunc.c: New file.
46896 * benchtests/bench-strncat.c: New file.
46897 * benchtests/bench-strncmp-ifunc.c: New file.
46898 * benchtests/bench-strncmp.c: New file.
46899 * benchtests/bench-strncpy-ifunc.c: New file.
46900 * benchtests/bench-strncpy.c: New file.
46901 * benchtests/bench-strnlen-ifunc.c: New file.
46902 * benchtests/bench-strnlen.c: New file.
46903 * benchtests/bench-strpbrk-ifunc.c: New file.
46904 * benchtests/bench-strpbrk.c: New file.
46905 * benchtests/bench-strrchr-ifunc.c: New file.
46906 * benchtests/bench-strrchr.c: New file.
46907 * benchtests/bench-strspn-ifunc.c: New file.
46908 * benchtests/bench-strspn.c: New file.
46909 * benchtests/bench-strstr-ifunc.c: New file.
46910 * benchtests/bench-strstr.c: New file.
46911
46912 * benchtests/Makefile: Disable parallel execution of targets.
46913 (string-bench): Add memcpy.
46914 (benchset): New variable to store a list of benchmark sets.
46915 (bench-func): Renamed from bench.
46916 (bench-set): New target.
46917 (bench): Depend on bench-func and bench-set.
46918 * benchtests/README: Add section on benchmark sets.
46919 * benchtests/bench-memcpy-ifunc.c: New file.
46920 * benchtests/bench-memcpy.c: New file.
46921 * benchtests/bench-string.h: New file.
46922
46923 2013-06-11 Andreas Schwab <schwab@suse.de>
46924
46925 [BZ #15577]
46926 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
46927 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
46928 values in the triple.
46929 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
46930 terminator in the group key.
46931
46932 2013-06-11 Andreas Jaeger <aj@suse.de>
46933
46934 * po/zh_TW.po: Update Chinese (traditional) translation from
46935 translation project.
46936
46937 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
46938
46939 * include/time.h (__clock_gettime): Add libc_hidden_proto.
46940 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
46941 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
46942 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46943 (clock_getcpuclockid): Likewise.
46944 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
46945 Add weak_alias and libc_hidden_def.
46946 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
46947 * rt/clock_gettime.c (clock_gettime): Rename to
46948 __clock_gettime. Add weak_alias and libc_hidden_def.
46949 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
46950 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
46951 __clock_nanosleep. Add weak_alias and libc_hidden_def.
46952 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
46953 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
46954 Likewise.
46955 * rt/clock_settime.c (clock_settime): Rename to
46956 __clock_settime. Add weak_alias and libc_hidden_def.
46957 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
46958
46959 2013-06-10 Joseph Myers <joseph@codesourcery.com>
46960
46961 * mach/err_boot.sub: Remove trailing whitespace.
46962 * mach/err_ipc.sub: Likewise.
46963 * mach/err_mach.sub: Likewise.
46964
46965 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
46966 (ROUNDING_TESTS_double): Likewise.
46967 (ROUNDING_TESTS_long_double): Likewise.
46968 (ROUNDING_TESTS): Likewise.
46969 * math/libm-test.inc: Include <math-tests.h>.
46970 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
46971 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46972 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46973 (IF_ROUND_INIT_FE_UPWARD): Likewise.
46974
46975 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46976
46977 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
46978 of assigning.
46979
46980 2013-06-08 Joseph Myers <joseph@codesourcery.com>
46981
46982 * sysdeps/gnu/errlist.awk: Do not generate space at end of
46983 otherwise empty TRANS lines.
46984 * sysdeps/gnu/errlist.c: Regenerated.
46985
46986 * catgets/gencat.c (error_print): Use (void) in function
46987 definition.
46988 * crypt/crypt_util.c (__init_des): Likewise.
46989 * crypt/speeds.c (Stop): Likewise.
46990 (main): Likewise.
46991 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
46992 * inet/ruserpass.c (token): Likewise.
46993 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
46994 * intl/localealias.c (extend_alias_table): Likewise.
46995 * intl/plural-exp.c (init_germanic_plural): Likewise.
46996 * libio/fcloseall.c (__fcloseall): Likewise.
46997 * libio/genops.c (_IO_flush_all): Likewise.
46998 (_IO_flush_all_linebuffered): Likewise.
46999 (_IO_cleanup): Likewise.
47000 (_IO_iter_begin): Likewise.
47001 (_IO_iter_end): Likewise.
47002 (_IO_list_lock): Likewise.
47003 (_IO_list_unlock): Likewise.
47004 (_IO_list_resetlock): Likewise.
47005 * libio/getchar.c (getchar): Likewise.
47006 * libio/getchar_u.c (getchar_unlocked): Likewise.
47007 * libio/getwchar.c (getwchar): Likewise.
47008 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47009 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47010 * login/getpt.c (__getpt): Likewise.
47011 * login/tst-utmp.c (main): Likewise.
47012 * malloc/hooks.c (__malloc_check_init): Likewise.
47013 * malloc/malloc.c (__malloc_stats): Likewise.
47014 * malloc/mtrace.c (tr_break): Likewise.
47015 (mtrace): Likewise.
47016 (muntrace): Likewise.
47017 * misc/fstab.c (endfsent): Likewise.
47018 * misc/getclktck.c (__getclktck): Likewise.
47019 * misc/getdtsz.c (__getdtablesize): Likewise.
47020 * misc/gethostid.c (gethostid): Likewise.
47021 * misc/getpagesize.c (__getpagesize): Likewise.
47022 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47023 (__get_nprocs): Likewise.
47024 (__get_phys_pages): Likewise.
47025 (__get_avphys_pages): Likewise.
47026 * misc/getttyent.c (getttyent): Likewise.
47027 (setttyent): Likewise.
47028 (endttyent): Likewise.
47029 * misc/getusershell.c (getusershell): Likewise.
47030 (endusershell): Likewise.
47031 (setusershell): Likewise.
47032 (initshells): Likewise.
47033 * misc/hsearch.c (__hdestroy): Likewise.
47034 * misc/sync.c (sync): Likewise.
47035 * misc/syslog.c (closelog_internal): Likewise.
47036 (closelog): Likewise.
47037 * misc/ttyslot.c (ttyslot): Likewise.
47038 * misc/vhangup.c (vhangup): Likewise.
47039 * posix/fork.c (__fork): Likewise.
47040 * posix/getegid.c (__getegid): Likewise.
47041 * posix/geteuid.c (__geteuid): Likewise.
47042 * posix/getgid.c (__getgid): Likewise.
47043 * posix/getpid.c (__getpid): Likewise.
47044 * posix/getppid.c (__getppid): Likewise.
47045 * posix/getuid.c (__getuid): Likewise.
47046 * posix/pause.c (pause): Likewise.
47047 * posix/setpgrp.c (setpgrp): Likewise.
47048 * posix/setsid.c (__setsid): Likewise.
47049 * posix/test-vfork.c (noop): Likewise.
47050 * resolv/gethnamaddr.c (_endhtent): Likewise.
47051 (_gethtent): Likewise.
47052 (ht_endhostent): Likewise.
47053 (gethostent): Likewise.
47054 (dns_service): Likewise.
47055 * stdlib/drand48.c (drand48): Likewise.
47056 * stdlib/lrand48.c (lrand48): Likewise.
47057 * stdlib/mrand48.c (mrand48): Likewise.
47058 * stdlib/rand.c (rand): Likewise.
47059 * stdlib/random.c (__random): Likewise.
47060 * stdlib/setenv.c (clearenv): Likewise.
47061 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47062 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47063 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47064 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47065 (__get_nprocs): Likewise.
47066 (__get_phys_pages): Likewise.
47067 (__get_avphys_pages): Likewise.
47068 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47069 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47070 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47071 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47072 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47073 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47074 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47075 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47076 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47077 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47078 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47079 * sysdeps/mach/hurd/sync.c (sync): Likewise.
47080 * sysdeps/posix/clock.c (clock): Likewise.
47081 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47082 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47083 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47084 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47085 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47086 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47087 (__get_nprocs_conf): Likewise.
47088 (__get_phys_pages): Likewise.
47089 (__get_avphys_pages): Likewise.
47090 * time/clock.c (clock): Likewise.
47091 * time/tzset.c (__tzname_max): Likewise.
47092
47093 2013-06-07 Joseph Myers <joseph@codesourcery.com>
47094
47095 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47096 (__bswap_32): Do not use "register".
47097 * crypt/crypt.c (_ufc_doit_r): Likewise.
47098 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47099 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47100 * gmon/gmon.c (__monstartup): Likewise.
47101 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47102 * hurd/hurdmalloc.c (more_memory): Likewise.
47103 (malloc): Likewise.
47104 (free): Likewise.
47105 (realloc): Likewise.
47106 (malloc_fork_prepare): Likewise.
47107 (malloc_fork_parent): Likewise.
47108 (malloc_fork_child): Likewise.
47109 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47110 (_svcauth_des): Likewise.
47111 * inet/inet_lnaof.c (inet_lnaof): Likewise.
47112 * inet/inet_net.c (inet_network): Likewise.
47113 * inet/inet_netof.c (inet_netof): Likewise.
47114 * inet/rcmd.c (__validuser2_sa): Likewise.
47115 * io/fts.c (fts_open): Likewise.
47116 (fts_load): Likewise.
47117 (fts_close): Likewise.
47118 (fts_read): Likewise.
47119 (fts_children): Likewise.
47120 (fts_build): Likewise.
47121 (fts_stat): Likewise.
47122 (fts_sort): Likewise.
47123 (fts_alloc): Likewise.
47124 (fts_lfree): Likewise.
47125 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47126 (_IO_file_xsgetn): Likewise.
47127 (_IO_file_xsgetn_mmap): Likewise.
47128 * libio/iofopncook.c (_IO_cookie_read): Likewise.
47129 (_IO_cookie_write): Likewise.
47130 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47131 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47132 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47133 * malloc/obstack.c (_obstack_begin): Likewise.
47134 (_obstack_begin_1): Likewise.
47135 (_obstack_newchunk): Likewise.
47136 (_obstack_allocated_p): Likewise.
47137 (obstack_free): Likewise.
47138 (_obstack_memory_used): Likewise.
47139 * misc/getttyent.c (getttynam): Likewise.
47140 (getttyent): Likewise.
47141 (skip): Likewise.
47142 (value): Likewise.
47143 * misc/getusershell.c (initshells): Likewise.
47144 * misc/syslog.c (__vsyslog_chk): Likewise.
47145 * misc/ttyslot.c (ttyslot): Likewise.
47146 * nis/nis_hash.c (__nis_hash): Likewise.
47147 * posix/fnmatch_loop.c (FCT): Likewise.
47148 * posix/getconf.c (print_all): Likewise.
47149 (main): Likewise.
47150 * posix/getopt.c (exchange): Likewise.
47151 * posix/glob.c (globfree): Likewise.
47152 (prefix_array): Likewise.
47153 (__glob_pattern_type): Likewise.
47154 * resolv/arpa/nameser.h (NS_GET16): Likewise.
47155 (NS_GET32): Likewise.
47156 (NS_PUT16): Likewise.
47157 (NS_PUT32): Likewise.
47158 * resolv/gethnamaddr.c (getanswer): Likewise.
47159 (gethostbyname2): Likewise.
47160 (gethostbyaddr): Likewise.
47161 (_gethtent): Likewise.
47162 (_gethtbyname2): Likewise.
47163 (_gethtbyaddr): Likewise.
47164 * resolv/ns_print.c (dst_s_get_int16): Likewise.
47165 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47166 * resolv/res_init.c (__res_vinit): Likewise.
47167 (net_mask): Likewise.
47168 * resolv/res_mkquery.c (outchar): Likewise.
47169 (PRINT): Likewise.
47170 * stdio-common/printf_fp.c (outchar): Likewise.
47171 (PRINT): Likewise.
47172 * stdio-common/printf_fphex.c (outchar): Likewise.
47173 (PRINT): Likewise.
47174 * stdio-common/printf_size.c (outchar): Likewise.
47175 (PRINT): Likewise.
47176 * stdio-common/test_rdwr.c (main): Likewise.
47177 * stdio-common/tfformat.c (matches): Likewise.
47178 * stdio-common/vfprintf.c (outchar): Likewise.
47179 (printf_unknown): Likewise.
47180 (buffered_vfprintf): Likewise.
47181 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47182 * stdio-common/xbug.c (AppendToBuffer): Likewise.
47183 (ReadFile): Likewise.
47184 * stdlib/qsort.c (SWAP): Likewise.
47185 (_quicksort): Likewise.
47186 * stdlib/setenv.c (__add_to_environ): Likewise.
47187 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47188 * stdlib/strtol_l.c (__strtol_l): Likewise.
47189 * stdlib/tst-strtod.c (main): Likewise.
47190 * stdlib/tst-strtol.c (main): Likewise.
47191 * stdlib/tst-strtoll.c (main): Likewise.
47192 * string/bits/string2.h (__strcmp_cc): Likewise.
47193 (__strcmp_cg): Likewise.
47194 (__strcspn_c1): Likewise.
47195 (__strcspn_c2): Likewise.
47196 (__strcspn_c3): Likewise.
47197 (__strspn_c1): Likewise.
47198 (__strspn_c2): Likewise.
47199 (__strspn_c3): Likewise.
47200 (__strsep_1c): Likewise.
47201 (__strsep_2c): Likewise.
47202 (__strsep_3c): Likewise.
47203 * string/memccpy.c (__memccpy): Likewise.
47204 * string/stpcpy.c (__stpcpy): Likewise.
47205 * string/strcmp.c (strcmp): Likewise.
47206 * string/strrchr.c (strrchr): Likewise.
47207 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47208 Likewise.
47209 * sysdeps/mach/hurd/getcwd.c
47210 (_hurd_canonicalize_directory_name_internal): Likewise.
47211 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47212 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47213 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47214 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47215 Likewise, in both definitions.
47216 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47217 definitions.
47218 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47219 64] (__bswap_64): Likewise.
47220 * time/test_time.c (main): Likewise.
47221 * time/tzfile.c (__tzfile_read): Likewise.
47222 (__tzfile_compute): Likewise.
47223 * time/tzset.c (__tzset_parse_tz): Likewise.
47224 (tzset_internal): Likewise.
47225 (compute_change): Likewise.
47226 * wcsmbs/wcscat.c (__wcscat): Likewise.
47227 * wcsmbs/wcschr.c (wcschr): Likewise.
47228 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47229 * wcsmbs/wcscspn.c (wcscspn): Likewise.
47230 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47231 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47232 * wcsmbs/wcsspn.c (wcsspn): Likewise.
47233 * wcsmbs/wcsstr.c (wcsstr): Likewise.
47234 * wcsmbs/wmemchr.c (wmemchr): Likewise.
47235 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47236 * wcsmbs/wmemset.c (wmemset): Likewise.
47237
47238 2013-06-06 Joseph Myers <joseph@codesourcery.com>
47239
47240 * scripts/config.guess: Update to version 2013-05-16.
47241 * scripts/config.sub: Update to version 2013-04-24.
47242 * scripts/install-sh: Update to version 2011-11-20.07.
47243 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47244 * scripts/move-if-change: Update to version 2012-01-06 07:23.
47245
47246 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
47247
47248 * debug/fgetws_u_chk.c: Fix leading whitespaces.
47249 * elf/sln.c: Likewise.
47250 * hurd/hurd/ioctl.h: Likewise.
47251 * hurd/hurdmalloc.c: Likewise.
47252 * hurd/xattr.c: Likewise.
47253 * include/shlib-compat.h: Likewise.
47254 * inet/ruserpass.c: Likewise.
47255 * libio/iofgets_u.c: Likewise.
47256 * libio/iofgetws_u.c: Likewise.
47257 * locale/programs/ld-identification.c: Likewise.
47258 * locale/programs/ld-time.c: Likewise.
47259 * mach/msg-destroy.c: Likewise.
47260 * nss/nss_files/files-netgrp.c: Likewise.
47261 * resolv/res_data.c: Likewise.
47262 * soft-fp/op-1.h: Likewise.
47263 * soft-fp/op-2.h: Likewise.
47264 * soft-fp/op-4.h: Likewise.
47265 * soft-fp/op-common.h: Likewise.
47266 * stdio-common/printf_fphex.c: Likewise.
47267 * stdlib/strtod_l.c: Likewise.
47268 * sunrpc/rpc/clnt.h: Likewise.
47269 * sysdeps/generic/framestate.c: Likewise.
47270 * sysdeps/i386/bsd-_setjmp.S: Likewise.
47271 * sysdeps/i386/bsd-setjmp.S: Likewise.
47272 * sysdeps/i386/__longjmp.S: Likewise.
47273 * sysdeps/i386/setjmp.S: Likewise.
47274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47275 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47276 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47277 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47292 * sysdeps/ieee754/support.c: Likewise.
47293 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47294 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47295 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47296 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47297 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47298 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47299 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47300 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47301 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47302 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47303 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47304 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47305 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47306 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47307 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47308 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47309 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47311
47312 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
47313
47314 * posix/transbug.c: Remove executable mode.
47315
47316 2013-06-05 Joseph Myers <joseph@codesourcery.com>
47317
47318 * crypt/speeds.c: Remove trailing whitespace.
47319 * dlfcn/default.c: Likewise.
47320 * elf/ifuncdep2.c: Likewise.
47321 * elf/ifuncmain1.c: Likewise.
47322 * elf/ifuncmain1vis.c: Likewise.
47323 * elf/testobj.h: Likewise.
47324 * elf/tst-stackguard1.c: Likewise.
47325 * gmon/sys/gmon.h: Likewise.
47326 * hurd/hurdmsg.c: Likewise.
47327 * hurd/new-fd.c: Likewise.
47328 * hurd/ports-get.c: Likewise.
47329 * iconvdata/ibm1008_420.c: Likewise.
47330 * inet/tst-getni1.c: Likewise.
47331 * inet/tst-getni2.c: Likewise.
47332 * libio/ioungetc.c: Likewise.
47333 * libio/wfiledoalloc.c: Likewise.
47334 * manual/libm-err-tab.pl: Likewise.
47335 * math/w_dremf.c: Likewise.
47336 * misc/ftruncate.c: Likewise.
47337 * posix/bug-glob2.c: Likewise.
47338 * posix/tst-pcre.c: Likewise.
47339 * posix/wait4.c: Likewise.
47340 * resolv/README: Likewise.
47341 * resolv/res_debug.h: Likewise.
47342 * resolv/tst-inet_ntop.c: Likewise.
47343 * setjmp/bug269-setjmp.c: Likewise.
47344 * soft-fp/extended.h: Likewise.
47345 * soft-fp/op-1.h: Likewise.
47346 * soft-fp/op-2.h: Likewise.
47347 * soft-fp/op-4.h: Likewise.
47348 * soft-fp/op-8.h: Likewise.
47349 * soft-fp/testit.c: Likewise.
47350 * stdio-common/bug16.c: Likewise.
47351 * stdlib/random.c: Likewise.
47352 * sunrpc/rpcsvc/rquota.x: Likewise.
47353 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47354 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47355 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47356 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47357 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47358 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47359 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47361 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47362 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47371 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47372 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47375 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47380 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47382 * sysdeps/ieee754/s_lib_version.c: Likewise.
47383 * sysdeps/mach/hurd/check_fds.c: Likewise.
47384 * sysdeps/mach/hurd/getsockname.c: Likewise.
47385 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47386 * sysdeps/mach/hurd/recvfrom.c: Likewise.
47387 * sysdeps/powerpc/bits/link.h: Likewise.
47388 * sysdeps/powerpc/dl-procinfo.c: Likewise.
47389 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47390 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47391 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47392 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47393 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47394 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47395 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47396 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47397 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47398 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47399 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47400 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47401 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47402 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47403 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47404 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47407 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47408 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47409 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47410 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47411 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47412 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47413 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47414 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47415 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47416 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47418 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47419 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47421 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47422 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47423 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47424 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47425 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47426 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47427 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47428 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47429 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47430 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47431 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47432 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47433 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47434 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47435 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47436 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47437 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47438 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47440 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47441 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47442 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47443 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
47444 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
47445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47446 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
47447 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47448 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
47449 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
47450 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
47451 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47452 * sysdeps/powerpc/sysdep.h: Likewise.
47453 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47454 * sysdeps/s390/s390-64/sub_n.S: Likewise.
47455 * sysdeps/sh/dl-trampoline.S: Likewise.
47456 * sysdeps/sh/memset.S: Likewise.
47457 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
47458 * sysdeps/sh/strlen.S: Likewise.
47459 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
47460 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
47461 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
47462 * sysdeps/sparc/sparc32/rem.S: Likewise.
47463 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
47464 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
47465 * sysdeps/sparc/sparc32/strchr.S: Likewise.
47466 * sysdeps/sparc/sparc32/udiv.S: Likewise.
47467 * sysdeps/sparc/sparc32/urem.S: Likewise.
47468 * sysdeps/sparc/sparc64/add_n.S: Likewise.
47469 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47470 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
47471 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
47472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
47473 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
47474 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
47475 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
47476 * sysdeps/unix/bsd/times.c: Likewise.
47477 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
47478 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
47479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
47480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
47481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
47482 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
47483 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47484 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
47485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
47486 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
47487 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
47488 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
47489 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
47490 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47491 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
47492 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
47493 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
47494 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
47495 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
47496 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
47497 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
47498 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
47499 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47500 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
47501 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
47502 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
47503 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
47504 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47505 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
47506 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
47507 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
47508 * sysdeps/x86_64/strcspn.S: Likewise.
47509
47510 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
47511
47512 * locale/C-translit.h: Revert #include <stdint.h> because this is a
47513 generated file. Regenerate properly from gen-translit.pl.
47514 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
47515 locale/C-translit.h.
47516
47517 2013-06-05 Andreas Schwab <schwab@suse.de>
47518
47519 [BZ #15100]
47520 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
47521 week as 6 instead of -1.
47522 * time/tst-strptime.c (day_tests): Add test case.
47523
47524 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47525
47526 * sysdeps/generic/math_private.h
47527 (libc_feholdexcept_setround_53bit): Replace with
47528 libc_feholdsetround_53bit.
47529 (libc_feupdateenv_53bit): Replace with
47530 libc_feresetround_53bit.
47531 (SET_RESTORE_ROUND_53BIT): Adjust.
47532
47533 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
47534
47535 * string/test-strchrnul.c: Add copyright header.
47536
47537 * posix/tst-getaddrinfo4.c: Increase test timeout.
47538
47539 2013-06-03 Carlos O'Donell <carlos@redhat.com>
47540
47541 [BZ #15536]
47542 * math/libm-test.inc (MAX_EXP): Remove
47543 (MIN_EXP): Define.
47544 (ulp): Use MIN_EXP - MANT_DIG.
47545 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
47546
47547 2013-05-31 Carlos O'Donell <carlos@redhat.com>
47548
47549 * po/be.po: Revert last change.
47550 * po/zh_CN.po: Likewise.
47551 * po/header.pot: Likewise.
47552
47553 2013-05-31 Joseph Myers <joseph@codesourcery.com>
47554
47555 * Makefile ($(common-objpfx)linkobj/libc.so): Define
47556 link-libc-deps to empty as target-specific variable.
47557 * Makerules (link-libc-args): New variable.
47558 (libc-for-link): Likewise.
47559 (link-libc-deps): Likewise.
47560 (lib%.so): Depend on $(link-libc-deps). Link with
47561 $(link-libc-args).
47562 (build-module): Link with $(link-libc-args).
47563 (build-module-asneeded): Likewise.
47564 (build-module-helper-objlist): Filter out $(link-libc-deps) from
47565 list of objects.
47566 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
47567 target-specific variable.
47568 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
47569 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
47570 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
47571 libc.
47572 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
47573 libc and ld.so.
47574 ($(objpfx)libpcprofile.so): Likewise.
47575 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
47576 libc_nonshared.a.
47577 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
47578 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
47579 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
47580 $(link-libc-deps).
47581 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
47582 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
47583 * login/Makefile ($(objpfx)libutil.so): Likewise.
47584 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
47585 * math/Makefile ($(objpfx)libm.so): Likewise.
47586 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
47587 $(objpfx)libnsl.so): Define libc-for-link as target-specific
47588 variable instead of depending directly on libc.
47589 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
47590 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
47591 $(link-libc-deps).
47592 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
47593 libc.
47594 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
47595 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
47596 ($(objpfx)libanl.so): Likewise.
47597 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
47598 ld.so.
47599 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
47600 $(link-libc-deps).
47601 * sysdeps/i386/fpu/Makefile: Remove file.
47602 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
47603 ($(objpfx)libm.so): Remove dependency on ld.so.
47604
47605 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
47606
47607 [BZ # 15553]
47608 * nis/yp_xdr.c (XDRMAXNAME): Define.
47609 (XDRMAXRECORD): Define.
47610 (xdr_domainname): Use XDRMAXNAME.
47611 (xdr_mapname): Likewise.
47612 (xdr_peername): Likewise.
47613 (xdr_keydat): Use XDRMAXRECORD.
47614 (xdr_valdat): Likewise.
47615
47616 2013-05-30 Jeff Law <law@redhat.com>
47617
47618 [BZ #14256]
47619 * manual/errno.texi (ESTALE): Update to account for more than
47620 just NFS file systems.
47621 * sysdeps/gnu/errlist.c: Regenerated.
47622
47623 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
47624
47625 [BZ #15465]
47626 * elf/Makefile (tests): Add tst-null-argv.
47627 (modules-names): Add tst-null-argv-lib.
47628 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
47629 (tst-null-argv-ENV): Set environment for tst-null-argv.
47630 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
47631 (RTLD_PROGNAME): New macro.
47632 * elf/tst-null-argv.c: New test case.
47633 * elf/tst-null-argv-lib.c: Library for test case.
47634 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
47635 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
47636 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
47637 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
47638 * elf/dl-init.c (call_init): Likewise.
47639 (_dl_init): Likewise.
47640 * elf/dl-load.c (print_search_path): Likewise.
47641 (_dl_map_object): Likewise.
47642 * elf/dl-lookup.c (do_lookup_x): Likewise.
47643 (add_dependency): Likewise.
47644 (_dl_lookup_symbol_x): Likewise.
47645 (_dl_debug_bindings): Likewise.
47646 * elf/dl-open.c (_dl_show_scope): Likewise.
47647 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47648 * elf/dl-version.c (match_symbol): Likewise.
47649 (_dl_check_map_versions): Likewise.
47650 * elf/rtld.c (dl_main): Likewise.
47651 (print_unresolved): Use RTLD_PROGNAME.
47652 (print_missing_version): Likewise.
47653 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
47654 (elf_machine_rela): Likewise.
47655 * sysdeps/powerpc/powerpc32/dl-machine.c
47656 (__process_machine_rela): Likewise.
47657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47658 Likewise.
47659 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
47660 Likewise.
47661 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
47662 Likewise.
47663 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47664 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
47665 Likewise.
47666 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
47667 Likewise.
47668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47669
47670 2013-05-28 Carlos O'Donell <carlos@redhat.com>
47671
47672 * po/be.po: Add descriptive title.
47673 * po/zh_CN.po: Likewise.
47674 * po/header.pot: Likewise.
47675
47676 2013-05-28 Mike Frysinger <vapier@gentoo.org>
47677
47678 * locale/programs/locarchive.c (create_archive): Inlucde fname in
47679 error message.
47680 (enlarge_archive): Likewise.
47681
47682 2013-05-28 Ben North <ben@redfrontdoor.org>
47683
47684 * manual/arith.texi (frexp): It is the magnitude of the return
47685 value which lies in [0.5, 1), not the return value itself.
47686
47687 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47688
47689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47690
47691 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
47692
47693 * stdio-common/bug26.c (main): Correct fscanf template.
47694
47695 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
47696 declare _dl_skip_args.
47697
47698 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
47699 Don't declare.
47700
47701 * manual/platform.texi: Add missing @end deftypefun.
47702
47703 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47704
47705 [BZ #15529]
47706 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
47707 bit of mantissa of 2^16382.
47708 * math/libm-test.inc (hypot_test_data): Add more tests.
47709
47710 * math/libm-test.inc: Add drem and pow10 to list of tested
47711 functions.
47712 (pow10_test): New function.
47713 (drem_test): Likewise.
47714 (drem_test_tonearest): Likewise.
47715 (drem_test_towardzero): Likewise.
47716 (drem_test_downward): Likewise.
47717 (drem_test_upward): Likewise.
47718 (main): Call the new functions.
47719
47720 * math/libm-test.inc (finite_test_data): Remove.
47721 (finite_test): Run tests from isfinite_test_data.
47722 (gamma_test_data): Remove.
47723 (gamma_test): Run tests from lgamma_test_data.
47724 * sysdeps/i386/fpu/libm-test-ulps: Update.
47725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47726
47727 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47728
47729 * manual/platform.texi: Add PowerPC PPR function set documentation.
47730 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
47731 implementation.
47732
47733 2013-05-24 Carlos O'Donell <carlos@redhat.com>
47734
47735 * math/libm-test.inc (MAX_EXP): Define.
47736 (ULPDIFF): Define.
47737 (ulp): New function.
47738 (check_float_internal): Use ULPDIFF.
47739 (cpow_test): Disable failing test.
47740 (check_ulp): Test ulp() implemetnation.
47741 (main): Call check_ulp before starting tests.
47742
47743 2013-05-24 Joseph Myers <joseph@codesourcery.com>
47744
47745 * math/gen-libm-test.pl (generate_testfile): Do not handle
47746 START_DATA and END_DATA.
47747 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
47748 END_DATA.
47749 (acos_tonearest_test_data): Likewise.
47750 (acos_towardzero_test_data): Likewise.
47751 (acos_downward_test_data): Likewise.
47752 (acos_upward_test_data): Likewise.
47753 (acosh_test_data): Likewise.
47754 (asin_test_data): Likewise.
47755 (asin_tonearest_test_data): Likewise.
47756 (asin_towardzero_test_data): Likewise.
47757 (asin_downward_test_data): Likewise.
47758 (asin_upward_test_data): Likewise.
47759 (asinh_test_data): Likewise.
47760 (atan_test_data): Likewise.
47761 (atanh_test_data): Likewise.
47762 (atan2_test_data): Likewise.
47763 (cabs_test_data): Likewise.
47764 (cacos_test_data): Likewise.
47765 (cacosh_test_data): Likewise.
47766 (carg_test_data): Likewise.
47767 (casin_test_data): Likewise.
47768 (casinh_test_data): Likewise.
47769 (catan_test_data): Likewise.
47770 (catanh_test_data): Likewise.
47771 (cbrt_test_data): Likewise.
47772 (ccos_test_data): Likewise.
47773 (ccosh_test_data): Likewise.
47774 (ceil_test_data): Likewise.
47775 (cexp_test_data): Likewise.
47776 (cimag_test_data): Likewise.
47777 (clog_test_data): Likewise.
47778 (clog10_test_data): Likewise.
47779 (conj_test_data): Likewise.
47780 (copysign_test_data): Likewise.
47781 (cos_test_data): Likewise.
47782 (cos_tonearest_test_data): Likewise.
47783 (cos_towardzero_test_data): Likewise.
47784 (cos_downward_test_data): Likewise.
47785 (cos_upward_test_data): Likewise.
47786 (cosh_test_data): Likewise.
47787 (cosh_tonearest_test_data): Likewise.
47788 (cosh_towardzero_test_data): Likewise.
47789 (cosh_downward_test_data): Likewise.
47790 (cosh_upward_test_data): Likewise.
47791 (cpow_test_data): Likewise.
47792 (cproj_test_data): Likewise.
47793 (creal_test_data): Likewise.
47794 (csin_test_data): Likewise.
47795 (csinh_test_data): Likewise.
47796 (csqrt_test_data): Likewise.
47797 (ctan_test_data): Likewise.
47798 (ctan_tonearest_test_data): Likewise.
47799 (ctan_towardzero_test_data): Likewise.
47800 (ctan_downward_test_data): Likewise.
47801 (ctan_upward_test_data): Likewise.
47802 (ctanh_test_data): Likewise.
47803 (ctanh_tonearest_test_data): Likewise.
47804 (ctanh_towardzero_test_data): Likewise.
47805 (ctanh_downward_test_data): Likewise.
47806 (ctanh_upward_test_data): Likewise.
47807 (erf_test_data): Likewise.
47808 (erfc_test_data): Likewise.
47809 (exp_test_data): Likewise.
47810 (exp_tonearest_test_data): Likewise.
47811 (exp_towardzero_test_data): Likewise.
47812 (exp_downward_test_data): Likewise.
47813 (exp_upward_test_data): Likewise.
47814 (exp10_test_data): Likewise.
47815 (exp2_test_data): Likewise.
47816 (expm1_test_data): Likewise.
47817 (fabs_test_data): Likewise.
47818 (fdim_test_data): Likewise.
47819 (finite_test_data): Likewise.
47820 (floor_test_data): Likewise.
47821 (fma_test_data): Likewise.
47822 (fma_towardzero_test_data): Likewise.
47823 (fma_downward_test_data): Likewise.
47824 (fma_upward_test_data): Likewise.
47825 (fmax_test_data): Likewise.
47826 (fmin_test_data): Likewise.
47827 (fmod_test_data): Likewise.
47828 (fpclassify_test_data): Likewise.
47829 (frexp_test_data): Likewise.
47830 (gamma_test_data): Likewise.
47831 (hypot_test_data): Likewise.
47832 (ilogb_test_data): Likewise.
47833 (isfinite_test_data): Likewise.
47834 (isgreater_test_data): Likewise.
47835 (isgreaterequal_test_data): Likewise.
47836 (isinf_test_data): Likewise.
47837 (isless_test_data): Likewise.
47838 (islessequal_test_data): Likewise.
47839 (islessgreater_test_data): Likewise.
47840 (isnan_test_data): Likewise.
47841 (isnormal_test_data): Likewise.
47842 (issignaling_test_data): Likewise.
47843 (isunordered_test_data): Likewise.
47844 (j0_test_data): Likewise.
47845 (j1_test_data): Likewise.
47846 (jn_test_data): Likewise.
47847 (ldexp_test_data): Likewise.
47848 (lgamma_test_data): Likewise.
47849 (lrint_test_data): Likewise.
47850 (lrint_tonearest_test_data): Likewise.
47851 (lrint_towardzero_test_data): Likewise.
47852 (lrint_downward_test_data): Likewise.
47853 (lrint_upward_test_data): Likewise.
47854 (llrint_test_data): Likewise.
47855 (llrint_tonearest_test_data): Likewise.
47856 (llrint_towardzero_test_data): Likewise.
47857 (llrint_downward_test_data): Likewise.
47858 (llrint_upward_test_data): Likewise.
47859 (log_test_data): Likewise.
47860 (log10_test_data): Likewise.
47861 (log1p_test_data): Likewise.
47862 (log2_test_data): Likewise.
47863 (logb_test_data): Likewise.
47864 (logb_downward_test_data): Likewise.
47865 (lround_test_data): Likewise.
47866 (llround_test_data): Likewise.
47867 (modf_test_data): Likewise.
47868 (nearbyint_test_data): Likewise.
47869 (nextafter_test_data): Likewise.
47870 (nexttoward_test_data): Likewise.
47871 (pow_test_data): Likewise.
47872 (pow_tonearest_test_data): Likewise.
47873 (pow_towardzero_test_data): Likewise.
47874 (pow_downward_test_data): Likewise.
47875 (pow_upward_test_data): Likewise.
47876 (remainder_test_data): Likewise.
47877 (remainder_tonearest_test_data): Likewise.
47878 (remainder_towardzero_test_data): Likewise.
47879 (remainder_downward_test_data): Likewise.
47880 (remainder_upward_test_data): Likewise.
47881 (remquo_test_data): Likewise.
47882 (rint_test_data): Likewise.
47883 (rint_tonearest_test_data): Likewise.
47884 (rint_towardzero_test_data): Likewise.
47885 (rint_downward_test_data): Likewise.
47886 (rint_upward_test_data): Likewise.
47887 (round_test_data): Likewise.
47888 (scalb_test_data): Likewise.
47889 (scalbn_test_data): Likewise.
47890 (scalbln_test_data): Likewise.
47891 (signbit_test_data): Likewise.
47892 (sin_test_data): Likewise.
47893 (sin_tonearest_test_data): Likewise.
47894 (sin_towardzero_test_data): Likewise.
47895 (sin_downward_test_data): Likewise.
47896 (sin_upward_test_data): Likewise.
47897 (sincos_test_data): Likewise.
47898 (sinh_test_data): Likewise.
47899 (sinh_tonearest_test_data): Likewise.
47900 (sinh_towardzero_test_data): Likewise.
47901 (sinh_downward_test_data): Likewise.
47902 (sinh_upward_test_data): Likewise.
47903 (sqrt_test_data): Likewise.
47904 (tan_test_data): Likewise.
47905 (tan_tonearest_test_data): Likewise.
47906 (tan_towardzero_test_data): Likewise.
47907 (tan_downward_test_data): Likewise.
47908 (tan_upward_test_data): Likewise.
47909 (tanh_test_data): Likewise.
47910 (tgamma_test_data): Likewise.
47911 (trunc_test_data): Likewise.
47912 (y0_test_data): Likewise.
47913 (y1_test_data): Likewise.
47914 (yn_test_data): Likewise.
47915 (significand_test_data): Likewise.
47916
47917 * math/gen-libm-test.pl (@functions): Remove variable.
47918 (generate_testfile): Don't handle START and END lines.
47919 * math/libm-test.inc (START): New macro.
47920 (END): Likewise.
47921 (END_COMPLEX): Likewise.
47922 (acos_test): Use END macro without arguments.
47923 (acos_test_tonearest): Likewise.
47924 (acos_test_towardzero): Likewise.
47925 (acos_test_downward): Likewise.
47926 (acos_test_upward): Likewise.
47927 (acosh_test): Likewise.
47928 (asin_test): Likewise.
47929 (asin_test_tonearest): Likewise.
47930 (asin_test_towardzero): Likewise.
47931 (asin_test_downward): Likewise.
47932 (asin_test_upward): Likewise.
47933 (asinh_test): Likewise.
47934 (atan_test): Likewise.
47935 (atanh_test): Likewise.
47936 (atan2_test): Likewise.
47937 (cabs_test): Likewise.
47938 (cacos_test): Use END_COMPLEX macro without arguments.
47939 (cacosh_test): Likewise.
47940 (carg_test): Use END macro without arguments.
47941 (casin_test): Use END_COMPLEX macro without arguments.
47942 (casinh_test): Likewise.
47943 (catan_test): Likewise.
47944 (catanh_test): Likewise.
47945 (cbrt_test): Use END macro without arguments.
47946 (ccos_test): Use END_COMPLEX macro without arguments.
47947 (ccosh_test): Likewise.
47948 (ceil_test): Use END macro without arguments.
47949 (cexp_test): Use END_COMPLEX macro without arguments.
47950 (cimag_test): Use END macro without arguments.
47951 (clog_test): Use END_COMPLEX macro without arguments.
47952 (clog10_test): Likewise.
47953 (conj_test): Likewise.
47954 (copysign_test): Use END macro without arguments.
47955 (cos_test): Likewise.
47956 (cos_test_tonearest): Likewise.
47957 (cos_test_towardzero): Likewise.
47958 (cos_test_downward): Likewise.
47959 (cos_test_upward): Likewise.
47960 (cosh_test): Likewise.
47961 (cosh_test_tonearest): Likewise.
47962 (cosh_test_towardzero): Likewise.
47963 (cosh_test_downward): Likewise.
47964 (cosh_test_upward): Likewise.
47965 (cpow_test): Use END_COMPLEX macro without arguments.
47966 (cproj_test): Likewise.
47967 (creal_test): Use END macro without arguments.
47968 (csin_test): Use END_COMPLEX macro without arguments.
47969 (csinh_test): Likewise.
47970 (csqrt_test): Likewise.
47971 (ctan_test): Likewise.
47972 (ctan_test_tonearest): Likewise.
47973 (ctan_test_towardzero): Likewise.
47974 (ctan_test_downward): Likewise.
47975 (ctan_test_upward): Likewise.
47976 (ctanh_test): Likewise.
47977 (ctanh_test_tonearest): Likewise.
47978 (ctanh_test_towardzero): Likewise.
47979 (ctanh_test_downward): Likewise.
47980 (ctanh_test_upward): Likewise.
47981 (erf_test): Use END macro without arguments.
47982 (erfc_test): Likewise.
47983 (exp_test): Likewise.
47984 (exp_test_tonearest): Likewise.
47985 (exp_test_towardzero): Likewise.
47986 (exp_test_downward): Likewise.
47987 (exp_test_upward): Likewise.
47988 (exp10_test): Likewise.
47989 (exp2_test): Likewise.
47990 (expm1_test): Likewise.
47991 (fabs_test): Likewise.
47992 (fdim_test): Likewise.
47993 (finite_test): Likewise.
47994 (floor_test): Likewise.
47995 (fma_test): Likewise.
47996 (fma_test_towardzero): Likewise.
47997 (fma_test_downward): Likewise.
47998 (fma_test_upward): Likewise.
47999 (fmax_test): Likewise.
48000 (fmin_test): Likewise.
48001 (fmod_test): Likewise.
48002 (fpclassify_test): Likewise.
48003 (frexp_test): Likewise.
48004 (gamma_test): Likewise.
48005 (hypot_test): Likewise.
48006 (ilogb_test): Likewise.
48007 (isfinite_test): Likewise.
48008 (isgreater_test): Likewise.
48009 (isgreaterequal_test): Likewise.
48010 (isinf_test): Likewise.
48011 (isless_test): Likewise.
48012 (islessequal_test): Likewise.
48013 (islessgreater_test): Likewise.
48014 (isnan_test): Likewise.
48015 (isnormal_test): Likewise.
48016 (issignaling_test): Likewise.
48017 (isunordered_test): Likewise.
48018 (j0_test): Likewise.
48019 (j1_test): Likewise.
48020 (jn_test): Likewise.
48021 (ldexp_test): Likewise.
48022 (lgamma_test): Likewise.
48023 (lrint_test): Likewise.
48024 (lrint_test_tonearest): Likewise.
48025 (lrint_test_towardzero): Likewise.
48026 (lrint_test_downward): Likewise.
48027 (lrint_test_upward): Likewise.
48028 (llrint_test): Likewise.
48029 (llrint_test_tonearest): Likewise.
48030 (llrint_test_towardzero): Likewise.
48031 (llrint_test_downward): Likewise.
48032 (llrint_test_upward): Likewise.
48033 (log_test): Likewise.
48034 (log10_test): Likewise.
48035 (log1p_test): Likewise.
48036 (log2_test): Likewise.
48037 (logb_test): Likewise.
48038 (logb_test_downward): Likewise.
48039 (lround_test): Likewise.
48040 (llround_test): Likewise.
48041 (modf_test): Likewise.
48042 (nearbyint_test): Likewise.
48043 (nextafter_test): Likewise.
48044 (nexttoward_test): Likewise.
48045 (pow_test): Likewise.
48046 (pow_test_tonearest): Likewise.
48047 (pow_test_towardzero): Likewise.
48048 (pow_test_downward): Likewise.
48049 (pow_test_upward): Likewise.
48050 (remainder_test): Likewise.
48051 (remainder_test_tonearest): Likewise.
48052 (remainder_test_towardzero): Likewise.
48053 (remainder_test_downward): Likewise.
48054 (remainder_test_upward): Likewise.
48055 (remquo_test): Likewise.
48056 (rint_test): Likewise.
48057 (rint_test_tonearest): Likewise.
48058 (rint_test_towardzero): Likewise.
48059 (rint_test_downward): Likewise.
48060 (rint_test_upward): Likewise.
48061 (round_test): Likewise.
48062 (scalb_test): Likewise.
48063 (scalbn_test): Likewise.
48064 (scalbln_test): Likewise.
48065 (signbit_test): Likewise.
48066 (sin_test): Likewise.
48067 (sin_test_tonearest): Likewise.
48068 (sin_test_towardzero): Likewise.
48069 (sin_test_downward): Likewise.
48070 (sin_test_upward): Likewise.
48071 (sincos_test): Likewise.
48072 (sinh_test): Likewise.
48073 (sinh_test_tonearest): Likewise.
48074 (sinh_test_towardzero): Likewise.
48075 (sinh_test_downward): Likewise.
48076 (sinh_test_upward): Likewise.
48077 (sqrt_test): Likewise.
48078 (tan_test): Likewise.
48079 (tan_test_tonearest): Likewise.
48080 (tan_test_towardzero): Likewise.
48081 (tan_test_downward): Likewise.
48082 (tan_test_upward): Likewise.
48083 (tanh_test): Likewise.
48084 (tgamma_test): Likewise.
48085 (trunc_test): Likewise.
48086 (y0_test): Likewise.
48087 (y1_test): Likewise.
48088 (yn_test): Likewise.
48089 (significand_test): Likewise.
48090
48091 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
48092
48093 [BZ #15381]
48094 * libio/genops.c (_IO_no_init): Initialize wide struct info.
48095
48096 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
48097
48098 [BZ #14894]
48099 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48100 __ppc_mdoio and __ppc_mdoom.
48101 * manual/platform.texi: Document new functions __ppc_yield,
48102 __ppc_mdoio and __ppc_mdoom.
48103
48104 2013-05-22 Carlos O'Donell <carlos@redhat.com>
48105
48106 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48107 (main): Mention "tls" pseudo-hwcap is legacy.
48108 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48109
48110 2013-05-22 Joseph Myers <joseph@codesourcery.com>
48111
48112 * math/gen-libm-test.pl (parse_args): Output only string of
48113 arguments as text for test name, not full call or descriptions of
48114 tests for extra outputs.
48115 (generate_testfile): Do not pass function name to parse_args.
48116 Generate this_func variable from START.
48117 * math/libm-test.inc (struct test_f_f_data): Rename test_name
48118 field to arg_str.
48119 (struct test_ff_f_data): Likewise.
48120 (test_ff_f_data_nexttoward): Likewise.
48121 (struct test_fi_f_data): Likewise.
48122 (struct test_fl_f_data): Likewise.
48123 (struct test_if_f_data): Likewise.
48124 (struct test_fff_f_data): Likewise.
48125 (struct test_c_f_data): Likewise.
48126 (struct test_f_f1_data): Likewise. Remove field extra_name.
48127 (struct test_fF_f1_data): Likewise.
48128 (struct test_ffI_f1_data): Likewise.
48129 (struct test_c_c_data): Rename test_name field to arg_str.
48130 (struct test_cc_c_data): Likewise.
48131 (struct test_f_i_data): Likewise.
48132 (struct test_ff_i_data): Likewise.
48133 (struct test_f_l_data): Likewise.
48134 (struct test_f_L_data): Likewise.
48135 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
48136 and extra2_name.
48137 (COMMON_TEST_SETUP): New macro.
48138 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48139 (COMMON_TEST_CLEANUP): Likewise.
48140 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48141 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
48142 macros.
48143 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48144 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
48145 macros.
48146 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48147 (RUN_TEST_fff_f): Take argument string. Call new setup and
48148 cleanup macros.
48149 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48150 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
48151 macros.
48152 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48153 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
48154 macros.
48155 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48156 (RUN_TEST_fF_f1): Take argument string. Call new setup and
48157 cleanup macros.
48158 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48159 (RUN_TEST_fI_f1): Take argument string. Call new setup and
48160 cleanup macros.
48161 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48162 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
48163 cleanup macros.
48164 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48165 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
48166 macros.
48167 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48168 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
48169 macros.
48170 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48171 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
48172 macros.
48173 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48174 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
48175 cleanup macros.
48176 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48177 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
48178 cleanup macros.
48179 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48180 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
48181 macros.
48182 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48183 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
48184 cleanup macros.
48185 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48186 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
48187 macros.
48188 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48189 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
48190 macros.
48191 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48192 (RUN_TEST_fFF_11): Take argument string. Call new setup and
48193 cleanup macros.
48194 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48195
48196 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
48197
48198 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48199 to _sifields.sigfault.
48200 (si_addr_lsb): Define new macro.
48201 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48202 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48203 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48204
48205 2013-05-03 Carlos O'Donell <carlos at redhat.com>
48206
48207 [BZ #15441]
48208 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48209 returns -1.
48210 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48211 null return -1.
48212 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48213 loading the domain.
48214
48215 2013-05-22 Joseph Myers <joseph@codesourcery.com>
48216
48217 * math/gen-libm-test.pl (parse_args): Do not include expected
48218 result in test name.
48219 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48220 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48221 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48222 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48223 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48225
48226 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48227
48228 * benchtests/Makefile: Sort function entries.
48229
48230 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48231 tanh, asinh, acosh, atanh.
48232 * benchtests/acos-inputs: New file.
48233 * benchtests/acosh-inputs: New file.
48234 * benchtests/asin-inputs: New file.
48235 * benchtests/asinh-inputs: New file.
48236 * benchtests/atanh-inputs: New file.
48237 * benchtests/cosh-inputs: New file.
48238 * benchtests/log-inputs: New file.
48239 * benchtests/sinh-inputs: New file.
48240 * benchtests/tanh-inputs: New file.
48241
48242 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
48243
48244 [BZ #15339]
48245 * posix/tst-getaddrinfo4.c: New test.
48246 * posix/Makefile (tests): Add it.
48247
48248 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48249
48250 [BZ #15339]
48251 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48252 when no services were used.
48253 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48254 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48255
48256 2013-05-21 Andreas Schwab <schwab@suse.de>
48257
48258 [BZ #15014]
48259 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48260 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48261 successful.
48262 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48263 redundant variable declarations and reallocation of buffer when
48264 parsing as IPv6 address. Always set NSS status when called from
48265 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
48266 buffer too small. Correct computation of needed size.
48267 * nss/Makefile (tests): Add test-digits-dots.
48268 * nss/test-digits-dots.c: New test.
48269
48270 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
48271
48272 * benchtests/Makefile: Remove instructions for adding
48273 benchmark tests.
48274 * benchtests/README: New file to explain how to execute and
48275 enhance the benchmark tests.
48276
48277 2013-05-21 Andreas Schwab <schwab@suse.de>
48278
48279 [BZ #15493]
48280 * setjmp/Makefile (tests): Add tst-sigsetjmp.
48281 * setjmp/tst-sigsetjmp.c: New test.
48282
48283 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
48284
48285 * sysdeps/x86_64/memset.S (memset): New implementation.
48286 (__bzero): Likewise.
48287 (__memset_tail): New function.
48288
48289 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
48290
48291 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48292 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48293 __memcpy_sse2_unaligned ifunc selection.
48294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48295 Add memcpy-sse2-unaligned.S.
48296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48297 Add: __memcpy_sse2_unaligned.
48298
48299 2013-05-19 Joseph Myers <joseph@codesourcery.com>
48300
48301 [BZ #15490]
48302 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48303 math_force_eval before restoring floating-point envrionment.
48304 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48305 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48306 Likewise.
48307 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48308 <math_private.h>.
48309 (__nearbyintl): Use math_force_eval before restoring
48310 floating-point environment.
48311 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48312
48313 * math/gen-libm-test.pl (special_functions): Remove.
48314 (parse_args): Don't handle TEST_extra. Handle functions with no
48315 return value.
48316 * math/libm-test.inc (struct test_sincos_data): Replace with
48317 struct test_fFF_11_data.
48318 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48319 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48320 (sincos_test_data): Change element type to struct
48321 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
48322 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48323 RUN_TEST_LOOP_sincos.
48324 * math/README.libm-test: Don't mention special handling of
48325 individual functions.
48326 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48328 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48329 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48330 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48332
48333 * math/gen-libm-test.pl (get_variable): Remove function.
48334 (parse_args): Don't show pointer parameters to call in test
48335 names. Use "extra output N" in test names for extra outputs
48336 rather than naming variables.
48337
48338 2013-05-18 Joseph Myers <joseph@codesourcery.com>
48339
48340 [BZ #15488]
48341 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48342 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48343 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48344 double tests.
48345 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48346 disable.
48347 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48348 check_long_double.
48349
48350 * math/gen-libm-test.pl (@tests): Remove variable.
48351 ($count): Likewise.
48352 (new_test): Remove function.
48353 (show_exceptions): New function.
48354 (special_functions): Use show_exceptions instead of new_test.
48355 (parse_args): Likewise.
48356 (generate_testfile): Pass only function name in generated call to
48357 print_max_error or print_complex_max_error.
48358 (get_ulps): Do not handle complex tests specially.
48359 (output_test): Rename to ...
48360 (get_all_ulps_for_test): ... this. Return a string rather than
48361 printing to a file. Require ulps to be present.
48362 (output_ulps): Generate arrays rather than #defines.
48363 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48364 (struct ulp_data): New type.
48365 (BUILD_COMPLEX_ULP): Remove macro.
48366 (compare_ulp_data): New function.
48367 (find_ulps): Likewise.
48368 (find_test_ulps): Likewise.
48369 (find_function_ulps): Likewise.
48370 (find_complex_function_ulps): Likewise.
48371 (print_max_error): Determine allowed ulps using
48372 find_function_ulps.
48373 (print_complex_max_error): Determine allowed ulps using
48374 find_complex_function_ulps.
48375 (check_float_internal): Determine max ulps using find_test_ulps.
48376 (check_float): Do not take max_ulp parameter. Update call to
48377 check_float_internal.
48378 (check_complex): Likewise.
48379 (check_int): Do not take max_ulp parameter.
48380 (check_long): Likewise.
48381 (check_bool): Likewise.
48382 (check_longlong): Likewise.
48383 (struct test_f_f_data): Remove max_ulp field.
48384 (struct test_ff_f_data): Likewise.
48385 (struct test_ff_f_data_nexttoward): Likewise.
48386 (struct test_fi_f_data): Likewise.
48387 (struct test_fl_f_data): Likewise.
48388 (struct test_if_f_data): Likewise.
48389 (struct test_fff_f_data): Likewise.
48390 (struct test_c_f_data): Likewise.
48391 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48392 (struct test_fF_f1_data): Likewise.
48393 (struct test_ffI_f1_data): Likewise.
48394 (struct test_c_c_data): Remove max_ulp field.
48395 (struct test_cc_c_data): Likewise.
48396 (struct test_f_i_data): Likewise.
48397 (struct test_ff_i_data): Likewise.
48398 (struct test_f_l_data): Likewise.
48399 (struct test_f_L_data): Likewise.
48400 (struct test_sincos_data): Likewise.
48401 (RUN_TEST_f_f): Do not handle ulps.
48402 (RUN_TEST_LOOP_f_f): Likewise.
48403 (RUN_TEST_2_f): Likewise.
48404 (RUN_TEST_LOOP_2_f): Likewise.
48405 (RUN_TEST_fff_f): Likewise.
48406 (RUN_TEST_LOOP_fff_f): Likewise.
48407 (RUN_TEST_c_f): Likewise.
48408 (RUN_TEST_LOOP_c_f): Likewise.
48409 (RUN_TEST_f_f1): Likewise.
48410 (RUN_TEST_LOOP_f_f1): Likewise.
48411 (RUN_TEST_fF_f1): Likewise.
48412 (RUN_TEST_LOOP_fF_f1): Likewise.
48413 (RUN_TEST_fI_f1): Likewise.
48414 (RUN_TEST_LOOP_fI_f1): Likewise.
48415 (RUN_TEST_ffI_f1): Likewise.
48416 (RUN_TEST_LOOP_ffI_f1): Likewise.
48417 (RUN_TEST_c_c): Likewise.
48418 (RUN_TEST_LOOP_c_c): Likewise.
48419 (RUN_TEST_cc_c): Likewise.
48420 (RUN_TEST_LOOP_cc_c): Likewise.
48421 (RUN_TEST_f_i): Likewise.
48422 (RUN_TEST_LOOP_f_i): Likewise.
48423 (RUN_TEST_f_i_tg): Likewise.
48424 (RUN_TEST_LOOP_f_i_tg): Likewise.
48425 (RUN_TEST_ff_i_tg): Likewise.
48426 (RUN_TEST_LOOP_ff_i_tg): Likewise.
48427 (RUN_TEST_f_b): Likewise.
48428 (RUN_TEST_LOOP_f_b): Likewise.
48429 (RUN_TEST_f_b_tg): Likewise.
48430 (RUN_TEST_LOOP_f_b_tg): Likewise.
48431 (RUN_TEST_f_l): Likewise.
48432 (RUN_TEST_LOOP_f_l): Likewise.
48433 (RUN_TEST_f_L): Likewise.
48434 (RUN_TEST_LOOP_f_L): Likewise.
48435 (RUN_TEST_sincos): Likewise.
48436 (RUN_TEST_LOOP_sincos): Likewise.
48437
48438 2013-05-17 Joseph Myers <joseph@codesourcery.com>
48439
48440 [BZ #15480]
48441 [BZ #15485]
48442 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48443 main case of finite arguments, set rounding mode to FE_TONEAREST
48444 and discard exceptions.
48445 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
48446 exceptions.
48447 (remainder_tonearest_test_data): New variable.
48448 (remainder_test_tonearest): New function.
48449 (remainder_towardzero_test_data): New variable.
48450 (remainder_test_towardzero): New function.
48451 (remainder_downward_test_data): New variable.
48452 (remainder_test_downward): New function.
48453 (remainder_upward_test_data): New variable.
48454 (remainder_test_upward): New function.
48455 (main): Call the new test functions.
48456
48457 * math/libm-test.inc (struct test_f_f1_data): Remove field
48458 extra_init.
48459 (struct test_fF_f1_data): Likewise.
48460 (struct test_ffI_f1_data): Likewise.
48461 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
48462 based on value of EXTRA_EXPECTED.
48463 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48464 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
48465 EXTRA_VAR based on value of EXTRA_EXPECTED.
48466 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48467 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
48468 EXTRA_VAR based on value of EXTRA_EXPECTED.
48469 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48470 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
48471 EXTRA_VAR based on value of EXTRA_EXPECTED.
48472 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48473 * math/gen-libm-test.pl (parse_args): Don't output initializers
48474 for extra output values.
48475
48476 * math/libm-test.inc (check_int): Expect result to be exactly
48477 equal to expected value and do not handle ulps.
48478 (check_long): Likewise.
48479 (check_longlong): Likewise.
48480
48481 * math/libm-test.inc (ceil_test_data): Test for "inexact"
48482 exceptions.
48483 (cimag_test_data): Likewise.
48484 (conj_test_data): Likewise.
48485 (copysign_test_data): Likewise.
48486 (cproj_test_data): Likewise.
48487 (creal_test_data): Likewise.
48488 (fabs_test_data): Likewise.
48489 (fdim_test_data): Likewise.
48490 (finite_test_data): Likewise.
48491 (floor_test_data): Likewise.
48492 (fmax_test_data): Likewise.
48493 (fmin_test_data): Likewise.
48494 (fmod_test_data): Likewise.
48495 (fpclassify_test_data): Likewise.
48496 (frexp_test_data): Likewise.
48497 (ilogb_test_data): Likewise.
48498 (isfinite_test_data): Likewise.
48499 (isgreater_test_data): Likewise.
48500 (isgreaterequal_test_data): Likewise.
48501 (isinf_test_data): Likewise.
48502 (isless_test_data): Likewise.
48503 (islessequal_test_data): Likewise.
48504 (islessgreater_test_data): Likewise.
48505 (isnan_test_data): Likewise.
48506 (isnormal_test_data): Likewise.
48507 (issignaling_test_data): Likewise.
48508 (isunordered_test_data): Likewise.
48509 (ldexp_test_data): Likewise.
48510 (lrint_test_data): Likewise.
48511 (lrint_test_data) [TEST_FLOAT]: Disable one test.
48512 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
48513 (lrint_tonearest_test_data): Test for "inexact" exceptions.
48514 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48515 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
48516 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48517 test input.
48518 (lrint_towardzero_test_data): Test for "inexact" exceptions.
48519 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48520 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
48521 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
48522 that test input.
48523 (lrint_downward_test_data): Test for "inexact" exceptions.
48524 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48525 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
48526 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
48527 test input.
48528 (lrint_upward_test_data): Test for "inexact" exceptions.
48529 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
48530 test input.
48531 (llrint_test_data): Test for "inexact" exceptions.
48532 (llrint_test_data) [TEST_FLOAT]: Disable one test.
48533 (llrint_tonearest_test_data): Test for "inexact" exceptions.
48534 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
48535 (llrint_towardzero_test_data): Test for "inexact" exceptions.
48536 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
48537 (llrint_downward_test_data): Test for "inexact" exceptions.
48538 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
48539 (llrint_upward_test_data): Test for "inexact" exceptions.
48540 (logb_test_data): Likewise.
48541 (logb_downward_test_data): Likewise.
48542 (nextafter_test_data): Likewise.
48543 (nexttoward_test_data): Likewise.
48544 (remainder_test_data): Likewise.
48545 (remquo_test_data): Likewise.
48546 (scalbn_test_data): Likewise.
48547 (scalbln_test_data): Likewise.
48548 (signbit_test_data): Likewise.
48549 (sqrt_test_data): Likewise.
48550 (significand_test_data): Likewise.
48551
48552 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
48553
48554 [BZ #15424]
48555 * benchtests/bench-modf.c (struct args): Mark arg0 as
48556 volatile.
48557 * scripts/bench.pl: Mark members of struct args as volatile.
48558
48559 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48560
48561 [BZ # 15497]
48562 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
48563 negative infinity on POWER6 or lower.
48564 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
48565
48566 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
48567
48568 [BZ #15442]
48569 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
48570 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
48571 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
48572 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
48573 (_FP_SETQNAN): New macro.
48574 (_FP_SETQNAN_SEMIRAW): Likewise.
48575 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
48576 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
48577 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
48578 (FP_EXTEND): Use _FP_FRAC_SNANP.
48579 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
48580 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
48581 into account.
48582 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48583 New macro.
48584 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
48585 Likewise.
48586
48587 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48588
48589 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
48590 with DIVIDE_BY_ZERO_EXCEPTION.
48591 (gamma_test_data): Likewise.
48592 (lgamma_test_data): Likewise.
48593 (log_test_data): Likewise.
48594 (log10_test_data): Likewise.
48595 (log2_test_data): Likewise.
48596 (tgamma_test_data): Likewise.
48597
48598 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
48599 (acos_test_tonearest): Likewise.
48600 (acos_test_towardzero): Likewise.
48601 (acos_test_downward): Likewise.
48602 (acos_test_upward): Likewise.
48603 (acosh_test): Likewise.
48604 (asin_test): Likewise.
48605 (asin_test_tonearest): Likewise.
48606 (asin_test_towardzero): Likewise.
48607 (asin_test_downward): Likewise.
48608 (asin_test_upward): Likewise.
48609 (asinh_test): Likewise.
48610 (atan_test): Likewise.
48611 (atanh_test): Likewise.
48612 (atan2_test): Likewise.
48613 (cabs_test): Likewise.
48614 (cacos_test): Likewise.
48615 (cacosh_test): Likewise.
48616 (casin_test): Likewise.
48617 (casinh_test): Likewise.
48618 (catan_test): Likewise.
48619 (catanh_test): Likewise.
48620 (cbrt_test): Likewise.
48621 (ccos_test): Likewise.
48622 (ccosh_test): Likewise.
48623 (cexp_test): Likewise.
48624 (clog_test): Likewise.
48625 (clog10_test): Likewise.
48626 (cos_test): Likewise.
48627 (cos_test_tonearest): Likewise.
48628 (cos_test_towardzero): Likewise.
48629 (cos_test_downward): Likewise.
48630 (cos_test_upward): Likewise.
48631 (cosh_test): Likewise.
48632 (cosh_test_tonearest): Likewise.
48633 (cosh_test_towardzero): Likewise.
48634 (cosh_test_downward): Likewise.
48635 (cosh_test_upward): Likewise.
48636 (cpow_test): Likewise.
48637 (csin_test): Likewise.
48638 (csinh_test): Likewise.
48639 (csqrt_test): Likewise.
48640 (ctan_test): Likewise.
48641 (ctan_test_tonearest): Likewise.
48642 (ctan_test_towardzero): Likewise.
48643 (ctan_test_downward): Likewise.
48644 (ctan_test_upward): Likewise.
48645 (ctanh_test): Likewise.
48646 (ctanh_test_tonearest): Likewise.
48647 (ctanh_test_towardzero): Likewise.
48648 (ctanh_test_downward): Likewise.
48649 (ctanh_test_upward): Likewise.
48650 (erf_test): Likewise.
48651 (erfc_test): Likewise.
48652 (exp_test): Likewise.
48653 (exp_test_tonearest): Likewise.
48654 (exp_test_towardzero): Likewise.
48655 (exp_test_downward): Likewise.
48656 (exp_test_upward): Likewise.
48657 (exp10_test): Likewise.
48658 (exp2_test): Likewise.
48659 (expm1_test): Likewise.
48660 (fmod_test): Likewise.
48661 (gamma_test): Likewise.
48662 (hypot_test): Likewise.
48663 (j0_test): Likewise.
48664 (j1_test): Likewise.
48665 (jn_test): Likewise.
48666 (lgamma_test): Likewise.
48667 (log_test): Likewise.
48668 (log10_test): Likewise.
48669 (log1p_test): Likewise.
48670 (log2_test): Likewise.
48671 (logb_test_downward): Likewise.
48672 (pow_test): Likewise.
48673 (pow_test_tonearest): Likewise.
48674 (pow_test_towardzero): Likewise.
48675 (pow_test_downward): Likewise.
48676 (pow_test_upward): Likewise.
48677 (remainder_test): Likewise.
48678 (remquo_test): Likewise.
48679 (sin_test): Likewise.
48680 (sin_test_tonearest): Likewise.
48681 (sin_test_towardzero): Likewise.
48682 (sin_test_downward): Likewise.
48683 (sin_test_upward): Likewise.
48684 (sincos_test): Likewise.
48685 (sinh_test): Likewise.
48686 (sinh_test_tonearest): Likewise.
48687 (sinh_test_towardzero): Likewise.
48688 (sinh_test_downward): Likewise.
48689 (sinh_test_upward): Likewise.
48690 (sqrt_test): Likewise.
48691 (tan_test): Likewise.
48692 (tan_test_tonearest): Likewise.
48693 (tan_test_towardzero): Likewise.
48694 (tan_test_downward): Likewise.
48695 (tan_test_upward): Likewise.
48696 (tanh_test): Likewise.
48697 (tgamma_test): Likewise.
48698 (y0_test): Likewise.
48699 (y1_test): Likewise.
48700 (yn_test): Likewise.
48701
48702 * math/gen-libm-test.pl (adjust_arg): Remove function.
48703 (special_function): Remove argument $in_func. Only handle
48704 generating output for tables of tests, not inside functions.
48705 (parse_args): Likewise.
48706 (generate_testfile): Remove variable $in_func. Update call to
48707 parse_args.
48708 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
48709 (MINUS_ZERO_INIT): Rename macro to minus_zero.
48710 (PLUS_INFTY_INIT): Rename macro to plus_infty.
48711 (MINUS_INFTY_INIT): Rename macro to minus_infty.
48712 (QNAN_VALUE_INIT): Rename macro to qnan_value.
48713 (MAX_VALUE_INIT): Rename macro to max_value.
48714 (MIN_VALUE_INIT): Rename macro to min_value.
48715 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
48716 (plus_zero): Remove variable.
48717 (minus_zero): Likewise.
48718 (plus_infty): Likewise.
48719 (minus_infty): Likewise.
48720 (qnan_value): Likewise.
48721 (max_value): Likewise.
48722 (min_value): Likewise.
48723 (min_subnorm_value): Likewise.
48724
48725 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48726
48727 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
48728 uint64_t or uint32_t usage.
48729 * crypt/sha256-block.c: Likewise.
48730 * crypt/sha256-crypt.c: Likewise.
48731 * crypt/sha256.c: Likewise.
48732 * crypt/sha512-block.c: Likewise.
48733 * crypt/sha512-crypt.c: Likewise.
48734 * crypt/sha512.c: Likewise.
48735 * debug/backtrace-tst.c: Likewise.
48736 * debug/pcprofiledump.c: Likewise.
48737 * elf/cache.c: Likewise.
48738 * elf/dl-cache.c: Likewise.
48739 * elf/dl-misc.c: Likewise.
48740 * elf/dl-profile.c: Likewise.
48741 * elf/dl-support.c: Likewise.
48742 * elf/ldconfig.c: Likewise.
48743 * elf/sprof.c: Likewise.
48744 * iconv/dummy-repertoire.c: Likewise.
48745 * iconv/iconv_charmap.c: Likewise.
48746 * iconv/skeleton.c: Likewise.
48747 * iconvdata/8bit-generic.c: Likewise.
48748 * iconvdata/cp737.h: Likewise.
48749 * iconvdata/cp775.h: Likewise.
48750 * iconvdata/ibm1008.h: Likewise.
48751 * iconvdata/ibm1025.h: Likewise.
48752 * iconvdata/ibm1046.h: Likewise.
48753 * iconvdata/ibm1097.h: Likewise.
48754 * iconvdata/ibm1112.h: Likewise.
48755 * iconvdata/ibm1122.h: Likewise.
48756 * iconvdata/ibm1123.h: Likewise.
48757 * iconvdata/ibm1124.h: Likewise.
48758 * iconvdata/ibm1129.h: Likewise.
48759 * iconvdata/ibm1130.h: Likewise.
48760 * iconvdata/ibm1132.h: Likewise.
48761 * iconvdata/ibm1133.h: Likewise.
48762 * iconvdata/ibm1137.h: Likewise.
48763 * iconvdata/ibm1140.h: Likewise.
48764 * iconvdata/ibm1141.h: Likewise.
48765 * iconvdata/ibm1142.h: Likewise.
48766 * iconvdata/ibm1143.h: Likewise.
48767 * iconvdata/ibm1144.h: Likewise.
48768 * iconvdata/ibm1145.h: Likewise.
48769 * iconvdata/ibm1146.h: Likewise.
48770 * iconvdata/ibm1147.h: Likewise.
48771 * iconvdata/ibm1148.h: Likewise.
48772 * iconvdata/ibm1149.h: Likewise.
48773 * iconvdata/ibm1153.h: Likewise.
48774 * iconvdata/ibm1154.h: Likewise.
48775 * iconvdata/ibm1155.h: Likewise.
48776 * iconvdata/ibm1156.h: Likewise.
48777 * iconvdata/ibm1157.h: Likewise.
48778 * iconvdata/ibm1158.h: Likewise.
48779 * iconvdata/ibm1160.h: Likewise.
48780 * iconvdata/ibm1161.h: Likewise.
48781 * iconvdata/ibm1162.h: Likewise.
48782 * iconvdata/ibm1163.h: Likewise.
48783 * iconvdata/ibm1164.h: Likewise.
48784 * iconvdata/ibm1166.h: Likewise.
48785 * iconvdata/ibm1167.h: Likewise.
48786 * iconvdata/ibm12712.h: Likewise.
48787 * iconvdata/ibm1390.h: Likewise.
48788 * iconvdata/ibm1399.h: Likewise.
48789 * iconvdata/ibm16804.h: Likewise.
48790 * iconvdata/ibm4517.h: Likewise.
48791 * iconvdata/ibm4899.h: Likewise.
48792 * iconvdata/ibm4909.h: Likewise.
48793 * iconvdata/ibm4971.h: Likewise.
48794 * iconvdata/ibm5347.h: Likewise.
48795 * iconvdata/ibm803.h: Likewise.
48796 * iconvdata/ibm856.h: Likewise.
48797 * iconvdata/ibm901.h: Likewise.
48798 * iconvdata/ibm902.h: Likewise.
48799 * iconvdata/ibm9030.h: Likewise.
48800 * iconvdata/ibm9066.h: Likewise.
48801 * iconvdata/ibm921.h: Likewise.
48802 * iconvdata/ibm922.h: Likewise.
48803 * iconvdata/ibm9448.h: Likewise.
48804 * iconvdata/isiri-3342.h: Likewise.
48805 * iconvdata/jis0201.h: Likewise.
48806 * include/link.h: Likewise.
48807 * include/netdb.h: Likewise.
48808 * inet/check_native.c: Likewise.
48809 * inet/check_pf.c: Likewise.
48810 * inet/getipv4sourcefilter.c: Likewise.
48811 * inet/getnameinfo.c: Likewise.
48812 * inet/getsourcefilter.c: Likewise.
48813 * inet/htonl.c: Likewise.
48814 * inet/setipv4sourcefilter.c: Likewise.
48815 * inet/setsourcefilter.c: Likewise.
48816 * inet/test-inet6_opt.c: Likewise.
48817 * inet/tst-network.c: Likewise.
48818 * locale/C-collate.c: Likewise.
48819 * locale/C-ctype.c: Likewise.
48820 * locale/C-time.c: Likewise.
48821 * locale/C-translit.h: Likewise.
48822 * locale/loadarchive.c: Likewise.
48823 * locale/programs/3level.h: Likewise.
48824 * locale/programs/charmap.c: Likewise.
48825 * locale/programs/charmap.h: Likewise.
48826 * locale/programs/ld-address.c: Likewise.
48827 * locale/programs/ld-collate.c: Likewise.
48828 * locale/programs/ld-ctype.c: Likewise.
48829 * locale/programs/ld-identification.c: Likewise.
48830 * locale/programs/ld-measurement.c: Likewise.
48831 * locale/programs/ld-messages.c: Likewise.
48832 * locale/programs/ld-monetary.c: Likewise.
48833 * locale/programs/ld-name.c: Likewise.
48834 * locale/programs/ld-numeric.c: Likewise.
48835 * locale/programs/ld-paper.c: Likewise.
48836 * locale/programs/ld-telephone.c: Likewise.
48837 * locale/programs/ld-time.c: Likewise.
48838 * locale/programs/linereader.c: Likewise.
48839 * locale/programs/locale.c: Likewise.
48840 * locale/programs/locarchive.c: Likewise.
48841 * locale/programs/locfile.h: Likewise.
48842 * locale/programs/repertoire.c: Likewise.
48843 * locale/programs/simple-hash.c: Likewise.
48844 * locale/programs/simple-hash.h: Likewise.
48845 * malloc/memusage.c: Likewise.
48846 * malloc/memusagestat.c: Likewise.
48847 * nis/nis_defaults.c: Likewise.
48848 * nis/nis_hash.c: Likewise.
48849 * nis/nis_print.c: Likewise.
48850 * nis/nis_xdr.c: Likewise.
48851 * nscd/connections.c: Likewise.
48852 * nscd/hstcache.c: Likewise.
48853 * nscd/nscd_gethst_r.c: Likewise.
48854 * nscd/nscd_getserv_r.c: Likewise.
48855 * nscd/nscd_helper.c: Likewise.
48856 * nscd/servicescache.c: Likewise.
48857 * nss/makedb.c: Likewise.
48858 * nss/nss_db/db-XXX.c: Likewise.
48859 * nss/nss_db/db-initgroups.c: Likewise.
48860 * nss/nss_db/db-netgrp.c: Likewise.
48861 * nss/nss_files/files-network.c: Likewise.
48862 * nss/nss_files/files-parse.c: Likewise.
48863 * posix/bug-regex5.c: Likewise.
48864 * posix/fnmatch_loop.c: Likewise.
48865 * posix/regcomp.c: Likewise.
48866 * posix/regexec.c: Likewise.
48867 * posix/tst-rfc3484-2.c: Likewise.
48868 * posix/tst-rfc3484-3.c: Likewise.
48869 * posix/tst-rfc3484.c: Likewise.
48870 * resolv/nss_dns/dns-canon.c: Likewise.
48871 * resolv/nss_dns/dns-network.c: Likewise.
48872 * resolv/res_init.c: Likewise.
48873 * resolv/res_mkquery.c: Likewise.
48874 * resolv/tst-aton.c: Likewise.
48875 * stdlib/cxa_atexit.c: Likewise.
48876 * stdlib/cxa_finalize.c: Likewise.
48877 * stdlib/gen-fpioconst.c: Likewise.
48878 * stdlib/strtol_l.c: Likewise.
48879 * string/tst-endian.c: Likewise.
48880 * sunrpc/auth_des.c: Likewise.
48881 * sunrpc/clnt_udp.c: Likewise.
48882 * sunrpc/rtime.c: Likewise.
48883 * sunrpc/svcauth_des.c: Likewise.
48884 * sunrpc/xdr.c: Likewise.
48885 * sunrpc/xdr_intXX_t.c: Likewise.
48886 * sunrpc/xdr_rec.c: Likewise.
48887 * sysdeps/generic/ldconfig.h: Likewise.
48888 * sysdeps/generic/ldsodefs.h: Likewise.
48889 * sysdeps/generic/memusage.h: Likewise.
48890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48891 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
48892 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
48893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48896 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48897 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48898 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48899 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48900 * sysdeps/posix/getaddrinfo.c: Likewise.
48901 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48902 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48903 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48904 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48905 * sysdeps/powerpc/test-gettimebase.c: Likewise.
48906 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48907 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
48908 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
48909 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48910 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
48911 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48912 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48913 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
48914 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
48915 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
48916 * sysdeps/x86_64/dl-tls.h: Likewise.
48917 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
48918 * time/alt_digit.c: Likewise.
48919 * time/era.c: Likewise.
48920 * wcsmbs/tst-c16c32-1.c: Likewise.
48921
48922 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48923
48924 * math/libm-test.inc (struct test_sincos_data): New type.
48925 (RUN_TEST_LOOP_sincos): New macro.
48926 (sincos_test_data): New variable.
48927 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
48928
48929 2013-05-16 Richard Henderson <rth@redhat.com>
48930
48931 * math/atest-exp2.c (LIMB64): New macro.
48932 (CONSTSZ): New macro.
48933 (mp_exp1, mp_exp_m1, mp_log2): New variables.
48934 (hexdig): Move ...
48935 (print_mpn_fp): ... to function scope.
48936 (read_mpn_hex): Remove.
48937 (get_log2): Remove.
48938 (exp2_mpn): Use mp_log2.
48939 (main): Use mp_exp1.
48940
48941 2013-05-16 Joseph Myers <joseph@codesourcery.com>
48942
48943 * math/libm-test.inc: Remove comment about not testing "inexact"
48944 exceptions.
48945 (INEXACT_EXCEPTION): New macro.
48946 (NO_INEXACT_EXCEPTION): Likewise.
48947 (INVALID_EXCEPTION_OK): Update value.
48948 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48949 (OVERFLOW_EXCEPTION_OK): Likewise.
48950 (UNDERFLOW_EXCEPTION_OK): Likewise.
48951 (IGNORE_ZERO_INF_SIGN): Likewise.
48952 (ERRNO_UNCHANGED): Likewise.
48953 (ERRNO_EDOM): Likewise.
48954 (ERRNO_ERANGE): Likewise.
48955 (test_exceptions): Handle testing "inexact" exceptions.
48956 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
48957 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
48958 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
48959 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
48960 INEXACT_EXCEPTION.
48961 (rint_towardzero_test_data): Likewise.
48962 (rint_downward_test_data): Likewise.
48963 (rint_upward_test_data): Likewise.
48964
48965 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
48966 with OVERFLOW_EXCEPTION.
48967 (exp10_test_data): Likewise.
48968 (exp2_test_data): Likewise.
48969 (expm1_test_data): Likewise.
48970 (lgamma_test_data): Likewise.
48971 (pow_test_data): Likewise.
48972 (tgamma_test_data): Likewise.
48973 (yn_test_data): Remove duplicate test of overflow.
48974
48975 * math/libm-test.inc (struct test_cc_c_data): New type.
48976 (RUN_TEST_LOOP_cc_c): New macro.
48977 (cpow_test_data): New variable.
48978 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
48979
48980 * math/libm-test.inc (struct test_f_L_data): New type.
48981 (RUN_TEST_LOOP_f_L): New macro.
48982 (llrint_test_data): New variable.
48983 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
48984 (llrint_tonearest_test_data): New variable.
48985 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
48986 (llrint_towardzero_test_data): New variable.
48987 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
48988 (llrint_downward_test_data): New variable.
48989 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
48990 (llrint_upward_test_data): New variable.
48991 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
48992 (llround_test_data): New variable.
48993 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
48994
48995 2013-05-13 Peter Collingbourne <pcc@google.com>
48996
48997 * math/atest-exp2.c (get_log2): Remove const attribute.
48998
48999 2013-05-15 Joseph Myers <joseph@codesourcery.com>
49000
49001 * math/libm-test.inc (struct test_f_l_data): New type.
49002 (RUN_TEST_LOOP_f_l): New macro.
49003 (lrint_test_data): New variable.
49004 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49005 (lrint_tonearest_test_data): New variable.
49006 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49007 (lrint_towardzero_test_data): New variable.
49008 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49009 (lrint_downward_test_data): New variable.
49010 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49011 (lrint_upward_test_data): New variable.
49012 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49013 (lround_test_data): New variable.
49014 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49015
49016 2013-05-15 Peter Collingbourne <pcc@google.com>
49017
49018 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49019 (EXTRACT_WORDS64) Use where appropriate.
49020 (INSERT_WORDS64) Likewise.
49021
49022 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49023 constraints with x constraints.
49024 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49025
49026 * malloc/obstack.c (_obstack_compat): Add initializer.
49027
49028 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
49029
49030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49031 si_trapno and add si_addr_lsb to _sifields.sigfault.
49032 (si_trapno): Remove macro.
49033 (si_addr_lsb): Define new macro.
49034 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49035
49036 2013-05-15 Joseph Myers <joseph@codesourcery.com>
49037
49038 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49039 instead of TEST_f_l.
49040 (llrint_test_tonearest): Likewise.
49041 (llrint_test_towardzero): Likewise.
49042 (llrint_test_downward): Likewise.
49043 (llrint_test_upward): Likewise.
49044 (llround_test): Likewise.
49045
49046 * math/libm-test.inc (struct test_f_i_data): Add comment.
49047 (RUN_TEST_LOOP_f_b): New macro.
49048 (RUN_TEST_LOOP_f_b_tg): Likewise.
49049 (finite_test_data): New variable.
49050 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49051 (isfinite_test_data): New variable.
49052 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49053 (isinf_test_data): New variable.
49054 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49055 (isnan_test_data): New variable.
49056 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49057 (isnormal_test_data): New variable.
49058 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49059 (issignaling_test_data): New variable.
49060 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49061 (signbit_test_data): New variable.
49062 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49063
49064 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49065 with INVALID_EXCEPTION.
49066 (acosh_test_data): Likewise.
49067 (asin_test_data): Likewise.
49068 (atanh_test_data): Likewise.
49069 (fmod_test_data): Likewise.
49070 (log_test_data): Likewise.
49071 (log10_test_data): Likewise.
49072 (log2_test_data): Likewise.
49073 (pow_test_data): Likewise.
49074 (sqrt_test_data): Likewise.
49075 (y0_test_data): Likewise.
49076 (y1_test_data): Likewise.
49077 (yn_test_data): Likewise.
49078
49079 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49080 function contents.
49081
49082 * math/libm-test.inc (struct test_ff_i_data): New type.
49083 (RUN_TEST_LOOP_ff_i_tg): New macro.
49084 (isgreater_test_data): New variable.
49085 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49086 (isgreaterequal_test_data): New variable.
49087 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49088 (isless_test_data): New variable.
49089 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49090 (islessequal_test_data): New variable.
49091 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49092 (islessgreater_test_data): New variable.
49093 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49094 (isunordered_test_data): New variable.
49095 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49096
49097 2013-05-14 David S. Miller <davem@davemloft.net>
49098
49099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49100
49101 2013-05-14 Joseph Myers <joseph@codesourcery.com>
49102
49103 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49104
49105 * math/libm-test.inc (struct test_fF_f1_data): Change type of
49106 extra_test to int.
49107 (struct test_f_i_data): Change type of max_ulp to int.
49108
49109 * math/libm-test.inc (test_ffI_f1_data): New type.
49110 (RUN_TEST_LOOP_ffI_f1): New macro.
49111 (remquo_test_data): New variable.
49112 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49113
49114 * setjmp/tst-setjmp-fp.c: New file.
49115 * setjmp/Makefile (tests): Add tst-setjmp-fp.
49116 (link-libm): New variable.
49117 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49118
49119 * math/libm-test.inc (struct test_f_i_data): New type.
49120 (RUN_TEST_LOOP_f_i): New macro.
49121 (RUN_TEST_LOOP_f_i_tg): Likewise.
49122 (fpclassify_test_data): New variable.
49123 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49124 (ilogb_test_data): New variable.
49125 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49126
49127 * math/libm-test.inc (scalbln_test): Correct function name in END
49128 call.
49129
49130 * math/libm-test.inc (struct test_f_f1_data): Add comment.
49131 (RUN_TEST_LOOP_fI_f1): New macro.
49132 (frexp_test_data): New variable.
49133 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49134
49135 * math/libm-test.inc (struct test_fF_f1_data): New type.
49136 (RUN_TEST_LOOP_fF_f1): New macro.
49137 (modf_test_data): New variable.
49138 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49139
49140 * math/libm-test.inc (struct test_f_f1_data): New type.
49141 (RUN_TEST_LOOP_f_f1): New macro.
49142 (gamma_test_data): New variable.
49143 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49144 (lgamma_test_data): New variable.
49145 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49146
49147 2013-05-13 Carlos O'Donell <carlos@redhat.com>
49148
49149 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49150 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49151 (main): Comment "tls" pseudo-hwcap.
49152
49153 2013-05-13 Joseph Myers <joseph@codesourcery.com>
49154
49155 * math/libm-test.inc (struct test_fl_f_data): New type.
49156 (RUN_TEST_LOOP_fl_f): New variable.
49157 (scalbln_test_data): New variable.
49158 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49159
49160 * math/libm-test.inc (struct test_fi_f_data): New type.
49161 (RUN_TEST_LOOP_fi_f): New macro.
49162 (ldexp_test_data): New variable.
49163 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49164 (scalbn_test_data): New variable.
49165 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49166
49167 * math/libm-test.inc (struct test_c_f_data): New type.
49168 (RUN_TEST_LOOP_c_f): New macro.
49169 (cabs_test_data): New variable.
49170 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49171 (carg_test_data): New variable.
49172 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49173 (cimag_test_data): New variable.
49174 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49175 (creal_test_data): New variable.
49176 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49177
49178 * math/libm-test.inc (struct test_if_f_data): New type.
49179 (RUN_TEST_LOOP_if_f): New macro.
49180 (jn_test_data): New variable.
49181 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49182 (yn_test_data): New variable.
49183 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49184
49185 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49186
49187 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49188
49189 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49190 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49191
49192 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
49193
49194 * benchtests/Makefile (CPPFLAGS-nonlib): Add
49195 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49196 (bench-deps): Add bench-timing.h.
49197 * benchtests-bench-skeleton.c: Include bench-timing.h.
49198 (main): Use TIMING_* macros instead of clock_gettime.
49199 * benchtests/bench-timing.h: New file.
49200
49201 [BZ #14582]
49202 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49203 Renamed from _LIB_VERSION.
49204 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49205
49206 2013-05-12 Joseph Myers <joseph@codesourcery.com>
49207
49208 * math/libm-test.inc (struct test_fff_f_data): New type.
49209 (RUN_TEST_LOOP_fff_f): New macro.
49210 (fma_test_data): New variable.
49211 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49212 (fma_towardzero_test_data): New variable.
49213 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49214 (fma_downward_test_data): New variable.
49215 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49216 (fma_upward_test_data): New variable.
49217 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49218
49219 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49220 (struct test_c_c_data): New type.
49221 (RUN_TEST_LOOP_c_c): New macro.
49222 (cacos_test_data): New variable.
49223 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49224 (cacosh_test_data): New variable.
49225 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49226 (casin_test_data): New variable.
49227 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49228 (casinh_test_data): New variable.
49229 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49230 (catan_test_data): New variable.
49231 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49232 (catanh_test_data): New variable.
49233 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49234 (ccos_test_data): New variable.
49235 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49236 (ccosh_test_data): New variable.
49237 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49238 (cexp_test_data): New variable.
49239 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49240 (clog_test_data): New variable.
49241 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49242 (clog10_test_data): New variable.
49243 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49244 (conj_test_data): New variable.
49245 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49246 (cproj_test_data): New variable.
49247 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49248 (csin_test_data): New variable.
49249 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49250 (csinh_test_data): New variable.
49251 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49252 (csqrt_test_data): New variable.
49253 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49254 (ctan_test_data): New variable.
49255 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49256 (ctan_tonearest_test_data): New variable.
49257 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49258 (ctan_towardzero_test_data): New variable.
49259 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49260 (ctan_downward_test_data): New variable.
49261 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49262 (ctan_upward_test_data): New variable.
49263 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49264 (ctanh_test_data): New variable.
49265 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49266 (ctanh_tonearest_test_data): New variable.
49267 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49268 (ctanh_towardzero_test_data): New variable.
49269 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49270 (ctanh_downward_test_data): New variable.
49271 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49272 (ctanh_upward_test_data): New variable.
49273 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49274 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49275 of BUILD_COMPLEX.
49276
49277 * math/libm-test.inc (struct test_ff_f_data): New type.
49278 (struct test_ff_f_data_nexttoward): Likewise.
49279 (RUN_TEST_LOOP_2_f): New macro.
49280 (RUN_TEST_LOOP_ff_f): Likewise.
49281 (atan2_test_data): New variable.
49282 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49283 (copysign_test_data): New variable.
49284 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49285 (fdim_test_data): New variable.
49286 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49287 (fmax_test_data): New variable.
49288 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49289 (fmin_test_data): New variable.
49290 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49291 (fmod_test_data): New variable.
49292 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49293 (hypot_test_data): New variable.
49294 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49295 (nextafter_test_data): New variable.
49296 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49297 (nexttoward_test_data): New variable.
49298 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49299 (pow_test_data): New variable.
49300 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49301 (pow_tonearest_test_data): New variable.
49302 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49303 (pow_towardzero_test_data): New variable.
49304 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49305 (pow_downward_test_data): New variable.
49306 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49307 (pow_upward_test_data): New variable.
49308 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49309 (remainder_test_data): New variable.
49310 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49311 (scalb_test_data): New variable.
49312 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49313 * sysdeps/i386/fpu/libm-test-ulps: Update.
49314
49315 2013-05-11 Joseph Myers <joseph@codesourcery.com>
49316
49317 * math/libm-test.inc (fma_test): Use max_value instead of local
49318 variable fltmax.
49319 (nextafter_test): Likewise.
49320
49321 * math/libm-test.inc (acos_towardzero_test_data): New variable.
49322 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49323 (acos_downward_test_data): New variable.
49324 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49325 (acos_upward_test_data): New variable.
49326 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49327 (acosh_test_data): New variable.
49328 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49329 (asin_test_data): New variable.
49330 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49331 (asin_tonearest_test_data): New variable.
49332 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49333 (asin_towardzero_test_data): New variable.
49334 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49335 (asin_downward_test_data): New variable.
49336 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49337 (asin_upward_test_data): New variable.
49338 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49339 (asinh_test_data): New variable.
49340 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49341 (atan_test_data): New variable.
49342 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49343 (atanh_test_data): New variable.
49344 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49345 (cbrt_test_data): New variable.
49346 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49347 (ceil_test_data): New variable.
49348 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49349 (cos_test_data): New variable.
49350 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49351 (cos_tonearest_test_data): New variable.
49352 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49353 (cos_towardzero_test_data): New variable.
49354 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49355 (cos_downward_test_data): New variable.
49356 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49357 (cos_upward_test_data): New variable.
49358 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49359 (cosh_test_data): New variable.
49360 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49361 (cosh_tonearest_test_data): New variable.
49362 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49363 (cosh_towardzero_test_data): New variable.
49364 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49365 (cosh_downward_test_data): New variable.
49366 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49367 (cosh_upward_test_data): New variable.
49368 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49369 (erf_test_data): New variable.
49370 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49371 (erfc_test_data): New variable.
49372 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49373 (exp_test_data): New variable.
49374 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49375 (exp_tonearest_test_data): New variable.
49376 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49377 (exp_towardzero_test_data): New variable.
49378 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49379 (exp_downward_test_data): New variable.
49380 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49381 (exp_upward_test_data): New variable.
49382 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49383 (exp10_test_data): New variable.
49384 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49385 (exp2_test_data): New variable.
49386 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49387 (expm1_test_data): New variable.
49388 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49389 (fabs_test_data): New variable.
49390 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49391 (floor_test_data): New variable.
49392 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49393 (j0_test_data): New variable.
49394 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49395 (j1_test_data): New variable.
49396 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49397 (log_test_data): New variable.
49398 (log_test): Run tests with RUN_TEST_LOOP_f_f.
49399 (log10_test_data): New variable.
49400 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49401 (log1p_test_data): New variable.
49402 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49403 (log2_test_data): New variable.
49404 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49405 (logb_test_data): New variable.
49406 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49407 (logb_downward_test_data): New variable.
49408 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49409 (nearbyint_test_data): New variable.
49410 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49411 (rint_test_data): New variable.
49412 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49413 (rint_tonearest_test_data): New variable.
49414 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49415 (rint_towardzero_test_data): New variable.
49416 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49417 (rint_downward_test_data): New variable.
49418 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49419 (rint_upward_test_data): New variable.
49420 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49421 (round_test_data): New variable.
49422 (round_test): Run tests with RUN_TEST_LOOP_f_f.
49423 (sin_test_data): New variable.
49424 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49425 (sin_tonearest_test_data): New variable.
49426 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49427 (sin_towardzero_test_data): New variable.
49428 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49429 (sin_downward_test_data): New variable.
49430 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49431 (sin_upward_test_data): New variable.
49432 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49433 (sinh_test_data): New variable.
49434 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49435 (sinh_tonearest_test_data): New variable.
49436 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49437 (sinh_towardzero_test_data): New variable.
49438 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49439 (sinh_downward_test_data): New variable.
49440 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49441 (sinh_upward_test_data): New variable.
49442 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49443 (sqrt_test_data): New variable.
49444 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
49445 (tan_test_data): New variable.
49446 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
49447 (tan_tonearest_test_data): New variable.
49448 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49449 (tan_towardzero_test_data): New variable.
49450 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49451 (tan_downward_test_data): New variable.
49452 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49453 (tan_upward_test_data): New variable.
49454 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49455 (tanh_test_data): New variable.
49456 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
49457 (tgamma_test_data): New variable.
49458 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
49459 (trunc_test_data): New variable.
49460 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
49461 (y0_test_data): New variable.
49462 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
49463 (y1_test_data): New variable.
49464 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
49465 (significand_test_data): New variable.
49466 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
49467
49468 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
49469
49470 [BZ #12387]
49471 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
49472
49473 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
49474
49475 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
49476
49477 2013-05-10 Andreas Jaeger <aj@suse.de>
49478
49479 [BZ #15448]
49480 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
49481 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
49482
49483 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49484
49485 * math/gen-libm-test.pl (adjust_arg): New function.
49486 (special_functions): Handle generating output in both functions
49487 and arrays.
49488 (parse_args): Likewise.
49489 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
49490 $in_func argument to parse_args.
49491 * math/libm-test.inc (struct test_f_f_data): New type.
49492 (IF_ROUND_INIT_): New macro.
49493 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
49494 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
49495 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
49496 (IF_ROUND_INIT_FE_UPWARD): Likewise.
49497 (ROUND_RESTORE_): Likewise.
49498 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
49499 (ROUND_RESTORE_FE_TONEAREST): Likewise.
49500 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
49501 (ROUND_RESTORE_FE_UPWARD): Likewise.
49502 (RUN_TEST_LOOP_f_f): New macro.
49503 (acos_test_data): New variable.
49504 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
49505 (acos_tonearest_test_data): New variable.
49506 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49507
49508 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
49509
49510 * benchtests/bench-skeleton.c (startup): Fix coding style.
49511
49512 2013-05-10 Joseph Myers <joseph@codesourcery.com>
49513
49514 [BZ #6809]
49515 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
49516 negative infinity argument.
49517 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
49518 negative infinity argument.
49519 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
49520 negative infinity argument.
49521 * math/libm-test.inc (tgamma_test): Expect errno to be set for
49522 domain errors.
49523
49524 2013-05-10 Florian Weimer <fweimer@redhat.com>
49525
49526 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
49527 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
49528 * iconv/iconv_prog.c (main): Likewise.
49529 * locale/programs/charmap-dir.c (charmap_readdir)
49530 (fopen_uncompressed): Likewise.
49531 * locale/programs/locfile.c (siblings_uncached)
49532 (write_locale_data): Use lstat64 instead of lstat.
49533 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
49534 stat.
49535
49536 2013-05-10 Andreas Jaeger <aj@suse.de>
49537
49538 [BZ #15395]
49539 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
49540 localization.
49541 Include <locale.h>.
49542
49543 2013-05-09 Carlos O'Donell <carlos@redhat.com>
49544
49545 * elf/dl-close.c (_dl_close_worker): Add comments.
49546
49547 2013-05-09 Joseph Myers <joseph@codesourcery.com>
49548
49549 [BZ #15359]
49550 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
49551 high part of pi/2.
49552 (__ieee754_rem_pio2l): Update comments.
49553
49554 [BZ #15429]
49555 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
49556 high part of pi/2.
49557 (__ieee754_rem_pio2l): Update comments.
49558
49559 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
49560 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
49561
49562 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
49563 M_PI_4l.
49564
49565 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
49566 (M_PI_34_LOG10El): Likewise.
49567 (M_PI2_LOG10El): Likewise.
49568 (M_PI4_LOG10El): Likewise.
49569 (M_PI_LOG10El): Likewise.
49570
49571 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49572
49573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49574
49575 2013-05-08 Joseph Myers <joseph@codesourcery.com>
49576
49577 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
49578 (MINUS_ZERO_INIT): Likewise.
49579 (PLUS_INFTY_INIT): Likewise.
49580 (MINUS_INFTY_INIT): Likewise.
49581 (QNAN_VALUE_INIT): Likewise.
49582 (MAX_VALUE_INIT): Likewise.
49583 (MIN_VALUE_INIT): Likewise.
49584 (MIN_SUBNORM_VALUE_INIT): Likewise.
49585 (plus_zero): Initialize with PLUS_ZERO_INIT.
49586 (minus_zero): Initialize with MINUS_ZERO_INIT.
49587 (plus_infty): Initialize with PLUS_INFTY_INIT.
49588 (minus_infty): Initialize with MINUS_INFTY_INIT.
49589 (qnan_value): Initialize with QNAN_VALUE_INIT.
49590 (max_value): Initialize with MAX_VALUE_INIT.
49591 (min_value): Initialize with MIN_VALUE_INIT.
49592 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
49593
49594 * math/libm-test.inc (RUN_TEST_if_f): New macro.
49595 (jn_test): Use TEST_if_f instead of TEST_ff_f.
49596 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
49597 (yn_test): Use TEST_if_f instead of TEST_ff_f.
49598
49599 * math/libm-test.inc (RUN_TEST_f_f): New macro.
49600 (RUN_TEST_2_f): Likewise.
49601 (RUN_TEST_ff_f): Likewise.
49602 (RUN_TEST_fi_f): Likewise.
49603 (RUN_TEST_fl_f): Likewise.
49604 (RUN_TEST_fff_f): Likewise.
49605 (RUN_TEST_c_f): Likewise.
49606 (RUN_TEST_f_f1): Likewise.
49607 (RUN_TEST_fF_f1): Likewise.
49608 (RUN_TEST_fI_f1): Likewise.
49609 (RUN_TEST_ffI_f1): Likewise.
49610 (RUN_TEST_c_c): Likewise.
49611 (RUN_TEST_cc_c): Likewise.
49612 (RUN_TEST_f_i): Likewise.
49613 (RUN_TEST_f_i_tg): Likewise.
49614 (RUN_TEST_ff_i_tg): Likewise.
49615 (RUN_TEST_f_b): Likewise.
49616 (RUN_TEST_f_b_tg): Likewise.
49617 (RUN_TEST_f_l): Likewise.
49618 (RUN_TEST_f_L): Likewise.
49619 (RUN_TEST_sincos): Likewise.
49620 * math/gen-libm-test.pl (new_test): Take new argument to indicate
49621 whether to show exceptions. Do not include ");\n" in return
49622 value.
49623 (special_functions): Output call to RUN_TEST_sincos instead of
49624 check_float calls. Update calls to new_test.
49625 (parse_args): Output call to single RUN_TEST_* macro instead of
49626 check_* calls and other assignments. Update calls to new_test.
49627
49628 [BZ #2546]
49629 [BZ #2560]
49630 [BZ #5159]
49631 [BZ #15426]
49632 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
49633 input to result for tgamma overflow.
49634 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
49635 (gamma_coeff): New variable.
49636 (NCOEFF): New macro.
49637 (gamma_positive): New function.
49638 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
49639 underflow here. Use gamma_positive instead of exp (lgamma) for
49640 other arguments.
49641 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
49642 (gamma_coeff): New variable.
49643 (NCOEFF): New macro.
49644 (gammaf_positive): New function.
49645 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
49646 underflow here. Use gamma_positive instead of exp (lgamma) for
49647 other arguments.
49648 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
49649 (gamma_coeff): New variable.
49650 (NCOEFF): New macro.
49651 (gammal_positive): New function.
49652 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
49653 underflow here. Use gamma_positive instead of exp (lgamma) for
49654 other arguments.
49655 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
49656 (gamma_coeff): New variable.
49657 (NCOEFF): New macro.
49658 (gammal_positive): New function.
49659 (__ieee754_gammal_r): Handle positive infinity, overflow and
49660 underflow here. Handle NaN the same as positive infinity. Remove
49661 check x < 0xffffffff for negative integers. Use gamma_positive
49662 instead of exp (lgamma) for other arguments.
49663 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
49664 (gamma_coeff): New variable.
49665 (NCOEFF): New macro.
49666 (gammal_positive): New function.
49667 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
49668 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
49669 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
49670 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
49671 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
49672 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
49673 * sysdeps/generic/math_private.h (__gamma_productf): New
49674 prototype.
49675 (__gamma_product): Likewise.
49676 (__gamma_productl): Likewise.
49677 * math/Makefile (libm-calls): Add gamma_product.
49678 * math/libm-test.inc (tgamma_test): Add more tests.
49679 * sysdeps/i386/fpu/libm-test-ulps: Update.
49680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49681
49682 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
49683
49684 * benchtests/bench-skeleton.c (main): Preheat CPU.
49685
49686 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
49687
49688 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
49689
49690 2013-05-07 Roland McGrath <roland@hack.frob.com>
49691
49692 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
49693 and _dl_skip_args_internal.
49694
49695 2013-05-07 Carlos O'Donell <carlos@redhat.com>
49696
49697 * manual/message.texi (Message Translation): Talk about users.
49698 Message to key mapping impacts design.
49699
49700 2013-05-06 Roland McGrath <roland@hack.frob.com>
49701
49702 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
49703
49704 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
49705
49706 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
49707 * sysdeps/wordsize-64/glob64.c: ... here.
49708
49709 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
49710 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
49711 New macros.
49712
49713 * debug/getlogin_r_chk.c: Moved to ...
49714 * login/getlogin_r_chk.c: ... here.
49715 * debug/Makefile (routines): Move getlogin_r_chk to ...
49716 * login/Makefile (routines): ... here.
49717 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
49718 * login/Versions (libc: GLIBC_2.4): ... here.
49719
49720 * io/poll.c (__poll): Renamed from poll.
49721 Add libc_hidden_def.
49722 (poll): Define as weak alias.
49723
49724 * debug/ptsname_r_chk.c: Moved to ...
49725 * login/ptsname_r_chk.c: ... here.
49726 * debug/Makefile (routines): Move ptsname_r_chk to ...
49727 * login/Makefile (routines): ... here.
49728 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
49729 * login/Versions (libc: GLIBC_2.4): ... here.
49730
49731 * posix/getlogin.c: Moved to ...
49732 * login/getlogin.c: ... here.
49733 * posix/getlogin_r.c: Moved to ...
49734 * login/getlogin_r.c: ... here.
49735 * posix/getlogin_r.c: Moved to ...
49736 * login/getlogin_r.c: ... here.
49737 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
49738 * login/Makefile (routines): ... here.
49739 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
49740 * login/Versions (libc: GLIBC_2.0): ... here.
49741
49742 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
49743 (setrlimit): Define as weak alias.
49744
49745 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
49746 Call __ names for open, ftruncate, and close.
49747 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
49748 (truncate): Define as weak alias.
49749
49750 2013-05-06 Joseph Myers <joseph@codesourcery.com>
49751
49752 * math/gen-libm-test.pl (parse_args): Initialize x before each
49753 test of frexp, modf and remquo.
49754
49755 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
49756 test signgam value.
49757
49758 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49759
49760 [BZ #15418]
49761 [BZ #15419]
49762 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
49763 internal tests.
49764 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49765
49766 2013-05-06 Roland McGrath <roland@hack.frob.com>
49767
49768 * elf/dl-writev.h: New file.
49769 * elf/dl-misc.c: Include it.
49770 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
49771 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
49772
49773 2013-05-04 Joseph Myers <joseph@codesourcery.com>
49774
49775 * math/libm-test.inc (noXFails): Remove variable.
49776 (noXPasses): Likewise.
49777 (BUILD_COMPLEX_INT): Remove macro.
49778 (print_screen): Remove xfail argument.
49779 (print_screen_max_error): Likewise.
49780 (update_stats): Likewise.
49781 (print_max_error): Likewise. Update calls to other affected
49782 functions.
49783 (print_complex_max_error): Likewise.
49784 (test_single_exception): Update calls to print_screen.
49785 (test_single_errno): Likewise.
49786 (check_float_internal): Remove xfail argument. Update calls to
49787 other affected functions.
49788 (check_float): Likewise.
49789 (check_complex): Likewise.
49790 (check_int): Likewise.
49791 (check_long): Likewise.
49792 (check_bool): Likewise.
49793 (check_longlong): Likewise.
49794 (main): Don't print noXFails and noXPasses.
49795 * math/gen-libm-test.pl (top level): Don't mention expected
49796 failure handling in comment.
49797 (new_test): Don't handle expected failures.
49798 (parse_args): Don't mention expected failure handling in comment.
49799 (generate_testfile): Don't handle expected failures.
49800 (parse_ulps): Likewise.
49801 (print_ulps_file): Likewise.
49802 (get_failure): Remove function.
49803 (output_test): Don't handle expected failures.
49804 * make/README.libm-test: Don't mention expected failure handling.
49805
49806 * math/libm-test.inc (plus_zero): Make const. Add initializer.
49807 (minus_zero): Likewise.
49808 (plus_infty): Likewise.
49809 (minus_infty): Likewise.
49810 (qnan_value): Likewise.
49811 (max_value): Likewise.
49812 (min_value): Likewise.
49813 (min_subnorm_value): Likewise.
49814 (initialize): Do not initialize those variables dynamically.
49815
49816 2013-05-03 Roland McGrath <roland@hack.frob.com>
49817
49818 * io/open.c (__open_2): Moved to ...
49819 * io/open_2.c: ... this new file.
49820 * io/open64.c (__open64_2): Moved to ...
49821 * io/open64_2.c: ... this new file.
49822 * io/openat.c (__openat_2): Moved to ...
49823 * io/openat_2.c: ... this new file.
49824 * io/openat64.c (__openat64_2): Moved to ...
49825 * io/openat64_2.c: ... this new file.
49826 * io/Makefile (routines): Add them.
49827 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
49828 * sysdeps/unix/sysv/linux/open_2.c: File removed.
49829 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
49830 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
49831 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
49832 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
49833 (__openat64): Add hidden_ver.
49834 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
49835 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
49836
49837 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
49838 Separately conditionalize setting of GLRO(dl_sysinfo) so
49839 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
49840 as well, but the actual setting is only under [NEED_DL_SYSINFO].
49841
49842 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49843
49844 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
49845 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
49846 definition.
49847 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
49848 * sysdeps/unix/sysv/linux/powerpc/init-first.c
49849 (_libc_vdso_platform_setup): Add __vdso_time initialization.
49850 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
49851 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
49852
49853 2013-05-03 Joseph Myers <joseph@codesourcery.com>
49854
49855 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
49856 test signgam value.
49857
49858 * math/libm-test.inc (hypot_test): Do not use
49859 IGNORE_ZERO_INF_SIGN.
49860
49861 2013-05-03 Andreas Jaeger <aj@suse.de>
49862
49863 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
49864 Linux 3.9.
49865 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
49866 (PF_MAX): Adjust for VSOCK change.
49867
49868 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49869
49870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49871
49872 2013-05-02 Carlos O'Donell <carlos@redhat.com>
49873
49874 [BZ #15264]
49875 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
49876 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
49877 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
49878
49879 2013-05-02 David S. Miller <davem@davemloft.net>
49880
49881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49882
49883 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
49884
49885 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
49886
49887 2013-05-01 Roland McGrath <roland@hack.frob.com>
49888
49889 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
49890
49891 2013-05-01 Richard Smith <richard@metafoo.co.uk>
49892
49893 [BZ #14952]
49894 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
49895 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49896 Use __attribute__ ((__gnu_inline__)).
49897 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
49898 Don't use __attribute__ ((__gnu_inline__)).
49899
49900 2013-05-01 Joseph Myers <joseph@codesourcery.com>
49901
49902 [BZ #15423]
49903 * math/s_catan.c (__catan): Handle small real or imaginary part of
49904 input specially to avoid spurious underflow.
49905 * math/s_catanf.c (__catanf): Likewise.
49906 * math/s_catanh.c (__catanh): Likewise.
49907 * math/s_catanhf.c (__catanhf): Likewise.
49908 * math/s_catanhl.c (__catanhl): Likewise.
49909 * math/s_catanl.c (__catanl): Likewise.
49910 * math/libm-test.inc (catan_test): Add more tests.
49911 (catanh_test): Likewise.
49912 * sysdeps/i386/fpu/libm-test-ulps: Update.
49913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49914
49915 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49916
49917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49918
49919 2013-04-30 Joseph Myers <joseph@codesourcery.com>
49920
49921 [BZ #15416]
49922 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
49923 accurately for denominator in atan2.
49924 * math/s_catanf.c (__catanf): Likewise.
49925 * math/s_catanh.c (__catanh): Likewise.
49926 * math/s_catanhf.c (__catanhf): Likewise.
49927 * math/s_catanhl.c (__catanhl): Likewise.
49928 * math/s_catanl.c (__catanl): Likewise.
49929 * math/libm-test.inc (catan_test): Add more tests.
49930 (catanh_test): Likewise.
49931 * sysdeps/i386/fpu/libm-test-ulps: Update.
49932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49933
49934 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
49935
49936 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
49937
49938 * benchtests/Makefile (bench): Remove slow benchmarks.
49939 * benchtests/atan-inputs: Add slow benchmark inputs.
49940 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
49941 (BENCH_FUNC): Accept variant offset.
49942 (VARIANT): Define.
49943 * benchtests/bench-skeleton.c (main): Run benchmark for each
49944 variant.
49945 * benchtests/cos-inputs: Add slow benchmark inputs.
49946 * benchtests/exp-inputs: Likewise.
49947 * benchtests/pow-inputs: Likewise.
49948 * benchtests/sin-inputs: Likewise.
49949 * benchtests/slowatan-inputs: Remove.
49950 * benchtests/slowatan.c: Remove.
49951 * benchtests/slowcos-inputs: Remove.
49952 * benchtests/slowcos.c: Remove.
49953 * benchtests/slowexp-inputs: Remove.
49954 * benchtests/slowexp.c: Remove.
49955 * benchtests/slowpow-inputs: Remove.
49956 * benchtests/slowpow.c: Remove.
49957 * benchtests/slowsin-inputs: Remove.
49958 * benchtests/slowsin.c: Remove.
49959 * benchtests/slowtan-inputs: Remove.
49960 * benchtests/slowtan.c: Remove.
49961 * benchtests/tan-inputs: Add slow benchmark inputs.
49962 * scripts/bench.pl: Parse comments and directives.
49963
49964 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
49965 in CPPFLAGS.
49966 ($(objpfx)bench-%.c): Remove *-ITER.
49967 * benchtests/bench-modf.c: Remove definition of ITER.
49968 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
49969 (main): Loop for DURATION seconds instead of fixed number of
49970 iterations.
49971 * scripts/bench.pl: Don't expect iterations in parameters.
49972
49973 2013-04-29 Roland McGrath <roland@hack.frob.com>
49974
49975 * io/fchdir.c (__fchdir): Renamed from fchdir.
49976 (fchdir): Define as weak alias.
49977
49978 2013-04-29 Joseph Myers <joseph@codesourcery.com>
49979
49980 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
49981 (ERRNO_EDOM): Likewise.
49982 (ERRNO_ERANGE): Likewise.
49983 (noErrnoTests): New variable.
49984 (init_max_error): Set errno to 0.
49985 (test_single_errno): New function.
49986 (test_errno): Likewise.
49987 (check_float_internal): Call test_errno. Set errno to 0.
49988 (check_complex): Refer to errno tests in comment.
49989 (check_int): Call test_errno. Set errno to 0.
49990 (check_long): Likewise.
49991 (check_bool): Likewise.
49992 (check_longlong): Likewise.
49993 (cos_test): Use ERRNO_* flags for errno tests instead of
49994 check_int.
49995 (expm1_test): Likewise.
49996 (fmod_test): Likewise.
49997 (ilogb_test): Likewise.
49998 (lgamma_test): Likewise.
49999 (pow_test): Likewise.
50000 (remainder_test): Likewise.
50001 (sin_test): Likewise.
50002 (tan_test): Likewise.
50003 (yn_test): Likewise.
50004 (initialize): Set errno to 0.
50005 (main): Print number of errno tests.
50006 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50007
50008 2013-04-29 Andreas Jaeger <aj@suse.de>
50009
50010 [BZ #15084]
50011 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50012 and RES_USEVC.
50013
50014 [BZ #15085]
50015 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50016 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50017 unimplemented.
50018
50019 [BZ #15380]
50020 * stdlib/random.c (__initstate): Return NULL if
50021 __initstate fails.
50022
50023 [BZ #15086]
50024 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50025 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50026 RES_SNGLKUPREOP.
50027
50028 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50029
50030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50031
50032 2013-04-29 Joseph Myers <joseph@codesourcery.com>
50033
50034 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50035 of individual tests.
50036 (casin_test): Likewise.
50037 (casinh_test): Likewise.
50038
50039 2013-04-27 Joseph Myers <joseph@codesourcery.com>
50040
50041 [BZ #15409]
50042 * math/s_catan.c (__catan): Handle arguments with large real or
50043 imaginary part separately without squaring.
50044 * math/s_catanf.c (__catanf): Likewise.
50045 * math/s_catanh.c (__catanh): Likewise.
50046 * math/s_catanhf.c (__catanhf): Likewise.
50047 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50048 and redefine.
50049 (__catanhl): Handle arguments with large real or imaginary part
50050 separately without squaring.
50051 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50052 and redefine.
50053 (__catanl): Handle arguments with large real or imaginary part
50054 separately without squaring.
50055 * math/libm-test.inc (catan_test): Add more tests.
50056 (catanh_test): Likewise.
50057 * sysdeps/i386/fpu/libm-test-ulps: Update.
50058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50059
50060 2013-04-27 Andreas Jaeger <aj@suse.de>
50061
50062 [BZ #15007]
50063 * stdlib/stdlib.h: Update guards for qecvt.
50064 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50065 <stdlib.h>.
50066
50067 2013-04-27 Allan McRae <allan@archlinux.org>
50068
50069 * sysdeps/i386/fpu/libm-test-ulps: Update.
50070
50071 2013-04-26 Joseph Myers <joseph@codesourcery.com>
50072
50073 [BZ #15406]
50074 * math/s_catan.c: Include <float.h>.
50075 (__catan): Ensure underflow exception occurs for underflowed
50076 result.
50077 * math/s_catanf.c: Include <float.h>.
50078 (__catanf): Ensure underflow exception occurs for underflowed
50079 result.
50080 * math/s_catanh.c: Include <float.h>.
50081 (__catanh): Ensure underflow exception occurs for underflowed
50082 result.
50083 * math/s_catanhf.c: Include <float.h>.
50084 (__catanhf): Ensure underflow exception occurs for underflowed
50085 result.
50086 * math/s_catanhl.c: Include <float.h>.
50087 (__catanhl): Ensure underflow exception occurs for underflowed
50088 result.
50089 * math/s_catanl.c: Include <float.h>.
50090 (__catanl): Ensure underflow exception occurs for underflowed
50091 result.
50092 * math/libm-test.inc (catan_test): Add more tests.
50093 (catanh_test): Likewise.
50094
50095 [BZ #15405]
50096 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50097 underflowed result.
50098 * math/s_ccoshf.c (__ccoshf): Likewise.
50099 * math/s_ccoshl.c (__ccoshl): Likewise.
50100 * math/s_csin.c (__csin): Likewise.
50101 * math/s_csinf.c (__csinf): Likewise.
50102 * math/s_csinh.c (__csinh): Likewise.
50103 * math/s_csinhf.c (__csinhf): Likewise.
50104 * math/s_csinhl.c (__csinhl): Likewise.
50105 * math/s_csinl.c (__csinl): Likewise.
50106 * math/libm-test.inc (ccos_test): Add more tests.
50107 (ccosh_test): Likewise.
50108 (csin_test): Likewise.
50109 (csinh_test): Likewise.
50110
50111 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50112
50113 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50114 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50115 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50116 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50117 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50118 powerpc/power5+/fpu folders.
50119 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50120
50121
50122 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
50123
50124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50125
50126 2013-04-25 Joseph Myers <joseph@codesourcery.com>
50127
50128 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50129 additions to variable.
50130 [$(config-machine) = x86_64] (modules-names): Likewise.
50131 ($(objpfx)tst-audit3): Remove dependency.
50132 ($(objpfx)tst-audit3.out): Likewise.
50133 ($(objpfx)tst-audit4): Likewise.
50134 ($(objpfx)tst-audit4.out): Likewise.
50135 ($(objpfx)tst-audit5): Likewise.
50136 ($(objpfx)tst-audit5.out): Likewise.
50137 ($(objpfx)tst-audit6): Likewise.
50138 ($(objpfx)tst-audit6.out): Likewise.
50139 ($(objpfx)tst-audit7): Likewise.
50140 ($(objpfx)tst-audit7.out): Likewise.
50141 (tst-audit3-ENV): Remove variable.
50142 (tst-audit4-ENV): Likewise.
50143 (tst-audit5-ENV): Likewise.
50144 (tst-audit6-ENV): Likewise.
50145 (tst-audit7-ENV): Likewise.
50146 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50147 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50148 addition to variable.
50149 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50150 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50151 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50152 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50153 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50154 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50155 tst-audit3, tst-audit4 and tst-audit5.
50156 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50157 tst-audit6 and tst-audit7.
50158 [$(subdir) = elf] (modules-names): Add audit modules for those
50159 tests.
50160 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50161 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50162 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50163 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50164 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50165 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50166 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50167 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50168 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50169 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50170 [$(subdir) = elf] (tst-audit3-ENV): New variable.
50171 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50172 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50173 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50174 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50175 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50176 Likewise.
50177 [$(subdir) = elf && $(config-cflags-avx) = yes]
50178 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50179 [$(subdir) = elf && $(config-cflags-avx) = yes]
50180 (CFLAGS-tst-auditmod4a.c): Likewise.
50181 [$(subdir) = elf && $(config-cflags-avx) = yes]
50182 (CFLAGS-tst-auditmod4b.c): Likewise.
50183 [$(subdir) = elf && $(config-cflags-avx) = yes]
50184 (CFLAGS-tst-auditmod6b.c): Likewise.
50185 [$(subdir) = elf && $(config-cflags-avx) = yes]
50186 (CFLAGS-tst-auditmod6c.c): Likewise.
50187 [$(subdir) = elf && $(config-cflags-avx) = yes]
50188 (CFLAGS-tst-auditmod7b.c): Likewise.
50189 * elf/tst-audit3.c: Move to ...
50190 * sysdeps/x86_64/tst-audit3.c: ... here.
50191 * elf/tst-audit4.c: Move to ...
50192 * sysdeps/x86_64/tst-audit4.c: ... here.
50193 * elf/tst-audit5.c: Move to ...
50194 * sysdeps/x86_64/tst-audit5.c: ... here.
50195 * elf/tst-audit6.c: Move to ...
50196 * sysdeps/x86_64/tst-audit6.c: ... here.
50197 * elf/tst-audit7.c: Move to ...
50198 * sysdeps/x86_64/tst-audit7.c: ... here.
50199 * elf/tst-auditmod3a.c: Move to ...
50200 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50201 * elf/tst-auditmod3b.c: Move to ...
50202 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50203 * elf/tst-auditmod4a.c: Move to ...
50204 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50205 * elf/tst-auditmod4b.c: Move to ...
50206 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50207 * elf/tst-auditmod5a.c: Move to ...
50208 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50209 * elf/tst-auditmod5b.c: Move to ...
50210 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50211 * elf/tst-auditmod6a.c: Move to ...
50212 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50213 * elf/tst-auditmod6b.c: Move to ...
50214 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50215 * elf/tst-auditmod6c.c: Move to ...
50216 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50217 * elf/tst-auditmod7a.c: Move to ...
50218 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50219 * elf/tst-auditmod7b.c: Move to ...
50220 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50221
50222 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
50223
50224 [BZ #15366]
50225 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50226 define unconditionally.
50227 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50228 define unconditionally.
50229 (INT8_C, INT16_C, etc.): Likewise.
50230
50231 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
50232
50233 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50234 __ehdr_start with hidden visibility.
50235
50236 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50237
50238 2013-04-24 Carlos O'Donell <carlos@redhat.com>
50239
50240 * math/libm-test.inc (cos_test): Use accurate hex constants.
50241 (sincost_test): Likewise.
50242
50243 2013-04-24 Joseph Myers <joseph@codesourcery.com>
50244
50245 * math/libm-test.inc (catan_test): Add more tests.
50246 (catanh_test): Likewise.
50247
50248 * math/s_catanf.c (__catanf): Use suffixed floating-point
50249 constants.
50250 * math/s_catanhf.c (__catanhf): Likewise.
50251 * math/s_catanhl.c (__catanhl): Likewise.
50252 * math/s_catanl.c (__catanl): Likewise.
50253
50254 [BZ #15394]
50255 * math/s_catan.c (__catan): Calculate imaginary part of result
50256 with log1p not log unless computing log of number close to 0.
50257 * math/s_catanf.c (__catanf): Likewise.
50258 * math/s_catanl.c (__catanl): Likewise.
50259 * math/s_catanh.c (__catanh): Calculate real part of result with
50260 log1p not log unless computing log of number close to 0.
50261 * math/s_catanhf.c (__catanhf): Likewise.
50262 * math/s_catanhl.c (__catanhl): Likewise.
50263 * math/libm-test.inc (catan_test): Add more tests.
50264 (catanh_test): Likewise.
50265 * sysdeps/i386/fpu/libm-test-ulps: Update.
50266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50267
50268 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
50269
50270 * benchtests/Makefile: Mention files in which fast and slow
50271 paths of math functions are implemented.
50272
50273 2013-04-23 Roland McGrath <roland@hack.frob.com>
50274
50275 * sysdeps/posix/timespec_get.c: New file.
50276
50277 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50278
50279 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50280 POWER.
50281 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50282 for POWER.
50283 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50284 powerpc/power5/fpu folders.
50285 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50286 * benchtests/Makefile: Add modf testcase.
50287 * benchtests/bench-modf.c: New file: Benchmark test for mo
50288
50289 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
50290
50291 [BZ #14888]
50292 * time/Makefile (tests): Add tst-strptime-whitespace.
50293 * time/strptime_l.c (get_number): Use ISSPACE.
50294 (__strptime_internal): Likewise.
50295 * time/tst-strptime-whitespace.c: New test case.
50296
50297 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
50298
50299 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50300 member.
50301 (_nss_files_init): Set it here.
50302
50303 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
50304
50305 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50306 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50307 unsigned.
50308
50309 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
50310
50311 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50312
50313 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
50314
50315 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50316 size just once.
50317
50318 2013-04-21 David S. Miller <davem@davemloft.net>
50319
50320 * po/ru.po: Update Russion translation from translation project.
50321
50322 2013-04-17 Adam Conrad <adconrad@0c3.net>
50323
50324 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50325 and setfsgid.
50326
50327 2013-04-17 Carlos O'Donell <carlos@redhat.com>
50328
50329 * configure.in: Remove i386 configure warning. Remove i386 case.
50330 * configure: Regenerate.
50331 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50332 Add example to error message.
50333 * sysdeps/i386/configure: Regenerate.
50334
50335 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
50336
50337 * benchtests/Makefile (bench): Add cos, tan, slowcos and
50338 slowtan.
50339 * benchtests/cos-inputs: New file.
50340 * benchtests/slowcos-inputs: New file.
50341 * benchtests/slowcos.c: New file.
50342 * benchtests/slowtan-inputs: New file.
50343 * benchtests/slowtan.c: New file.
50344 * benchtests/tan-inputs: New file.
50345
50346 2013-04-16 Roland McGrath <roland@hack.frob.com>
50347
50348 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50349 considered kosher.
50350
50351 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
50352
50353 * benchtests/Makefile: Include cppflags-iterator.mk to add
50354 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50355
50356 * Makefile.in (bench-clean): New target.
50357 * benchtests/Makefile (bench-clean): Likewise.
50358
50359 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
50360
50361 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50362
50363 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
50364
50365 * stdio-common/tstdiomisc.c: Fix coding-style violation.
50366
50367 2013-04-15 Andreas Schwab <schwab@suse.de>
50368
50369 * nscd/grpcache.c (cache_addgr): Properly check for short write.
50370 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50371 * nscd/pwdcache.c (cache_addpw): Likewise.
50372 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
50373 more than recsize.
50374
50375 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50376
50377 * benchtests/Makefile (bench): Write all output to
50378 bench-out.tmp together.
50379
50380 2013-04-15 Andreas Schwab <schwab@suse.de>
50381
50382 * nscd/nscd.c (main): Don't fork again after closing files.
50383
50384 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
50385
50386 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50387
50388 * benchtests/Rules (bench-deps): Collect dependencies into a
50389 single variable. Add Makefile to dependencies.
50390 ($(objpfx)bench-%.c): Depend on bench-deps.
50391
50392 2013-04-12 Roland McGrath <roland@hack.frob.com>
50393 Xavier Roche <roche+kml2@exalead.com>
50394
50395 [BZ #15361]
50396 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50397 just that it's a file descriptor.
50398 * manual/llio.texi (Synchronizing AIO Operations): Update description
50399 for EBADF error from aio_fsync.
50400
50401 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
50402
50403 * Rules (bench): Move target definition...
50404 * benchtests/Makefile: ... here.
50405
50406 2013-04-11 Carlos O'Donell <carlos@redhat.com>
50407
50408 * math/libm-test.inc (cos_test): Fix PI/2 test.
50409 (sincos_test): Likewise.
50410 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50411 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50412
50413 2013-04-11 Andreas Schwab <schwab@suse.de>
50414
50415 [BZ #13988]
50416 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50417 accept exponent character only when digits were seen.
50418 * stdio-common/Makefile (tests): Add bug26.
50419 * stdio-common/bug26.c: New file.
50420
50421 [BZ #14293]
50422 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50423 non-freeable.
50424
50425 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
50426
50427 * Makeconfig (rtld-prefix): Define built linker prefix.
50428 * Rules (run-bench): Use it.
50429 * math/Makefile (run-regen-ulps): Likewise.
50430
50431 * Rules (bench): Remove eval.
50432
50433 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
50434 Roland McGrath <roland@hack.frob.com>
50435 Ondrej Bilka <neleai@seznam.cz>
50436
50437 [BZ #15346]
50438 * time/getdate.c: Include ctype.h and alloca.h.
50439 (__getdate_r): Trim leading and trailing spaces of input.
50440 * time/tst-getdate.c (tests): Add tests with leading and
50441 trailing spaces.
50442
50443 2013-04-08 Roland McGrath <roland@hack.frob.com>
50444
50445 [BZ #14280]
50446 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
50447 when computing value.
50448
50449 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50450
50451 * math/README.libm-test (How can I generate "libm-test-ulps"?):
50452 Use testrun.sh to run libm tests.
50453
50454 [BZ #15309]
50455 * elf/dl-open.c (dl_open_worker): memset all of seen array.
50456
50457 2013-04-06 Marko Myllynen <myllynen@redhat.com>
50458
50459 [BZ #15264]
50460 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
50461
50462 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50463
50464 * Makefile.in (regen-ulps): New target.
50465 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
50466 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
50467 [ifneq (no,$(PERL)] (regen-ulps): New target.
50468 [ifeq (no,$(PERL)] (regen-ulps): New target.
50469 * math/libm-test.inc (ulps_file_name): Define.
50470 (output_dir): New variable.
50471 (options): Add "output-dir" option.
50472 (parse_opt): Handle 'o' case.
50473 (main): If output_dir is non-NULL use it as a prefix
50474 otherwise use "".
50475 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
50476
50477 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50478
50479 [BZ #10060, #10062]
50480 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
50481 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
50482 fail configure if __sync_val_compare_and_swap is not inlined.
50483 * sysdeps/i386/configure: Regenerate.
50484 * configure.in: Build for i686 when configured for i386.
50485 * configure: Regenerate.
50486 * README: Remove i386 reference.
50487
50488 2013-04-06 Carlos O'Donell <carlos@redhat.com>
50489
50490 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
50491 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50492
50493 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
50494
50495 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
50496 (lmsnanval): New variables.
50497 (F): Add conversion tests.
50498 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
50499 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
50500
50501 * stdio-common/tstdiomisc.c (F): Properly collect individual
50502 tests' results.
50503
50504 [BZ #14686, #15336]
50505 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
50506 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
50507 Instead, use input NaN values or generate a qNaN by arithmetic
50508 operation. Also fix bugs to comply with the standard.
50509 * math/libm-test.inc (remainder_test): Add more tests.
50510
50511 [BZ #15335, #15342]
50512 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
50513 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
50514 input NaN values or generate a qNaN by arithmetic operation.
50515
50516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
50517 unreachable code.
50518
50519 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
50520 definitions.
50521
50522 2013-04-03 Joseph Myers <joseph@codesourcery.com>
50523
50524 [BZ #14478]
50525 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
50526 underflowed result.
50527 * math/s_cexpf.c (__cexpf): Likewise.
50528 * math/s_cexpl.c (__cexpl): Likewise.
50529 * math/libm-test.inc (cexp_test): Add more tests.
50530
50531 2013-04-03 Andreas Schwab <schwab@suse.de>
50532
50533 [BZ #15330]
50534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
50535 order arrays from heap if bigger than alloca cutoff.
50536
50537 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
50538
50539 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
50540 (SNAN_TESTS_double): Refer to GCC PR56831.
50541 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50542 GCC PR56828.
50543
50544 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50545
50546 * Rules (bench): Move bench.out after the run is complete.
50547
50548 * Rules (bench): Echo currently running benchmark.
50549
50550 * benchtests/Makefile (bench): Add atan and slowatan.
50551 * benchtests/atan-inputs: New file.
50552 * benchtests/slowatan-inputs: New file.
50553 * benchtests/slowatan.c: New file.
50554
50555 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
50556 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
50557 its value.
50558
50559 [BZ #15305]
50560 * sysdeps/unix/sysv/linux/kernel-features.h
50561 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
50562 __ASSUME_XFS_RESTRICTED_CHOWN.
50563 * sysdeps/unix/sysv/linux/pathconf.c
50564 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
50565 Save and restore errno.
50566
50567 2013-04-02 Joseph Myers <joseph@codesourcery.com>
50568
50569 [BZ #15327]
50570 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
50571 arguments using __kernel_casinh.
50572 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
50573 arguments using __kernel_casinhf.
50574 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
50575 arguments using __kernel_casinhl.
50576 * math/libm-test.inc (cacosh_test): Add more tests.
50577 * sysdeps/i386/fpu/libm-test-ulps: Update.
50578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50579
50580 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50581
50582 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
50583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
50584
50585 * bench/Makefile (bench): Add sin and slowsin.
50586 * benchtests/sin-inputs: New file.
50587 * benchtests/slowsin-inputs: New file.
50588 * benchtests/slowsin.c: New file.
50589
50590 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
50591 (bench): Add slowexp and slowpow.
50592 (exp-ITER): Increase iterations.
50593 (pow-ITER): Likewise.
50594 * benchtests/exp-inputs: Change input.
50595 * benchtests/pow-inputs: Likewise.
50596 * benchtests/slowexp-inputs: New file.
50597 * benchtests/slowexp.c: New file.
50598 * benchtests/slowpow-inputs: New file.
50599 * benchtests/slowpow.c: New file.
50600
50601 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50602
50603 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
50604 instructions.
50605 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50606 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
50607 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
50608 * benchtests/Makefile: Add rint benchtest.
50609 * benchtests/rint-inputs: Input for rint benchtest.
50610
50611 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
50612
50613 * Versions.def (libm): Add GLIBC_2.18.
50614 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
50615 hidden libm prototypes.
50616 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
50617 * math/Makefile (libm-calls): Add s_issignaling.
50618 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
50619 __issignalingf, __issignalingl. Adjust all libm.abilist files.
50620 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
50621 declaration.
50622 * math/math.h [__USE_GNU] (issignaling): New macro.
50623 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
50624 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
50625 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
50629 * manual/arith.texi (issignaling): New section.
50630 * manual/libm-err-tab.pl (@all_functions): Update comment.
50631 * math/gen-libm-test.pl (parse_args): Apply special handling for
50632 issignaling.
50633 * math/libm-test.inc (print_float, issignaling_test): New
50634 functions.
50635 (check_float_internal): Add issignaling checks.
50636 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
50637 default definition.
50638 * sysdeps/powerpc/math-tests.h: New file.
50639 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
50640 tests.
50641 * math/test-snan.c (TEST_FUNC): Likewise.
50642
50643 2013-03-30 David S. Miller <davem@davemloft.net>
50644
50645 * po/de.po: Update from translation team.
50646
50647 2013-03-30 Joseph Myers <joseph@codesourcery.com>
50648
50649 [BZ #10357]
50650 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50651 imaginary part less than 1.0 and real part less than 0.5
50652 specially.
50653 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50654 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50655 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
50656 (cacos_test): Add more tests.
50657 (casin_test): Likewise.
50658 (casinh_test): Likewise.
50659 * sysdeps/i386/fpu/libm-test-ulps: Update.
50660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50661
50662 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50663
50664 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
50665 ONE with its value.
50666
50667 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
50668 (__pow_mp): Replace ONE and MONE with their values.
50669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50670 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
50671 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50672 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
50673 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50674 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50675
50676 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
50677
50678 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
50679 (__pow_mp): Replace ZERO and MZERO with their values.
50680 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50684 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50685 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
50686 (__sqr): Likewise.
50687
50688 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
50689
50690 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
50691
50692 2013-03-28 Roland McGrath <roland@hack.frob.com>
50693
50694 * include/stdlib.h [!SHARED] (__call_tls_dtors):
50695 Declare with __attribute__ ((weak)).
50696 * stdlib/exit.c (__libc_atexit) [!SHARED]:
50697 Call __call_tls_dtors only if it's not NULL.
50698
50699 2013-03-28 Roland McGrath <roland@hack.frob.com>
50700
50701 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
50702 didn't do it already, then set _dl_phdr and _dl_phnum based on the
50703 magic __ehdr_start linker symbol if it's defined.
50704 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
50705 them up here if it was already done.
50706
50707 * elf/dl-support.c (_dl_phdr): Make pointer to const.
50708 (_dl_aux_init): Use const in cast when setting it.
50709 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
50710 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50711 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
50712
50713 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
50714 Declare them here.
50715 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
50716 * csu/libc-tls.c: Nor here.
50717 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
50718
50719 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
50720 (__libc_message): Never call vsyslog.
50721
50722 2013-03-28 Alan Modra <amodra@gmail.com>
50723
50724 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
50725 Define as empty.
50726 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
50727 Likewise.
50728
50729 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50730
50731 [BZ #15214]
50732 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
50733 underflow.
50734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50735
50736 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50737
50738 [BZ #15304]
50739 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50740 Don't add gid passed as argument.
50741
50742 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
50743
50744 2013-03-27 Joseph Myers <joseph@codesourcery.com>
50745
50746 [BZ #15307]
50747 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50748 imaginary part between 1.0 and 1.5 and real part less than 0.5
50749 specially.
50750 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50751 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50752 * math/libm-test.inc (cacos_test): Add more tests.
50753 (casin_test): Likewise.
50754 (casinh_test): Likewise.
50755 * sysdeps/i386/fpu/libm-test-ulps: Update.
50756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50757
50758 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
50759
50760 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
50761 constants.
50762 (norm): Likewise.
50763 (denorm): Likewise.
50764 (__dbl_mp): Likewise.
50765 (add_magnitudes): Likewise.
50766 (sub_magnitudes): Likewise.
50767 (__add): Likewise.
50768 (__sub): Likewise.
50769 (__mul): Likewise.
50770 (__sqr): Likewise.
50771 (__inv): Likewise.
50772 (__dvd): Likewise.
50773
50774 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
50775 commented code.
50776 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
50777 (__dubcos): Likewise.
50778 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
50779 (__ieee754_acos): Likewise.
50780 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
50781 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
50782 (__exp1): Likewise.
50783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50784 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50785 (log1): Likewise.
50786 (my_log2): Likewise.
50787 (checkint): Likewise.
50788 * sysdeps/ieee754/dbl-64/e_remainder.c
50789 (__ieee754_remainder): Likewise.
50790 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
50791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
50792 (bsloww): Likewise.
50793 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50794
50795 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
50796 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
50797 MANTISSA_STORE_T to store computations on mantissa. Use
50798 macros for rounding and division.
50799 (denorm): Likewise.
50800 (__dbl_mp): Likewise.
50801 (add_magnitudes): Likewise.
50802 (sub_magnitudes): Likewise.
50803 (__mul): Likewise.
50804 (__sqr): Likewise.
50805 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
50806 powers of two in terms of TWOPOW macro.
50807 (mp_no): Make type of mantissa as MANTISSA_T.
50808 [!RADIXI]: Define RADIXI.
50809 [!TWO52]: Define TWO52.
50810 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
50811
50812 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50813
50814 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
50815 llroundl symbol when building for PPC32.
50816
50817 2013-03-24 Mark H Weaver <mhw@netris.org>
50818
50819 * manual/arith.texi (Normalization Functions): Fix prototypes for
50820 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
50821
50822 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50823
50824 [BZ #13889]
50825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
50826 high value to check if expl overflow.
50827 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
50828 to check for underflow and overflow.
50829 * math/libm-test.inc: Add exp test.
50830
50831 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
50832
50833 [BZ #11120]
50834 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
50835 with NOT_IN_libc.
50836
50837 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50838
50839 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
50840 symbol.
50841
50842 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
50843
50844 * math/gen-libm-test.pl (parse_args, special_functions): Properly
50845 wrap blocks consisting of several statements.
50846
50847 * sysdeps/generic/math-tests.h: New file.
50848 * sysdeps/i386/fpu/math-tests.h: Likewise.
50849 * math/test-snan.c: Include it.
50850 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
50851
50852 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50853
50854 [BZ #15285]
50855 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
50856 (__ieee754_j0l): Do not improve calculations using cos of twice
50857 input for inputs above LDBL_MAX / 2.0L.
50858 (__ieee754_y0l): Likewise.
50859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
50860 (__ieee754_j1l): Do not improve calculations using cos of twice
50861 input for inputs above LDBL_MAX / 2.0L.
50862 (__ieee754_y1l): Likewise.
50863 * math/libm-test.inc (j0_test): Add another test.
50864 (j1_test): Likewise.
50865 (y0_test): Likewise.
50866 (y1_test): Likewise.
50867 * sysdeps/i386/fpu/libm-test-ulps: Update.
50868
50869 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50870
50871 * Rules ($(objpfx)bench-%.c): Include code from a C source
50872 file.
50873
50874 2013-03-21 Joseph Myers <joseph@codesourcery.com>
50875
50876 [BZ #15287]
50877 * math/k_casinh.c (__kernel_casinh): Handle arguments with
50878 imaginary part 1.0 and real part less than 0.5 specially.
50879 * math/k_casinhf.c (__kernel_casinhf): Likewise.
50880 * math/k_casinhl.c (__kernel_casinhl): Likewise.
50881 * math/libm-test.inc (cacos_test): Add more tests.
50882 (casin_test): Likewise.
50883 (casinh_test): Likewise.
50884 * sysdeps/i386/fpu/libm-test-ulps: Update.
50885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50886
50887 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
50888
50889 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
50890 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
50891
50892 2013-03-20 Joseph Myers <joseph@codesourcery.com>
50893
50894 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
50895 * config.make.in (config-cflags-sse4): Remove variable.
50896 (config-cflags-avx): Likewise.
50897 (config-cflags-sse2avx): Likewise.
50898 (config-cflags-novzeroupper): Likewise.
50899 (config-asflags-i686): Likewise.
50900 (have-mfma4): Likewise.
50901 (have-as-vis3): Likewise.
50902 (MIG): Likewise.
50903 * configure.in (MIG): Do not AC_SUBST.
50904 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
50905 (libc_cv_cc_sse4): Do not AC_SUBST.
50906 (libc_cv_cc_avx): Likewise.
50907 (libc_cv_cc_sse2avx): Likewise.
50908 (libc_cv_cc_novzeroupper): Likewise.
50909 (libc_cv_cc_fma4): Likewise.
50910 (libc_cv_as_i686): Likewise.
50911 (libc_cv_sparc_as_vis3): Likewise.
50912 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
50913 LIBC_CONFIG_VAR.
50914 (config-asflags-i686): Likewise.
50915 (config-cflags-avx): Likewise.
50916 (config-cflags-sse2avx): Likewise.
50917 (have-mfma4): Likewise.
50918 (config-cflags-novzeroupper): Likewise.
50919 * sysdeps/mach/configure.in (MIG): Likewise.
50920 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
50921 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
50922 LIBC_CONFIG_VAR.
50923 (config-cflags-avx): Likewise.
50924 (config-cflags-sse2avx): Likewise.
50925 (have-mfma4): Likewise.
50926 (config-cflags-novzeroupper): Likewise.
50927 * configure: Regenerated.
50928 * sysdeps/i386/configure: Likewise.
50929 * sysdeps/mach/configure: Likewise.
50930 * sysdeps/sparc/configure: Likewise.
50931 * sysdeps/x86_64/configure: Likewise.
50932
50933 2013-03-20 Roland McGrath <roland@hack.frob.com>
50934
50935 [BZ #14812]
50936 * locale/programs/localedef.c (options): Put N_ translation marker
50937 on argument names, not just descriptions.
50938
50939 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50940
50941 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
50942
50943 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
50944
50945 [BZ #14176]
50946 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
50947
50948 2013-03-19 Roland McGrath <roland@hack.frob.com>
50949
50950 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
50951 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
50952 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
50953 [!BEFORE_ABORT] (before_abort): New function.
50954 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
50955 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
50956 (writev_for_fatal): New function.
50957 (WRITEV_FOR_FATAL): New macro; call that.
50958 (backtrace_and_maps): New function.
50959 (BEFORE_ABORT): New macro; call that.
50960 (struct str_list): Type removed.
50961 (__libc_message, __libc_fatal): Functions removed.
50962 Include <sysdeps/posix/libc_fatal.c> instead.
50963
50964 2013-03-19 Joseph Myers <joseph@codesourcery.com>
50965
50966 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
50967 constants.
50968 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
50969 double constants.
50970
50971 2013-03-19 Andreas Schwab <schwab@suse.de>
50972
50973 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
50974 * sysdeps/gnu/configure: Regenerate.
50975
50976 * configure.in: Substitute libc_cv_rtlddir.
50977 * configure: Regenerate.
50978 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
50979 * Makeconfig (rtlddir, inst_rtlddir): New variables.
50980 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
50981 * elf/Makefile (install-others, CFLAGS-interp.c)
50982 (ldso_install, common-ldd-rewrite): Likewise.
50983 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
50984 $(inst_slibdir)/$(rtld-installed-name).
50985 * scripts/rellns-sh: Add -p option.
50986 * Makerules (make-shlib-link): Use rellns-sh to get relative name
50987 for source.
50988
50989 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
50990
50991 * manual/nptl.texi: Renamed to ...
50992 * manual/threads.texi: ... this.
50993 * manual/Makefile (chapters): Update.
50994
50995 2013-03-18 Roland McGrath <roland@hack.frob.com>
50996
50997 [BZ #14812]
50998 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
50999 on argument names, not just descriptions.
51000 * malloc/memusagestat.c (options): Likewise.
51001 * nss/getent.c (options): Likewise.
51002
51003 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
51004
51005 [BZ #14812]
51006 * iconv/iconv_prog.c (options): Put N_ translation marker
51007 on argument names, not just descriptions.
51008 * iconv/iconvconfig.c (options): Likewise.
51009
51010 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
51011
51012 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51013 implementation which is faster on all x86_64 architectures.
51014 Tested on AMD, Intel Nehalem, SNB, IVB.
51015 * sysdeps/x86_64/strnlen.S: Likewise.
51016
51017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51018 Remove all multiarch strlen and strnlen versions.
51019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51020 Remove strlen and strnlen related parts.
51021
51022 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51023 Inline strlen part.
51024 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51025
51026 * sysdeps/x86_64/multiarch/strlen.S: Remove.
51027 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51028 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51029 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51030 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51031 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51032
51033 2013-03-17 Carlos O'Donell <carlos@redhat.com>
51034
51035 * manual/memory.texi (Malloc Tunable Parameters):
51036 Sort parameters alphabetically. Add comments for missing entries.
51037
51038 2013-03-17 David S. Miller <davem@davemloft.net>
51039
51040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51041
51042 2013-03-16 Joseph Myers <joseph@codesourcery.com>
51043
51044 [BZ #15283]
51045 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51046 for arguments at most half maximum finite value.
51047 * math/libm-test.inc (j0_test): Add more tests.
51048 (j1_test): Likewise.
51049 (y0_test): Likewise.
51050 (y1_test): Likewise.
51051 * sysdeps/i386/fpu/libm-test-ulps: Update.
51052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51053
51054 [BZ #14155]
51055 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51056 1 / x and functions P and Q for arguments above 0x1p256L.
51057 (__ieee754_y0l): Likewise.
51058 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51059 (__ieee754_y1l): Likewise.
51060 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51061 (j1_test): Likewise.
51062 (y0_test): Likewise.
51063 (y1_test): Likewise.
51064
51065 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
51066
51067 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51068 variable.
51069
51070 2013-03-15 Roland McGrath <roland@hack.frob.com>
51071
51072 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51073 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51074 zero since it's initialized to EXEC_PAGESIZE.
51075
51076 * sysdeps/unix/sysv/linux/ldsodefs.h
51077 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51078 * sysdeps/generic/ldsodefs.h: ... here.
51079
51080 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
51081
51082 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51083
51084 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51085 math/test-snan.c.
51086 * math/test-snan.c: Renamed from
51087 sysdeps/powerpc/fpu/test-powerpc-snan.c.
51088 * math/Makefile (tests): Add test-snan.
51089 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51090 test-powerpc-snan.
51091
51092 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51093 SUFFIX. Initialize qNaN_var with __builtin_nan family of
51094 functions.
51095 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
51096 __builtin_nan family of functions.
51097 * math/libm-test.inc (initialize): Initialize qnan_value with
51098 __builtin_nan family of functions.
51099 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51100 Remove variables.
51101 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51102 Remove functions.
51103 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
51104 storage class. Initialize qNaN_var and sNaN_var with
51105 __builtin_nan and __builtin_nans families of functions,
51106 respectively.
51107
51108 * math/libm-test.inc (acosh_test): Also test with qNaN input.
51109 (sqrt_test): Remove duplicate test with qNaN input.
51110 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51111 (round_test, signbit_test, significand_test): Note missing +/-Inf
51112 as well as qNaN tests.
51113
51114 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51115 qNaN_var. Fix a few strings, too.
51116 * math/libm-test.inc (nan_value): Rename to qnan_value.
51117 * math/gen-libm-test.pl (%beautify): Adjust to that.
51118 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51119 * math/test-misc.c (main): Likewise.
51120 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51121 to __qnan_bytes, and __qnan_union, respectively.
51122 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51123 Likewise.
51124 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51125 and lqnanval, respectively.
51126 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51127 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51128 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51129 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51130
51131 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51132 * math/test-misc.c (main) [__x86_64__]: Enable test for long
51133 doubles.
51134
51135 * math/test-misc.c (main): Fix copy'n'pastos.
51136 * misc/tst-efgcvt.c (special): Likewise.
51137
51138 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51139 Remove declarations.
51140
51141 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51142
51143 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51144 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51145 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51146 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51147
51148 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51149
51150 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51151 macro to return vdso values correctly in IFUNC implementations.
51152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51153 Optimization by using IFUNC.
51154
51155 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51156 Richard Henderson <rth@redhat.com>
51157 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
51158
51159 * Makefile.in (bench): New target.
51160 * NEWS: Mention the benchmark framework.
51161 * Rules (bench): Likewise.
51162 (binaries-bench): Generate binaries for functions to
51163 benchmark.
51164 * benchtests/Makefile: New makefile for benchmark tests.
51165 * benchtests/bench-skeleton.c: New skeleton file for benchmark
51166 programs.
51167 * benchtests/exp-inputs: New input file for EXP function.
51168 * benchtests/pow-inputs: New input file for POW function.
51169 * scripts/bench.pl: New script to generate source files for
51170 benchmark programs.
51171
51172 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
51173
51174 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51176 computations on mantissa. Use macros for rounding and
51177 division.
51178 (denorm): Likewise.
51179 (__dbl_mp): Likewise.
51180 (add_magnitudes): Likewise.
51181 (sub_magnitudes): Likewise.
51182 (__mul): Likewise.
51183 (__sqr): Likewise.
51184 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
51185 powers of two in terms of TWOPOW macro.
51186 (mp_no): Make type of mantissa as MANTISSA_T.
51187 [!RADIXI]: Define RADIXI.
51188 [!TWO52]: Define TWO52.
51189 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51190
51191 * manual/nptl.texi (cindex): Modify threads to pthreads.
51192
51193 2013-03-15 Joseph Myers <joseph@codesourcery.com>
51194
51195 * sysdeps/x86_64/preconfigure: Regenerated.
51196
51197 2013-03-14 Joseph Myers <joseph@codesourcery.com>
51198
51199 [BZ #14155]
51200 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51201 0x1p28 and above.
51202 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51203 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51204 0x1p28 and above.
51205 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51206 * math/libm-test.inc (j0_test): Do not allow one spurious
51207 underflow exception.
51208 (y1_test): Likewise.
51209
51210 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
51211
51212 * manual/Makefile (chapters): Add nptl.
51213 * manual/debug.texi (Debugging Support): Add link to Threads
51214 chapter.
51215 * manual/nptl.texi: New file.
51216
51217 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51218
51219 2013-03-14 Petr Baudis <pasky@ucw.cz>
51220
51221 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51222 for non-NULL pointer before the memory validity test. Pointed
51223 out by Holger Brunck <holger.brunck@keymile.com>.
51224
51225 2013-03-13 Andreas Schwab <schwab@suse.de>
51226
51227 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51228 instead of .os.
51229
51230 2013-03-13 Joseph Myers <joseph@codesourcery.com>
51231
51232 * timezone/zic.c: Update from tzcode 2013b.
51233
51234 2013-03-12 Carlos O'Donell <carlos@redhat.com>
51235
51236 * manual/install.texi (Configuring and compiling):
51237 Mention i686 and i586.
51238 * INSTALL: Regenerate.
51239
51240 2013-03-12 Roland McGrath <roland@hack.frob.com>
51241
51242 * sysdeps/init_array/elf-init.c: New file.
51243 * csu/elf-init.c
51244 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51245 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51246
51247 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51248 __gmon_start__ as global, but as static with a .preinit_array pointer.
51249 * sysdeps/init_array/gmon-start.c: New file. Use that.
51250 * sysdeps/init_array/crti.S: New file, empty except for comments.
51251 * sysdeps/init_array/crtn.S: Likewise.
51252
51253 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
51254
51255 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51256 definining bcopy.
51257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51258 Remove Prefer_SSE_for_memop.
51259 * sysdeps/x86_64/multiarch/init-arch.h: Remove
51260 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51261 HAS_PREFER_SSE_FOR_MEMOP.
51262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51263 memset-x86-64.
51264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51265 Remove bzero, memset ifunc support.
51266 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51267 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51268 * sysdeps/x86_64/multiarch/memset.S: Likewise.
51269 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51270
51271 2013-03-11 Andreas Schwab <schwab@suse.de>
51272
51273 [BZ #15234]
51274 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51275 by SHLIB_COMPAT.
51276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51277 (GLIBC_2.16): Remove pthread_atfork.
51278
51279 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
51280
51281 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51282 (ptestcases.h): Likewise.
51283
51284 2013-03-08 Roland McGrath <roland@hack.frob.com>
51285
51286 * Makeconfig ($(common-objpfx)config.status): Depend on
51287 sysdeps/*/preconfigure{,.in} too.
51288
51289 2013-03-08 Joseph Myers <joseph@codesourcery.com>
51290
51291 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51292 (__free_hook): Use void * instead of __malloc_ptr_t.
51293 (__malloc_hook): Likewise.
51294 (__realloc_hook): Likewise.
51295 (__memalign_hook): Likewise.
51296 (__after_morecore_hook): Likewise.
51297 * malloc/arena.c (save_malloc_hook): Likewise.
51298 (save_free_hook): Likewise.
51299 * malloc/hooks.c (malloc_hook_ini): Likewise.
51300 (realloc_hook_ini): Likewise.
51301 (memalign_hook_ini): Likewise.
51302 * malloc/malloc.c (malloc_hook_ini): Likewise.
51303 (realloc_hook_ini): Likewise.
51304 (memalign_hook_ini): Likewise.
51305 (__free_hook): Likewise.
51306 (__malloc_hook): Likewise.
51307 (__realloc_hook): Likewise.
51308 (__memalign_hook): Likewise.
51309 (__libc_malloc): Likewise.
51310 (__libc_free): Likewise.
51311 (__libc_realloc): Likewise.
51312 (__libc_memalign): Likewise.
51313 (__libc_valloc): Likewise.
51314 (__libc_pvalloc): Likewise.
51315 (__libc_calloc): Likewise.
51316 (__posix_memalign): Likewise.
51317 * malloc/morecore.c (__sbrk): Likewise.
51318 (__default_morecore): Likewise.
51319
51320 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51321
51322 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51323 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51324 __malloc_ptrdiff_t.
51325
51326 * malloc/malloc.h (__malloc_size_t): Remove macro.
51327 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51328 __malloc_size_t.
51329 (old_memalign_hook): Likewise.
51330 (old_realloc_hook): Likewise.
51331 (struct hdr): Likewise.
51332 (flood): Likewise.
51333 (mallochook): Likewise.
51334 (memalignhook): Likewise.
51335 (reallochook): Likewise.
51336 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51337 (tr_old_realloc_hook): Likewise.
51338 (tr_old_memalign_hook): Likewise.
51339 (tr_mallochook): Likewise.
51340 (tr_reallochook): Likewise.
51341 (tr_memalignhook): Likewise.
51342
51343 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51344
51345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51346 default_ldbl_pack and using as default implementation.
51347 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51348 implementation.
51349 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51350 redundant definition.
51351 (ldbl_insert_mantissa): Likewise.
51352 (ldbl_canonicalize): Likewise.
51353 (ldbl_nearbyint): Likewise.
51354 (ldbl_pack): Rename to ldbl_pack_ppc.
51355 (ldbl_unpack): Rename to ldbl_unpack_ppc.
51356 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51357 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51358
51359 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51360
51361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51362 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51364 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51367 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51368 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51369
51370 2013-03-07 Andreas Jaeger <aj@suse.de>
51371
51372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51373 bits/mman-linux.h.
51374
51375 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51376
51377 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51378 Include mpa.h and declare __MPEXP.
51379 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51380 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51381 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51382 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51383 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51384 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51385 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51386
51387 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51388 (__slowpow): Use long double EXPL and LOGL functions to
51389 compute POW.
51390 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51391 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51392 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51393 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51394 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51395 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51396
51397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51398 intermediate variable to calculate exponent.
51399 (__sqr): Likewise.
51400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51401 Likewise.
51402 (__sqr): Likewise.
51403
51404 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51405 [!NO__SQR]: Define __sqr.
51406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51407 and NO__SQR. Remove all code except __mul and __sqr. Include
51408 sysdeps/ieee754/dbl-64/mpa.c.
51409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51410
51411 [BZ #12723]
51412 * posix/Makefile (tests): Add tst-pathconf.
51413 * posix/tst-pathconf.c: New test case.
51414 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51415 _PC_PIPE_BUF.
51416 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51417
51418 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
51419
51420 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51421
51422 2013-03-06 Andreas Jaeger <aj@suse.de>
51423
51424 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51425 definition via __MAP_ANONYMOUS.
51426
51427 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51428 it's not part of Linux headers.
51429
51430 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51431 (MAP_HUGE_MASK): Define.
51432
51433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51434 Define.
51435 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51437 Define.
51438 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51439 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51440 Define.
51441 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51442 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51443 Define.
51444 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51445
51446 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
51447 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
51448 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
51449 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
51450 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
51451 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
51452
51453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51454 Handle f2fs.
51455
51456 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51457 Handle f2fs and efivarfs.
51458
51459 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
51460 f2fs.
51461
51462 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
51463 (EFIVARFS_MAGIC): Add.
51464 (F2FS_LINK_MAX): Add.
51465
51466 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
51467
51468 * stdio-common/vfprintf.c: Replace __builtin_expect with
51469 __glibc_unlikely.
51470
51471 2013-03-06 Joseph Myers <joseph@codesourcery.com>
51472
51473 [BZ #13550]
51474 * sysdeps/generic/bp-sym.h: Remove file.
51475 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
51476 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
51477 <bp-sym.h> and <bp-asm.h>.
51478 (__longjmp): Don't use BP_SYM.
51479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
51480 and <bp-asm.h>.
51481 (memcpy): Don't use BP_SYM.
51482 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
51483 <bp-sym.h> and <bp-asm.h>.
51484 (memcpy): Don't use BP_SYM.
51485 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
51486 <bp-asm.h>.
51487 (memcpy): Don't use BP_SYM.
51488 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
51489 <bp-asm.h>.
51490 (memset): Don't use BP_SYM.
51491 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51492 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51493 (__bzero): Don't use BP_SYM.
51494 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51495 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51496 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
51497 <bp-sym.h> and <bp-asm.h>.
51498 (memcmp): Don't use BP_SYM. Remove comment about bounded
51499 pointers.
51500 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
51501 <bp-sym.h> and <bp-asm.h>.
51502 (memcpy): Don't use BP_SYM.
51503 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
51504 <bp-sym.h> and <bp-asm.h>.
51505 (memset): Don't use BP_SYM.
51506 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51507 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51508 (__bzero): Don't use BP_SYM.
51509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51511 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
51512 <bp-sym.h> and <bp-asm.h>.
51513 (strncmp): Don't use BP_SYM. Remove comment about bounded
51514 pointers.
51515 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
51516 <bp-sym.h> and <bp-asm.h>.
51517 (memcpy): Don't use BP_SYM.
51518 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
51519 <bp-sym.h> and <bp-asm.h>.
51520 (memset): Don't use BP_SYM.
51521 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51522 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51523 (__bzero): Don't use BP_SYM.
51524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
51527 <bp-sym.h> and <bp-asm.h>.
51528 (__memchr): Don't use BP_SYM.
51529 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
51530 <bp-sym.h> and <bp-asm.h>.
51531 (memcmp): Don't use BP_SYM. Remove comment about bounded
51532 pointers.
51533 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
51534 <bp-sym.h> and <bp-asm.h>.
51535 (memcpy): Don't use BP_SYM.
51536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
51537 <bp-sym.h> and <bp-asm.h>.
51538 (__mempcpy): Don't use BP_SYM.
51539 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
51540 <bp-sym.h> and <bp-asm.h>.
51541 (__memrchr): Don't use BP_SYM.
51542 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
51543 <bp-sym.h> and <bp-asm.h>.
51544 (memset): Don't use BP_SYM.
51545 (__bzero): Likewise.
51546 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
51547 <bp-sym.h> and <bp-asm.h>.
51548 (__rawmemchr): Don't use BP_SYM.
51549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
51550 <bp-sym.h> and <bp-asm.h>.
51551 (__STRCMP): Don't use BP_SYM.
51552 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
51553 <bp-sym.h> and <bp-asm.h>.
51554 (strchr): Don't use BP_SYM.
51555 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
51556 <bp-sym.h> and <bp-asm.h>.
51557 (__strchrnul): Don't use BP_SYM.
51558 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
51559 <bp-sym.h> and <bp-asm.h>.
51560 (strlen): Don't use BP_SYM.
51561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
51562 <bp-sym.h> and <bp-asm.h>.
51563 (strncmp): Don't use BP_SYM. Remove comment about bounded
51564 pointers.
51565 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
51566 <bp-sym.h> and <bp-asm.h>.
51567 (__strnlen): Don't use BP_SYM.
51568 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
51569 <bp-sym.h> and <bp-asm.h>.
51570 (__GI__setjmp): Don't use BP_SYM.
51571 (_setjmp): Likewise.
51572 (__sigsetjmp): Likewise.
51573 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
51574 (L(start_addresses)): Don't use BP_SYM.
51575 (_start): Likewise.
51576 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
51577 <bp-asm.h>.
51578 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
51579 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
51580 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51581 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51582 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
51583 <bp-asm.h>.
51584 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
51585 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
51586 about bounded pointers.
51587 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51588 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51589 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
51590 <bp-asm.h>.
51591 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51592 about bounded pointers. Remove GKM FIXME comments.
51593 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51594 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
51595 <bp-asm.h>.
51596 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
51597 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
51598 Remove GKM FIXME comments.
51599 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51600 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51601 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
51602 <bp-asm.h>.
51603 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
51604 about bounded pointers. Remove GKM FIXME comment.
51605 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
51606 and <bp-asm.h>.
51607 (strncmp): Don't use BP_SYM. Remove comment about bounded
51608 pointers.
51609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
51610 <bp-sym.h> and <bp-asm.h>.
51611 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
51613 <bp-sym.h> and <bp-asm.h>.
51614 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51615 comment.
51616
51617 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51618
51619 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
51620 call free(NULL).
51621
51622 2013-03-05 David S. Miller <davem@davemloft.net>
51623
51624 * po/es.po: Update from translation team.
51625
51626 2013-03-05 Andreas Jaeger <aj@suse.de>
51627
51628 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
51629 <bits/mman-linux.h>.
51630 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51631 is fine.
51632 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
51633 <bits/mman-linux.h> to end of file.
51634 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51635 is fine.
51636 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
51637 <bits/mman-linux.h> to end of file.
51638 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
51639 is fine.
51640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
51641 <bits/mman-linux.h> to end of file.
51642
51643 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
51644 (MCL_CURRENT, MCL_FUTURE): Define here.
51645
51646 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51647
51648 [BZ #15232]
51649 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
51650 attribute_hidden.
51651 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
51652
51653 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51654
51655 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
51656 fourth parameter needed for rt_sigprocmask syscall.
51657 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
51658 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51659 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
51660 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51661 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51662 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
51663
51664 2013-03-04 Joseph Myers <joseph@codesourcery.com>
51665
51666 [BZ #13550]
51667 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
51668 comment about bounded pointers.
51669 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
51670 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
51671
51672 2013-03-04 Andreas Jaeger <aj@suse.de>
51673
51674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
51675 common definitions.
51676
51677 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
51678 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
51679 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
51680 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51682 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51683
51684 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51685
51686 [BZ #15055]
51687 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
51688 __ieee754_sqrl instead of __sqrl.
51689
51690 2013-03-01 Joseph Myers <joseph@codesourcery.com>
51691
51692 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
51693 * sysdeps/powerpc/fpu_control.h: ... here.
51694 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
51695 * sysdeps/powerpc/bits/fenvinline.h: ... here.
51696 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
51697 * sysdeps/powerpc/bits/mathinline.h: ... here.
51698
51699 2013-03-01 Roland McGrath <roland@hack.frob.com>
51700
51701 * elf/dl-hwcaps.c (_dl_important_hwcaps):
51702 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
51703 to just [NEED_DL_SYSINFO_DSO].
51704 * elf/dl-support.c: Likewise.
51705 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
51706 * elf/rtld.c (dl_main): Likewise.
51707 * elf/setup-vdso.h (setup_vdso): Likewise.
51708 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
51709 * sysdeps/unix/sysv/linux/dl-sysdep.c
51710 (_dl_discover_osversion): Likewise.
51711
51712 2013-03-01 Carlos O'Donell <carlos@redhat.com>
51713
51714 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
51715 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51716
51717 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
51718
51719 * NEWS: Mention libm performance improvements and non-x86 PI
51720 futex support.
51721
51722 * csu/libc-start.c (__pthread_initialize_minimal): Change
51723 function arguments.
51724 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
51725
51726 2013-02-28 Joseph Myers <joseph@codesourcery.com>
51727
51728 [BZ #13550]
51729 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
51730 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
51731 <bp-sym.h> and <bp-asm.h>.
51732 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
51734 and <bp-asm.h>.
51735 (memcpy): Don't use BP_SYM.
51736 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
51737 <bp-asm.h>.
51738 (__mpn_add_n): Don't use BP_SYM.
51739 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
51740 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
51741 and <bp-asm.h>.
51742 (__mpn_addmul_1): Don't use BP_SYM.
51743 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51744 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
51745 <bp-sym.h>.
51746 (_setjmp): Don't use BP_SYM.
51747 (__novmx_setjmp): Likewise.
51748 (__GI__setjmp): Likewise.
51749 (__vmx_setjmp): Likewise.
51750 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
51751 <bp-sym.h>.
51752 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
51753 (__bzero): Don't use BP_SYM.
51754 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
51755 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
51756 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
51757 <bp-sym.h> and <bp-asm.h>.
51758 (memcpy): Don't use BP_SYM.
51759 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
51760 <bp-sym.h> and <bp-asm.h>.
51761 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51762 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
51763 <bp-sym.h> and <bp-asm.h>.
51764 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
51765 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
51766 <bp-asm.h>.
51767 (__mpn_lshift): Don't use BP_SYM.
51768 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51769 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
51770 <bp-asm.h>.
51771 (memset): Don't use BP_SYM.
51772 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
51773 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
51774 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
51775 <bp-asm.h>.
51776 (__mpn_mul_1): Don't use BP_SYM.
51777 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51778 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
51779 <bp-sym.h> and <bp-asm.h>.
51780 (memcmp): Don't use BP_SYM.
51781 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
51782 <bp-sym.h> and <bp-asm.h>.
51783 (memcpy): Don't use BP_SYM.
51784 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
51785 <bp-sym.h> and <bp-asm.h>.
51786 (memset): Don't use BP_SYM.
51787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
51788 <bp-sym.h> and <bp-asm.h>.
51789 (strncmp): Don't use BP_SYM.
51790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
51791 <bp-sym.h> and <bp-asm.h>.
51792 (memcpy): Don't use BP_SYM.
51793 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
51794 <bp-sym.h> and <bp-asm.h>.
51795 (memset): Don't use BP_SYM.
51796 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
51797 <bp-sym.h> and <bp-asm.h>.
51798 (__memchr): Don't use BP_SYM.
51799 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
51800 <bp-sym.h> and <bp-asm.h>.
51801 (memcmp): Don't use BP_SYM.
51802 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
51803 <bp-sym.h> and <bp-asm.h>.
51804 (memcpy): Don't use BP_SYM.
51805 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
51806 <bp-sym.h> and <bp-asm.h>.
51807 (__mempcpy): Don't use BP_SYM.
51808 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
51809 <bp-sym.h> and <bp-asm.h>.
51810 (__memrchr): Don't use BP_SYM.
51811 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
51812 <bp-sym.h> and <bp-asm.h>.
51813 (memset): Don't use BP_SYM.
51814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
51815 <bp-sym.h> and <bp-asm.h>.
51816 (__rawmemchr): Don't use BP_SYM.
51817 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
51818 <bp-sym.h> and <bp-asm.h>.
51819 (__STRCMP): Don't use BP_SYM.
51820 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
51821 <bp-sym.h> and <bp-asm.h>.
51822 (strchr): Don't use BP_SYM.
51823 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
51824 <bp-sym.h> and <bp-asm.h>.
51825 (__strchrnul): Don't use BP_SYM.
51826 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
51827 <bp-sym.h> and <bp-asm.h>.
51828 (strlen): Don't use BP_SYM.
51829 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
51830 <bp-sym.h> and <bp-asm.h>.
51831 (strncmp): Don't use BP_SYM.
51832 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
51833 <bp-sym.h> and <bp-asm.h>.
51834 (__strnlen): Don't use BP_SYM.
51835 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
51836 <bp-asm.h>.
51837 (__mpn_rshift): Don't use BP_SYM.
51838 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
51839 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
51840 <bp-sym.h> and <bp-asm.h>.
51841 (__sigsetjmp): Don't use BP_SYM.
51842 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
51843 (L(start_addresses)): Don't use BP_SYM.
51844 (_start): Likewise.
51845 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
51846 <bp-asm.h>.
51847 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
51848 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51849 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51850 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
51851 <bp-asm.h>.
51852 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
51853 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
51854 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
51855 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
51856 <bp-asm.h>.
51857 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51858 comments.
51859 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
51860 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
51861 <bp-asm.h>.
51862 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
51863 FIXME comments.
51864 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
51865 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
51866 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
51867 <bp-asm.h>.
51868 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
51869 comment.
51870 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
51871 and <bp-asm.h>.
51872 (strncmp): Don't use BP_SYM,
51873 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
51874 <bp-asm.h>.
51875 (__mpn_sub_n): Don't use BP_SYM.
51876 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
51877 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
51878 and <bp-asm.h>.
51879 (__mpn_submul_1): Don't use BP_SYM.
51880 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
51881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
51882 <bp-sym.h> and <bp-asm.h>.
51883 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
51884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
51885 <bp-sym.h> and <bp-asm.h>.
51886 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
51887 comment.
51888
51889 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51890
51891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
51892 Use ZK to minimize writes to Z.
51893 (sub_magnitudes): Simplify code a bit.
51894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
51895 Use ZK to minimize writes to Z.
51896 (sub_magnitudes): Simplify code a bit.
51897
51898 2013-02-27 Roland McGrath <roland@hack.frob.com>
51899
51900 * csu/gmon-start.c: Add special exception to license text.
51901
51902 2013-02-27 Richard Henderson <rth@redhat.com>
51903
51904 * scripts/config.guess: Update from config.git.
51905 * scripts/config.sub: Likewise.
51906
51907 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
51908
51909 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
51910
51911 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
51912
51913 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
51914
51915 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
51916
51917 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
51918
51919 2013-02-26 Roland McGrath <roland@hack.frob.com>
51920
51921 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
51922 [$(build-shared = yes].
51923
51924 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51925
51926 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
51927 (__mul): Reduce iterations for calculating mantissa.
51928
51929 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
51930 MPTWO.
51931 (__mpranred): Likewise.
51932
51933 [BZ #15160]
51934 * malloc/memusagestat.c (main): Draw graphs for heap and stack
51935 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
51936
51937 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
51938
51939 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
51940 Define __attribute__.
51941
51942 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51943
51944 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
51945 unused.
51946 * posix/regex_internal.h (__attribute): Remove.
51947 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
51948 (re_string_context_at): Likewise.
51949 (bitset_not): Use __attribute__ and mark function as possibly
51950 unused.
51951 (bitset_merge): Likewise.
51952 (bitset_mask): Likewise.
51953 (re_string_char_size_at): Likewise.
51954 (re_string_wchar_at): Likewise.
51955 (re_string_elem_size_at): Likewise.
51956
51957 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51958
51959 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
51960 code.
51961 (cc32): Likewise.
51962
51963 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
51964 (__acr): Likewise.
51965 (__cpy): Likewise.
51966 (norm): Likewise.
51967 (denorm): Likewise.
51968 (__dbl_mp): Likewise.
51969 (add_magnitudes): Likewise.
51970 (sub_magnitudes): Likewise.
51971 (__mul): Likewise.
51972 (__inv): Likewise.
51973
51974 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
51975 style.
51976
51977 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
51978 style.
51979
51980 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
51981 code.
51982
51983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
51984 up changes with default code.
51985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
51986 Likewise.
51987
51988 2013-02-24 Allan McRae <allan@archlinux.org>
51989
51990 * manual/socket.texi (The Internet Namespace): Order menu items
51991 to match that in the file.
51992
51993 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
51994 node listing of the info page menu.
51995
51996 2013-02-21 Joseph Myers <joseph@codesourcery.com>
51997
51998 [BZ #13550]
51999 * sysdeps/i386/bp-asm.h: Remove file.
52000 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52001 (PARMS): Do not use macros from bp-asm.h.
52002 (S1): Likewise.
52003 (S2): Likewise.
52004 (SIZE): Likewise.
52005 (__mpn_add_n): Do not use BP_SYM
52006 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52007 "bp-asm.h".
52008 (PARMS): Do not use macros from bp-asm.h.
52009 (S1): Likewise.
52010 (SIZE): Likewise.
52011 (__mpn_addmul_1): Do not use BP_SYM
52012 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52013 "bp-asm.h".
52014 (PARMS): Do not use macros from bp-asm.h.
52015 (SIGMSK): Likewise.
52016 (_setjmp): Likewise. Do not use BP_SYM.
52017 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52018 "bp-asm.h".
52019 (PARMS): Do not use macros from bp-asm.h.
52020 (SIGMSK): Likewise.
52021 (setjmp): Likewise. Do not use BP_SYM.
52022 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52023 "bp-asm.h".
52024 (PARMS): Do not use macros from bp-asm.h.
52025 (__frexp): Do not use BP_SYM.
52026 (frexp): Likewise.
52027 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52028 "bp-asm.h".
52029 (PARMS): Do not use macros from bp-asm.h.
52030 (__frexpf): Do not use BP_SYM.
52031 (frexpf): Likewise.
52032 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52033 "bp-asm.h".
52034 (PARMS): Do not use macros from bp-asm.h.
52035 (__frexpl): Do not use BP_SYM.
52036 (frexpl): Likewise.
52037 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52038 "bp-asm.h".
52039 (PARMS): Do not use macros from bp-asm.h.
52040 (__remquo): Do not use BP_SYM.
52041 (remquo): Likewise.
52042 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52043 "bp-asm.h".
52044 (PARMS): Do not use macros from bp-asm.h.
52045 (__remquof): Do not use BP_SYM.
52046 (remquof): Likewise.
52047 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52048 "bp-asm.h".
52049 (PARMS): Do not use macros from bp-asm.h.
52050 (__remquol): Do not use BP_SYM.
52051 (remquol): Likewise.
52052 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52053 "bp-asm.h".
52054 (PARMS): Do not use macros from bp-asm.h.
52055 (DEST): Likewise.
52056 (SRC): Likewise.
52057 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
52058 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52059 "bp-asm.h".
52060 (PARMS): Do not use macros from bp-asm.h.
52061 (strlen): Do not use BP_SYM.
52062 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52063 "bp-asm.h".
52064 (PARMS): Do not use macros from bp-asm.h.
52065 (S1): Likewise.
52066 (S2): Likewise.
52067 (SIZE): Likewise.
52068 (__mpn_add_n): Do not use BP_SYM.
52069 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52070 "bp-asm.h".
52071 (PARMS): Do not use macros from bp-asm.h.
52072 (S1): Likewise.
52073 (SIZE): Likewise.
52074 (__mpn_addmul_1): Do not use BP_SYM.
52075 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52076 weak_alias.
52077 (bzero): Likewise.
52078 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52079 "bp-asm.h".
52080 (PARMS): Do not use macros from bp-asm.h.
52081 (S): Likewise.
52082 (SIZE): Likewise.
52083 (__mpn_lshift): Do not use BP_SYM.
52084 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52085 "bp-asm.h".
52086 (PARMS): Do not use macros from bp-asm.h.
52087 (DEST): Likewise.
52088 (SRC): Likewise.
52089 (LEN): Likewise.
52090 (memcpy): Likewise. Do not use BP_SYM.
52091 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52092 libc_hidden_def and weak_alias.
52093 (mempcpy): Do not use BP_SYM in weak_alias.
52094 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52095 "bp-asm.h".
52096 (PARMS): Do not use macros from bp-asm.h.
52097 (DEST): Likewise.
52098 (LEN): Likewise.
52099 [!BZERO_P] (CHR): Likewise.
52100 (memset): Likewise. Do not use BP_SYM.
52101 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52102 "bp-asm.h".
52103 (PARMS): Do not use macros from bp-asm.h.
52104 (S1): Likewise.
52105 (SIZE): Likewise.
52106 (__mpn_mul_1): Do not use BP_SYM.
52107 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52108 "bp-asm.h".
52109 (PARMS): Do not use macros from bp-asm.h.
52110 (S): Likewise.
52111 (SIZE): Likewise.
52112 (__mpn_rshift): Do not use BP_SYM.
52113 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52114 "bp-asm.h".
52115 (PARMS): Do not use macros from bp-asm.h.
52116 (STR): Likewise.
52117 (CHR): Likewise.
52118 (strchr): Likewise. Do not use BP_SYM.
52119 (index): Do not use BP_SYM in weak_alias.
52120 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52121 "bp-asm.h".
52122 (PARMS): Do not use macros from bp-asm.h.
52123 (DEST): Likewise.
52124 (SRC): Likewise.
52125 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
52126 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52127 "bp-asm.h".
52128 (PARMS): Do not use macros from bp-asm.h.
52129 (strlen): Do not use BP_SYM.
52130 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52131 "bp-asm.h".
52132 (PARMS): Do not use macros from bp-asm.h.
52133 (S1): Likewise.
52134 (S2): Likewise.
52135 (SIZE): Likewise.
52136 (__mpn_sub_n): Do not use BP_SYM.
52137 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52138 "bp-asm.h".
52139 (PARMS): Do not use macros from bp-asm.h.
52140 (S1): Likewise.
52141 (SIZE): Likewise.
52142 (__mpn_submul_1): Do not use BP_SYM.
52143 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52144 "bp-asm.h".
52145 (PARMS): Do not use macros from bp-asm.h.
52146 (S1): Likewise.
52147 (S2): Likewise.
52148 (SIZE): Likewise.
52149 (__mpn_add_n): Do not use BP_SYM.
52150 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52151 weak_alias.
52152 (bzero): Likewise.
52153 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52154 "bp-asm.h".
52155 (PARMS): Do not use macros from bp-asm.h.
52156 (BLK2): Likewise.
52157 (LEN): Likewise.
52158 (memcmp): Do not use BP_SYM.
52159 (bcmp): Do not use BP_SYM in weak_alias.
52160 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52161 "bp-asm.h".
52162 (PARMS): Do not use macros from bp-asm.h.
52163 (DEST): Likewise.
52164 (SRC): Likewise.
52165 (LEN): Likewise.
52166 (memcpy): Likewise. Do not use BP_SYM.
52167 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52168 "bp-asm.h".
52169 (PARMS): Do not use macros from bp-asm.h.
52170 (DEST): Likewise.
52171 (SRC): Likewise.
52172 (LEN): Likewise.
52173 (memmove): Likewise. Do not use BP_SYM.
52174 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52175 "bp-asm.h".
52176 (PARMS): Do not use macros from bp-asm.h.
52177 (DEST): Likewise.
52178 (SRC): Likewise.
52179 (LEN): Likewise.
52180 (__mempcpy): Likewise. Do not use BP_SYM.
52181 (mempcpy): Do not use BP_SYM in weak_alias.
52182 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52183 "bp-asm.h".
52184 (PARMS): Do not use macros from bp-asm.h.
52185 (DEST): Likewise.
52186 (LEN): Likewise.
52187 [!BZERO_P] (CHR): Likewise.
52188 (memset): Likewise. Do not use BP_SYM.
52189 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52190 "bp-asm.h".
52191 (PARMS): Do not use macros from bp-asm.h.
52192 (STR2): Likewise.
52193 (strcmp): Do not use BP_SYM.
52194 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52195 "bp-asm.h".
52196 (PARMS): Do not use macros from bp-asm.h.
52197 (STR): Likewise.
52198 (DELIM): Likewise.
52199 [USE_AS_STRTOK_R] (SAVE): Likewise.
52200 (FUNCTION): Likewise. Do not use BP_SYM.
52201 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52202 aliases.
52203 (strtok_r): Likewise.
52204 (__GI___strtok_r): Likewise.
52205 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52206 (PARMS): Do not use macros from bp-asm.h.
52207 (S): Likewise.
52208 (SIZE): Likewise.
52209 (__mpn_lshift): Do not use BP_SYM.
52210 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52211 (PARMS): Do not use macros from bp-asm.h.
52212 (STR): Likewise.
52213 (CHR): Likewise.
52214 (__memchr): Do not use BP_SYM.
52215 (memchr): Do not use BP_SYM in weak_alias.
52216 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52217 (PARMS): Do not use macros from bp-asm.h.
52218 (BLK2): Likewise.
52219 (LEN): Likewise.
52220 (memcmp): Do not use BP_SYM.
52221 (bcmp): Do not use BP_SYM in weak_alias.
52222 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52223 (PARMS): Do not use macros from bp-asm.h.
52224 (S1): Likewise.
52225 (SIZE): Likewise.
52226 (__mpn_mul_1): Do not use BP_SYM.
52227 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52228 "bp-asm.h".
52229 (PARMS): Do not use macros from bp-asm.h.
52230 (STR): Likewise.
52231 (CHR): Likewise.
52232 (__rawmemchr): Do not use BP_SYM.
52233 (rawmemchr): Do not use BP_SYM in weak_alias.
52234 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52235 (PARMS): Do not use macros from bp-asm.h.
52236 (S): Likewise.
52237 (SIZE): Likewise.
52238 (__mpn_rshift): Do not use BP_SYM.
52239 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52240 (PARMS): Do not use macros from bp-asm.h.
52241 (SIGMSK): Likewise.
52242 (__sigsetjmp): Likewise. Do not use BP_SYM.
52243 * sysdeps/i386/start.S: Do not include "bp-sym.h".
52244 (_start): Do not use BP_SYM.
52245 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52246 (PARMS): Do not use macros from bp-asm.h.
52247 (DEST): Likewise.
52248 (SRC): Likewise.
52249 (__stpcpy): Likewise. Do not use BP_SYM.
52250 (stpcpy): Do not use BP_SYM in weak_alias.
52251 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52252 "bp-asm.h".
52253 (PARMS): Do not use macros from bp-asm.h.
52254 (DEST): Likewise.
52255 (SRC): Likewise.
52256 (LEN): Likewise.
52257 (__stpncpy): Likewise. Do not use BP_SYM.
52258 (stpncpy): Do not use BP_SYM in weak_alias.
52259 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52260 (PARMS): Do not use macros from bp-asm.h.
52261 (STR): Likewise.
52262 (CHR): Likewise.
52263 (strchr): Likewise. Do not use BP_SYM.
52264 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52265 "bp-asm.h".
52266 (PARMS): Do not use macros from bp-asm.h.
52267 (STR): Likewise.
52268 (CHR): Likewise.
52269 (__strchrnul): Likewise. Do not use BP_SYM.
52270 (strchrnul): Do not use BP_SYM in weak_alias.
52271 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52272 "bp-asm.h".
52273 (PARMS): Do not use macros from bp-asm.h.
52274 (STOP): Likewise.
52275 (strcspn): Do not use BP_SYM.
52276 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52277 "bp-asm.h".
52278 (PARMS): Do not use macros from bp-asm.h.
52279 (STR): Likewise.
52280 (STOP): Likewise.
52281 (strpbrk): Likewise. Do not use BP_SYM.
52282 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52283 "bp-asm.h".
52284 (PARMS): Do not use macros from bp-asm.h.
52285 (STR): Likewise.
52286 (CHR): Likewise.
52287 (strrchr): Likewise. Do not use BP_SYM.
52288 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52289 (PARMS): Do not use macros from bp-asm.h.
52290 (SKIP): Likewise.
52291 (strspn): Do not use BP_SYM.
52292 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52293 (PARMS): Do not use macros from bp-asm.h.
52294 (STR): Likewise.
52295 (DELIM): Likewise.
52296 (SAVE): Likewise.
52297 (FUNCTION): Likewise. Do not use BP_SYM.
52298 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52299 aliases.
52300 (strtok_r): Likewise.
52301 (__GI___strtok_r): Likewise.
52302 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52303 (PARMS): Do not use macros from bp-asm.h.
52304 (S1): Likewise.
52305 (S2): Likewise.
52306 (SIZE): Likewise.
52307 (__mpn_sub_n): Do not use BP_SYM.
52308 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52309 "bp-asm.h".
52310 (PARMS): Do not use macros from bp-asm.h.
52311 (S1): Likewise.
52312 (SIZE): Likewise.
52313 (__mpn_submul_1): Do not use BP_SYM.
52314 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52315 <bp-sym.h>.
52316 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52317 and <bp-asm.h>.
52318 (PARMS): Do not use macros from bp-asm.h.
52319 (FLAGS): Likewise.
52320 (PTID): Likewise.
52321 (TLS): Likewise.
52322 (CTID): Likewise.
52323 (__clone): Do not use BP_SYM.
52324 (clone): Do not use BP_SYM in weak_alias.
52325 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52326 and <bp-asm.h>.
52327 (PARMS): Do not use macros from bp-asm.h.
52328 (LEN): Likewise.
52329 (__mmap64): Do not use BP_SYM.
52330 (mmap64): Do not use BP_SYM in weak_alias.
52331 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52332 <bp-sym.h> and <bp-asm.h>.
52333 (PARMS): Do not use macros from bp-asm.h.
52334 (__posix_fadvise64_l64): Do not use BP_SYM.
52335 * sysdeps/unix/sysv/linux/i386/semtimedop.S
52336 (PARMS): Do not use macros from bp-asm.h.
52337 (NSOPS): Likewise.
52338 (semtimedop): Do not use BP_SYM.
52339 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52340 and <bp-asm.h>.
52341
52342 2013-02-21 Allan McRae <allan@archlinux.org>
52343
52344 * manual/message.texi (Charset conversion in gettext):
52345 Move @end statement to beginning of line.
52346
52347 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52348
52349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52350 static.
52351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52352 Likewise.
52353
52354 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52355 (denorm): Likewise.
52356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52358
52359 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52360
52361 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52362 tail-call to the resolved function if pltexit isn't needed.
52363
52364 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
52365
52366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52367 or Y being zero as being unlikely.
52368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52369 Likewise.
52370
52371 2013-02-20 Carlos O'Donell <carlos@redhat.com>
52372
52373 * manual/nss.texi (System Databases and Name Service Switch):
52374 Remove frobnicate @pxref.
52375
52376 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52377
52378 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52379 __attribute__ ((unused)) to __attribute__ ((__unused__)).
52380
52381 2013-02-20 Petr Machata <pmachata@redhat.com>
52382
52383 * elf/elf.h (R_ARM_TARGET1): New macro.
52384 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52385 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52386 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52387 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52388 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52389 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52390 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52391 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52392 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52393 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52394 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52395 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52396 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52397 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52398 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52399 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52400 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52401 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52402 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52403 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52404 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52405 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52406 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52407 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52408 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52409 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52410 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52411 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52412 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52413 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52414 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52415 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52416 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52417 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52418 (R_ARM_THM_GOT_BREL12): Likewise.
52419 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52420 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52421 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52422 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52423 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52424 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52425 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52426 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52427 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52428
52429 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
52430
52431 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52432 __attribute_used__ to __attribute__ ((unused)).
52433
52434 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
52435
52436 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52437 powerpc mpa.c.
52438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52439 comment formatting.
52440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52441
52442 2013-02-19 Joseph Myers <joseph@codesourcery.com>
52443
52444 [BZ #13550]
52445 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
52446 Remove macro.
52447 (ENTER): Remove both macro definitions.
52448 (LEAVE): Likewise.
52449 (CHECK_BOUNDS_LOW): Likewise.
52450 (CHECK_BOUNDS_HIGH): Likewise.
52451 (CHECK_BOUNDS_BOTH): Likewise.
52452 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
52453 (RETURN_BOUNDED_POINTER): Likewise.
52454 (RETURN_NULL_BOUNDED_POINTER): Likewise.
52455 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
52456 (POP_ERRNO_LOCATION_RETURN): Likewise.
52457 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
52458 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52459 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
52460 macros.
52461 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52462 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
52463 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
52464 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
52465 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
52466 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
52467 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
52468 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
52469 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
52470 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
52471 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
52472 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
52473 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52474 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
52475 removed macros.
52476 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52477 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
52478 macros.
52479 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52480 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
52481 * sysdeps/i386/i586/memset.S (memset): Likewise.
52482 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
52483 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52484 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
52485 macros.
52486 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52487 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
52488 Change uses of L(2) to L(out).
52489 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
52490 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
52491 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
52492 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52493 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
52494 removed macros.
52495 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52496 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
52497 macros.
52498 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52499 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
52500 (RETURN): Do not use macro LEAVE.
52501 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
52502 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
52503 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
52504 * sysdeps/i386/i686/memset.S (memset): Likewise.
52505 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
52506 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
52507 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52508 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
52509 Likewise.
52510 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52511 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
52512 L(1_2) and L(1_3) into L(1).
52513 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52514 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
52515 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52516 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
52517 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52518 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
52519 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
52520 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52521 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
52522 macros.
52523 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
52524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52525 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
52526 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
52527 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
52528 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52529 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
52530 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
52531 * sysdeps/i386/strcspn.S (strcspn): Likewise.
52532 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
52533 * sysdeps/i386/strrchr.S (strrchr): Likewise.
52534 * sysdeps/i386/strspn.S (strspn): Likewise.
52535 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
52536 conditional code.
52537 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52538 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
52539 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
52540 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
52541 L(1_3) into L(1_1).
52542 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
52543 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52544 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
52545 macros.
52546 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52547
52548 2013-02-19 Jakub Jelinek <jakub@redhat.com>
52549
52550 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
52551 macro.
52552
52553 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52554
52555 * math/atest-exp.c (exp_mpn): Remove ROUND.
52556 * math/atest-exp2.c (exp_mpn): Likewise.
52557 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
52558
52559 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
52560 * stdlib/tst-tls-atexit-lib.c: Likewise.
52561 * stdlib/tst-tls-atexit.c: Likewise.
52562
52563 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52564
52565 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
52566 and __attribute_alloc_size__.
52567
52568 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52569
52570 * include/programs/xmalloc.h: Change __attribute_alloc_size to
52571 __attribute_alloc_size__.
52572 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
52573 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
52574
52575 2013-02-18 Mike Frysinger <vapier@gentoo.org>
52576
52577 * include/programs/xmalloc.h: New file.
52578 * catgets/gencat.c: Include it.
52579 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
52580 * elf/pldd.c: Likewise.
52581 * iconv/iconv_charmap.c: Likewise.
52582 * iconv/iconvconfig.c: Likewise.
52583 * iconv/strtab.c: Likewise.
52584 * locale/programs/locale.c: Likewise.
52585 * locale/programs/localedef.h: Likewise.
52586 * locale/programs/simple-hash.c: Likewise.
52587 * nscd/nscd.h: Likewise.
52588 * nss/makedb.c: Likewise.
52589 * sysdeps/generic/ldconfig.h: Likewise.
52590
52591 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52592
52593 * Versions.def: Add GLIBC_2.18.
52594 * include/link.h (struct link_map): New member l_tls_dtor_count.
52595 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
52596 (__call_tls_dtors): Likewise.
52597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
52598 __cxa_thread_atexit_impl.
52599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52600 Likewise.
52601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52602 Likewise.
52603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52604 Likewise.
52605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52606 Likewise.
52607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
52609 Likewise.
52610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
52611 Likewise.
52612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
52614 Likewise.
52615 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
52616 (tests): Add test case tst-tls-atexit.
52617 (modules-names): Add shared library for tst-tls-atexit.
52618 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
52619 (GLIBC_PRIVATE): Add __call_tls_dtors.
52620 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
52621 for libstdc++.
52622 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
52623 * stdlib/tst-tls-atexit.c: New test case.
52624 * stdlib/tst-tls-atexit-lib.c: New test case.
52625
52626 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
52627
52628 * elf/Versions (ld): Add _dl_find_dso_for_object.
52629 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
52630 * elf/dl-open.c (_dl_find_dso_for_object): New function.
52631 (dl_open_worker): Use _dl_find_dso_for_object.
52632 * elf/dl-sym.c (do_sym): Likewise.
52633 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
52634
52635 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52636
52637 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
52638 Syntactic changes only.
52639 (_dl_runtime_profile): Do a tail-call to the resolved function.
52640
52641 2013-02-17 Joseph Myers <joseph@codesourcery.com>
52642
52643 [BZ #13550]
52644 * sysdeps/x86_64/bp-asm.h: Remove file.
52645 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
52646 <bp-sym.h> and <bp-asm.h>.
52647 (__clone): Do not use BP_SYM.
52648 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
52649 <bp-sym.h> and <bp-asm.h>.
52650 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52651 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
52652 "bp-asm.h".
52653 (_setjmp): Do not use BP_SYM.
52654 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
52655 "bp-asm.h".
52656 (setjmp): Do not use BP_SYM.
52657 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
52658 libc_hidden_def.
52659 (mempcpy): Do not use BP_SYM in weak_alias.
52660 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
52661 "bp-asm.h".
52662 (strchr): Do not use BP_SYM.
52663 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
52664 "bp-asm.h".
52665 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
52666 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
52667 (_start): Do not use BP_SYM.
52668 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
52669 "bp-asm.h".
52670 (strcat): Do not use BP_SYM.
52671 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
52672 "bp-asm.h".
52673 (STRCMP): Do not use BP_SYM.
52674 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
52675 "bp-asm.h".
52676 (STRCPY): Do not use BP_SYM.
52677 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
52678 "bp-asm.h".
52679 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
52680 "bp-asm.h".
52681 (FUNCTION): Do not use BP_SYM.
52682 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
52683 weak_alias.
52684 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
52685
52686 2013-02-17 Andreas Jaeger <aj@suse.de>
52687
52688 * time/Versions: Sort entries.
52689 * string/Versions: Likewise.
52690 * resolv/Versions: Likewise.
52691 * posix/Versions: Likewise.
52692 * iconv/Versions: Likewise.
52693 * elf/Versions: Likewise.
52694 * wcsmbs/Versions: Likewise.
52695
52696 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
52697
52698 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
52699 loop termination condition.
52700
52701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
52702 variable to calculate EZ.
52703 (__sqr): Likewise.
52704
52705 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
52706 the lower precision input.
52707
52708 2013-02-15 Joseph Myers <joseph@codesourcery.com>
52709
52710 [BZ #13550]
52711 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
52712 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
52713 (run-via-rtld-prefix): Do not handle %-bp tests.
52714 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
52715 (all-object-suffixes): Remove .ob.
52716 (bppfx): Remove variable.
52717 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
52718 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
52719 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
52720 [$(build-bounded) = yes] (libtype.ob): Likewise.
52721 * Makerules (elide-routines.ob): Remove variable.
52722 (do-tests-clean): Do not handle *-bp.out.
52723 (common-mostlyclean): Do not handle *-bp and *-bp.out.
52724 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
52725 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
52726 (tests): Do not include $(tests-bp.out).
52727 (xtests): Do not include $(xtests-bp.out).
52728 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
52729 [$(build-bounded) = yes] ($(addprefix
52730 $(objpfx),$(binaries-bounded))): Remove rule.
52731 ($(objpfx)%-bp.out): Remove rule.
52732 * config.make.in (build-bounded): Remove variable.
52733 * crypt/Makefile [$(build-bounded) = yes]
52734 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
52735 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
52736 append to variable.
52737 [$(build-bounded) = yes] (install-lib): Likewise.
52738 [$(build-bounded) = yes] (generated): Likewise.
52739 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
52740 Remove rule.
52741 * intl/Makefile [$(build-bounded) = yes]
52742 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
52743 * math/Makefile [$(build-bounded) = yes]
52744 ($(tests:%=$(objpfx)%-bp): Likewise.
52745 * misc/Makefile [$(build-bounded) = yes]
52746 ($(objpfx)tst-tsearch-bp): Likewise.
52747 * nptl/Makeconfig (bounded-thread-library): Remove variable.
52748 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
52749 Remove dependency.
52750 * string/Makefile (o-objects.ob): Remove variable.
52751 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
52752 (CFLAGS-.ob): Remove variable.
52753 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
52754 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
52755 both definitions of variable.
52756 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
52757 (ASFLAGS-.ob): Remove variable.
52758
52759 2013-02-14 Joseph Myers <joseph@codesourcery.com>
52760
52761 [BZ #13550]
52762 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
52763 Remove __BOUNDED_POINTERS__ from condition.
52764 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
52765 * string/bits/string2.h [!__NO_STRING_INLINES &&
52766 !__BOUNDED_POINTERS__]: Likewise.
52767 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
52768 Likewise.
52769 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
52770 Remove conditional code.
52771 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
52772 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
52773 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
52774 condition.
52775
52776 [BZ #13550]
52777 * csu/libc-start.c: Do not include <bp-sym.h>.
52778 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
52779 * elf/dl-open.c: Do not include <bp-sym.h>.
52780 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
52781 * math/fegetenv.c: Do not include <bp-sym.h>.
52782 (fegetenv): Do not use BP_SYM in versioned symbols.
52783 * nptl/sysdeps/pthread/bits/libc-lockP.h
52784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
52785 <bp-sym.h>.
52786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52787 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
52788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52789 (__pthread_mutex_destroy): Likewise.
52790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52791 (__pthread_mutex_lock): Likewise.
52792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52793 (__pthread_mutex_trylock): Likewise.
52794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52795 (__pthread_mutex_unlock): Likewise.
52796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52797 (__pthread_mutexattr_init): Likewise.
52798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52799 (__pthread_mutexattr_destroy): Likewise.
52800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52801 (__pthread_mutexattr_settype): Likewise.
52802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52803 (__pthread_rwlock_init): Likewise.
52804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52805 (__pthread_rwlock_destroy): Likewise.
52806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52807 (__pthread_rwlock_rdlock): Likewise.
52808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52809 (__pthread_rwlock_tryrdlock): Likewise.
52810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52811 (__pthread_rwlock_wrlock): Likewise.
52812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52813 (__pthread_rwlock_trywrlock): Likewise.
52814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52815 (__pthread_rwlock_unlock): Likewise.
52816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52817 (__pthread_key_create): Likewise.
52818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52819 (__pthread_setspecific): Likewise.
52820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52821 (__pthread_getspecific): Likewise.
52822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
52823 Likewise.
52824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52825 (_pthread_cleanup_push_defer): Likewise.
52826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52827 (_pthread_cleanup_pop_restore): Likewise.
52828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
52829 (pthread_setcancelstate): Likewise.
52830 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
52831 <bp-sym.h>.
52832 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
52833 (memchr): Do not use BP_SYM in weak_alias.
52834 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
52835 (fegetenv): Do not use BP_SYM in versioned symbols.
52836 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
52837 (fesetenv): Do not use BP_SYM in versioned symbols.
52838 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52839 (feupdateenv): Do not use BP_SYM in versioned symbols.
52840 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52841 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52842 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
52843 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
52844 (open64): Do not use BP_SYM in weak_alias.
52845 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
52846 (fegetenv): Do not use BP_SYM in versioned symbols.
52847 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
52848 (fesetenv): Do not use BP_SYM in versioned symbols.
52849 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
52850 (feupdateenv): Do not use BP_SYM in versioned symbols.
52851 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
52852 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
52853 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
52854 (feraiseexcept): Do not use BP_SYM in versioned symbols.
52855 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
52856 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
52857 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
52858 <bp-sym.h>.
52859 (__libc_start_main): Do not use BP_SYM.
52860
52861 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
52862
52863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
52864 redundant return line.
52865 (norm): Likewise.
52866 (denorm): Likewise.
52867 (dbl_mp): Likewise.
52868 (sub_magnitudes): Likewise.
52869 (__add): Likewise.
52870 (__sub): Likewise.
52871 (__mul): Likewise.
52872 (__inv): Likewise.
52873 (__dvd): Likewise.
52874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
52875 (norm): Likewise.
52876 (denorm): Likewise.
52877 (dbl_mp): Likewise.
52878 (sub_magnitudes): Likewise.
52879 (__add): Likewise.
52880 (__sub): Likewise.
52881 (__mul): Likewise.
52882 (__inv): Likewise.
52883 (__dvd): Likewise.
52884
52885 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
52886 instead of __mul.
52887 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52888 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
52889 (cc32): Likewise.
52890
52891 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
52892 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
52893 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
52894 of __mul for squares.
52895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
52896 function
52897 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
52898 Likewise.
52899 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
52900 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52901
52902 2013-02-13 Joseph Myers <joseph@codesourcery.com>
52903
52904 [BZ #13550]
52905 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
52906 code.
52907 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
52908 prototype or function definition. Rename ubp_* variables and
52909 parameters. Remove argv definitions conditional on
52910 [__BOUNDED_POINTERS__].
52911 * debug/backtrace.c (__backtrace): Do not use __unbounded.
52912 * elf/dl-runtime.c (_dl_fixup): Likewise.
52913 * include/set-hooks.h (RUN_HOOK): Likewise.
52914 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
52915 definition.
52916 * string/strcpy.c (strcpy): Do not use __unbounded.
52917 * sysdeps/generic/frame.h (struct layout): Likewise.
52918 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
52919 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
52920 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
52921 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
52922 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
52923 (__backtrace): Likewise.
52924 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
52925 use __ptrvalue.
52926 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
52927 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52928 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
52929 Likewise.
52930 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
52931 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
52932 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52933 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
52934 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
52935 Do not use __unbounded.
52936 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
52937 Rename __unboundedrlimits parameter to rlimits in prototype.
52938 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
52939 Do not use __unbounded.
52940 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
52941 not use __ptrvalue.
52942 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
52943 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
52944 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
52945 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
52946 __ptrvalue or __unbounded.
52947 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
52948 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
52949 use __unbounded.
52950 (__new_msgctl): Do not use __ptrvalue.
52951 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
52952 __unbounded.
52953 (__libc_msgrcv): Do not use __ptrvalue.
52954 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
52955 startup_info): Do not use __unbounded.
52956 (__libc_start_main): Likewise. Rename ubp_* variables and
52957 parameters. Remove argv definitions conditional on
52958 [__BOUNDED_POINTERS__].
52959 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
52960 __ptrvalue.
52961 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
52962 use __unbounded.
52963 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
52964 or __ptrvalue.
52965 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
52966 use __unbounded.
52967 (__new_shmctl): Do not use __ptrvalue.
52968 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
52969 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
52970 Likewise.
52971 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
52972 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
52973 (__libc_sigaction): Likewise.
52974 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
52975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
52976 Likewise.
52977 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
52978
52979 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
52980
52981 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
52982
52983 * string/mempcpy.c: Implement by calling memcpy.
52984
52985 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
52986
52987 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
52988
52989 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
52990 evaluation.
52991
52992 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
52993 values in the mantissa.
52994
52995 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
52996 minimize writes to Z.
52997 (sub_magnitudes): Simplify code a bit.
52998
52999 2013-02-12 Roland McGrath <roland@hack.frob.com>
53000
53001 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53002 from the message. The linker prefixes all warnings with that already.
53003
53004 2013-02-12 Andreas Schwab <schwab@suse.de>
53005
53006 [BZ #15078]
53007 * posix/regexec.c (extend_buffers): Add parameter min_len.
53008 (check_matching): Pass minimum needed length.
53009 (clean_state_log_if_needed): Likewise.
53010 (get_subexp): Likewise.
53011 * posix/Makefile (tests): Add bug-regex34.
53012 (bug-regex34-ENV): Define.
53013 * posix/bug-regex34.c: New file.
53014
53015 [BZ #11561]
53016 * posix/regcomp.c (parse_bracket_exp): When looking up collating
53017 elements compare against the byte sequence of it, not its name.
53018 * posix/Makefile (tests): Add bug-regex35.
53019 (bug-regex35-ENV): Define.
53020 * posix/bug-regex35.c: New file.
53021
53022 2013-02-11 Tom de Vries <tom@codesourcery.com>
53023
53024 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
53025 comment.
53026 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53027 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53028 (CHECK_EOL): Add undef.
53029
53030 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
53031
53032 * bits/stdlib-bsearch.h: New file.
53033 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53034 * stdlib/stdlib.h: Likewise.
53035
53036 2013-02-11 Roland McGrath <roland@hack.frob.com>
53037
53038 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53039 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53040 declaration.
53041 * manual/search.texi (Array Search Function): Add missing const in
53042 lfind prototype.
53043 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53044 declaration to use rlim_t.
53045 (Basic Scheduling Functions): Remove erroneous const from
53046 sched_getparam prototype. Remove erroneous * from
53047 sched_get_priority_max and sched_get_priority_min prototypes.
53048 (Resource Usage): Fix summary @comment on vtimes to refer to
53049 sys/vtimes.h rather than vtimes.h.
53050 Add missing *s in vtimes prototype.
53051 (Limits on Resources): Fix ulimit prototype to return long int.
53052 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53053 prototypes to use long int rather than double.
53054 (BSD Random): Fix initstate and setstate to use char *, not void *.
53055 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53056 prototype to make second argument 'struct aiocb64 *const[]'.
53057 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53058 (Status of AIO Operations): Remove erroneous const in aio_return and
53059 aio_return64 prototypes.
53060 (Synchronizing I/O): Fix sync prototype to return void.
53061 * manual/startup.texi (Suboptions): Remove an erroneous const in
53062 getsubopt prototype.
53063 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53064 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53065 use size_t rather than int.
53066 (Scanning All Users): Likewise for getpwent_r.
53067 (Setting Groups): Add missing const to setgroups prototype.
53068 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53069 * manual/socket.texi (Host Names): Fix gethostbyaddr and
53070 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53071 'const void *' rather than 'const char *'.
53072 (Host Address Functions): Likewise for inet_ntop.
53073 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53074 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53075 ssize_t for return value.
53076 (Sending Data): Likewise for send, sendto, sendmsg.
53077 (Socket Option Functions): Add a missing const in setsockopt prototype.
53078 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53079 use wchar_t for the argument.
53080 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53081 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53082 take no arguments.
53083 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53084 double/float/long double for second argument.
53085 Fix return types of significand, significandf, significandl.
53086 * manual/filesys.texi (Setting Permissions): Use mode_t for second
53087 argument in fchmod prototype.
53088 (File Owner): Use uid_t and gid_t in fchown prototype.
53089 (File Times): Add const to utimes, futimes, and lutimes prototypes.
53090 (Making Special Files): Use mode_t and dev_t in mknod prototype.
53091 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53092 use 'const struct dirent **' as argument types to CMP function pointer
53093 argument.
53094 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53095 (File Times): Fix summary magic @comment for struct utimbuf and utime
53096 to refer to utime.h, not time.h.
53097 * manual/string.texi (Argz Functions): Add missing const in
53098 argz_extract and argz_next prototypes.
53099 (Finding Tokens in a String): Likewise for basename.
53100 (String/Array Comparison): Fix typo in wcscasecmp prototype.
53101 (Copying and Concatenation): Fix typo in wmemmove prototype.
53102 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53103 (Signal Stack): Remove erroneous const in sigstack prototype.
53104 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53105 prototype.
53106 (Simple Calendar Time): Likewise for stime.
53107 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53108 prototype.
53109 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53110 say sys/sysctl.h instead.
53111 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53112 and vsyslog prototypes.
53113
53114 2013-02-11 Tom de Vries <tom@codesourcery.com>
53115
53116 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53117 Remove.
53118
53119 2013-02-11 Roland McGrath <roland@hack.frob.com>
53120
53121 * misc/sys/mman.h: Fix typo in mremap comment.
53122
53123 2013-02-08 Roland McGrath <roland@hack.frob.com>
53124
53125 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53126 the '\0' terminator.
53127
53128 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53129
53130 [BZ #13550]
53131 * debug/segfault.c: Don't include <bp-checks.h>.
53132 * sysdeps/generic/bp-checks.h: Remove file.
53133 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53134 (__GETDENTS): Don't use CHECK_N.
53135 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53137 (__getgroups): Don't use CHECK_N.
53138 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53139 (setgroups): Don't use CHECK_N.
53140 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53141 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53142 (__libc_msgrcv): Don't use CHECK_N.
53143 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53144 (__libc_msgsnd): Don't use CHECK_N.
53145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53146 <bp-checks.h>.
53147 (__libc_pread): Don't use CHECK_N.
53148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53149 include <bp-checks.h>.
53150 (__libc_pread64): Don't use CHECK_N.
53151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53152 include <bp-checks.h>.
53153 (__libc_pwrite): Don't use CHECK_N.
53154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53155 include <bp-checks.h>.
53156 (__libc_pwrite64): Don't use CHECK_N.
53157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53158 <bp-checks.h>.
53159 (__libc_pread): Don't use CHECK_N.
53160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53161 include <bp-checks.h>.
53162 (__libc_pread64): Don't use CHECK_N.
53163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53164 include <bp-checks.h>.
53165 (__libc_pwrite): Don't use CHECK_N.
53166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53167 include <bp-checks.h>.
53168 (__libc_pwrite64): Don't use CHECK_N.
53169 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53170 (do_pread): Don't use CHECK_N.
53171 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53172 (do_pread64): Don't use CHECK_N.
53173 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53174 (do_pwrite): Don't use CHECK_N.
53175 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53176 (do_pwrite64): Don't use CHECK_N.
53177 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53178 (__libc_readv): Don't use CHECK_N.
53179 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53180 (semop): Don't use CHECK_N.
53181 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53182 <bp-checks.h>.
53183 (semtimedop): Don't use CHECK_N.
53184 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53185 (__libc_pread): Don't use CHECK_N.
53186 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53187 <bp-checks.h>.
53188 (__libc_pread64): Don't use CHECK_N.
53189 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53190 <bp-checks.h>.
53191 (__libc_pwrite): Don't use CHECK_N.
53192 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53193 <bp-checks.h>.
53194 (__libc_pwrite64): Don't use CHECK_N.
53195 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53196 <bp-checks.h>.
53197 (__libc_msgrcv): Don't use CHECK_N.
53198 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53199 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
53200 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53201 (__libc_writev): Don't use CHECK_N.
53202
53203 2013-02-08 Roland McGrath <roland@hack.frob.com>
53204
53205 * string/strcpy.c: Removed unused variable.
53206
53207 * Makeconfig (+sysdep-includes): Define with := rather than =.
53208 Use an existing include/ subdir of each sysdeps dir before it.
53209
53210 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53211
53212 * nscd/connection.c (register_traced_file): Comment function.
53213 [HAVE_INOTIFY] (union __inev): Define.
53214 [HAVE_INOTIFY] (inotify_check_files): New function.
53215 [HAVE_INOTIFY] (clear_db_cache): Likewise.
53216 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53217 clear_db_cache.
53218 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53219
53220 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53221
53222 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53223 loaded if not already and that a failure is permanent.
53224
53225 2013-02-08 Carlos O'Donell <carlos@redhat.com>
53226
53227 [BZ #15006]
53228 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53229 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53230
53231 2013-02-08 Joseph Myers <joseph@codesourcery.com>
53232
53233 [BZ #13550]
53234 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53235 (CHECK_1_NULL_OK): Likewise.
53236 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53237 (__fxstat): Do not use CHECK_1.
53238 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53239 <bp-checks.h>.
53240 (___fxstat64): Do not use CHECK_1.
53241 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53242 <bp-checks.h>.
53243 (__fxstatat): Do not use CHECK_1.
53244 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53245 <bp-checks.h>.
53246 (__fxstatat64): Do not use CHECK_1.
53247 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53248 <bp-checks.h>.
53249 (__fxstat): Do not use CHECK_1.
53250 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53251 <bp-checks.h>.
53252 (__fxstatat): Do not use CHECK_1.
53253 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53254 <bp-checks.h>.
53255 (__getresgid): Do not use CHECK_1.
53256 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53257 <bp-checks.h>.
53258 (__getresuid): Do not use CHECK_1.
53259 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53260 <bp-checks.h>.
53261 (__lxstat): Do not use CHECK_1.
53262 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53263 <bp-checks.h>.
53264 (__old_msgctl): Do not use CHECK_1.
53265 (__new_msgctl): Likewise.
53266 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53267 <bp-checks.h>.
53268 (__new_setrlimit): Do not use CHECK_1.
53269 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53270 <bp-checks.h>.
53271 (__old_shmctl): Do not use CHECK_1.
53272 (__new_shmctl): Likewise.
53273 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53274 <bp-checks.h>.
53275 (__xstat): Do not use CHECK_1.
53276 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53277 (__lxstat): Do not use CHECK_1.
53278 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53279 <bp-checks.h>.
53280 (___lxstat64): Do not use CHECK_1.
53281 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53282 (__old_msgctl): Do not use CHECK_1.
53283 (__new_msgctl): Likewise.
53284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53285 <bp-checks.h>.
53286 (__gettimeofday): Do not use CHECK_1.
53287 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53288 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53289 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53290 <bp-checks.h>.
53291 (__gettimeofday): Do not use CHECK_1.
53292 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53293 (__old_shmctl): Do not use CHECK_1_NULL_OK.
53294 (__new_shmctl): Do not use CHECK_1.
53295 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53296 <bp-checks.h>.
53297 (do_sigtimedwait): Do not use CHECK_1.
53298 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53299 <bp-checks.h>.
53300 (do_sigwaitinfo): Do not use CHECK_1.
53301 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53302 <bp-checks.h>.
53303 (msgctl): Do not use CHECK_1.
53304 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53305 <bp-checks.h>.
53306 (shmctl): Do not use CHECK_1.
53307 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53308 (ustat): Do not use CHECK_1.
53309 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53310 <bp-checks.h>.
53311 (__fxstat): Do not use CHECK_1.
53312 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53313 <bp-checks.h>.
53314 (__fxstatat): Do not use CHECK_1.
53315 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53316 <bp-checks.h>.
53317 (__lxstat): Do not use CHECK_1.
53318 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53319 <bp-checks.h>.
53320 (__xstat): Do not use CHECK_1.
53321 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53322 (__xstat): Do not use CHECK_1.
53323 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53324 (___xstat64): Do not use CHECK_1.
53325
53326 [BZ #13550]
53327 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53328 definitions.
53329 (CHECK_BOUNDS_HIGH): Likewise.
53330 * string/strcpy.c: Do not include <bp-checks.h>.
53331 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53332
53333 2013-02-07 Roland McGrath <roland@hack.frob.com>
53334
53335 * nscd/nscd-client.h (__nscd_drop_map_ref):
53336 Add __attribute__ ((unused)).
53337 * nis/nss-nisplus.h (niserr2nss): Likewise.
53338
53339 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53340 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53341
53342 * csu/libc-tls.c (init_static_tls, init_slotinfo):
53343 Remove inline keyword.
53344 * include/rounding-mode.h (round_away): Likewise.
53345 * libio/wfileops.c (adjust_wide_data): Likewise.
53346 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53347 (__m128i_strloadu_tolower): Likewise.
53348 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53349 (__m128i_strloadu_tolower): Likewise.
53350 * time/mktime.c (ydhms_diff): Likewise.
53351 * locale/elem-hash.h (elem_hash): Likewise.
53352 * locale/setlocale.c (setdata): Likewise.
53353 * posix/regex_internal.h (re_string_char_size_at): Likewise.
53354 (re_string_wchar_at): Likewise.
53355 (bitset_not, bitset_merge, bitset_mask): Likewise.
53356 [!(__GNUC__ > 3)] (inline): Remove macro.
53357 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53358 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53359 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53360 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53361 * string/memcmp.c (memcmp_bytes): Likewise.
53362 * locale/programs/locarchive.c (compute_hashval): Likewise.
53363 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53364 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53365 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53366 * nss/getent.c (print_rpc, print_protocols): Likewise.
53367 (print_passwd, print_group, print_aliases): Likewise.
53368 * nis/nss-nisplus.h (niserr2nss): Likewise.
53369 * nscd/connections.c (restart_p): Likewise.
53370 Change return type to bool.
53371
53372 2013-02-05 Roland McGrath <roland@hack.frob.com>
53373
53374 * Makeconfig (all-Depend-files): Add existing
53375 $(sorted-subdirs:=/Depend) files.
53376 (all-subdirs): Remove nss.
53377 * sysdeps/unix/inet/Subdirs: Add it here instead.
53378 * hesiod/Depend: New file.
53379
53380 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53381 instead of calling alloca.
53382
53383 * io/lseek.c (__lseek): Rename to __libc_lseek.
53384 Define __lseek as an alias.
53385
53386 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53387
53388 2013-02-04 Carlos O'Donell <carlos@redhat.com>
53389
53390 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53391 else clause and remove check for non-standard endianness.
53392
53393 2013-02-04 David S. Miller <davem@davemloft.net>
53394
53395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53396
53397 2013-02-04 Joseph Myers <joseph@codesourcery.com>
53398
53399 [BZ #13550]
53400 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53401 (__ubp_memchr): Remove prototype.
53402 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53403 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53404 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53405 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53406 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53407 Remove alias.
53408 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53409 (__ubp_memchr): Likewise.
53410 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53411 (__ubp_memchr): Likewise.
53412 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53413 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53414 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53415 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53416 CHECK_STRING.
53417 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53418 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53419 (__getcwd): Do not use CHECK_STRING.
53420 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53421 <bp-checks.h>.
53422 (__real_chown): Do not use CHECK_STRING.
53423 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53424 <bp-checks.h>.
53425 (fchownat): Do not use CHECK_STRING.
53426 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53427 CHECK_STRING.
53428 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53429 <bp-checks.h>.
53430 (__lchown): Do not use CHECK_STRING.
53431 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53432 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53433 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53434 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53436 include <bp-checks.h>.
53437 (truncate64): Do not use CHECK_STRING.
53438 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53439 <bp-checks.h>.
53440 (__real_chown): Do not use CHECK_STRING.
53441 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53442 <bp-checks.h>.
53443 (__lchown): Do not use CHECK_STRING.
53444 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
53445 <bp-checks.h>.
53446 (__chown): Do not use CHECK_STRING.
53447 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
53448 <bp-checks.h>.
53449 (truncate64): Do not use CHECK_STRING.
53450 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
53451 Likewise.
53452 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
53453 (__xmknod): Do not use CHECK_STRING.
53454 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
53455 <bp-checks.h>.
53456 (__xmknodat): Do not use CHECK_STRING.
53457 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53458 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
53459
53460 2013-02-04 Andreas Schwab <schwab@suse.de>
53461
53462 [BZ #14142]
53463 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
53464 * include/netdb.h: Likewise for h_errno.
53465 * elf/tst-stackguard1.c: Include <tls.h>.
53466
53467 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
53468
53469 * elf/link.h (struct link_map): Extend the l_addr comment.
53470 * include/link.h (struct link_map): Likewise.
53471
53472 2013-02-01 Joseph Myers <joseph@codesourcery.com>
53473
53474 [BZ #13550]
53475 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
53476 (BOUNDED_1): Remove macro.
53477 * debug/backtrace.c: Don't include <bp-checks.h>.
53478 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
53479 (__backtrace): Likewise.
53480 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
53481 <bp-checks.h>.
53482 (__backtrace): Don't use BOUNDED_1.
53483 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
53484 <bp-checks.h>.
53485 (__backtrace): Don't use BOUNDED_1.
53486 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
53487 (__backtrace): Don't use BOUNDED_1.
53488 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
53489 (shmat): Don't use BOUNDED_N.
53490
53491 2013-01-31 Joseph Myers <joseph@codesourcery.com>
53492
53493 [BZ #13550]
53494 * sysdeps/generic/bp-start.h: Remove file.
53495 * csu/libc-start.c: Don't include <bp-start.h>.
53496 (LIBC_START_MAIN): Set up __environ directly instead of using
53497 INIT_ARGV_and_ENVIRON.
53498 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
53499 <bp-start.h>.
53500
53501 [BZ #13550]
53502 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
53503 definitions.
53504 (CHECK_FCNTL): Likewise.
53505 (CHECK_N_PAGES): Likewise.
53506
53507 [BZ #13550]
53508 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
53509 definitions.
53510 (CHECK_SIGSET_NULL_OK): Likewise.
53511 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
53512 <bp-checks.h>.
53513 (sigpending): Don't use CHECK_SIGSET.
53514 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
53515 <bp-checks.h>.
53516 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53517 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
53518 <bp-checks.h>.
53519 (do_sigsuspend): Don't use CHECK_SIGSET.
53520 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
53521 use CHECK_SIGSET.
53522 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
53523 (do_sigwait): Don't use CHECK_SIGSET.
53524 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
53525 use CHECK_SIGSET.
53526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
53527 include <bp-checks.h>.
53528 (sigpending): Don't use CHECK_SIGSET.
53529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
53530 include <bp-checks.h>.
53531 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53532 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
53533 <bp-checks.h>.
53534 (sigpending): Don't use CHECK_SIGSET.
53535 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
53536 <bp-checks.h>.
53537 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
53538
53539 [BZ #13550]
53540 * sysdeps/generic/bp-semctl.h: Remove file.
53541 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
53542 <bp-checks.h> and <bp-semctl.h>.
53543 (__old_semctl): Don't use CHECK_SEMCTL.
53544 (__new_semctl): Likewise.
53545 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
53546 and <bp-semctl.h>.
53547 (__old_semctl): Don't use CHECK_SEMCTL.
53548 (__new_semctl): Likewise.
53549 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
53550 <bp-checks.h> and <bp-semctl.h>.
53551 (__old_semctl): Don't use CHECK_SEMCTL.
53552 (__new_semctl): Likewise.
53553 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
53554 <bp-checks.h> and <bp-semctl.h>.
53555 (semctl): Don't use CHECK_SEMCTL.
53556
53557 [BZ #13550]
53558 * Makerules (elide-bp-thunks): Remove variable.
53559 (elide-routines.oS): Don't use $(elide-bp-thunks).
53560 (elide-routines.os): Likewise.
53561 (elide-routines.o): Likewise.
53562 (elide-routines.op): Likewise.
53563 (elide-routines.og): Likewise.
53564 (objects): Don't use $(bp-thunks).
53565 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
53566 include.
53567 (common-generated): Do not add s-proto-bp.d.
53568 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
53569 (int): Likewise.
53570 (typ): Likewise.
53571 Do not generate makefile rules for bounded-pointer thunks.
53572 * sysdeps/generic/bp-thunks.h: Remove file.
53573 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
53574 * sysdeps/unix/s-proto-bp.S: Likewise.
53575
53576 [BZ #15062]
53577 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
53578 parts of result separately when argument is not close to line from
53579 -i to i and one part of argument is small.
53580 * math/k_casinhf.c (__kernel_casinhf): Likewise.
53581 * math/k_casinhl.c (__kernel_casinhl): Likewise.
53582 * math/libm-test.inc (cacos_test): Add more tests.
53583 (casin_test): Likewise.
53584 (casinh_test): Likewise.
53585 * sysdeps/i386/fpu/libm-test-ulps: Update.
53586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53587
53588 2013-01-31 David S. Miller <davem@davemloft.net>
53589
53590 * po/de.po: Update from translation team.
53591
53592 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
53593
53594 * time/tzfile.c: Include stdint.h for SIZE_MAX.
53595
53596 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
53597
53598 * configure.in (_AC_PROG_CC_C89): New definition.
53599 * configure: Regenerate.
53600
53601 * configure.in (AC_PROG_CPP): New definition.
53602 * configure: Regenerate.
53603
53604 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53605
53606 * debug/tst-backtrace.h: New file.
53607 * debug/tst-backtrace2.c: Include tst-backtrace.h.
53608 (ret): Remove variable.
53609 (x): Likewise.
53610 (FAIL): Remove macro.
53611 (NO_INLINE): Likewise.
53612 (fn1): Use match function instead of strstr.
53613 * debug/tst-backtrace3.c: Include tst-backtrace.h.
53614 (ret): Remove variable.
53615 (x): Likewise.
53616 (FAIL): Remove macro.
53617 (NO_INLINE): Likewise.
53618 (fn): Use match function instead of strstr.
53619 * debug/tst-backtrace4.c: Include tst-backtrace.h.
53620 (ret): Remove variable.
53621 (x): Likewise.
53622 (FAIL): Remove macro.
53623 (NO_INLINE): Likewise.
53624 (handle_signal): Use match function instead of strstr.
53625 * debug/tst-backtrace5.c: Include tst-backtrace.h.
53626 (ret): Remove variable.
53627 (x): Likewise.
53628 (FAIL): Remove macro.
53629 (NO_INLINE): Likewise.
53630 (handle_signal): Use match function instead of strstr.
53631
53632 2013-01-23 Roland McGrath <roland@hack.frob.com>
53633
53634 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
53635
53636 2013-01-23 David S. Miller <davem@davemloft.net>
53637
53638 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
53639 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
53640 argument of CAS if possible.
53641 * sysdeps/sparc/sparc64/bits/atomic.h
53642 (__arch_compare_and_exchange_val_32_acq): Likewise.
53643 (__arch_compare_and_exchange_val_64_acq): Likewise.
53644
53645 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
53646
53647 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
53648 * sysdeps/posix/ulimit.c: ... this.
53649 Include <limits.h>.
53650 * sysdeps/unix/bsd/ulimit.c: Remove file.
53651
53652 2013-01-23 Adam Conrad <adconrad@0c3.net>
53653
53654 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
53655 (LDFLAGS-tst-array5): Likewise.
53656
53657 2013-01-23 Joseph Myers <joseph@codesourcery.com>
53658
53659 [BZ #15036]
53660 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
53661 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
53662 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
53663 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
53664
53665 2013-01-21 David S. Miller <davem@davemloft.net>
53666
53667 * sysdeps/sparc/backtrace.c: New file.
53668 * sysdeps/sparc/sparc32/backtrace.h: New file.
53669 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
53670 * sysdeps/sparc/sparc64/backtrace.h: New file.
53671 * sysdeps/sparc/sparc64/backtrace.c: Delete.
53672 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
53673 -funwind-tables.
53674
53675 2013-01-21 Andreas Schwab <schwab@suse.de>
53676
53677 [BZ #15020]
53678 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
53679 closed its stdout.
53680
53681 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
53682
53683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
53684 "mpa2.h".
53685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53686
53687 2013-01-18 Joseph Myers <joseph@codesourcery.com>
53688 Mark Mitchell <mark@codesourcery.com>
53689 Tom de Vries <tom@codesourcery.com>
53690 Paul Pluzhnikov <ppluzhnikov@google.com>
53691
53692 * debug/tst-backtrace2.c: New file.
53693 * debug/tst-backtrace3.c: Likewise.
53694 * debug/tst-backtrace4.c: Likewise.
53695 * debug/tst-backtrace5.c: Likewise.
53696 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
53697 (CFLAGS-tst-backtrace3.c): Likewise.
53698 (CFLAGS-tst-backtrace4.c): Likewise.
53699 (CFLAGS-tst-backtrace5.c): Likewise.
53700 (LDFLAGS-tst-backtrace2): Likewise.
53701 (LDFLAGS-tst-backtrace3): Likewise.
53702 (LDFLAGS-tst-backtrace4): Likewise.
53703 (LDFLAGS-tst-backtrace5): Likewise.
53704 (tests): Add new tests tst-backtrace2, tst-backtrace3,
53705 tst-backtrace4 and tst-backtrace5.
53706
53707 2013-01-18 Anton Blanchard <anton@samba.org>
53708 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53709
53710 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
53711 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
53712 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
53713 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
53714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
53715 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
53716 "+r" and remove output regs list as redundant. Add explicit inline
53717 asm to specify register of return val to work around compiler codegen
53718 bug. Remove (int) cast on return value. Add return type parameter to
53719 use in macro so that this macro does not truncate return value for
53720 64-bit values.
53721 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
53722 pass to INTERNAL_VSYSCALL_NCS.
53723 (INLINE_VSYSCALL): Add 'long int' as return type to
53724 INTERNAL_VSYSCALL_NCS macro invocation.
53725 (INTERNAL_VSYSCALL): Add 'long int' as return type to
53726 INTERNAL_VSYSCALL_NCS macro invocation.
53727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53728
53729 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53730
53731 [BZ #14496]
53732 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
53733 Fix application of SIMD FP exception mask.
53734
53735 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
53736 mp_no from a power of two.
53737 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
53738 __mpexp_twomm1. Use __pow_mp.
53739
53740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
53741 multiplication.
53742
53743 2013-01-17 David S. Miller <davem@davemloft.net>
53744
53745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53746
53747 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53748
53749 [BZ #15023]
53750 * include/complex.h: Condition contents on [!_COMPLEX_H].
53751 (__kernel_casinhf): New prototype.
53752 (__kernel_casinh): Likewise.
53753 (__kernel_casinhl): Likewise.
53754 * math/Makefile (libm_calls): Add k_casinh.
53755 * math/k_casinh.c: New file.
53756 * math/k_casinhf.c: Likewise.
53757 * math/k_casinhl.c: Likewise.
53758 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
53759 finite nonzero arguments.
53760 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
53761 finite nonzero arguments.
53762 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
53763 finite nonzero arguments.
53764 * math/s_casinh.c: Do not include <float.h>.
53765 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
53766 * math/s_casinhf.c: Do not include <float.h>.
53767 (__casinhf): Move code for finite nonzero arguments to
53768 k_casinhf.c.
53769 * math/s_casinhl.c: Do not include <float.h>.
53770 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
53771 redefine.
53772 (__casinhl): Move code for finite nonzero arguments to
53773 k_casinhl.c.
53774 * math/libm-test.inc (cacos_test): Add more tests.
53775 * sysdeps/i386/fpu/libm-test-ulps: Update.
53776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53777
53778 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
53779
53780 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
53781 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
53782 [!HAVE_MREMAP]: Remove [defined linux] case.
53783 * malloc/arena.c: Do not include <malloc-sysdep.h>.
53784
53785 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
53786
53787 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
53788
53789 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
53790
53791 * elf/elf.h (R_386_SIZE32): New relocation.
53792 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
53793 R_386_SIZE32.
53794 (elf_machine_rela): Likewise.
53795 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53796 R_X86_64_SIZE64 and R_X86_64_SIZE32.
53797
53798 2013-01-17 Joseph Myers <joseph@codesourcery.com>
53799
53800 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
53801 (FP_FAST_FMA): Do not define.
53802 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
53803 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
53804 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
53805 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
53806 !_SOFT_FLOAT]: Likewise.
53807 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
53808 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
53809 value.
53810 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
53811 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
53812 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
53813 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
53814 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
53815 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
53816 file.
53817
53818 2013-01-16 Andreas Schwab <schwab@suse.de>
53819
53820 [BZ #14327]
53821 * include/stdlib.h (__mktemp): Add declaration.
53822 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
53823 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
53824
53825 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
53826
53827 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
53828 definitions.
53829 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
53830 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
53831 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
53832 definitions here.
53833 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
53834 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
53835 definitions.
53836 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
53837 and ONE.
53838 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
53839 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
53840 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
53841 definitions.
53842 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
53843 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
53844 definitions.
53845 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
53846
53847 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
53848
53849 2013-01-15 David S. Miller <davem@davemloft.net>
53850
53851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53852 trunc{,f} to libm-sysdep_routes.
53853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
53855 file.
53856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
53857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
53858 file.
53859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
53860 file.
53861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
53862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
53863 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
53864 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
53865 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
53866 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
53867 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
53868 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
53869
53870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53871 nearbyint{,f} to libm-sysdep_routes.
53872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
53874 New file.
53875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
53876 file.
53877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
53878 New file.
53879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
53880 file.
53881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
53882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
53883 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
53884 file.
53885 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
53886 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
53887 file.
53888 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
53889 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
53890 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
53891
53892 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53893 libc_feholdexcept and libc_fesetenv.
53894
53895 2013-01-15 Mike Frysinger <vapier@gentoo.org>
53896
53897 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
53898
53899 2013-01-14 David S. Miller <davem@davemloft.net>
53900
53901 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
53902 (SPARC_ASM_VIS2_IFUNC): Likewise.
53903 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
53904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
53905 use of 'siam' instruction.
53906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
53907 Likewise.
53908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
53909 Likewise.
53910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
53911 Likewise.
53912 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
53913 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
53914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
53915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
53916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
53917 file.
53918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
53919 file.
53920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
53921 file.
53922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
53923 file.
53924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
53925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
53926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
53927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
53928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
53929 new VIS2 routines.
53930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53933 Likewise.
53934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
53939 routines to libm-sysdep_routines.
53940 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
53941
53942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
53943 fdim/fdimf to libm-sysdep_routines.
53944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
53945 file.
53946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
53947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
53948 file.
53949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
53950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
53951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
53952 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
53953 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
53954 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
53955 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
53956
53957 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53958
53959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
53960 to optimize copies.
53961
53962 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
53963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
53964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53965
53966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
53967 local variable MPTWO.
53968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53969 Likewise.
53970
53971 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53972
53973 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
53974 GLOB_NOESCAPE.
53975
53976 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53977
53978 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
53979
53980 2013-01-13 Mike Frysinger <vapier@gentoo.org>
53981
53982 * manual/pattern.texi (glob_t): Document gl_flags.
53983 (glob64_t): Likewise.
53984
53985 2013-01-11 David S. Miller <davem@davemloft.net>
53986
53987 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
53988 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
53989 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
53990 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
53991 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
53992 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
53993 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
53994 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
53995 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
53996 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
53997 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
53998 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
53999 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54000
54001 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54002 sparc V9 rather than using V8 code.
54003 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54004 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54005
54006 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54007 Move to...
54008 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54009 Here.
54010
54011 2013-01-11 Roland McGrath <roland@hack.frob.com>
54012
54013 [BZ #14941]
54014 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54015 not in the main loop.
54016 * configure: Regenerated.
54017
54018 2013-01-11 Joseph Myers <joseph@codesourcery.com>
54019
54020 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54021 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54022 to just #else.
54023 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
54024 [!__GLIBC_HAVE_LONG_LONG] case.
54025 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54026 condition to just #else.
54027 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54028 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54029 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54030 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54031 unconditional.
54032 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54033 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54034 #elif condition to just #else.
54035 * sysdeps/unix/sysv/linux/sys/sysmacros.h
54036 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54037 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54038 #elif condition to just #else.
54039
54040 2013-01-11 Steve Ellcey <sellcey@mips.com>
54041
54042 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54043 (EF_MIPS_ARCH_64): Fix value.
54044 (EF_MIPS_ARCH_32R2): New.
54045 (EF_MIPS_ARCH_64R2): New.
54046
54047 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
54048
54049 * Makeconfig (+link-pie-before-libc): New.
54050 (+link-pie-after-libc): Likewise.
54051 (+link-pie-tests): Likewise.
54052 (+link-pie): Rewritten.
54053 (link-before-libc): Remove $(config-LDFLAGS).
54054 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54055 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54056 (config-LDFLAGS): Renamed to ...
54057 (rtld-LDFLAGS): This.
54058 (rtld-tests-LDFLAGS): New macro.
54059 (link-libc-rpath-link): Likewise.
54060 (link-libc-tests-rpath-link): Likewise.
54061 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54062 (link-libc): Prepand $(link-libc-rpath-link).
54063 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54064 (test-program-prefix): New macro.
54065 (test-via-rtld-prefix): Likewise.
54066 (test-program-cmd): Likewise.
54067 (host-test-program-cmd): Likewise.
54068 * Makefile ($(common-objpfx)testrun.sh): Replace
54069 $(run-program-prefix) with $(test-program-prefix).
54070 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54071 $(rtld-LDFLAGS).
54072 ($(common-objpfx)shlib.lds): Likewise.
54073 (build-module-helper): Likewise.
54074 ($(common-objpfx)format.lds): Likewise.
54075 * Rules (binaries-pie-tests): New.
54076 (binaries-pie-notests): Likewise.
54077 (binaries-pie): Rewritten.
54078 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54079 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54080 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54081 (make-test-out): Replace $(host-built-program-cmd) with
54082 $(host-test-program-cmd).
54083 * config.make.in (build-hardcoded-path-in-tests): New variable.
54084 * configure.in (--enable-hardcoded-path-in-tests): New configure
54085 option.
54086 (hardcoded_path_in_tests): New AC_SUBST.
54087 * configure: Regenerated.
54088 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54089 $(built-program-cmd) with $(test-program-cmd).
54090 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54091 (test_program_cmd): This.
54092 * elf/Makefile ($(objpfx)order.out): Run test with
54093 $(test-program-prefix).
54094 ($(objpfx)order2.out): Likewise.
54095 ($(objpfx)tst-initorder.out): Likewise.
54096 ($(objpfx)tst-initorder2.out): Likewise.
54097 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54098 $(test-program-cmd).
54099 ($(objpfx)tst-array1-static.out): Likewise.
54100 ($(objpfx)tst-array2.out): Likewise.
54101 ($(objpfx)tst-array3.out): Likewise.
54102 ($(objpfx)tst-array4.out): Likewise.
54103 ($(objpfx)tst-array5.out): Likewise.
54104 ($(objpfx)tst-array5-static.out): Likewise.
54105 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54106 $(test-program-cmd).
54107 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54108 $(run-program-prefix) with $(test-program-prefix).
54109 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54110 (test_program_prefix): This.
54111 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54112 $(run-program-prefix) with $(test-program-prefix).
54113 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54114 (test_program_prefix): This.
54115 * iconvdata/tst-tables.sh: Likewise.
54116 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54117 $(run-program-prefix) with $(test-program-prefix).
54118 ($(objpfx)tst-translit.out): Likewise.
54119 ($(objpfx)tst-gettext2.out): Likewise.
54120 ($(objpfx)tst-gettext4.out): Likewise.
54121 ($(objpfx)tst-gettext6.out): Likewise.
54122 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54123 (test_program_prefix): This.
54124 * intl/tst-gettext2.sh: Likewise.
54125 * intl/tst-gettext4.sh Likewise.
54126 * intl/tst-gettext6.sh: Likewise.
54127 * intl/tst-translit.sh: Likewise.
54128 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54129 with $(test-program-cmd).
54130 * libio/Makefile ($(objpfx)test-freopen.out): Replace
54131 $(run-program-prefix) with $(test-program-prefix).
54132 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54133 (test_program_prefix): This.
54134 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54135 $(run-program-prefix) with $(test-program-prefix).
54136 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54137 (test_program_prefix): This.
54138 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54139 * posix/Makefile ($(objpfx)globtest.out): Replace
54140 $(run-via-rtld-prefix) and $(test-wrapper) with
54141 $(test-program-prefix) and $(test-via-rtld-prefix).
54142 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54143 $(test-program-prefix).
54144 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54145 $(host-test-program-cmd).
54146 (tst-spawn-ARGS): Likewise.
54147 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54148 $(test-program-prefix).
54149 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54150 (test_via_rtld_prefix): This.
54151 (test_wrapper): Renamed to ...
54152 (test_program_prefix): This.
54153 (run_program_prefix): Replaced by test_program_prefix.
54154 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54155 (test_program_prefix): This.
54156 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54157 with $(host-test-program-cmd).
54158 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54159 $(run-program-prefix) with $(test-program-prefix).
54160 ($(objpfx)tst-printf.out): Likewise.
54161 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54162 $(test-program-cmd).
54163 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54164 (test_program_prefix): This.
54165 * stdio-common/tst-unbputc.sh: Likewise.
54166 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54167 $(run-program-prefix) with $(test-program-prefix).
54168 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54169 (test_program_prefix): This.
54170 * string/Makefile ($(objpfx)tst-svc.out): Replace
54171 $(built-program-cmd) with $(test-program-cmd).
54172
54173 2013-01-11 Andreas Jaeger <aj@suse.de>
54174
54175 [BZ #15003]
54176 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54177 value. Sync with Linux 3.7.
54178
54179 2013-01-10 David S. Miller <davem@davemloft.net>
54180
54181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54182 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54183 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54184
54185 2013-01-10 Roland McGrath <roland@hack.frob.com>
54186
54187 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54188 never set.
54189 * configure: Regenerated.
54190
54191 2013-01-10 David S. Miller <davem@davemloft.net>
54192
54193 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54194 sparc V9 rather than using V8 code.
54195 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54196 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54197
54198 2013-01-10 Roland McGrath <roland@hack.frob.com>
54199
54200 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54201 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54202 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54203 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54204 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54205 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54206 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54207 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54208 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54209 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54210 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54211 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54212 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54213 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54214 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54215 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54216 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54217 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54218 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54219 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54220 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54221 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54222 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54223 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54224 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54225 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54226 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54227
54228 2013-01-10 David S. Miller <davem@davemloft.net>
54229
54230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54231
54232 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
54233
54234 * posix/Makefile (tests-static): New variable.
54235 (tests): Add $(tests-static).
54236 (tst-exec-static-ARGS): New variable.
54237 (tst-spawn-static-ARGS): Likewise.
54238 * posix/tst-exec-static.c: New file.
54239 * posix/tst-spawn-static.c: Likewise.
54240 * posix/tst-exec.c: Support run directly.
54241 * posix/tst-spawn.c: Likewise.
54242
54243 2013-01-10 Joseph Myers <joseph@codesourcery.com>
54244
54245 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54246 long.
54247 * math/bits/mathcalls.h (llrint): Likewise.
54248 (llround): Likewise.
54249 * stdlib/stdlib.h (struct drand48_data): Likewise.
54250 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54251 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54252 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54253 Likewise.
54254 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54255 Likewise.
54256 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54257 (elf_greg_t): Likewise.
54258 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54259 (__jmp_buf): Likewise.
54260 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54261 definitions.
54262 (llrint): Likewise, for all definitions.
54263 (llrintl): Likewise.
54264
54265 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54266 Remove [__GNUC__] condition.
54267 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54268 condition to just [__USE_ISOC99].
54269 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54270
54271 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
54272
54273 [BZ #14200]
54274 * sysdeps/unix/sysv/linux/x86/bits/environments.h
54275 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54276 defined.
54277 (_POSIX_V6_ILP32_OFF32): Likewise.
54278 (_XBS5_ILP32_OFF32): Likewise.
54279 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54280 (__ILP32_OFFBIG_LDFLAGS): Likewise.
54281
54282 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54283
54284 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54285
54286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54287 doubles __mpexp_twomm1. Adjust usage.
54288 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54289 Remove.
54290
54291 2013-01-10 Andreas Schwab <schwab@suse.de>
54292
54293 [BZ #14964]
54294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54295 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54296
54297 2013-01-09 David S. Miller <davem@davemloft.net>
54298
54299 [BZ #15003]
54300 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54301 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54302 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54303 (TCP_FASTOPEN): Define.
54304 (tcp_repair_opt): New structure.
54305 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54306 enum values.
54307 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54308 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54309 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54310 (tcp_cookie_transactions): New structure.
54311
54312 2013-01-09 Anton Blanchard <anton@samba.org>
54313
54314 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54315 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54317 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54318
54319 2013-01-09 Joseph Myers <joseph@codesourcery.com>
54320
54321 * include/features.h (__USE_ANSI): Remove.
54322
54323 2013-01-09 Roland McGrath <roland@hack.frob.com>
54324
54325 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54326
54327 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54328
54329 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
54330
54331 * sysdeps/s390/fpu/libm-test-ulps: Update.
54332
54333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54334
54335 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54336 (__acr): Likewise.
54337 (__cpy): Likewise.
54338 (norm): Likewise.
54339 (denorm): Likewise.
54340 (__mp_dbl): Likewise.
54341 (__dbl_mp): Likewise.
54342 (add_magnitudes): Likewise.
54343 (sub_magnitudes): Likewise.
54344 (__add): Likewise.
54345 (__sub): Likewise.
54346 (__mul): Likewise.
54347 (__inv): Likewise.
54348 (__dvd): Likewise.
54349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54350 (__acr): Likewise.
54351 (__cpy): Likewise.
54352 (norm): Likewise.
54353 (denorm): Likewise.
54354 (__mp_dbl): Likewise.
54355 (__dbl_mp): Likewise.
54356 (add_magnitudes): Likewise.
54357 (sub_magnitudes): Likewise.
54358 (__add): Likewise.
54359 (__sub): Likewise.
54360 (__mul): Likewise.
54361 (__inv): Likewise.
54362 (__dvd): Likewise.
54363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54364 (__acr): Likewise.
54365 (__cpy): Likewise.
54366 (norm): Likewise.
54367 (denorm): Likewise.
54368 (__mp_dbl): Likewise.
54369 (__dbl_mp): Likewise.
54370 (add_magnitudes): Likewise.
54371 (sub_magnitudes): Likewise.
54372 (__add): Likewise.
54373 (__sub): Likewise.
54374 (__mul): Likewise.
54375 (__inv): Likewise.
54376 (__dvd): Likewise.
54377
54378 2013-01-08 Joseph Myers <joseph@codesourcery.com>
54379
54380 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54381 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54382 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54383 2 && __USE_EXTERN_INLINES]: Likewise.
54384
54385 2013-01-08 Andreas Jaeger <aj@suse.de>
54386
54387 [BZ# 14985]
54388 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54389 Remove.
54390 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54391 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54392
54393 2013-01-07 Anton Blanchard <anton@samba.org>
54394
54395 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54396 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54397 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54398 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54399 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54400 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54401 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54402 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54405 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54407 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54409 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54413 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54415 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54416 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54417 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54418 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54419 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54420 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54421 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54422 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54423 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54425 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54428 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54429 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54430 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54431 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54432 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54435 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54437 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54438
54439 2013-01-07 Joseph Myers <joseph@codesourcery.com>
54440
54441 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54442 (__MALLOC_PMT): Likewise.
54443 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
54444 [__GNUC__], only on [_LIBC].
54445 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54446 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
54447 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54448 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
54449 forward declaration.
54450 (realloc_hook_ini): Likewise.
54451 (memalign_hook_ini): Likewise.
54452 (__libc_memalign): Do not use __MALLOC_PMT in variable
54453 declaration.
54454 (__libc_valloc): Likewise.
54455 (__libc_pvalloc): Likewise.
54456 (__libc_calloc): Likewise.
54457 (__posix_memalign): Likewise.
54458
54459 [BZ #14996]
54460 * math/s_casinh.c: Include <float.h>.
54461 (__casinh): Do not do computation with squaring and square root
54462 for large arguments.
54463 * math/s_casinhf.c: Include <float.h>.
54464 (__casinhf): Do not do computation with squaring and square root
54465 for large arguments.
54466 * math/s_casinhl.c: Include <float.h>.
54467 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
54468 (__casinhl): Do not do computation with squaring and square root
54469 for large arguments.
54470 * math/libm-test.inc (casin_test): Add more tests.
54471 (casinh_test): Likewise.
54472 * sysdeps/i386/fpu/libm-test-ulps: Update.
54473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54474
54475 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
54476
54477 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
54478 (__x86_64_raw_data_cache_size): Likewise.
54479 (__x86_64_data_cache_size_half): Likewise.
54480 (__x86_64_raw_data_cache_size_half): Likewise.
54481 (__x86_64_shared_cache_size): Likewise.
54482 (__x86_64_raw_shared_cache_size): Likewise.
54483 (__x86_64_shared_cache_size_half): Likewise.
54484 (__x86_64_raw_shared_cache_size_half): Likewise.
54485 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
54486 to ...
54487 (__x86_data_cache_size): This.
54488 (__x86_64_raw_data_cache_size): Renamed to ...
54489 (__x86_raw_data_cache_size): This.
54490 (__x86_64_data_cache_size_half): Renamed to ...
54491 (__x86_data_cache_size_half): This.
54492 (__x86_64_raw_data_cache_size_half): Renamed to ...
54493 (__x86_raw_data_cache_size_half): This.
54494 (__x86_64_shared_cache_size): Renamed to ...
54495 (__x86_shared_cache_size): This.
54496 (__x86_64_raw_shared_cache_size): Renamed to ...
54497 (__x86_raw_shared_cache_size): This.
54498 (__x86_64_shared_cache_size_half): Renamed to ...
54499 (__x86_shared_cache_size_half): This.
54500 (__x86_64_raw_shared_cache_size_half): Renamed to ...
54501 (__x86_raw_shared_cache_size_half): This.
54502 * sysdeps/x86_64/memcpy.S: Updated.
54503 * sysdeps/x86_64/memset.S: Likewise.
54504 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
54505 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54506 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54507
54508 2013-01-04 David S. Miller <davem@davemloft.net>
54509
54510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54511
54512 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
54513
54514 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
54515 1 to avoid redefinition warning.
54516 (__USE_GNU): Don't define.
54517 (init_signaling_nan): Protoize.
54518
54519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54520
54521 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54522
54523 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
54524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
54525 (__cpymn): Likewise.
54526 (norm): Remove commented code.
54527 (denorm): Likewise.
54528 (__mp_dbl): Likewise.
54529 (__inv): Likewise.
54530 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
54531 (__cpymn): Likewise.
54532 (norm): Remove commented code.
54533 (denorm): Likewise.
54534 (__mp_dbl): Likewise.
54535 (__inv): Likewise.
54536
54537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
54538 mp_no value for 1.0 and 2.0.
54539 (norm): Use RADIXI instead of radixi.d.
54540 (denorm): Likewise.
54541 (__mul): Use 0.0 instead of zero.d.
54542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
54543 mp_no value for 1.0 and 2.0.
54544 (norm): Use RADIXI instead of radixi.d.
54545 (denorm): Likewise.
54546 (__mul): Use 0.0 instead of zero.d.
54547
54548 2013-01-04 Joseph Myers <joseph@codesourcery.com>
54549
54550 [BZ #14994]
54551 * math/s_casinh.c (__casinh): Reduce finite argument to first
54552 quadrant then set signs of results at the end.
54553 * math/s_casinhf.c (__casinhf): Likewise.
54554 * math/s_casinhl.c (__casinhl): Likewise.
54555 * math/libm-test.inc (casin_test): Add more tests.
54556 (casinh_test): Likewise.
54557 * sysdeps/i386/fpu/libm-test-ulps: Update.
54558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54559
54560 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54561
54562 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
54563
54564 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
54565
54566 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
54567 declarations.
54568 (denorm): Likewise.
54569 (__mp_dbl): Likewise.
54570 (__inv): Likewise.
54571
54572 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
54573 and adjust the header comment.
54574
54575 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
54576 variable name from declaration.
54577
54578 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
54579
54580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54581 Initialize COMMON_CPUID_INDEX_7 element.
54582 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
54583 (CPUID_RTM): Likewise.
54584 (HAS_RTM): Likewise.
54585 (COMMON_CPUID_INDEX_7): New enum.
54586
54587 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
54588
54589 [BZ #14981]
54590 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
54591 size is zero, record memory as freed.
54592
54593 2013-01-03 Andreas Jaeger <aj@suse.de>
54594
54595 * po/ia.po: Add new Interlingua translation.
54596
54597 2012-01-03 Allan McRae <allan@archlinux.org>
54598
54599 * locale/programs/localedef.c: Fix description of '--posix' flag.
54600
54601 2013-01-02 Joseph Myers <joseph@codesourcery.com>
54602
54603 * NEWS: Update dates in second copyright notice.
54604 * README: Update copyright dates in example.
54605 * manual/libc.texinfo: Update copyright dates.
54606 * scripts/test-installation.pl: Update copyright date in --version
54607 output.
54608
54609 * hurd/ctty-input.c: Fix copyright notice formatting.
54610 * hurd/ctty-output.c: Likewise.
54611 * hurd/dtable.c: Likewise.
54612 * hurd/hurd-raise.c: Likewise.
54613 * hurd/hurdprio.c: Likewise.
54614 * hurd/msgportdemux.c: Likewise.
54615 * misc/sys/file.h: Likewise.
54616 * misc/sys/ioctl.h: Likewise.
54617 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54618 * sysdeps/mach/hurd/chdir.c: Likewise.
54619 * sysdeps/mach/hurd/fchdir.c: Likewise.
54620 * sysdeps/mach/hurd/rename.c: Likewise.
54621 * sysdeps/mach/hurd/rmdir.c: Likewise.
54622 * sysdeps/mach/hurd/seekdir.c: Likewise.
54623 * sysdeps/mach/hurd/setsid.c: Likewise.
54624 * sysdeps/posix/wait3.c: Likewise.
54625
54626 * All files with FSF copyright notices: Update copyright dates
54627 using scripts/update-copyrights.
54628 * intl/plural.c: Regenerated.
54629 * locale/programs/charmap-kw.h: Likewise.
54630 * locale/programs/locfile-kw.h: Likewise.
54631
54632 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
54633
54634 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
54635 four values.
54636
54637 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
54638 calculation loop and add branch prediction.
54639
54640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
54641 check access beyond bounds of m1np.
54642
54643 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54644 MPTWO.
54645 (__inv): Remove local variable MPTWO to use the global
54646 constant.
54647 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
54648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54649 variable MPTWO.
54650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
54651 MP3HALFS static const.
54652
54653 2013-01-01 David S. Miller <davem@davemloft.net>
54654
54655 * po/ca.po: Update from translation team.
54656
54657 2013-01-01 Joseph Myers <joseph@codesourcery.com>
54658
54659 * scripts/update-copyrights: New file.
54660 * Makeconfig: Reformat copyright notice.
54661 * ctype/ctype.h: Likewise.
54662 * debug/swprintf_chk.c: Likewise.
54663 * elf/dl-cache.c: Likewise.
54664 * elf/dl-debug.c: Likewise.
54665 * elf/dl-object.c: Likewise.
54666 * grp/initgroups.c: Likewise.
54667 * hurd/Makefile: Likewise.
54668 * hurd/hurd/signal.h: Likewise.
54669 * hurd/hurdfault.c: Likewise.
54670 * hurd/hurdioctl.c: Likewise.
54671 * hurd/hurdlookup.c: Likewise.
54672 * hurd/intr-msg.c: Likewise.
54673 * iconv/gconv_open.c: Likewise.
54674 * libio/swprintf.c: Likewise.
54675 * locale/lc-ctype.c: Likewise.
54676 * locale/nl_langinfo.c: Likewise.
54677 * mach/Machrules: Likewise.
54678 * mach/Makefile: Likewise.
54679 * malloc/obstack.h: Likewise.
54680 * manual/Makefile: Likewise.
54681 * manual/tsort.awk: Likewise.
54682 * misc/bits/stab.def: Likewise.
54683 * nis/nis_print_group_entry.c: Likewise.
54684 * nis/nis_table.c: Likewise.
54685 * nis/nss_compat/compat-pwd.c: Likewise.
54686 * nis/nss_compat/compat-spwd.c: Likewise.
54687 * po/Makefile: Likewise.
54688 * posix/fnmatch.c: Likewise.
54689 * posix/regex.h: Likewise.
54690 * resolv/Makefile: Likewise.
54691 * resolv/nss_dns/dns-network.c: Likewise.
54692 * resolv/res_hconf.c: Likewise.
54693 * scripts/gen-sorted.awk: Likewise.
54694 * soft-fp/soft-fp.h: Likewise.
54695 * stdio-common/printf.h: Likewise.
54696 * stdlib/monetary.h: Likewise.
54697 * stdlib/random.c: Likewise.
54698 * stdlib/random_r.c: Likewise.
54699 * sysdeps/generic/Makefile: Likewise.
54700 * sysdeps/gnu/Makefile: Likewise.
54701 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54703 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54704 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54708 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54709 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54710 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54711 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54712 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54713 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54714 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54715 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
54716 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54717 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54719 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54720 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54721 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54722 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54723 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54724 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54725 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
54726 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
54727 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
54728 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
54729 * sysdeps/mach/hurd/errnos.awk: Likewise.
54730 * sysdeps/mach/hurd/fork.c: Likewise.
54731 * sysdeps/mach/hurd/getcwd.c: Likewise.
54732 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
54733 * sysdeps/mach/hurd/mmap.c: Likewise.
54734 * sysdeps/mach/hurd/utimes.c: Likewise.
54735 * sysdeps/mach/hurd/xmknod.c: Likewise.
54736 * sysdeps/posix/profil.c: Likewise.
54737 * sysdeps/posix/readdir_r.c: Likewise.
54738 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54739 * sysdeps/powerpc/bits/setjmp.h: Likewise.
54740 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
54741 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54743 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54744 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54745 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54746 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54747 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54748 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54749 * sysdeps/pthread/lio_listio.c: Likewise.
54750 * sysdeps/sparc/dl-procinfo.h: Likewise.
54751 * sysdeps/unix/i386/sysdep.S: Likewise.
54752 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
54753 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
54754 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
54755 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
54756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54757 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
54758 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
54759 * sysdeps/unix/sysv/linux/speed.c: Likewise.
54760 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
54761 * sysdeps/wordsize-32/divdi3.c: Likewise.
54762 * time/sys/time.h: Likewise.
54763 * wcsmbs/Makefile: Likewise.
54764
54765 2013-01-01 David S. Miller <davem@davemloft.net>
54766
54767 * po/fr.po: Update from translation team.
54768
54769 * catgets/gencat.c: Update copyright year.
54770 * csu/version.c: Likewise.
54771 * debug/catchsegv.sh: Likewise.
54772 * debug/pcprofiledump.c: Likewise.
54773 * debug/xtrace.sh: Likewise.
54774 * elf/ldconfig.c: Likewise.
54775 * elf/ldd.bash.in: Likewise.
54776 * elf/pldd.c: Likewise.
54777 * elf/sotruss.ksh: Likewise.
54778 * elf/sprof.c: Likewise.
54779 * iconv/iconv_prog.c: Likewise.
54780 * iconv/iconvconfig.c: Likewise.
54781 * locale/programs/locale.c: Likewise.
54782 * locale/programs/localedef.c: Likewise.
54783 * login/programs/pt_chown.c: Likewise.
54784 * malloc/memusage.sh: Likewise.
54785 * malloc/memusagestat.c: Likewise.
54786 * malloc/mtrace.pl: Likewise.
54787 * nscd/nscd.c: Likewise.
54788 * nss/getent.c: Likewise.
54789 * nss/makedb.c: Likewise.
54790 * posix/getconf.c: Likewise.
54791
54792 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54793
54794 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
54795 numbers.
54796
54797 2012-12-30 Mike Frysinger <vapier@gentoo.org>
54798
54799 * math/bits/mathcalls.h (modf): Use __nonnull.
54800
54801 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54802
54803 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
54804 (split): Use macro CN instead of the bare value.
54805 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
54806 could be used.
54807 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
54808 instead of the bare value.
54809 (power1): Likewise.
54810
54811 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54812
54813 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
54814 __ATAN_TWOM.
54815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54816
54817 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
54818 their values.
54819 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54821 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
54822 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54823
54824 2012-12-28 Andreas Jaeger <aj@suse.de>
54825
54826 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
54827 values are from Linux 3.7.
54828
54829 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
54830 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
54831
54832 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54833
54834 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
54835 TRUE case.
54836
54837 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
54838 (norm): Likewise.
54839 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
54840 variables with preprocessor constants.
54841 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54842 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54843 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54844
54845 2012-12-27 Bruno Haible <bruno@clisp.org>
54846
54847 [BZ #14317]
54848 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
54849 only if needed.
54850
54851 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
54852
54853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
54854 and use variable directly.
54855 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
54856
54857 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
54858 MPONE.
54859 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
54860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
54861 variable MPONE.
54862 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54864 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
54865 include directive. Remove local variable MPONE.
54866 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
54867 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
54868 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54869
54870 2012-12-25 David S. Miller <davem@davemloft.net>
54871
54872 * version.h (RELEASE): Set to "development".
54873 (VERSION): Set to "2.17.90".
54874 * NEWS: Add 2.18 section.
54875
54876 2012-12-21 David S. Miller <davem@davemloft.net>
54877
54878 * po/hr.po: Update from translation team.
54879
54880 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54881
54882 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
54883
54884 2012-12-19 Steve Ellcey <sellcey@mips.com>
54885
54886 * NEWS: Mention new memcpy for MIPS.
54887
54888 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
54889
54890 * manual/contrib.texi (Contributors): Spelling correction.
54891
54892 2012-12-15 David S. Miller <davem@davemloft.net>
54893
54894 * po/ru.po: Update from translation team.
54895
54896 2012-12-13 David S. Miller <davem@davemloft.net>
54897
54898 * NEWS: Mention IFUNC testsuite enhancements.
54899
54900 * po/pl.po: Update from translation team.
54901 * po/bg.po: Likewise.
54902
54903 * manual/contrib.texi (Contributors): Update entries for Hongjiu
54904 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
54905
54906 2012-12-11 David S. Miller <davem@davemloft.net>
54907
54908 * po/sv.po: Update from translation team.
54909
54910 * po/vi.po: Update from translation team.
54911
54912 * po/cs.po: Update from translation team.
54913
54914 * po/de.po: Update from translation team.
54915 * po/eo.po: Likewise.
54916 * po/nl.po: Likewise.
54917
54918 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54919
54920 [BZ #14246]
54921 * manual/argp.texi (Argp Helper Functions): Move node to follow
54922 Argp Parsing State.
54923
54924 [BZ #14872]
54925 * manual/conf.texi (Limits on File System Capacity): Mention if
54926 terminating null is included in the max size.
54927
54928 2012-12-10 Andreas Jaeger <aj@suse.de>
54929
54930 * po/cs.po: Update from translation team.
54931
54932 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
54933
54934 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
54935 void pointer and cast to uintptr_t.
54936 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
54937 path.
54938 * sysdeps/s390/s390-64/memcpy.S: Likewise.
54939 * sysdeps/s390/s390-64/memset.S: Likewise.
54940
54941 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
54942
54943 [BZ #14833]
54944 * menual/message.texi (Message Translation): Fix typos.
54945 (Helper programs for gettext): Likewise.
54946
54947 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
54948
54949 [BZ #14898]
54950 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
54951 Change to -1.
54952
54953 2012-12-07 David S. Miller <davem@davemloft.net>
54954
54955 * po/libc.pot: Update.
54956
54957 2012-12-07 Richard Henderson <rth@redhat.com>
54958
54959 [BZ #10114]
54960 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
54961 normal/normal case to before the switch.
54962 (_FP_DIV): Likewise.
54963
54964 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
54965 Mike Frysinger <vapier@gentoo.org>
54966
54967 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
54968 check for __NR_fadvise64_64.
54969
54970 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
54971
54972 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
54973 0, not just to plain "0" as a statement.
54974 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
54975 with cw.
54976
54977 2012-12-06 Joseph Myers <joseph@codesourcery.com>
54978
54979 * NEWS: Use sourceware.org in Bugzilla URL.
54980
54981 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
54982
54983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
54984 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
54985
54986 * stdio-common/tst-put-error.c (do_test): Add newline to the
54987 padded test to ensure flush.
54988
54989 2012-12-05 Jeff Law <law@redhat.com>
54990
54991 * sunrpc/etc.rpc (fedfs_admin): Add entry.
54992
54993 2012-12-05 Joseph Myers <joseph@codesourcery.com>
54994
54995 * README: Don't refer to ports add-on as distributed separately.
54996 Mention AArch64 in list of systems supported in the ports add-on.
54997
54998 * LICENSES: Add more non-FSF copyright and license notices.
54999
55000 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55001 ((unused)).
55002
55003 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55004
55005 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55006 10000 as width of padded output.
55007
55008 2012-12-04 Joseph Myers <joseph@codesourcery.com>
55009
55010 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55011
55012 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55013 variable LX with __attribute__ ((unused)).
55014 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55015 Likewise.
55016 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55017 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55019 with __attribute__ ((unused)).
55020
55021 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
55022
55023 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55024
55025 2012-12-04 Joseph Myers <joseph@codesourcery.com>
55026
55027 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55028 (CFLAGS-nldbl-acos.c): New variable.
55029 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55030 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55031 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55032 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55033 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55034 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55035 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55036 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55037 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55038 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55039 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55040 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55041 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55042 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55043 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55044 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55045 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55046 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55047 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55048 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55049 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55050 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55051 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55052 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55053 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55054 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55055 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55056 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55057 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55058 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55059 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55060 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55061 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55062 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55063 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55064 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55065 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55066 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55067 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55068 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55069 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55070 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55071 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55072 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55073 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55074 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55075 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55076 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55077 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55078 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55079 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55080 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55081 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55082 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55083 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55084 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55085 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55086 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55087 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55088 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55089 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55090 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55091 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55092 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55093 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55094 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55095 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55096 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55097 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55098 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55099 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55100 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55101 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55102 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55103 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55104 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55105 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55106 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55107 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55108 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55109 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55110 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55111 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55112 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55113 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55114 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55115 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55116 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55117 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55118 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55119 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55120 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55121 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55122 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55123 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55124 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55125 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55126
55127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55128 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55129
55130 [BZ #14914]
55131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55132 whole low double instead of just low 47 bits when splitting values
55133 into two parts.
55134
55135 2012-12-03 Allan McRae <allan@archlinux.org>
55136
55137 * manual/stdio.texi (Predefined Printf Handlers): Remove
55138 @hsep and @vsep usage.
55139
55140 2012-12-03 Mike Frysinger <vapier@gentoo.org>
55141
55142 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55143 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55144
55145 2012-12-03 Jeff Law <law@redhat.com>
55146
55147 * time/sys/time.h (settimeofday): Do not mark TV argument
55148 as __nonnull.
55149
55150 2012-12-01 Mike Frysinger <vapier@gentoo.org>
55151
55152 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55153 when currently writing and seek to current position when not.
55154 * libio/Makefile (tests): Remove bug-fclose1.
55155 * libio/bug-fclose1.c: Delete.
55156
55157 2012-12-01 Joseph Myers <joseph@codesourcery.com>
55158
55159 * manual/arith.texi (feenableexcept): Fix typo.
55160 (fedisableexcept): Likewise.
55161
55162 2012-11-30 Roland McGrath <roland@hack.frob.com>
55163
55164 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55165 second, differently-typed declaration, rather than a cast.
55166
55167 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55168
55169 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55170 * include/rpc/svc.h: ... here.
55171
55172 2012-11-30 Aurelien Jarno <aurel32@debian.org>
55173
55174 [BZ #13013]
55175 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55176 depending n and resplen2 to catch cases where answer
55177 equals answerp2.
55178
55179 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
55180
55181 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55182 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55183
55184 2012-11-29 Mike Frysinger <vapier@gentoo.org>
55185
55186 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55187
55188 2012-11-29 Roland McGrath <roland@hack.frob.com>
55189
55190 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55191
55192 2012-11-28 Jeff Law <law@redhat.com>
55193
55194 [BZ #13761]
55195 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55196 dataset_temporary. Track alloca usage into alloca_used.
55197 If dataset is large allocate and release it via malloc/free.
55198
55199 2012-06-04 Florian Weimer <fweimer@redhat.com>
55200
55201 [BZ #14197]
55202 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55203
55204 2012-11-28 David S. Miller <davem@davemloft.net>
55205
55206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55207
55208 2012-11-28 Joseph Myers <joseph@codesourcery.com>
55209
55210 [BZ #14803]
55211 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55212 of pi/2 rounded to nearest to 64 bits.
55213 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55214 nearest to 64 bits.
55215 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55216 bits.
55217
55218 2012-11-28 Jeff Law <law@redhat.com>
55219 Martin Osvald <mosvald@redhat.com>
55220
55221 [BZ #14889]
55222 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55223 * sunrpc/svc.c: Include time.h.
55224 (__svc_accept_failed): New function.
55225 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55226 any reason other than EINTR, call __svc_accept_failed.
55227 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55228 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55229
55230 2012-11-28 Andreas Schwab <schwab@suse.de>
55231
55232 * scripts/abilist.awk: Also handle indirect functions in .opd
55233 section.
55234
55235 2012-11-28 Joseph Myers <joseph@codesourcery.com>
55236
55237 [BZ #13881]
55238 * sysdeps/x86/fpu/powl_helper.c: New file.
55239 * sysdeps/x86/fpu/Makefile: Likewise.
55240 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55241 (p3): New object.
55242 (__ieee754_powl): Use __powl_helper for finite arguments except
55243 integer exponents below 8.
55244 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55245 (p3): New object.
55246 (__ieee754_powl): Use __powl_helper for finite arguments except
55247 integer exponents below 8.
55248 * math/libm-test.inc (pow_test): Add more tests and enable some
55249 previously disabled tests.
55250 * sysdeps/i386/fpu/libm-test-ulps: Update.
55251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55252
55253 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55254 Carlos O'Donell <carlos_odonell@mentor.com>
55255
55256 * nss/makedb.c (is_prime): Assert that input is odd and greater
55257 than 4. Note that fact in a comment too.
55258 (next_prime): Add 4 to input.
55259
55260 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
55261
55262 [BZ #11741]
55263 * libio/Makefile (tests): Add test case tst-fwrite-error.
55264 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55265 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55266 * libio/tst-fwrite-error.c: New test case.
55267
55268 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
55269
55270 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55271 before casting to void *.
55272 * include/libc-internal.h (__pointer_type): New macro.
55273 (__integer_if_pointer_type_sub): Likewise.
55274 (__integer_if_pointer_type): Likewise.
55275 (cast_to_integer): Likewise.
55276 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55277 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55278 before casting to atomic64_t.
55279 (atomic_exchange_acq): Likewise.
55280 (__arch_exchange_and_add_body): Likewise.
55281 (__arch_add_body): Likewise.
55282 (atomic_add_negative): Likewise.
55283 (atomic_add_zero): Likewise.
55284
55285 2012-11-26 Joseph Myers <joseph@codesourcery.com>
55286
55287 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55288 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55289 (add_fdes): Likewise.
55290 (linear_search_fdes): Likewise.
55291 (binary_search_unencoded_fdes): Likewise.
55292
55293 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
55294
55295 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55296
55297 2012-11-24 Adam Conrad <adconrad@0c3.net>
55298
55299 * configure.in: Autodetect C++ header directories.
55300 * configure: Regenerated.
55301
55302 2012-11-23 Mike Frysinger <vapier@gentoo.org>
55303
55304 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55305
55306 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
55307
55308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55309
55310 2012-11-22 Joseph Myers <joseph@codesourcery.com>
55311
55312 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55313 LDBL_MANT_DIG == 106]: Disable some tests.
55314 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55315 Likewise.
55316 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55317 Likewise.
55318
55319 [BZ #14871]
55320 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55321 input for small inputs. Return +/- pi/2 for large inputs.
55322 * math/libm-test.inc (atan_test): Add more tests.
55323
55324 * sysdeps/generic/unwind-dw2-fde-glibc.c
55325 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55326 __attribute__ ((unused)).
55327
55328 [BZ #14645]
55329 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55330 x * y if x and y are nonzero and z is zero.
55331
55332 [BZ #14811]
55333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55334 nonzero exponents with absolute value below 0x1p-117 to +/-
55335 0x1p-117.
55336
55337 [BZ #14869]
55338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55339 up arguments below 2**-450, not just those below 2**-500.
55340 * math/libm-test.inc (hypot_test): Add another test.
55341
55342 [BZ #14868]
55343 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55344 Return a+b for ratio over 2**120, not 2**60.
55345 * math/libm-test.inc (hypot_test): Add another test.
55346
55347 * math/libm-test.inc (clog_test): Use
55348 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55349 (clog10_test): Likewise.
55350
55351 [BZ #6778]
55352 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55353
55354 2012-11-22 Andreas Schwab <schwab@suse.de>
55355
55356 * sysdeps/i386/fpu/libm-test-ulps: Update.
55357
55358 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
55359
55360 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55361 printf output with newline.
55362
55363 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
55364
55365 [BZ #14865]
55366 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55367 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55368 -z nodlopen, -z initfirst and -z execstack support.
55369 * configure: Regenerated.
55370
55371 * elf/elf.h (DF_1_NODIRECT): New macro.
55372 (DF_1_IGNMULDEF): Likewise.
55373 (DF_1_NOKSYMS): Likewise.
55374 (DF_1_NOHDR): Likewise.
55375 (DF_1_EDITED): Likewise.
55376 (DF_1_NORELOC): Likewise.
55377 (DF_1_SYMINTPOSE): Likewise.
55378 (DF_1_GLOBAUDIT): Likewise.
55379 (DF_1_SINGLETON): Likewise.
55380 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55381 DT_1_SUPPORTED_MASK bits.
55382 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55383
55384 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
55385
55386 * sysdeps/unix/make-syscalls.sh: Document prefixes.
55387
55388 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
55389
55390 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55391 macro.
55392
55393 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55394 (sendmmsg): Move declarations...
55395 * socket/sys/socket.h: ... here.
55396 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55397 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55398 include it from...
55399 * socket/recvmmsg.c: ... this new file.
55400 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55401 (sendmmsg): Rename to __sendmmsg, create weak alias and make
55402 definition of __sendmmsg hidden.
55403 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55404 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55405 Move ENOSYS stub into and include it from...
55406 * socket/sendmmsg.c: ... this new file.
55407 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55408 (sysdep_routines): Move recvmmsg and sendmmsg...
55409 * socket/Makefile (routines): ... here.
55410 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55411 (GLIBC_PRIVATE): Add __sendmmsg.
55412 * include/sys/socket.h (__sendmmsg): Add declarations.
55413 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55414 sendmmsg.
55415
55416 2012-11-20 Joseph Myers <joseph@codesourcery.com>
55417
55418 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55419 variable I1 with __attribute__ ((unused)).
55420 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55421
55422 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55423
55424 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55425 DUMMY variables with __attribute__ ((unused)).
55426
55427 * bits/byteswap.h: Include <bits/types.h>.
55428 (__bswap_64): Use __uint64_t instead of unsigned long long int.
55429
55430 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55431
55432 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55433 string_t. Do not manually set errno.
55434 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55435 length with __strnlen. Make sure to both set errno and return it on
55436 failure.
55437
55438 2012-11-19 David S. Miller <davem@davemloft.net>
55439
55440 With help from Joseph Myers.
55441 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55442 very large arguments properly.
55443 * math/libm-test.inc (atan_test): New tests.
55444 (atan2_test): New tests.
55445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55447
55448 2012-11-19 Joseph Myers <joseph@codesourcery.com>
55449
55450 [BZ #14856]
55451 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
55452 Define to 3.
55453
55454 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
55455 [POSIX] (EADDRNOTAVAIL): Likewise.
55456 [POSIX] (EAFNOSUPPORT): Likewise.
55457 [POSIX] (EALREADY): Likewise.
55458 [POSIX] (ECONNABORTED): Likewise.
55459 [POSIX] (ECONNREFUSED): Likewise.
55460 [POSIX] (ECONNRESET): Likewise.
55461 [POSIX] (EDESTADDRREQ): Likewise.
55462 [POSIX] (EDQUOT): Likewise.
55463 [POSIX] (EHOSTUNREACH): Likewise.
55464 [POSIX] (EIDRM): Likewise.
55465 [POSIX] (EISCONN): Likewise.
55466 [POSIX] (ELOOP): Likewise.
55467 [POSIX] (EMULTIHOP): Likewise.
55468 [POSIX] (ENETDOWN): Likewise.
55469 [POSIX] (ENETUNREACH): Likewise.
55470 [POSIX] (ENOBUFS): Likewise.
55471 [POSIX] (ENODATA): Likewise.
55472 [POSIX] (ENOLINK): Likewise.
55473 [POSIX] (ENOMSG): Likewise.
55474 [POSIX] (ENOPROTOOPT): Likewise.
55475 [POSIX] (ENOSR): Likewise.
55476 [POSIX] (ENOSTR): Likewise.
55477 [POSIX] (ENOTCONN): Likewise.
55478 [POSIX] (ENOTSOCK): Likewise.
55479 [POSIX] (EOPNOTSUPP): Likewise.
55480 [POSIX] (EOVERFLOW): Likewise.
55481 [POSIX] (EPROTO): Likewise.
55482 [POSIX] (EPROTONOSUPPORT): Likewise.
55483 [POSIX] (EPROTOTYPE): Likewise.
55484 [POSIX] (ESTALE): Likewise.
55485 [POSIX] (ETIME): Likewise.
55486 [POSIX] (ETXTBSY): Likewise.
55487 [POSIX] (EWOULDBLOCK): Likewise.
55488 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
55489 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
55490 [POSIX] (SEEK_CUR): Likewise.
55491 [POSIX] (SEEK_END): Likewise.
55492 [POSIX || UNIX98] (mode_t): Do not require.
55493 [POSIX] (off_t): Likewise.
55494 [POSIX] (pid_t): Likewise.
55495 [POSIX] (sys/stat.h): Do not allow header.
55496 [POSIX] (unistd.h): Likewise.
55497 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
55498 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
55499 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
55500 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
55501 require.
55502 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
55503 sigevent): Specify elements.
55504 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
55505 entry.
55506 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
55507 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
55508
55509 * conform/data/cpio.h-data [POSIX]: Disable whole file.
55510 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
55511 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
55512 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
55513 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
55514 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
55515 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
55516 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
55517 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
55518 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
55519 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
55520 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
55521 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
55522 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
55523 Likewise.
55524 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
55525 Likewise.
55526 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
55527 Likewise.
55528 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
55529 Likewise.
55530 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
55531 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
55532 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
55533 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
55534 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
55535 Specify lower bound on value.
55536 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
55537 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
55538 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
55539 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
55540 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
55541 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
55542 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
55543 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
55544 value.
55545 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
55546 as optional.
55547 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
55548 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
55549 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
55550 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
55551 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
55552 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
55553 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
55554 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
55555 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
55556 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
55557 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
55558 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
55559 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
55560 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
55561 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
55562 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
55563 entry.
55564 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
55565 optional.
55566 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
55567 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
55568 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
55569 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
55570 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
55571 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
55572 Likewise.
55573 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
55574 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
55575 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
55576 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
55577 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
55578 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
55579 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
55580 as optional.
55581 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
55582 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
55583 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
55584 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
55585 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
55586 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
55587 specify as optional.
55588 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
55589 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
55590 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
55591 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
55592 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
55593 [XPG3] (NL_LANGMAX): Likewise.
55594 [POSIX || XPG3] (NL_MSGMAX): Likewise.
55595 [POSIX || XPG3] (NL_NMAX): Likewise.
55596 [POSIX || XPG3] (NL_SETMAX): Likewise.
55597 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
55598 [XPG3] (NZERO): Likewise.
55599 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
55600 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
55601 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
55602 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
55603 (REG_ERANGE): Expect.
55604 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
55605 optional-constant.
55606 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
55607 Use (void) in prototype.
55608 [POSIX] (*_t): Allow.
55609 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
55610 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
55611 (WRDE_BADVAL): Expect.
55612
55613 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
55614 expect.
55615 [XPG3 || XPG4] (O_RSYNC): Likewise.
55616 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
55617 Likewise.
55618 [XPG3 || XPG4] (pthread_sigmask): Likewise.
55619 [XPG3 || XPG4] (sigqueue): Likewise.
55620 [XPG3 || XPG4] (sigtimedwait): Likewise.
55621 [XPG3 || XPG4] (sigwaitinfo): Likewise.
55622 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
55623 [XPG3 || XPG4] (vsnprintf): Likewise.
55624 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
55625 Likewise.
55626 [XPG3 || XPG4] (blksize_t): Likewise.
55627 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
55628 Likewise.
55629 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
55630 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
55631 [XPG3 || XPG4] (struct itimerspec): Likewise.
55632 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
55633 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
55634 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
55635 [XPG3 || XPG4] (clockid_t): Likewise.
55636 [XPG3 || XPG4] (timer_t): Likewise.
55637 [XPG3 || XPG4] (clock_getres): Likewise.
55638 [XPG3 || XPG4] (clock_gettime): Likewise.
55639 [XPG3 || XPG4] (clock_settime): Likewise.
55640 [XPG3 || XPG4] (nanosleep): Likewise.
55641 [XPG3 || XPG4] (timer_create): Likewise.
55642 [XPG3 || XPG4] (timer_delete): Likewise.
55643 [XPG3 || XPG4] (timer_gettime): Likewise.
55644 [XPG3 || XPG4] (timer_getoverrun): Likewise.
55645 [XPG3 || XPG4] (timer_settime): Likewise.
55646 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
55647 [XPG3 || XPG4] (getlogin_r): Likewise.
55648 [XPG3 || XPG4] (pread): Likewise.
55649 [XPG3 || XPG4] (pthread_atfork): Likewise.
55650 [XPG3 || XPG4] (pwrite): Likewise.
55651
55652 [BZ #14835]
55653 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
55654 <bits/siginfo.h>.
55655
55656 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
55657
55658 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
55659 finalizing MALLSTREAM.
55660
55661 * sysdeps/mach/hurd/syncfs.c: New file.
55662
55663 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
55664
55665 [BZ #14719]
55666 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
55667 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
55668 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
55669 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
55670 (_nss_dns_gethostbyname4_r): Likewise.
55671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
55672 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
55673
55674 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
55675
55676 [BZ #13763]
55677 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
55678
55679 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
55680
55681 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
55682 * elf/cache.c (print_entry): Print ",AArch64" for
55683 FLAG_AARCH64_LIB64
55684
55685 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
55686 * elf/cache.c (print_entry): Print ",hard-float" for
55687 FLAG_ARM_LIBHF.
55688
55689 2012-11-18 David S. Miller <davem@davemloft.net>
55690
55691 With help from Joseph Myers.
55692 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
55693 cutoff to 2**-13.
55694 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
55695 cutoff to 2**-25.
55696 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
55697 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
55698 small.
55699 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
55700 * math/libm-test.inc (y0_test): New tests.
55701 (y1_test): New tests.
55702 * sysdeps/i386/fpu/libm-test-ulps: Update.
55703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55705
55706 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
55707
55708 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
55709 64-bit targets.
55710 * configure: Regenerated.
55711
55712 2012-11-17 David S. Miller <davem@davemloft.net>
55713
55714 [BZ #14811]
55715 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
55716 nonzero exponents with absolute value below 0x1p-128 to +/-
55717 0x1p-128.
55718
55719 2012-11-17 Joseph Myers <joseph@codesourcery.com>
55720
55721 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
55722
55723 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
55724
55725 * posix/getconf-speclist.c: New file.
55726 * posix/posix-envs.def: Likewise.
55727 * posix/confstr.c (START_ENV_GROUP): New macro.
55728 (END_ENV_GROUP): Likewise.
55729 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55730 (KNOWN_PRESENT_ENV_STRING): Likewise.
55731 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55732 (UNKNOWN_ENVIRONMENT): Likewise.
55733 (confstr): Include posix-envs.def instead of handling
55734 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
55735 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
55736 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
55737 (END_ENV_GROUP): Likewise.
55738 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
55739 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
55740 (UNKNOWN_ENVIRONMENT): Likewise.
55741 (__sysconf): Include posix-envs.def instead of handling associated
55742 cases directly here.
55743 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
55744 preprocessing getconf-speclist.c rather than running getconf or
55745 generating empty file.
55746
55747 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
55748
55749 * scripts/check-local-headers.sh: Ignore 'mach' headers.
55750
55751 2012-11-16 Andrej Lajovic <natrij@gmail.com>
55752
55753 [BZ #14672]
55754 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
55755
55756 2012-11-16 David S. Miller <davem@davemloft.net>
55757
55758 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
55759 smaller than LDBL_EPSILON/2.0L, just return xm1.
55760
55761 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
55762
55763 * elf/tst-array1.c (init): Set constructor priority to 1000.
55764 (fini): Set destructor priority to 1000.
55765 * elf/tst-array2dep.c: Likewise.
55766
55767 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55768
55769 [BZ #11741]
55770 * libio/fileops.c (_IO_new_file_write): Correctly return error.
55771 (_IO_new_file_xsputn): Also return EOF if none of the input
55772 data was written when overflow failed.
55773 * libio/iopadn.c (_IO_padn): Likewise.
55774 * libio/iowpadn.c (_IO_wpadn): Likewise.
55775 * stdio-common/tst-put-error.c: Add copyright notice.
55776 (do_test): Add case for printing padded string.
55777 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
55778 _IO_padn returned error.
55779 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
55780 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
55781 return EOF.
55782
55783 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
55784
55785 * libio/libioP.h: Add comment note that the references to C++
55786 bits are now obsolete.
55787
55788 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55789
55790 * math/libm-test.inc (check_complex): Use asprintf.
55791
55792 2012-11-14 Joseph Myers <joseph@codesourcery.com>
55793
55794 * debug/pcprofiledump.c (print_version): Update copyright year.
55795 * malloc/memusagestat.c (print_version): Likewise.
55796
55797 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
55798
55799 [BZ #14831]
55800 * elf/Makefile (tests): Add tst-audit8.
55801 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
55802 ($(objpfx)tst-audit8.out): New target.
55803 (tst-audit8-ENV): New variable.
55804 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
55805 audit if l_reloc_result is NULL.
55806 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
55807 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
55808 * elf/tst-audit8.c: New file.
55809
55810 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55811
55812 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
55813 * misc/Makefile (CFLAGS-select.c): Define.
55814 * posix/Makefile (CFLAGS-pause.c): Define.
55815
55816 2012-11-13 David S. Miller <davem@davemloft.net>
55817
55818 * crypt/Makefile: Move test targets after toplevel Rules
55819 inclusion. Grab any necessary sysdep routines when linking.
55820 * crypt/md5.c (md5_process_block): Remove define, we will always
55821 name it __md5_process_block.
55822 (md5_finish_ctx): Update md5_process_block call.
55823 (md5_stream): Likewise.
55824 (md5_process_bytes): Likewise.
55825 (md5_process_block): Rename to __md5_process_block and move to ...
55826 * crypt/md5-block.c: ... here.
55827 * crypt/sha256.c (sha256_process_block): Move to ...
55828 * crypt/sha256-block.c: ... here.
55829 * crypt/sha512.c (sha512_process_block): Move to ...
55830 * crypt/sha512-block.c: ... here.
55831 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
55832 path.
55833 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
55834 * sysdeps/sparc/sparc64/multiarch/Makefile
55835 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
55836 crypt subdir.
55837 (localedef-aux): Add md5 crypto assembler when in locale subdir.
55838 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
55839 multiarch changes.
55840 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
55841 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
55842 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
55843 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
55844 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
55845 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
55846 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
55847 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
55848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
55849 file.
55850 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
55851 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
55852 file.
55853 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
55854
55855 2012-11-13 Joseph Myers <joseph@codesourcery.com>
55856
55857 * timezone/tzselect.ksh: Update from tzcode git revision
55858 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
55859 * timezone/zdump.c: Likewise.
55860 * timezone/zic.c: Likewise.
55861 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
55862 in TZVERSION setting, not $(PKGVERSION).
55863 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
55864 REPORT_BUGS_TO settings.
55865
55866 [BZ #14838]
55867 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
55868 macro.
55869
55870 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
55871
55872 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
55873 detection to immediately after _FP_ROUND().
55874 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
55875 bits are 0.
55876
55877 2012-11-11 David S. Miller <davem@davemloft.net>
55878
55879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
55880 inttypes.h
55881 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
55882 __close rather than their public counterparts.
55883
55884 2012-11-10 Joseph Myers <joseph@codesourcery.com>
55885
55886 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
55887 file.
55888 [UNIX98] (sem_timedwait): Do not expect.
55889 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
55890 [XPG4 || UNIX98] (sockatmark): Do not expect.
55891 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
55892 (clock_getcpuclockid): Do not expect.
55893 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
55894 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
55895 Do not expect.
55896 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
55897 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
55898 [UNIX98] (vwscanf): Likewise.
55899 [UNIX98] (vswscanf): Likewise.
55900
55901 2012-11-09 Joseph Myers <joseph@codesourcery.com>
55902
55903 * timezone/version.h: Remove file.
55904 * timezone/README: Do not refer to version.h.
55905 * timezone/Makefile ($(objpfx)zic.o): New dependency on
55906 $(objpfx)version.h.
55907 ($(objpfx)zdump.o): Likewise.
55908 ($(objpfx)version.h): New target.
55909
55910 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
55911 2012i.
55912 * timezone/README: Don't mention modification to tzselect.ksh.
55913 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
55914 work on unmodified tzselect.ksh. Substitute version numbers in
55915 tzselect.ksh.
55916
55917 * Makefile (format-me): Remove.
55918 (INSTALL): Adjust indentation. Use commands directly instead of
55919 using $(format-me).
55920
55921 * aclocal.m4 (ACX_PKGVERSION): New macro.
55922 (ACX_BUGURL): Likewise.
55923 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
55924 (PKGVERSION): New AC_DEFINE_UNQUOTED.
55925 (REPORT_BUGS_TO): Likewise.
55926 * configure: Regenerated.
55927 * config.h.in (PKGVERSION): New macro.
55928 (REPORT_BUGS_TO): Likewise.
55929 * config.make.in (PKGVERSION): New variable.
55930 (PKGVERSION_TEXI): Likewise.
55931 (REPORT_BUGS_TO): Likewise.
55932 (REPORT_BUGS_TEXI): Likewise.
55933 * Makefile (format-me): Use -I$(common-objpfx)manual.
55934 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
55935 ($(common-objpfx)manual/%): New target.
55936 (manual/%): Remove target.
55937 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
55938 (print_version): Use PKGVERSION.
55939 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
55940 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
55941 and REPORT_BUGS_TO.
55942 ($(objpfx)xtrace): Likewise.
55943 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
55944 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
55945 (print_version): Use PKGVERSION.
55946 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
55947 (do_version): Use PKGVERSION.
55948 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
55949 REPORT_BUGS_TO.
55950 (common-ldd-rewrite): Likewise.
55951 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
55952 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
55953 (print_version): Use PKGVERSION.
55954 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
55955 * elf/pldd.c (argp_program_bug_address): Remove variable.
55956 (more_help): New function.
55957 (argp): Use more_help.
55958 (print_version): Use PKGVERSION.
55959 * elf/sln.c (main): Use PKGVERSION.
55960 (usage): Use REPORT_BUGS_TO.
55961 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
55962 (top level): Use PKGVERSION.
55963 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
55964 (print_version): Use PKGVERSION.
55965 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
55966 (print_version): Use PKGVERSION.
55967 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
55968 (print_version): Use PKGVERSION.
55969 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
55970 (print_version): Use PKGVERSION.
55971 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
55972 (print_version): Use PKGVERSION.
55973 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
55974 (print_version): Use PKGVERSION.
55975 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
55976 and BUGURL.
55977 ($(objpfx)memusage): Likewise.
55978 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
55979 (do_version): Use PKGVERSION.
55980 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
55981 (print_version): Use PKGVERSION.
55982 * malloc/mtrace.pl ($PACKAGE): Remove variable.
55983 ($PKGVERSION): New variable.
55984 ($REPORT_BUGS_TO): Likewise.
55985 (usage): Use $REPORT_BUGS_TO.
55986 (top level): Use $PKGVERSION.
55987 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
55988 ($(objpfx)pkgvers.texi): New rule.
55989 ($(objpfx)stamp-pkgvers): Likewise.
55990 * manual/install.texi: Include pkgvers.texi.
55991 (--with-pkgversion): Document new configure option.
55992 (--with-bugurl): Likewise.
55993 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
55994 than necessarily for this particular distribution. Use
55995 REPORT_BUGS_TO for where to report bugs.
55996 * INSTALL: Regenerated.
55997 * manual/libc.texinfo: Include pkgvers.texi.
55998 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
55999 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56000 (print_version): Use PKGVERSION.
56001 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56002 (print_version): Use PKGVERSION.
56003 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56004 (print_version): Use PKGVERSION.
56005 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56006 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56007 macro.
56008 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56009 (print_version): Use PKGVERSION.
56010 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56011 (print_version): Use PKGVERSION.
56012 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56013 and PKGVERSION.
56014
56015 * timezone/checktab.awk: Update from tzcode 2012i.
56016 * timezone/ialloc.c: Likewise.
56017 * timezone/private.h: Likewise.
56018 * timezone/scheck.c: Likewise.
56019 * timezone/tzfile.h: Likewise.
56020 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56021 (TZVERSION): Hardcode tzcode version number.
56022 * timezone/zdump.c: Update from tzcode 2012i.
56023 * timezone/zic.c: Likewise.
56024 * timezone/version.h: New file.
56025 * timezone/README: Describe version.h. Update upstream location.
56026
56027 [BZ #14824]
56028 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56029 (mktemp): Enable declaration.
56030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56031 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56033 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56034 Likewise.
56035 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56036 Likewise.
56037 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56038 Likewise.
56039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56040 Likewise.
56041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56042 Likewise.
56043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56044 Likewise.
56045
56046 [BZ #14821]
56047 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56048 offset in buffer as u_int32_t not u_long. Consistently use memcpy
56049 for copies of such integer values.
56050 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56051 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56052
56053 2012-11-09 Andreas Jaeger <aj@suse.de>
56054
56055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56056 definitions and declarations that are provided by
56057 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56058
56059 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56060
56061 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56062 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56063 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56064 definition.
56065
56066 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56067
56068 * elf/elf.h: Update comment before AArch64 relocations.
56069
56070 2012-11-07 David S. Miller <davem@davemloft.net>
56071
56072 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56073 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56074 (__start_context): Declare.
56075 (__makecontext_ret): Delete.
56076 (__makecontext): Hook up __start_context instead of
56077 __makecontext_ret.
56078 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56079 (sysdep_routines): Add __start_context when in stdlib.
56080
56081 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56082
56083 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56084 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56085 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
56086 hardcoded "nm".
56087 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
56088 (READELF): New variable. Use it instead of hardcoded "readelf".
56089
56090 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
56091
56092 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56093 * sysdeps/x86/Makefile: Here.
56094 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56095 * sysdeps/x86/tst-xmmymm.sh: This.
56096
56097 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56098
56099 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56100 expectations.
56101 [UNIX98] (pthread_barrier_t): Do not expect.
56102 [UNIX98] (pthread_barrierattr_t): Likewise.
56103 [UNIX98] (pthread_spinlock_t): Likewise.
56104 [UNIX98] (pthread_barrier_destroy): Likewise.
56105 [UNIX98] (pthread_barrier_init): Likewise.
56106 [UNIX98] (pthread_barrier_wait): Likewise.
56107 [UNIX98] (pthread_barrierattr_destroy): Likewise.
56108 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56109 [UNIX98] (pthread_barrierattr_init): Likewise.
56110 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56111 [UNIX98] (pthread_getcpuclockid): Likewise.
56112 [UNIX98] (pthread_mutex_timedlock): Likewise.
56113 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56114 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56115 [UNIX98] (pthread_sigmask): Likewise.
56116 [UNIX98] (pthread_spin_destroy): Likewise.
56117 [UNIX98] (pthread_spin_init): Likewise.
56118 [UNIX98] (pthread_spin_lock): Likewise.
56119 [UNIX98] (pthread_spin_trylock): Likewise.
56120 [UNIX98] (pthread_spin_unlock): Likewise.
56121 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56122 Do not expect.
56123 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56124 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56125 [XPG3 || XPG4] (pthread_cond_t): Likewise.
56126 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56127 [XPG3 || XPG4] (pthread_key_t): Likewise.
56128 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56129 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56130 [XPG3 || XPG4] (pthread_once_t): Likewise.
56131 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56132 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56133 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56134 [XPG3 || XPG4] (pthread_t): Likewise.
56135
56136 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56137 not expect.
56138 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56139
56140 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56141 Change function return type to int.
56142
56143 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56144 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56145 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56146 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56147 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56148 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56149 [!POSIX] (posix_madvise): Likewise.
56150 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56151 && !UNIX98].
56152 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56153 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56154 (mode_t): Likewise.
56155 (posix_mem_offset): Likewise.
56156 (posix_typed_mem_get_info): Likewise.
56157 (posix_typed_mem_open): Likewise.
56158
56159 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56160 Change condition to [XOPEN2K8].
56161
56162 * conform/conformtest.pl: Preprocess allow-header data with -x c
56163 instead of from stdin.
56164 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56165 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56166 [C99-based standards] (cerfc): Likewise.
56167 [C99-based standards] (cexp2): Likewise.
56168 [C99-based standards] (cexpm1): Likewise.
56169 [C99-based standards] (clog10): Likewise.
56170 [C99-based standards] (clog1p): Likewise.
56171 [C99-based standards] (clog2): Likewise.
56172 [C99-based standards] (clgamma): Likewise.
56173 [C99-based standards] (ctgamma): Likewise.
56174 [C99-based standards] (cerff): Likewise.
56175 [C99-based standards] (cerfcf): Likewise.
56176 [C99-based standards] (cexp2f): Likewise.
56177 [C99-based standards] (cexpm1f): Likewise.
56178 [C99-based standards] (clog10f): Likewise.
56179 [C99-based standards] (clog1pf): Likewise.
56180 [C99-based standards] (clog2f): Likewise.
56181 [C99-based standards] (clgammaf): Likewise.
56182 [C99-based standards] (ctgammaf): Likewise.
56183 [C99-based standards] (cerfl): Likewise.
56184 [C99-based standards] (cerfcl): Likewise.
56185 [C99-based standards] (cexp2l): Likewise.
56186 [C99-based standards] (cexpm1l): Likewise.
56187 [C99-based standards] (clog10l): Likewise.
56188 [C99-based standards] (clog1pl): Likewise.
56189 [C99-based standards] (clog2l): Likewise.
56190 [C99-based standards] (clgammal): Likewise.
56191 [C99-based standards] (ctgammal): Likewise.
56192 * conform/data/inttypes.h-data [C99-based standards]: Include
56193 stdint.h-data. Remove all expectations for stdint.h contents.
56194 [C99-based standards] (PRI*): Do not allow.
56195 [C99-based standards] (SCN*): Likewise.
56196 [C99-based standards] (*_t): Likewise.
56197 [C99-based-standards] (PRId8): Expect macro.
56198 [C99-based-standards] (PRIi8): Likewise.
56199 [C99-based-standards] (PRIo8): Likewise.
56200 [C99-based-standards] (PRIu8): Likewise.
56201 [C99-based-standards] (PRIx8): Likewise.
56202 [C99-based-standards] (PRIX8): Likewise.
56203 [C99-based-standards] (SCNd8): Likewise.
56204 [C99-based-standards] (SCNi8): Likewise.
56205 [C99-based-standards] (SCNo8): Likewise.
56206 [C99-based-standards] (SCNu8): Likewise.
56207 [C99-based-standards] (SCNx8): Likewise.
56208 [C99-based-standards] (PRIdLEAST8): Likewise.
56209 [C99-based-standards] (PRIiLEAST8): Likewise.
56210 [C99-based-standards] (PRIoLEAST8): Likewise.
56211 [C99-based-standards] (PRIuLEAST8): Likewise.
56212 [C99-based-standards] (PRIxLEAST8): Likewise.
56213 [C99-based-standards] (PRIXLEAST8): Likewise.
56214 [C99-based-standards] (SCNdLEAST8): Likewise.
56215 [C99-based-standards] (SCNiLEAST8): Likewise.
56216 [C99-based-standards] (SCNoLEAST8): Likewise.
56217 [C99-based-standards] (SCNuLEAST8): Likewise.
56218 [C99-based-standards] (SCNxLEAST8): Likewise.
56219 [C99-based-standards] (PRIdFAST8): Likewise.
56220 [C99-based-standards] (PRIiFAST8): Likewise.
56221 [C99-based-standards] (PRIoFAST8): Likewise.
56222 [C99-based-standards] (PRIuFAST8): Likewise.
56223 [C99-based-standards] (PRIxFAST8): Likewise.
56224 [C99-based-standards] (PRIXFAST8): Likewise.
56225 [C99-based-standards] (SCNdFAST8): Likewise.
56226 [C99-based-standards] (SCNiFAST8): Likewise.
56227 [C99-based-standards] (SCNoFAST8): Likewise.
56228 [C99-based-standards] (SCNuFAST8): Likewise.
56229 [C99-based-standards] (SCNxFAST8): Likewise.
56230 [C99-based-standards] (PRId16): Likewise.
56231 [C99-based-standards] (PRIi16): Likewise.
56232 [C99-based-standards] (PRIo16): Likewise.
56233 [C99-based-standards] (PRIu16): Likewise.
56234 [C99-based-standards] (PRIx16): Likewise.
56235 [C99-based-standards] (PRIX16): Likewise.
56236 [C99-based-standards] (SCNd16): Likewise.
56237 [C99-based-standards] (SCNi16): Likewise.
56238 [C99-based-standards] (SCNo16): Likewise.
56239 [C99-based-standards] (SCNu16): Likewise.
56240 [C99-based-standards] (SCNx16): Likewise.
56241 [C99-based-standards] (PRIdLEAST16): Likewise.
56242 [C99-based-standards] (PRIiLEAST16): Likewise.
56243 [C99-based-standards] (PRIoLEAST16): Likewise.
56244 [C99-based-standards] (PRIuLEAST16): Likewise.
56245 [C99-based-standards] (PRIxLEAST16): Likewise.
56246 [C99-based-standards] (PRIXLEAST16): Likewise.
56247 [C99-based-standards] (SCNdLEAST16): Likewise.
56248 [C99-based-standards] (SCNiLEAST16): Likewise.
56249 [C99-based-standards] (SCNoLEAST16): Likewise.
56250 [C99-based-standards] (SCNuLEAST16): Likewise.
56251 [C99-based-standards] (SCNxLEAST16): Likewise.
56252 [C99-based-standards] (PRIdFAST16): Likewise.
56253 [C99-based-standards] (PRIiFAST16): Likewise.
56254 [C99-based-standards] (PRIoFAST16): Likewise.
56255 [C99-based-standards] (PRIuFAST16): Likewise.
56256 [C99-based-standards] (PRIxFAST16): Likewise.
56257 [C99-based-standards] (PRIXFAST16): Likewise.
56258 [C99-based-standards] (SCNdFAST16): Likewise.
56259 [C99-based-standards] (SCNiFAST16): Likewise.
56260 [C99-based-standards] (SCNoFAST16): Likewise.
56261 [C99-based-standards] (SCNuFAST16): Likewise.
56262 [C99-based-standards] (SCNxFAST16): Likewise.
56263 [C99-based-standards] (PRId32): Likewise.
56264 [C99-based-standards] (PRIi32): Likewise.
56265 [C99-based-standards] (PRIo32): Likewise.
56266 [C99-based-standards] (PRIu32): Likewise.
56267 [C99-based-standards] (PRIx32): Likewise.
56268 [C99-based-standards] (PRIX32): Likewise.
56269 [C99-based-standards] (SCNd32): Likewise.
56270 [C99-based-standards] (SCNi32): Likewise.
56271 [C99-based-standards] (SCNo32): Likewise.
56272 [C99-based-standards] (SCNu32): Likewise.
56273 [C99-based-standards] (SCNx32): Likewise.
56274 [C99-based-standards] (PRIdLEAST32): Likewise.
56275 [C99-based-standards] (PRIiLEAST32): Likewise.
56276 [C99-based-standards] (PRIoLEAST32): Likewise.
56277 [C99-based-standards] (PRIuLEAST32): Likewise.
56278 [C99-based-standards] (PRIxLEAST32): Likewise.
56279 [C99-based-standards] (PRIXLEAST32): Likewise.
56280 [C99-based-standards] (SCNdLEAST32): Likewise.
56281 [C99-based-standards] (SCNiLEAST32): Likewise.
56282 [C99-based-standards] (SCNoLEAST32): Likewise.
56283 [C99-based-standards] (SCNuLEAST32): Likewise.
56284 [C99-based-standards] (SCNxLEAST32): Likewise.
56285 [C99-based-standards] (PRIdFAST32): Likewise.
56286 [C99-based-standards] (PRIiFAST32): Likewise.
56287 [C99-based-standards] (PRIoFAST32): Likewise.
56288 [C99-based-standards] (PRIuFAST32): Likewise.
56289 [C99-based-standards] (PRIxFAST32): Likewise.
56290 [C99-based-standards] (PRIXFAST32): Likewise.
56291 [C99-based-standards] (SCNdFAST32): Likewise.
56292 [C99-based-standards] (SCNiFAST32): Likewise.
56293 [C99-based-standards] (SCNoFAST32): Likewise.
56294 [C99-based-standards] (SCNuFAST32): Likewise.
56295 [C99-based-standards] (SCNxFAST32): Likewise.
56296 [C99-based-standards] (PRId64): Likewise.
56297 [C99-based-standards] (PRIi64): Likewise.
56298 [C99-based-standards] (PRIo64): Likewise.
56299 [C99-based-standards] (PRIu64): Likewise.
56300 [C99-based-standards] (PRIx64): Likewise.
56301 [C99-based-standards] (PRIX64): Likewise.
56302 [C99-based-standards] (SCNd64): Likewise.
56303 [C99-based-standards] (SCNi64): Likewise.
56304 [C99-based-standards] (SCNo64): Likewise.
56305 [C99-based-standards] (SCNu64): Likewise.
56306 [C99-based-standards] (SCNx64): Likewise.
56307 [C99-based-standards] (PRIdLEAST64): Likewise.
56308 [C99-based-standards] (PRIiLEAST64): Likewise.
56309 [C99-based-standards] (PRIoLEAST64): Likewise.
56310 [C99-based-standards] (PRIuLEAST64): Likewise.
56311 [C99-based-standards] (PRIxLEAST64): Likewise.
56312 [C99-based-standards] (PRIXLEAST64): Likewise.
56313 [C99-based-standards] (SCNdLEAST64): Likewise.
56314 [C99-based-standards] (SCNiLEAST64): Likewise.
56315 [C99-based-standards] (SCNoLEAST64): Likewise.
56316 [C99-based-standards] (SCNuLEAST64): Likewise.
56317 [C99-based-standards] (SCNxLEAST64): Likewise.
56318 [C99-based-standards] (PRIdFAST64): Likewise.
56319 [C99-based-standards] (PRIiFAST64): Likewise.
56320 [C99-based-standards] (PRIoFAST64): Likewise.
56321 [C99-based-standards] (PRIuFAST64): Likewise.
56322 [C99-based-standards] (PRIxFAST64): Likewise.
56323 [C99-based-standards] (PRIXFAST64): Likewise.
56324 [C99-based-standards] (SCNdFAST64): Likewise.
56325 [C99-based-standards] (SCNiFAST64): Likewise.
56326 [C99-based-standards] (SCNoFAST64): Likewise.
56327 [C99-based-standards] (SCNuFAST64): Likewise.
56328 [C99-based-standards] (SCNxFAST64): Likewise.
56329 [C99-based-standards] (PRIdMAX): Likewise.
56330 [C99-based-standards] (PRIiMAX): Likewise.
56331 [C99-based-standards] (PRIoMAX): Likewise.
56332 [C99-based-standards] (PRIuMAX): Likewise.
56333 [C99-based-standards] (PRIxMAX): Likewise.
56334 [C99-based-standards] (PRIXMAX): Likewise.
56335 [C99-based-standards] (SCNdMAX): Likewise.
56336 [C99-based-standards] (SCNiMAX): Likewise.
56337 [C99-based-standards] (SCNoMAX): Likewise.
56338 [C99-based-standards] (SCNuMAX): Likewise.
56339 [C99-based-standards] (SCNxMAX): Likewise.
56340 [C99-based-standards] (PRIdPTR): Likewise.
56341 [C99-based-standards] (PRIiPTR): Likewise.
56342 [C99-based-standards] (PRIoPTR): Likewise.
56343 [C99-based-standards] (PRIuPTR): Likewise.
56344 [C99-based-standards] (PRIxPTR): Likewise.
56345 [C99-based-standards] (PRIXPTR): Likewise.
56346 [C99-based-standards] (SCNdPTR): Likewise.
56347 [C99-based-standards] (SCNiPTR): Likewise.
56348 [C99-based-standards] (SCNoPTR): Likewise.
56349 [C99-based-standards] (SCNuPTR): Likewise.
56350 [C99-based-standards] (SCNxPTR): Likewise.
56351 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56352 allow.
56353 * conform/data/stdint.h-data: Update comments to clarify
56354 requirements.
56355 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
56356 type.
56357 [C99-based standards] (INT8_MAX): Likewise.
56358 [C99-based standards] (INT16_MIN): Likewise.
56359 [C99-based standards] (INT16_MAX): Likewise.
56360 [C99-based standards] (INT32_MIN): Likewise.
56361 [C99-based standards] (INT32_MAX): Likewise.
56362 [C99-based standards] (INT64_MIN): Likewise.
56363 [C99-based standards] (INT64_MAX): Likewise.
56364 [C99-based standards] (UINT8_MAX): Likewise.
56365 [C99-based standards] (UINT16_MAX): Likewise.
56366 [C99-based standards] (UINT32_MAX): Likewise.
56367 [C99-based standards] (UINT64_MAX): Likewise.
56368 [C99-based standards] (INT_LEAST8_MIN): Likewise.
56369 [C99-based standards] (INT_LEAST8_MAX): Likewise.
56370 [C99-based standards] (INT_LEAST16_MIN): Likewise.
56371 [C99-based standards] (INT_LEAST16_MAX): Likewise.
56372 [C99-based standards] (INT_LEAST32_MIN): Likewise.
56373 [C99-based standards] (INT_LEAST32_MAX): Likewise.
56374 [C99-based standards] (INT_LEAST64_MIN): Likewise.
56375 [C99-based standards] (INT_LEAST64_MAX): Likewise.
56376 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56377 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56378 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56379 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56380 [C99-based standards] (INT_FAST8_MIN): Likewise.
56381 [C99-based standards] (INT_FAST8_MAX): Likewise.
56382 [C99-based standards] (INT_FAST16_MIN): Likewise.
56383 [C99-based standards] (INT_FAST16_MAX): Likewise.
56384 [C99-based standards] (INT_FAST32_MIN): Likewise.
56385 [C99-based standards] (INT_FAST32_MAX): Likewise.
56386 [C99-based standards] (INT_FAST64_MIN): Likewise.
56387 [C99-based standards] (INT_FAST64_MAX): Likewise.
56388 [C99-based standards] (UINT_FAST8_MAX): Likewise.
56389 [C99-based standards] (UINT_FAST16_MAX): Likewise.
56390 [C99-based standards] (UINT_FAST32_MAX): Likewise.
56391 [C99-based standards] (UINT_FAST64_MAX): Likewise.
56392 [C99-based standards] (INTPTR_MIN): Likewise.
56393 [C99-based standards] (INTPTR_MAX): Likewise.
56394 [C99-based standards] (UINTPTR_MAX): Likewise.
56395 [C99-based standards] (INTMAX_MIN): Likewise.
56396 [C99-based standards] (INTMAX_MAX): Likewise.
56397 [C99-based standards] (UINTMAX_MAX): Likewise.
56398 [C99-based standards] (PTRDIFF_MIN): Likewise.
56399 [C99-based standards] (PTRDIFF_MAX): Likewise.
56400 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56401 [C99-based standards] (SIZE_MAX): Likewise.
56402 [C99-based standards] (WCHAR_MAX): Likewise.
56403 [C99-based standards] (WINT_MAX): Likewise.
56404 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
56405 constraint on value.
56406 [C99-based standards] (WCHAR_MIN): Likewise.
56407 [C99-based standards] (WINT_MIN): Likewise.
56408 [C99-based standards] (*_t): Allow.
56409 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56410 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56411 Include math.h-data and complex.h-data. Remove all expectations
56412 of math.h and complex.h contents.
56413 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56414 at end of line.
56415 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56416 (struct tm): Expect tag.
56417 [C99-based-standards] (wcstof): Expect function.
56418 [C99-based-standards] (wcstold): Likewise.
56419 [C99-based-standards] (wcstoll): Likewise.
56420 [C99-based-standards] (wcstoull): Likewise.
56421 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56422 macro-int-constant. Specify type.
56423 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
56424 constraint on value.
56425 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56426 Specify type.
56427 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56428 Specify value.
56429 [ISO C standards]: Do not allow headers.
56430 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56431 wcs[abcdefghijklmnopqrstuvwxyz]*.
56432 [ISO C standards] (*_t): Do not allow.
56433 * conform/data/wctype.h-data [C99-based standards] (iswblank):
56434 Expect function.
56435 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56436 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56437 Specify type.
56438 [ISO C standards]: Do not allow headers.
56439 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56440 is[abcdefghijklmnopqrstuvwxyz]*.
56441 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56442 to[abcdefghijklmnopqrstuvwxyz]*.
56443 [ISO C standards] (*_t): Do not allow.
56444 * conform/data/stdalign.h-data: New file.
56445 * conform/data/stdbool.h-data: Likewise.
56446 * conform/data/stdnoreturn.h-data: Likewise.
56447
56448 2012-11-07 Roland McGrath <roland@hack.frob.com>
56449
56450 [BZ #14815]
56451 * manual/filesys.texi (Directory Entries): Typo fix.
56452 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
56453
56454 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
56455
56456 * elf/elf.h (EM_AARCH64): New macro.
56457 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
56458 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
56459 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
56460 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
56461 (R_AARCH64_TLSDESC): Likewise.
56462 (NT_ARM_TLS): Likewise.
56463 (NT_ARM_HW_BREAK): Likewise.
56464 (NT_ARM_HW_WATCH): Likewise.
56465
56466 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56467
56468 [BZ #14811]
56469 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
56470 (__ieee754_powl): Saturate nonzero exponents with absolute value
56471 below 0x1p-79 to +/- 0x1p-79.
56472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
56473 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
56474 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
56475 nonzero exponents with absolute value below 0x1p-32 to +/-
56476 0x1p-32.
56477 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
56478 (__ieee754_powl): Saturate nonzero exponents with absolute value
56479 below 0x1p-79 to +/- 0x1p-79.
56480 * math/libm-test.inc (pow_test): Add more tests.
56481
56482 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56483
56484 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
56485 _dl_s390_cap_flags with kernel. Increase string length.
56486 (_dl_s390_platforms): Add z196 and zEC12.
56487
56488 2012-11-07 Joseph Myers <joseph@codesourcery.com>
56489
56490 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
56491 Change XOPEN21K to XOPEN2K.
56492
56493 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
56494
56495 * string/memmove.c: Use memcpy when possible.
56496
56497 2012-11-06 Andreas Jaeger <aj@suse.de>
56498
56499 * po/eo.po: Update from translation team.
56500
56501 2012-11-06 Joseph Myers <joseph@codesourcery.com>
56502
56503 [BZ #14793]
56504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
56505 exponent and small x and y exponents, scale x or y up. Increase
56506 by 2 the exponent used in scaling up.
56507 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56509 * math/libm-test.inc (fma_test): Add more tests.
56510 (fma_test_towardzero): Likewise.
56511 (fma_test_downward): Likewise.
56512 (fma_test_upward): Likewise.
56513
56514 2012-11-05 Joseph Myers <joseph@codesourcery.com>
56515
56516 [BZ #14805]
56517 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
56518 fenv_t *.
56519
56520 [BZ #14801]
56521 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
56522 namespace for names of struct fields.
56523 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
56524 fenv_t fields.
56525 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
56526 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
56527
56528 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
56529
56530 [BZ #3665]
56531 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
56532
56533 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56534
56535 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
56536 PTR_DEMANGLE.
56537
56538 [BZ #5246]
56539 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
56540 PTR_DEMANGLE.
56541
56542 2012-11-04 Joseph Myers <joseph@codesourcery.com>
56543
56544 [BZ #14797]
56545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
56546 definitely overflow as x * y not x * y + z.
56547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56548 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56549 * math/libm-test.inc (fma_test): Add more tests.
56550 (fma_test_towardzero): Likewise.
56551 (fma_test_downward): Likewise.
56552 (fma_test_upward): Likewise.
56553
56554 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
56555
56556 [BZ #157]
56557
56558 * include/stub-tag.h: Remove file.
56559 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
56560 '#include' of it.
56561 * manual/maint.texi (Porting): Don't reference it.
56562 * Makerules ($(objpfx)stubs): Likewise.
56563 * dirent/closedir.c: Don't include <stub-tag.h>.
56564 * dirent/dirfd.c: Likewise.
56565 * dirent/fdopendir.c: Likewise.
56566 * dirent/getdents.c: Likewise.
56567 * dirent/getdents64.c: Likewise.
56568 * dirent/opendir.c: Likewise.
56569 * dirent/readdir.c: Likewise.
56570 * dirent/readdir64.c: Likewise.
56571 * dirent/readdir64_r.c: Likewise.
56572 * dirent/readdir_r.c: Likewise.
56573 * dirent/rewinddir.c: Likewise.
56574 * dirent/seekdir.c: Likewise.
56575 * dirent/telldir.c: Likewise.
56576 * gmon/profil.c: Likewise.
56577 * grp/setgroups.c: Likewise.
56578 * inet/if_index.c: Likewise.
56579 * io/access.c: Likewise.
56580 * io/chdir.c: Likewise.
56581 * io/chmod.c: Likewise.
56582 * io/chown.c: Likewise.
56583 * io/close.c: Likewise.
56584 * io/dup.c: Likewise.
56585 * io/dup2.c: Likewise.
56586 * io/dup3.c: Likewise.
56587 * io/euidaccess.c: Likewise.
56588 * io/faccessat.c: Likewise.
56589 * io/fchdir.c: Likewise.
56590 * io/fchmod.c: Likewise.
56591 * io/fchmodat.c: Likewise.
56592 * io/fchown.c: Likewise.
56593 * io/fchownat.c: Likewise.
56594 * io/fcntl.c: Likewise.
56595 * io/flock.c: Likewise.
56596 * io/fstatfs.c: Likewise.
56597 * io/fstatfs64.c: Likewise.
56598 * io/fstatvfs.c: Likewise.
56599 * io/fstatvfs64.c: Likewise.
56600 * io/futimens.c: Likewise.
56601 * io/fxstat.c: Likewise.
56602 * io/fxstat64.c: Likewise.
56603 * io/fxstatat.c: Likewise.
56604 * io/fxstatat64.c: Likewise.
56605 * io/getcwd.c: Likewise.
56606 * io/isatty.c: Likewise.
56607 * io/lchmod.c: Likewise.
56608 * io/lchown.c: Likewise.
56609 * io/link.c: Likewise.
56610 * io/linkat.c: Likewise.
56611 * io/lseek.c: Likewise.
56612 * io/lseek64.c: Likewise.
56613 * io/lxstat64.c: Likewise.
56614 * io/mkdir.c: Likewise.
56615 * io/mkdirat.c: Likewise.
56616 * io/mkfifo.c: Likewise.
56617 * io/mkfifoat.c: Likewise.
56618 * io/open.c: Likewise.
56619 * io/open64.c: Likewise.
56620 * io/openat.c: Likewise.
56621 * io/openat64.c: Likewise.
56622 * io/pipe.c: Likewise.
56623 * io/pipe2.c: Likewise.
56624 * io/poll.c: Likewise.
56625 * io/posix_fadvise.c: Likewise.
56626 * io/posix_fadvise64.c: Likewise.
56627 * io/posix_fallocate.c: Likewise.
56628 * io/posix_fallocate64.c: Likewise.
56629 * io/read.c: Likewise.
56630 * io/readlink.c: Likewise.
56631 * io/readlinkat.c: Likewise.
56632 * io/rmdir.c: Likewise.
56633 * io/sendfile.c: Likewise.
56634 * io/sendfile64.c: Likewise.
56635 * io/statfs.c: Likewise.
56636 * io/statfs64.c: Likewise.
56637 * io/statvfs.c: Likewise.
56638 * io/statvfs64.c: Likewise.
56639 * io/symlink.c: Likewise.
56640 * io/symlinkat.c: Likewise.
56641 * io/ttyname.c: Likewise.
56642 * io/ttyname_r.c: Likewise.
56643 * io/umask.c: Likewise.
56644 * io/unlink.c: Likewise.
56645 * io/unlinkat.c: Likewise.
56646 * io/utime.c: Likewise.
56647 * io/utimensat.c: Likewise.
56648 * io/write.c: Likewise.
56649 * io/xmknod.c: Likewise.
56650 * io/xmknodat.c: Likewise.
56651 * io/xstat.c: Likewise.
56652 * io/xstat64.c: Likewise.
56653 * login/getpt.c: Likewise.
56654 * login/grantpt.c: Likewise.
56655 * login/unlockpt.c: Likewise.
56656 * math/e_acoshl.c: Likewise.
56657 * math/e_acosl.c: Likewise.
56658 * math/e_asinl.c: Likewise.
56659 * math/e_atan2l.c: Likewise.
56660 * math/e_atanhl.c: Likewise.
56661 * math/e_coshl.c: Likewise.
56662 * math/e_expl.c: Likewise.
56663 * math/e_fmodl.c: Likewise.
56664 * math/e_gammal_r.c: Likewise.
56665 * math/e_hypotl.c: Likewise.
56666 * math/e_j0l.c: Likewise.
56667 * math/e_j1l.c: Likewise.
56668 * math/e_jnl.c: Likewise.
56669 * math/e_lgammal_r.c: Likewise.
56670 * math/e_log10l.c: Likewise.
56671 * math/e_log2l.c: Likewise.
56672 * math/e_logl.c: Likewise.
56673 * math/e_powl.c: Likewise.
56674 * math/e_rem_pio2l.c: Likewise.
56675 * math/e_sinhl.c: Likewise.
56676 * math/e_sqrtl.c: Likewise.
56677 * math/fclrexcpt.c: Likewise.
56678 * math/fedisblxcpt.c: Likewise.
56679 * math/feenablxcpt.c: Likewise.
56680 * math/fegetenv.c: Likewise.
56681 * math/fegetexcept.c: Likewise.
56682 * math/fegetround.c: Likewise.
56683 * math/feholdexcpt.c: Likewise.
56684 * math/fesetenv.c: Likewise.
56685 * math/fesetround.c: Likewise.
56686 * math/feupdateenv.c: Likewise.
56687 * math/fgetexcptflg.c: Likewise.
56688 * math/fraiseexcpt.c: Likewise.
56689 * math/fsetexcptflg.c: Likewise.
56690 * math/ftestexcept.c: Likewise.
56691 * math/k_cosl.c: Likewise.
56692 * math/k_rem_pio2l.c: Likewise.
56693 * math/k_sinl.c: Likewise.
56694 * math/k_tanl.c: Likewise.
56695 * math/s_asinhl.c: Likewise.
56696 * math/s_atanl.c: Likewise.
56697 * math/s_cbrtl.c: Likewise.
56698 * math/s_erfl.c: Likewise.
56699 * math/s_expm1l.c: Likewise.
56700 * math/s_log1pl.c: Likewise.
56701 * math/s_tanhl.c: Likewise.
56702 * misc/acct.c: Likewise.
56703 * misc/brk.c: Likewise.
56704 * misc/chflags.c: Likewise.
56705 * misc/chroot.c: Likewise.
56706 * misc/fchflags.c: Likewise.
56707 * misc/fgetxattr.c: Likewise.
56708 * misc/flistxattr.c: Likewise.
56709 * misc/fremovexattr.c: Likewise.
56710 * misc/fsetxattr.c: Likewise.
56711 * misc/fsync.c: Likewise.
56712 * misc/ftruncate.c: Likewise.
56713 * misc/futimes.c: Likewise.
56714 * misc/futimesat.c: Likewise.
56715 * misc/getdomain.c: Likewise.
56716 * misc/getdtsz.c: Likewise.
56717 * misc/gethostid.c: Likewise.
56718 * misc/gethostname.c: Likewise.
56719 * misc/getloadavg.c: Likewise.
56720 * misc/getpagesize.c: Likewise.
56721 * misc/getsysstats.c: Likewise.
56722 * misc/getxattr.c: Likewise.
56723 * misc/gtty.c: Likewise.
56724 * misc/ioctl.c: Likewise.
56725 * misc/lgetxattr.c: Likewise.
56726 * misc/listxattr.c: Likewise.
56727 * misc/llistxattr.c: Likewise.
56728 * misc/lremovexattr.c: Likewise.
56729 * misc/lsetxattr.c: Likewise.
56730 * misc/lutimes.c: Likewise.
56731 * misc/madvise.c: Likewise.
56732 * misc/mincore.c: Likewise.
56733 * misc/mlock.c: Likewise.
56734 * misc/mlockall.c: Likewise.
56735 * misc/mmap.c: Likewise.
56736 * misc/mprotect.c: Likewise.
56737 * misc/msync.c: Likewise.
56738 * misc/munlock.c: Likewise.
56739 * misc/munlockall.c: Likewise.
56740 * misc/munmap.c: Likewise.
56741 * misc/preadv.c: Likewise.
56742 * misc/preadv64.c: Likewise.
56743 * misc/ptrace.c: Likewise.
56744 * misc/pwritev.c: Likewise.
56745 * misc/pwritev64.c: Likewise.
56746 * misc/readv.c: Likewise.
56747 * misc/reboot.c: Likewise.
56748 * misc/remap_file_pages.c: Likewise.
56749 * misc/removexattr.c: Likewise.
56750 * misc/revoke.c: Likewise.
56751 * misc/select.c: Likewise.
56752 * misc/setdomain.c: Likewise.
56753 * misc/setegid.c: Likewise.
56754 * misc/seteuid.c: Likewise.
56755 * misc/sethostid.c: Likewise.
56756 * misc/sethostname.c: Likewise.
56757 * misc/setregid.c: Likewise.
56758 * misc/setreuid.c: Likewise.
56759 * misc/setxattr.c: Likewise.
56760 * misc/sstk.c: Likewise.
56761 * misc/stty.c: Likewise.
56762 * misc/swapoff.c: Likewise.
56763 * misc/swapon.c: Likewise.
56764 * misc/sync.c: Likewise.
56765 * misc/syncfs.c: Likewise.
56766 * misc/syscall.c: Likewise.
56767 * misc/truncate.c: Likewise.
56768 * misc/ualarm.c: Likewise.
56769 * misc/usleep.c: Likewise.
56770 * misc/ustat.c: Likewise.
56771 * misc/utimes.c: Likewise.
56772 * misc/vhangup.c: Likewise.
56773 * misc/writev.c: Likewise.
56774 * posix/_exit.c: Likewise.
56775 * posix/alarm.c: Likewise.
56776 * posix/execve.c: Likewise.
56777 * posix/fexecve.c: Likewise.
56778 * posix/fork.c: Likewise.
56779 * posix/fpathconf.c: Likewise.
56780 * posix/getaddrinfo.c: Likewise.
56781 * posix/getegid.c: Likewise.
56782 * posix/geteuid.c: Likewise.
56783 * posix/getgid.c: Likewise.
56784 * posix/getgroups.c: Likewise.
56785 * posix/getlogin.c: Likewise.
56786 * posix/getlogin_r.c: Likewise.
56787 * posix/getpgid.c: Likewise.
56788 * posix/getpid.c: Likewise.
56789 * posix/getppid.c: Likewise.
56790 * posix/getresgid.c: Likewise.
56791 * posix/getresuid.c: Likewise.
56792 * posix/getsid.c: Likewise.
56793 * posix/getuid.c: Likewise.
56794 * posix/glob64.c: Likewise.
56795 * posix/nanosleep.c: Likewise.
56796 * posix/pathconf.c: Likewise.
56797 * posix/pause.c: Likewise.
56798 * posix/posix_madvise.c: Likewise.
56799 * posix/pread.c: Likewise.
56800 * posix/pread64.c: Likewise.
56801 * posix/pwrite.c: Likewise.
56802 * posix/pwrite64.c: Likewise.
56803 * posix/sched_getaffinity.c: Likewise.
56804 * posix/sched_getp.c: Likewise.
56805 * posix/sched_gets.c: Likewise.
56806 * posix/sched_primax.c: Likewise.
56807 * posix/sched_primin.c: Likewise.
56808 * posix/sched_rr_gi.c: Likewise.
56809 * posix/sched_setaffinity.c: Likewise.
56810 * posix/sched_setp.c: Likewise.
56811 * posix/sched_sets.c: Likewise.
56812 * posix/sched_yield.c: Likewise.
56813 * posix/setgid.c: Likewise.
56814 * posix/setlogin.c: Likewise.
56815 * posix/setpgid.c: Likewise.
56816 * posix/setresgid.c: Likewise.
56817 * posix/setresuid.c: Likewise.
56818 * posix/setsid.c: Likewise.
56819 * posix/setuid.c: Likewise.
56820 * posix/sleep.c: Likewise.
56821 * posix/spawni.c: Likewise.
56822 * posix/sysconf.c: Likewise.
56823 * posix/times.c: Likewise.
56824 * posix/wait.c: Likewise.
56825 * posix/wait3.c: Likewise.
56826 * posix/wait4.c: Likewise.
56827 * posix/waitpid.c: Likewise.
56828 * resolv/gai_sigqueue.c: Likewise.
56829 * resource/getpriority.c: Likewise.
56830 * resource/getrlimit.c: Likewise.
56831 * resource/getrusage.c: Likewise.
56832 * resource/nice.c: Likewise.
56833 * resource/setpriority.c: Likewise.
56834 * resource/setrlimit.c: Likewise.
56835 * resource/ulimit.c: Likewise.
56836 * rt/aio_cancel.c: Likewise.
56837 * rt/aio_fsync.c: Likewise.
56838 * rt/aio_read.c: Likewise.
56839 * rt/aio_sigqueue.c: Likewise.
56840 * rt/aio_suspend.c: Likewise.
56841 * rt/aio_write.c: Likewise.
56842 * rt/clock_getres.c: Likewise.
56843 * rt/clock_gettime.c: Likewise.
56844 * rt/clock_nanosleep.c: Likewise.
56845 * rt/clock_settime.c: Likewise.
56846 * rt/lio_listio.c: Likewise.
56847 * rt/mq_close.c: Likewise.
56848 * rt/mq_getattr.c: Likewise.
56849 * rt/mq_notify.c: Likewise.
56850 * rt/mq_open.c: Likewise.
56851 * rt/mq_receive.c: Likewise.
56852 * rt/mq_send.c: Likewise.
56853 * rt/mq_setattr.c: Likewise.
56854 * rt/mq_timedreceive.c: Likewise.
56855 * rt/mq_timedsend.c: Likewise.
56856 * rt/mq_unlink.c: Likewise.
56857 * rt/shm_open.c: Likewise.
56858 * rt/shm_unlink.c: Likewise.
56859 * rt/timer_create.c: Likewise.
56860 * rt/timer_delete.c: Likewise.
56861 * rt/timer_getoverr.c: Likewise.
56862 * rt/timer_gettime.c: Likewise.
56863 * rt/timer_settime.c: Likewise.
56864 * setjmp/__longjmp.c: Likewise.
56865 * setjmp/setjmp.c: Likewise.
56866 * signal/kill.c: Likewise.
56867 * signal/killpg.c: Likewise.
56868 * signal/raise.c: Likewise.
56869 * signal/sigaction.c: Likewise.
56870 * signal/sigaltstack.c: Likewise.
56871 * signal/sigblock.c: Likewise.
56872 * signal/sigignore.c: Likewise.
56873 * signal/sigintr.c: Likewise.
56874 * signal/signal.c: Likewise.
56875 * signal/sigpause.c: Likewise.
56876 * signal/sigpending.c: Likewise.
56877 * signal/sigqueue.c: Likewise.
56878 * signal/sigreturn.c: Likewise.
56879 * signal/sigset.c: Likewise.
56880 * signal/sigsetmask.c: Likewise.
56881 * signal/sigstack.c: Likewise.
56882 * signal/sigsuspend.c: Likewise.
56883 * signal/sigtimedwait.c: Likewise.
56884 * signal/sigvec.c: Likewise.
56885 * signal/sigwait.c: Likewise.
56886 * signal/sigwaitinfo.c: Likewise.
56887 * signal/sysv_signal.c: Likewise.
56888 * socket/accept.c: Likewise.
56889 * socket/accept4.c: Likewise.
56890 * socket/bind.c: Likewise.
56891 * socket/connect.c: Likewise.
56892 * socket/getpeername.c: Likewise.
56893 * socket/getsockname.c: Likewise.
56894 * socket/getsockopt.c: Likewise.
56895 * socket/isfdtype.c: Likewise.
56896 * socket/listen.c: Likewise.
56897 * socket/recv.c: Likewise.
56898 * socket/recvfrom.c: Likewise.
56899 * socket/recvmsg.c: Likewise.
56900 * socket/send.c: Likewise.
56901 * socket/sendmsg.c: Likewise.
56902 * socket/sendto.c: Likewise.
56903 * socket/setsockopt.c: Likewise.
56904 * socket/shutdown.c: Likewise.
56905 * socket/sockatmark.c: Likewise.
56906 * socket/socket.c: Likewise.
56907 * socket/socketpair.c: Likewise.
56908 * stdio-common/ctermid.c: Likewise.
56909 * stdio-common/cuserid.c: Likewise.
56910 * stdio-common/remove.c: Likewise.
56911 * stdio-common/rename.c: Likewise.
56912 * stdio-common/renameat.c: Likewise.
56913 * stdio-common/tempname.c: Likewise.
56914 * stdlib/getcontext.c: Likewise.
56915 * stdlib/makecontext.c: Likewise.
56916 * stdlib/setcontext.c: Likewise.
56917 * stdlib/swapcontext.c: Likewise.
56918 * stdlib/system.c: Likewise.
56919 * streams/fattach.c: Likewise.
56920 * streams/fdetach.c: Likewise.
56921 * streams/getmsg.c: Likewise.
56922 * streams/getpmsg.c: Likewise.
56923 * streams/putmsg.c: Likewise.
56924 * streams/putpmsg.c: Likewise.
56925 * sysdeps/unix/bsd/getpt.c: Likewise.
56926 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
56927 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
56928 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
56929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56930 Likewise.
56931 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
56932 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56933 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
56934 * sysvipc/msgctl.c: Likewise.
56935 * sysvipc/msgget.c: Likewise.
56936 * sysvipc/msgrcv.c: Likewise.
56937 * sysvipc/msgsnd.c: Likewise.
56938 * sysvipc/semctl.c: Likewise.
56939 * sysvipc/semget.c: Likewise.
56940 * sysvipc/semop.c: Likewise.
56941 * sysvipc/semtimedop.c: Likewise.
56942 * sysvipc/shmat.c: Likewise.
56943 * sysvipc/shmctl.c: Likewise.
56944 * sysvipc/shmdt.c: Likewise.
56945 * sysvipc/shmget.c: Likewise.
56946 * termios/tcdrain.c: Likewise.
56947 * termios/tcflow.c: Likewise.
56948 * termios/tcflush.c: Likewise.
56949 * termios/tcgetattr.c: Likewise.
56950 * termios/tcgetpgrp.c: Likewise.
56951 * termios/tcsendbrk.c: Likewise.
56952 * termios/tcsetattr.c: Likewise.
56953 * termios/tcsetpgrp.c: Likewise.
56954 * time/adjtime.c: Likewise.
56955 * time/clock.c: Likewise.
56956 * time/getitimer.c: Likewise.
56957 * time/gettimeofday.c: Likewise.
56958 * time/setitimer.c: Likewise.
56959 * time/settimeofday.c: Likewise.
56960 * time/stime.c: Likewise.
56961 * time/time.c: Likewise.
56962
56963 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
56964
56965 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
56966 /usr/old/bin.
56967
56968 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
56969 instead of spaces.
56970 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
56971
56972 2012-11-03 Joseph Myers <joseph@codesourcery.com>
56973
56974 [BZ #14796]
56975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
56976 FE_TONEAREST before applying Dekker multiplication and Knuth
56977 addition. Clear inexact exceptions and check for exact zero
56978 results afterwards.
56979 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
56980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
56981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
56982 * math/libm-test.inc (fma_test): Add more tests.
56983 (fma_test_towardzero): Likewise.
56984 (fma_test_downward): Likewise.
56985 (fma_test_upward): Likewise.
56986 * sysdeps/generic/math_private.h (default_libc_fesetround): New
56987 function.
56988 (libc_fesetround): New macro.
56989 (libc_fesetroundf): Likewise.
56990 (libc_fesetroundl): Likewise.
56991 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
56992 function.
56993 (libc_fesetround_387): Likewise.
56994 (libc_fesetroundf): New macro.
56995 (libc_fesetround): Likewise.
56996 (libc_fesetroundl): Likewise.
56997 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
56998 function.
56999 (libc_fesetroundf): New macro.
57000 (libc_fesetround): Likewise.
57001 (libc_fesetroundl): Likewise.
57002 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57003 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57004 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57005 libm_hidden_ver.
57006 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57007 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57008 libm_hidden_def.
57009 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57010 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57011 libm_hidden_ver.
57012 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57013 libm_hidden_def.
57014
57015 [BZ #3439]
57016 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57017 integer constant usable in #if and use that to give value to enum
57018 constant.
57019 (FE_DIVBYZERO): Likewise.
57020 (FE_UNDERFLOW): Likewise.
57021 (FE_OVERFLOW): Likewise.
57022 (FE_INVALID): Likewise.
57023 (FE_INVALID_SNAN): Likewise.
57024 (FE_INVALID_ISI): Likewise.
57025 (FE_INVALID_IDI): Likewise.
57026 (FE_INVALID_ZDZ): Likewise.
57027 (FE_INVALID_IMZ): Likewise.
57028 (FE_INVALID_COMPARE): Likewise.
57029 (FE_INVALID_SOFTWARE): Likewise.
57030 (FE_INVALID_SQRT): Likewise.
57031 (FE_INVALID_INTEGER_CONVERSION): Likewise.
57032 (FE_TONEAREST): Likewise.
57033 (FE_TOWARDZERO): Likewise.
57034 (FE_UPWARD): Likewise.
57035 (FE_DOWNWARD): Likewise.
57036 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57037 (FE_DIVBYZERO): Likewise.
57038 (FE_OVERFLOW): Likewise.
57039 (FE_UNDERFLOW): Likewise.
57040 (FE_INEXACT): Likewise.
57041 (FE_TONEAREST): Likewise.
57042 (FE_DOWNWARD): Likewise.
57043 (FE_UPWARD): Likewise.
57044 (FE_TOWARDZERO): Likewise.
57045 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57046 (FE_UNDERFLOW): Likewise.
57047 (FE_OVERFLOW): Likewise.
57048 (FE_DIVBYZERO): Likewise.
57049 (FE_INVALID): Likewise.
57050 (FE_TONEAREST): Likewise.
57051 (FE_TOWARDZERO): Likewise.
57052 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57053 (FE_OVERFLOW): Likewise.
57054 (FE_UNDERFLOW): Likewise.
57055 (FE_DIVBYZERO): Likewise.
57056 (FE_INEXACT): Likewise.
57057 (FE_TONEAREST): Likewise.
57058 (FE_TOWARDZERO): Likewise.
57059 (FE_UPWARD): Likewise.
57060 (FE_DOWNWARD): Likewise.
57061 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57062 (FE_DIVBYZERO): Likewise.
57063 (FE_OVERFLOW): Likewise.
57064 (FE_UNDERFLOW): Likewise.
57065 (FE_INEXACT): Likewise.
57066 (FE_TONEAREST): Likewise.
57067 (FE_DOWNWARD): Likewise.
57068 (FE_UPWARD): Likewise.
57069 (FE_TOWARDZERO): Likewise.
57070
57071 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
57072
57073 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57074
57075 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
57076
57077 * scripts/cross-test-ssh.sh (command): Use newlines to separate
57078 commands. Quote $PWD.
57079 (blacklist_exports): Don't use remove_newlines. Replace "declare
57080 -x" by "export".
57081 (remove_newlines): Remove.
57082
57083 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
57084
57085 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57086 * stdlib/stdlib.h (atof): Moved to ...
57087 * include/bits/stdlib-float.h: Here. New file.
57088 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57089 * stdlib/bits/stdlib-float.h: New file.
57090 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57091 -mno-sse -mno-mmx.
57092 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57093 <xmmintrin.h>.
57094
57095 2012-11-02 Joseph Myers <joseph@codesourcery.com>
57096
57097 * conform/conformtest.pl (@headers): Add fenv.h.
57098 * conform/data/fenv.h-data: New file.
57099 * include/fenv.h [_ISOMAC]: Disable all contents of file except
57100 include of <math/fenv.h>.
57101
57102 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57103 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57104 && !UNIX98]. Enables tests for XOPEN2K8.
57105 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57106 POSIX2008]: Likewise.
57107
57108 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57109 (struct rusage): Do not expect type or its members.
57110
57111 [BZ #3439]
57112 * math/math.h (FP_NAN): Define macro to integer constant usable in
57113 #if and use that to give value to enum constant.
57114 (FP_INFINITE): Likewise.
57115 (FP_ZERO): Likewise.
57116 (FP_SUBNORMAL): Likewise.
57117 (FP_NORMAL): Likewise.
57118
57119 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
57120
57121 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57122 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57123 arguments.
57124
57125 2012-11-02 Roland McGrath <roland@hack.frob.com>
57126
57127 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57128 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57129 autoconf-time if not.
57130 * configure.in: Remove AC_PREREQ.
57131
57132 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57133
57134 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57135 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57136 of the internal implementation.
57137
57138 2012-11-02 Joseph Myers <joseph@codesourcery.com>
57139
57140 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57141 except include of <misc/sys/syslog.h>.
57142
57143 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57144
57145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57146 function returns with a NULL context exit with zero.
57147
57148 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57149
57150 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57151
57152 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
57153
57154 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57155 (run_program_cmd): This.
57156 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57157 (tst_langinfo): New variable. Use it.
57158
57159 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
57160
57161 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57162 floating point opcodes.
57163
57164 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57165
57166 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57167 variable.
57168
57169 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57170
57171 * sysdeps/mach/hurd/powerpc: Remove directory.
57172 * sysdeps/mach/powerpc: Likewise.
57173
57174 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
57175
57176 * scripts/check-local-headers.sh: Ignore c++ headers.
57177
57178 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57179
57180 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57181 __libc_cleanup_region_start argument.
57182
57183 2012-11-01 Joseph Myers <joseph@codesourcery.com>
57184
57185 [BZ #14784]
57186 [BZ #14785]
57187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57188 x * y using scaling, not as x * y + z.
57189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57191 * math/libm-test.inc (fma_test): Add more tests.
57192 (fma_test_towardzero): Likewise.
57193 (fma_test_downward): Likewise.
57194 (fma_test_upward): Likewise.
57195
57196 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
57197
57198 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57199
57200 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57201
57202 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57203 New variable.
57204
57205 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
57206
57207 * rt/tst-shm.c (worker): Correct checking for mmap failure.
57208
57209 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57210
57211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57212 Fix sort order.
57213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57214 Likewise.
57215
57216 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57217
57218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57219 Fix the order of the list for glibc 2.17.
57220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57221 Likewise.
57222
57223 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
57224
57225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57226
57227 2012-10-31 Joseph Myers <joseph@codesourcery.com>
57228
57229 [BZ #14610]
57230 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57231 for low part of x being zero before using __atanl (y).
57232 * math/libm-test.inc (atan2_test): Add another test.
57233
57234 * manual/install.texi (Configuring and compiling): Document
57235 general use of test-wrapper and test-wrapper-env.
57236 * INSTALL: Regenerated.
57237
57238 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57239 (__fma): Do not extract and scale down low bits on after-rounding
57240 systems when result rounded to normal precision would have normal
57241 exponent.
57242 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57243 (__fmal): Do not extract and scale down low bits on after-rounding
57244 systems when result rounded to normal precision would have normal
57245 exponent.
57246 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57247 (__fmal): Do not extract and scale down low bits on after-rounding
57248 systems when result rounded to normal precision would have normal
57249 exponent.
57250 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57251 macro.
57252 (fma_test): Add more tests.
57253 (fma_test_towardzero): Likewise.
57254 (fma_test_downward): Likewise.
57255 (fma_test_upward): Likewise.
57256
57257 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
57258
57259 * sysdeps/i386/tininess.h: Renamed to ...
57260 * sysdeps/x86/tininess.h: This.
57261 * sysdeps/x86_64/tininess.h: Removed.
57262
57263 2012-10-30 Joseph Myers <joseph@codesourcery.com>
57264
57265 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57266 input. Use $(build-program-cmd).
57267 ($(objpfx)tst-array1-static.out): Likewise.
57268 ($(objpfx)tst-array2.out): Likewise.
57269 ($(objpfx)tst-array3.out): Likewise.
57270 ($(objpfx)tst-array4.out): Likewise.
57271 ($(objpfx)tst-array5.out): Likewise.
57272 ($(objpfx)tst-array5-static.out): Likewise.
57273
57274 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
57275
57276 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57277 if defined.
57278
57279 * nss/nsswitch.h (nss_interface_function): Provide new
57280 macro for use with NSS functions.
57281 * grp/initgroups.c: Use new macro.
57282 * nss/getXXbyYY.c: Likewise.
57283 * nss/getXXbyYY_r.c: Likewise.
57284 * nss/getXXent.c: Likewise.
57285 * nss/getXXent_r.c: Likewise.
57286 * sysdeps/posix/getaddrinfo.c: Likewise.
57287
57288 2012-10-30 Andreas Jaeger <aj@suse.de>
57289
57290 * po/ru.po: Update Russion translation from translation project.
57291
57292 2012-10-30 Joseph Myers <joseph@codesourcery.com>
57293
57294 [BZ #14152]
57295 [BZ #14783]
57296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57297 result and shift together with sticky bit instead of replicating
57298 round-to-nearest rounding.
57299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57301 * math/libm-test.inc (fma_test): Add more tests. Do not permit
57302 missing underflow exceptions.
57303 (fma_test_towardzero): Add more tests.
57304 (fma_test_downward): Likewise.
57305 (fma_test_upward): Likewise.
57306
57307 [BZ #14047]
57308 * sysdeps/generic/tininess.h: New file.
57309 * sysdeps/i386/tininess.h: Likewise.
57310 * sysdeps/sh/tininess.h: Likewise.
57311 * sysdeps/x86_64/tininess.h: Likewise.
57312 * stdlib/tst-strtod-underflow.c: Likewise.
57313 * stdlib/tst-tininess.c: Likewise.
57314 * stdlib/strtod_l.c: Include <tininess.h>.
57315 (round_and_return): Do not set errno for exact underflow cases.
57316 Force an underflow exception when setting errno for underflow.
57317 Determine underflow based on rounding to normal precision if
57318 TININESS_AFTER_ROUNDING.
57319 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57320 ERANGE for exact underflow cases.
57321 * stdlib/Makefile (tests): Add tst-tininess and
57322 tst-strtod-underflow.
57323 ($(objpfx)tst-tininess): Use $(link-libm).
57324 ($(objpfx)tst-strtod-underflow): Likewise.
57325
57326 2012-10-30 Andreas Jaeger <aj@suse.de>
57327
57328 [BZ#14767]
57329 * elf/Makefile (tests): Remove conditional for have-initfini-array
57330 since this is now always required and the variable does not exist
57331 anymore.
57332 (tests-static): Likewise.
57333 (modules-names): Likewise.
57334
57335 * po/eo.po: Add Esperanto translation from translation project.
57336
57337 * elf/tst-array1.c (fini_array): Make writeable so that it can be
57338 merged with constructor/destructor.
57339 (init_array): Likewise.
57340 * elf/tst-array2dep.c (fini_array): Likewise.
57341 (init_array): Likewise.
57342
57343 2012-10-29 Mike Frysinger <vapier@gentoo.org>
57344
57345 * manual/message.texi: Delete @cartouche tags.
57346
57347 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
57348
57349 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57350 EOPNOTSUPP.
57351 * sysdeps/mach/hurd/fsync.c: Likewise.
57352
57353 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57354 [_POSIX_REALTIME_SIGNALS]: Change condition to
57355 [_POSIX_REALTIME_SIGNALS > 0].
57356
57357 2012-10-27 Andreas Jaeger <aj@suse.de>
57358
57359 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57360 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57362 [__WORDSIZE != 64]: Likewise.
57363
57364 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
57365
57366 * iconvdata/tst-table.sh: Remove ${SHELL}.
57367 * iconvdata/tst-tables.sh: Likewise.
57368
57369 2012-10-25 David S. Miller <davem@davemloft.net>
57370
57371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57372 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57373 of strtoull.
57374
57375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57376 ifunc-impl-list.c
57377 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57378 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57379 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57380 file.
57381
57382 2012-10-25 Roland McGrath <roland@hack.frob.com>
57383
57384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57385 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57386 __getdirentries.
57387
57388 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57389 Jim Blandy <jimb@codesourcery.com>
57390
57391 * scripts/cross-test-ssh.sh: New file.
57392 * manual/install.texi (Configuring and compiling): Document use of
57393 cross-test-ssh.sh.
57394 * INSTALL: Regenerated.
57395
57396 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
57397
57398 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57399 EOPNOTSUPP.
57400
57401 2012-10-25 Joseph Myers <joseph@codesourcery.com>
57402
57403 * Makeconfig (run-program-prefix): Fix comment.
57404
57405 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57406 Jim Blandy <jimb@codesourcery.com>
57407
57408 * Makeconfig (test-wrapper): New variable,
57409 (test-wrapper-env): Likewise.
57410 [$(cross-compiling) = yes && $(test-wrapper) != ""]
57411 (run-built-tests): Define to yes.
57412 (run-program-prefix): Use $(test-wrapper).
57413 (built-program-cmd): Likewise.
57414 * Rules (make-test-out): Use $(test-wrapper-env) and
57415 $(host-built-program-cmd).
57416 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57417 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57418 tst-pathopt.sh.
57419 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57420 $(test-wrapper-env) to tst-rtld-load-self.sh.
57421 ($(objpfx)order2.out): Use $(test-wrapper).
57422 ($(objpfx)tst-initorder.out): Likewise.
57423 ($(objpfx)tst-initorder2.out): Likewise.
57424 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57425 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57426 (test_wrapper_env): New variable. Use it to run ld.so.
57427 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57428 Use it to run ld.so.
57429 (test_wrapper_env): Likewise.
57430 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57431 $(test-wrapper) to run-iconv-test.sh.
57432 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57433 (ICONV): Use $test_wrapper.
57434 * posix/Makefile ($(objpfx)globtest.out): Pass
57435 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57436 globtest.sh, not $(run-program-prefix).
57437 * posix/globtest.sh (run_via_rtld_prefix): New variable.
57438 (test_wrapper): Likewise.
57439 (test_wrapper_env): Likewise. Use it to run globtest with HOME
57440 set together with run_via_rtld_prefix.
57441 (run_program_prefix): Define in terms of test_wrapper and
57442 run_via_rtld_prefix.
57443
57444 2012-10-24 Roland McGrath <roland@hack.frob.com>
57445
57446 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
57447 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
57448 Targets removed.
57449
57450 [BZ #14743]
57451 * include/time.h: Remove librt_hidden_proto (clock_gettime).
57452 Declare __clock_getres, __clock_gettime, __clock_settime,
57453 __clock_nanosleep, and __clock_getcpuclockid.
57454 * rt/clock_gettime.c: Define __clock_gettime as an alias.
57455 Remove librt_hidden_def (clock_gettime).
57456 * sysdeps/unix/clock_gettime.c: Likewise.
57457 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
57458 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
57459 * rt/clock_getres.c: Define __clock_getres as an alias.
57460 * sysdeps/posix/clock_getres.c: Likewise.
57461 * rt/clock_settime.c: Define __clock_settime as an alias.
57462 * sysdeps/unix/clock_settime.c: Likewise.
57463 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
57464 * sysdeps/unix/clock_nanosleep.c: Likewise.
57465 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
57466 * rt/clock-compat.c: New file.
57467 * rt/Makefile (librt-routines): Add clock-compat and move
57468 $(clock-routines) to ...
57469 (routines): ... here, new variable.
57470 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
57471 Don't add get_clockfreq here.
57472 * rt/Versions (libc: GLIBC_2.17): New version set.
57473 Add clock_* symbols here.
57474 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
57475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
57476 (GLIBC_2.17): Add clock_* symbols.
57477 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57479 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57481 Likewise.
57482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57483 Likewise.
57484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57488 * NEWS: Mention the move.
57489
57490 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57491 Use __open, __read, __close rather than their public counterparts.
57492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57493 (__get_clockfreq_via_cpuinfo): Likewise.
57494 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
57495 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
57496
57497 * config.h.in (HAVE_IFUNC): New #undef.
57498 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
57499 was successful.
57500 * configure: Regenerated.
57501
57502 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57503
57504 * configure.in: Move READELF check to start of file.
57505 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
57506 libc_cv_asm_gnu_indirect_function in the process.
57507 * configure: Regenerated.
57508
57509 2012-10-24 Mike Frysinger <vapier@gentoo.org>
57510
57511 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
57512 send the output to /dev/null.
57513 (libc_cv_cc_with_libunwind): Likewise.
57514 (libc_cv_as_noexecstack): Likewise.
57515 * configure: Regenerate.
57516
57517 2012-10-24 Joseph Myers <joseph@codesourcery.com>
57518
57519 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
57520
57521 * posix/globtest.sh (TMPDIR): Do not set.
57522 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
57523 (testout): Likewise.
57524
57525 2012-10-24 Andreas Jaeger <aj@suse.de>
57526
57527 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
57528 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
57529 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
57530 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
57531 posix_fadvise64, posix_fallocate64.
57532
57533 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
57534 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
57535 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
57536 Likewise.
57537 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
57538 Likewise.
57539 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
57540
57541 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
57542 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
57543 <bits/fcntl-linux.h>.
57544 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
57545
57546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
57547 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
57548 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
57549 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
57550 [__WORDSIZE != 64]: Likewise.
57551
57552 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57553
57554 * Makeconfig (run-built-tests): New variable.
57555 * Rules [$(cross-compiling) = yes]: Change condition to
57556 [$(run-built-tests) = no].
57557 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
57558 to [$(run-built-tests) = yes].
57559 * elf/Makefile [$(cross-compiling) = no]: Likewise.
57560 * grp/Makefile [$(cross-compiling) = no]: Likewise.
57561 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
57562 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
57563 * intl/Makefile [$(cross-compiling) = no]: Likewise.
57564 * io/Makefile [$(cross-compiling) = no]: Likewise.
57565 * libio/Makefile [$(cross-compiling) = no]: Likewise.
57566 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
57567 * misc/Makefile [$(cross-compiling) = no]: Likewise.
57568 * posix/Makefile [$(cross-compiling) = no]: Likewise.
57569 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
57570 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
57571 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
57572 * string/Makefile [$(cross-compiling) = no]: Likewise.
57573
57574 * posix/Makefile ($(objpfx)globtest.out): Pass
57575 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
57576 $(rtld-installed-name).
57577 * posix/globtest.sh (elf_objpfx): Remove variable.
57578 (rtld_installed_name): Likewise.
57579 (library_path): Likewise.
57580 (run_program_prefix): New variable. Use for running globtest
57581 binary.
57582
57583 2012-10-23 Jim Blandy <jimb@codesourcery.com>
57584 Joseph Myers <joseph@codesourcery.com>
57585
57586 * Makeconfig (host-built-program-cmd): New variable.
57587 * elf/Makefile (tst-stackguard1-ARGS): Use
57588 $(host-built-program-cmd).
57589 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
57590 (tst-spawn-ARGS): Likewise.
57591 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
57592
57593 2012-10-23 Joseph Myers <joseph@codesourcery.com>
57594 Jim Blandy <jimb@codesourcery.com>
57595
57596 * Makeconfig (run-via-rtld-prefix): New variable.
57597 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
57598 (built-program-cmd): Likewise.
57599
57600 2012-10-22 Andreas Jaeger <aj@suse.de>
57601
57602 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
57603 __O_RSYNC if it exists, otherwise to O_SYNC.
57604
57605 2012-10-22 Jim Blandy <jimb@codesourcery.com>
57606 Joseph Myers <joseph@codesourcery.com>
57607
57608 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
57609 /dev/null.
57610 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
57611 from /dev/null
57612 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
57613 /dev/null.
57614
57615 2012-10-22 Andreas Jaeger <aj@suse.de>
57616
57617 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
57618 Define always.
57619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
57620
57621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57622 bits/fcntl-linux.h.
57623
57624 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
57625 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
57626
57627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
57628 to __O_LARGEFILE.
57629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
57630 to __O_LARGEFILE.
57631
57632 2012-10-21 Jim Blandy <jimb@codesourcery.com>
57633 Joseph Myers <joseph@codesourcery.com>
57634
57635 * config.make.in (NM): New variable.
57636
57637 2012-10-21 Andreas Jaeger <aj@suse.de>
57638
57639 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
57640 definitions and declarations that are provided by
57641 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57642
57643 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57644
57645 [BZ #14683]
57646 * elf/Makefile (tests-static): Add tst-leaks1-static.
57647 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
57648 ($(objpfx)tst-leaks1-static): New rule.
57649 ($(objpfx)tst-leaks1-static-mem): Likewise.
57650 (tst-leaks1-static-ENV): New macro.
57651 * elf/dl-open.c (dl_open_worker): Check the main application
57652 only if SHARED is defined.
57653 * elf/tst-leaks1-static.c: New file.
57654
57655 2012-10-20 Andreas Jaeger <aj@suse.de>
57656
57657 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
57658 generic values for Linux.
57659 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
57660 and declarations that are provided by <bits/fcntl-linux.h> and
57661 include <bits/fcntl-linux.h>.
57662 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57664
57665 2012-10-20 Roland McGrath <roland@hack.frob.com>
57666
57667 * io/fcntl.h: Move include of <bits/types.h> to the top and
57668 include it unconditionally.
57669
57670 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
57671
57672 * wcsmbs/Makefile (tests-ifunc): New variable.
57673 (tests): Add $(tests-ifunc).
57674 * wcsmbs/test-wcschr-ifunc.c: New file.
57675 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
57676 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
57677 * wcsmbs/test-wcslen-ifunc.c: Likewise.
57678 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
57679 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
57680
57681 * string/Makefile (tests-ifunc): New variable.
57682 (tests): Add $(tests-ifunc).
57683 * string/test-memccpy.c (TEST_NAME): New macro.
57684 * string/test-memchr.c (TEST_NAME): Likewise.
57685 * string/test-memcmp.c (TEST_NAME): Likewise.
57686 * string/test-memcpy.c (TEST_NAME): Likewise.
57687 * string/test-memmem.c (TEST_NAME): Likewise.
57688 * string/test-memmove.c (TEST_NAME): Likewise.
57689 * string/test-memset.c (TEST_NAME): Likewise.
57690 * string/test-rawmemchr.c (TEST_NAME): Likewise.
57691 * string/test-stpcpy.c (TEST_NAME): Likewise.
57692 * string/test-stpncpy.c (TEST_NAME): Likewise.
57693 * string/test-strcasecmp.c (TEST_NAME): Likewise.
57694 * string/test-strcasestr.c (TEST_NAME): Likewise.
57695 * string/test-strcat.c (TEST_NAME): Likewise.
57696 * string/test-strchr.c (TEST_NAME): Likewise.
57697 * string/test-strcmp.c(TEST_NAME): Likewise.
57698 * string/test-strcpy.c (TEST_NAME): Likewise.
57699 * string/test-strcspn.c (TEST_NAME): Likewise.
57700 * string/test-strlen.c (TEST_NAME): Likewise.
57701 * string/test-strncasecmp.c (TEST_NAME): Likewise.
57702 * string/test-strncmp.c (TEST_NAME): Likewise.
57703 * string/test-strncpy.c (TEST_NAME): Likewise.
57704 * string/test-strnlen.c (TEST_NAME): Likewise.
57705 * string/test-strpbrk.c (TEST_NAME): Likewise.
57706 * string/test-strrchr.c (TEST_NAME): Likewise.
57707 * string/test-strspn.c (TEST_NAME): Likewise.
57708 * string/test-strstr.c (TEST_NAME): Likewise.
57709 * string/test-bcopy-ifunc.c: New file.
57710 * string/test-bzero-ifunc.c: Likewise.
57711 * string/test-memccpy-ifunc.c: Likewise.
57712 * string/test-memchr-ifunc.c: Likewise.
57713 * string/test-memcmp-ifunc.c: Likewise.
57714 * string/test-memcpy-ifunc.c: Likewise.
57715 * string/test-memmem-ifunc.c: Likewise.
57716 * string/test-memmove-ifunc.c: Likewise.
57717 * string/test-mempcpy-ifunc.c: Likewise.
57718 * string/test-memset-ifunc.c: Likewise.
57719 * string/test-rawmemchr-ifunc.c: Likewise.
57720 * string/test-stpcpy-ifunc.c: Likewise.
57721 * string/test-stpncpy-ifunc.c: Likewise.
57722 * string/test-strcasecmp-ifunc.c: Likewise.
57723 * string/test-strcasestr-ifunc.c: Likewise.
57724 * string/test-strcat-ifunc.c: Likewise.
57725 * string/test-strchr-ifunc.c: Likewise.
57726 * string/test-strchrnul-ifunc.c: Likewise.
57727 * string/test-strcmp-ifunc.c: Likewise.
57728 * string/test-strcpy-ifunc.c: Likewise.
57729 * string/test-strcspn-ifunc.c: Likewise.
57730 * string/test-strlen-ifunc.c: Likewise.
57731 * string/test-strncasecmp-ifunc.c: Likewise.
57732 * string/test-strncat-ifunc.c: Likewise.
57733 * string/test-strncmp-ifunc.c: Likewise.
57734 * string/test-strncpy-ifunc.c: Likewise.
57735 * string/test-strnlen-ifunc.c: Likewise.
57736 * string/test-strpbrk-ifunc.c: Likewise.
57737 * string/test-strrchr-ifunc.c: Likewise.
57738 * string/test-strspn-ifunc.c: Likewise.
57739 * string/test-strstr-ifunc.c: Likewise.
57740
57741 * debug/Makefile (tests-ifunc): New variable.
57742 (tests): Add $(tests-ifunc).
57743 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
57744 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
57745 * debug/test-stpcpy_chk-ifunc.c: New file.
57746 * debug/test-strcpy_chk-ifunc.c: Likewise.
57747
57748 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57749
57750 [BZ #13601]
57751 * elf/dl-load.c (open_verify): Retry read if the entire ELF
57752 header is not read in.
57753
57754 2012-10-19 Joseph Myers <joseph@codesourcery.com>
57755
57756 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
57757 script to $(SHELL) as $<. Pass $(common-objpfx) to script
57758 directly. Pass built executable to script as
57759 $(built-program-cmd).
57760 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
57761 $testprogram without using LD_LIBRARY_PATH and $ldso.
57762
57763 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
57764 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
57765 $(rtld-installed-name).
57766 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
57767 (rtld_installed_name): Likewise.
57768 (library_path): Likewise.
57769 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
57770 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
57771 $(run-program-prefix) to tst-tables.sh.
57772 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
57773 it to run tst-table-from and tst-table-to.
57774 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
57775 Pass it to tst-table.sh.
57776 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
57777 $(run-program-prefix) to tst-gettext.sh.
57778 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
57779 tst-translit.sh.
57780 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
57781 tst-gettext2.sh.
57782 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
57783 to run tst-gettext.
57784 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
57785 to run tst-gettext2.
57786 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
57787 to run tst-translit.
57788 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
57789 $(run-program-prefix) to tst-mtrace.sh.
57790 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
57791 to run tst-mtrace.
57792 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
57793 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
57794 $(rtld-installed-name).
57795 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
57796 (rtld_installed_name): Likewise.
57797 (run_program_prefix): New variable. Use it to run wordexp-test.
57798
57799 * Makeconfig (ARCH): Remove all definitions.
57800 (machine): Likewise.
57801 [ARCH]: Remove conditional code.
57802 [!objdir]: Give error.
57803 [!objdir] (objpfx): Remove.
57804 [!objdir] (common-objpfx): Likewise.
57805 [!objdir] (common-objdir): Likewise.
57806 * configure.in (config_makefile): Remove. Hardcode Makefile in
57807 AC_CONFIG_FILES call.
57808 * configure: Regenerated.
57809
57810 [BZ #13888]
57811 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
57812 or TMPDIR.
57813 (testout): Likewise.
57814
57815 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
57816 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
57817 $(rtld-installed-name).
57818 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
57819 (rtld_installed_name): Likwise.
57820 (runit): Remove function.
57821 (run_getconf): New variable, Use it for running getconf binary.
57822
57823 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
57824
57825 [BZ #14716]
57826 * string/test-memmem.c (check_result): New function.
57827 (do_one_test): Use it.
57828 (check1): New function.
57829 (test_main): Use it.
57830
57831 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
57832
57833 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
57834
57835 2012-10-18 Joseph Myers <joseph@codesourcery.com>
57836
57837 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
57838 (_G_LSEEK64): Likewise.
57839 (_G_MMAP64): Likewise.
57840 (_G_FSTAT64): Likewise.
57841 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
57842 (_G_LSEEK64): Likewise.
57843 (_G_MMAP64): Likewise.
57844 (_G_FSTAT64): Likewise.
57845 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
57846 unconditional. Call __mmap64 directly.
57847 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
57848 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
57849 __lseek64 directly.
57850 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
57851 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
57852 __mmap64 directly.
57853 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
57854 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
57855 __lseek64 directly.
57856 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
57857 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
57858 __lseek64 directly.
57859 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
57860 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
57861 __lseek64 directly.
57862 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
57863 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
57864 __fxstat64 directly.
57865 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
57866 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
57867 unconditional.
57868 (freopen64) [!_G_OPEN64]: Remove conditional code.
57869 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
57870 unconditional.
57871 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
57872 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
57873 unconditional.
57874 (ftello64) [!_G_LSEEK64]: Remove conditional code.
57875 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
57876 unconditional.
57877 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57878 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
57879 unconditional.
57880 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
57881 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
57882 unconditional.
57883 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57884 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
57885 unconditional.
57886 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
57887 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
57888 unconditional.
57889 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
57890
57891 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
57892
57893 [BZ #12140]
57894 * manual/memory.texi (Malloc Tunable Parameters): Add note
57895 about free list pointers overwriting some perturb bytes.
57896 Wording suggested by Roland McGrath.
57897
57898 2012-10-17 Joseph Myers <joseph@codesourcery.com>
57899
57900 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
57901 (lgamma_test): Likewise.
57902 (tgamma_test): Likewise.
57903
57904 2012-10-16 Florian Weimer <fweimer@redhat.com>
57905
57906 [BZ #14700]
57907 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
57908 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
57909
57910 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
57911
57912 * NEWS: Mention BZ #14716.
57913 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
57914 when removing AVAILABLE1_USES_J macro.
57915
57916 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
57917
57918 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
57919 (__bswap_64): __uint64_t for unsigned 64-bit int.
57920
57921 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
57922
57923 * include/string.h (memmem): Declare libc hidden alias.
57924 * string/memmem.c (memmem): Define libc hidden alias.
57925 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
57926 __read, __close instead of open, read, close.
57927
57928 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
57929
57930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
57931 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
57932 global and hidden.
57933 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
57934 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
57935 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
57936 Likewise.
57937 (__rawmemchr_sse2): Likewise.
57938 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
57939 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
57940 (__strchr_sse2): Likewise.
57941 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
57942 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
57943 (__strcasecmp_sse2): Likewise.
57944 (__strncasecmp_sse2): Likewise.
57945 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
57946 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
57947 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
57948 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
57949 (__strrchr_sse2): Likewise.
57950 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
57951 ifunc-impl-list.c.
57952 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
57953 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
57954 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
57955 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57956 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
57957 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
57958 * sysdeps/x86_64/multiarch/memset.S: Likewise.
57959 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
57960 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
57961 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
57962 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
57963 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
57964 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
57965 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
57966 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
57967 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57968 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
57969 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
57970 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
57971 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
57972 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
57973 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
57974 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
57975 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
57976 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
57977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57978 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
57979 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57980 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
57981 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
57982
57983 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
57984 global and hidden.
57985 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
57986 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
57987 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
57988 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
57989 Likewise.
57990 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
57991 Likewise.
57992 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
57993 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
57994 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
57995 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
57996 ifunc-impl-list.c.
57997 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57998 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57999 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58000 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58001 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58002 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58003 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58004 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58005 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58006 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58007 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58008 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58009 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58010 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58011 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58012 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58013 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58014 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58015 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58016 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58017 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58018 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58019 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58020 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58021 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58022 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58023 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58024 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58025 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58026 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58027 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58028 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58029 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58030 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58031 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58032 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58033 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58034 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58035 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58036 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58037 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58038
58039 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58040 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58041 * include/ifunc-impl-list.h: New file.
58042 * misc/ifunc-impl-list.c: Likewise.
58043 * misc/Makefile (routines): Add ifunc-impl-list.
58044 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58045 * string/test-string.h: Include <ifunc-impl-list.h>.
58046 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58047 TEST_NAME]: New variables.
58048 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58049 are defined.
58050 (test_init): Call __libc_ifunc_impl_list to initialize
58051 func_list if TEST_IFUNC and TEST_NAME are defined.
58052
58053 * string/Makefile (strop-tests): Add bcopy and bzero.
58054 * string/test-bcopy.c: New file.
58055 * string/test-bzero.c: Likewise.
58056 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58057 defined.
58058 * string/test-memset.c: Support bzero test if TEST_BZERO is
58059 defined.
58060 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58061 __libc_memmove.
58062 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58063 __libc_memset.
58064 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58065 of memset.
58066
58067 2012-10-10 Joseph Myers <joseph@codesourcery.com>
58068
58069 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58070 * configure: Regenerated.
58071
58072 * Makeconfig (+link-static-before-libc): Don't include
58073 $(link-static-libc).
58074
58075 * libio/libio.h (_IO_pos_t): Remove.
58076
58077 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58078
58079 * NEWS: Add note about FIPS mode. Wording suggested by Roland
58080 McGrath.
58081
58082 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58083
58084 * crypt/crypt-entry.c: Include fips-private.h.
58085 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58086 * crypt/md5c-test.c (main): Tolerate disabled MD5.
58087 * sysdeps/unix/sysv/linux/fips-private.h: New file.
58088 * sysdeps/generic/fips-private.h: New file, dummy fallback.
58089
58090 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
58091
58092 * crypt/crypt-private.h: Include stdbool.h.
58093 (_ufc_setup_salt_r): Return bool.
58094 * crypt/crypt-entry.c: Include errno.h.
58095 (__crypt_r): Return NULL with EINVAL for bad salt.
58096 * crypt/crypt_util.c (bad_for_salt): New.
58097 (_ufc_setup_salt_r): Check that salt is long enough and within
58098 the specified alphabet.
58099 * crypt/badsalttest.c: New file.
58100 * crypt/Makefile (tests): Add it.
58101 ($(objpfx)badsalttest): New.
58102
58103 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
58104
58105 * NEWS: Add entry for BZ #14602.
58106
58107 2012-10-09 Joseph Myers <joseph@codesourcery.com>
58108
58109 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58110 type-generic.
58111 * math/libm-test.inc: Update comment listing what functions and
58112 macros are tested.
58113 (isgreater_test): New function.
58114 (isgreaterequal_test): Likewise.
58115 (isless_test): Likewise.
58116 (islessequal_test): Likewise.
58117 (islessgreater_test): Likewise.
58118 (isunordered_test): Likewise.
58119 (main): Call the new functions.
58120
58121 2012-10-09 Roland McGrath <roland@hack.frob.com>
58122
58123 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58124 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58125 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58126 * sysdeps/i386/configure: Regenerated.
58127 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58128 * sysdeps/mach/configure: Regenerated.
58129 * sysdeps/mach/hurd/configure: Regenerated.
58130 * sysdeps/powerpc/configure: Regenerated.
58131 * sysdeps/powerpc/powerpc32/configure: Regenerated.
58132 * sysdeps/powerpc/powerpc64/configure: Regenerated.
58133 * sysdeps/s390/s390-32/configure: Regenerated.
58134 * sysdeps/s390/s390-64/configure: Regenerated.
58135 * sysdeps/sh/configure: Regenerated.
58136 * sysdeps/sparc/configure: Regenerated.
58137 * sysdeps/unix/sysv/linux/configure: Regenerated.
58138 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58139 * sysdeps/x86_64/configure: Regenerated.
58140
58141 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58142 defined. Don't check if MAP is NULL.
58143
58144 2012-10-09 Joseph Myers <joseph@codesourcery.com>
58145
58146 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58147 (_G_stat64): Likewise.
58148 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58149 (_G_stat64): Likewise.
58150 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58151 instead of struct _G_stat64.
58152 * libio/fileops.c (mmap_remap_check): Likewise.
58153 (decide_maybe_mmap): Likewise.
58154 (_IO_new_file_seekoff): Likewise.
58155 (_IO_file_stat): Likewise.
58156 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58157 _G_off64_t.
58158 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58159 instead of struct _G_stat64.
58160 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58161
58162 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
58163
58164 [BZ #14602]
58165 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58166 Replace with ...
58167 (CHECK_EOL): New macro.
58168 (two_way_short_needle): Check beginning of haystack for EOL. Use
58169 CHECK_EOL.
58170 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58171 Replace with CHECK_EOL.
58172 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58173 Replace with CHECK_EOL.
58174
58175 2012-10-08 Joseph Myers <joseph@codesourcery.com>
58176
58177 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58178 type-generic.
58179 * math/libm-test.inc: Update comment listing what functions and
58180 macros are tested.
58181 (finite_test): New function.
58182 (isinf_test): Likewise.
58183 (isnan_test): Likewise.
58184 (fpclassify_test): Test subnormal input.
58185 (isfinite_test): Likewise.
58186 (isnormal_test): Likewise.
58187 (main): Call the new functions.
58188
58189 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
58190
58191 [BZ #14660]
58192 * Makerules (%.dynsym): Force C locale when running
58193 $(OBJDUMP) --dynamic-syms.
58194
58195 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
58196
58197 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58198 <stdint.h>.
58199
58200 2012-10-06 David S. Miller <davem@davemloft.net>
58201
58202 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58203 upper 32-bits of the length value in %o2 since we use branch-on-register
58204 tests which consider the entire 64-bit register.
58205
58206 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
58207
58208 * string/test-strstr.c (check2): Add a test for page boundary.
58209
58210 2012-10-05 David S. Miller <davem@davemloft.net>
58211
58212 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58213 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58214 file.
58215 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58216 sysdep_routines.
58217 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58218 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58219 and bzero when HWCAP_SPARC_CRYPTO is present.
58220
58221 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
58222
58223 [BZ #14602]
58224 * string/test-strstr.c (check2): New function.
58225 (test_main): Call check2.
58226
58227 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58228 and bug-strchr1.
58229 * string/bug-strcasestr1.c (do_test): Moved to ...
58230 * string/test-strcasestr.c (check1): Here. New function.
58231 (do_one_test): Break out result checking code into ...
58232 (check_result): This. New function.
58233 (do_one_test): Call check_result.
58234 (test_main): Call check1.
58235 * string/bug-strchr1.c (do_test): Moved to ...
58236 * string/test-strchr.c (check1): Here. New function.
58237 (do_one_test): Break out result checking code into ...
58238 (check_result): This. New function.
58239 (do_one_test): Call check_result.
58240 (test_main): Call check1.
58241 * string/bug-strstr1.c (main): Moved to ...
58242 * string/test-strstr.c (check1): Here. New function.
58243 (do_one_test): Break out result checking code into ...
58244 (check_result): This. New function.
58245 (do_one_test): Call check_result.
58246 (test_main): Call check1.
58247 * string/bug-strcasestr1.c: Removed.
58248 * string/bug-strchr1.c: Likewise.
58249 * string/bug-strstr1.c: Likewise.
58250
58251 * elf/Makefile (dl-routines): Add hwcaps.
58252 * elf/dl-support.c (_dl_important_hwcaps): Removed.
58253 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58254 (_dl_important_hwcaps): Moved to ...
58255 * elf/dl-hwcaps.c: Here. New file.
58256 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58257
58258 [BZ #14557]
58259 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58260 if IS_IN_rtld isn't defined.
58261
58262 * elf/dl-support.c (_dl_sysinfo_map): New.
58263 Include "get-dynamic-info.h" and "setup-vdso.h".
58264 (_dl_non_dynamic_init): Call setup_vdso.
58265 * elf/dynamic-link.h: Don't include <assert.h>.
58266 (elf_get_dynamic_info): Moved to ...
58267 * elf/get-dynamic-info.h: Here. New file.
58268 * elf/dynamic-link.h: Include "get-dynamic-info.h".
58269 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58270 * elf/setup-vdso.h: Here. New file.
58271 * elf/rtld.c: Include "setup-vdso.h".
58272 (dl_main): Call setup_vdso.
58273
58274 2012-10-05 Joseph Myers <joseph@codesourcery.com>
58275
58276 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58277 creal in comment listing functions tested. List finite, isinf,
58278 isnan, isless, islessequal, isgreater, isgreaterequal,
58279 islessgreater, isunordered, lgamma_r and pow10 as functions and
58280 macros not tested. Mention which functions not tested are aliases
58281 for other functions. Fix typo. Note that signs of NaNs are not
58282 tested.
58283
58284 * scripts/config.guess: Update from config.git.
58285 * scripts/config.sub: Likewise.
58286
58287 2012-10-04 Roland McGrath <roland@hack.frob.com>
58288
58289 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58290 * misc/madvise.c (madvise): Renamed to __madvise.
58291 Make madvise a weak alias.
58292 * include/sys/mman.h: Declare __madvise.
58293 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58294 * sysdeps/unix/syscalls.list
58295 (madvise): Make __madvise the strong name, and madvise a weak alias.
58296 * sysdeps/unix/sysv/linux/syscalls.list
58297 (madvise, mmap): Remove redundant entries.
58298 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58299 * malloc/malloc.c (mtrim): Likewise.
58300 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58301
58302 2012-10-03 Roland McGrath <roland@hack.frob.com>
58303
58304 * sysdeps/mach/hurd/dl-cache.c: File removed.
58305 * config.h.in (USE_LDCONFIG): New #undef.
58306 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58307 * configure: Regenerated.
58308 * elf/Makefile (dl-routines): Add dl-cache only under
58309 [$(use-ldconfig) = yes].
58310 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58311 cache on [USE_LDCONFIG].
58312 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58313 [USE_LDCONFIG].
58314 * elf/rtld.c (dl_main): Likewise.
58315
58316 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
58317
58318 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58319 _SC_LEVEL4_CACHE_LINESIZE.
58320
58321 2012-10-03 Roland McGrath <roland@hack.frob.com>
58322
58323 * sysdeps/unix/bsd/confstr.h: File removed.
58324
58325 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
58326
58327 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58328 sys/sdt-config.h.
58329
58330 2012-10-02 Roland McGrath <roland@hack.frob.com>
58331
58332 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58333 Make 'mapoff' field ElfW(Off) rather than off_t.
58334
58335 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
58336
58337 * nscd/Makefile: Remove nscd-cflags and all its users.
58338 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58339 (CFLAGS-nonlib): Add compiler flags for nscd modules.
58340
58341 [BZ #10631]
58342 * malloc.c (malloc_printerr): Clarify error message.
58343
58344 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
58345
58346 [BZ #14648]
58347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58348 Set bit_FMA_Usable if FMA is supported.
58349 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58350 macro.
58351 (bit_FMA4_Usable): Updated.
58352 (index_FMA_Usable): New macro.
58353 (CPUID_FMA): Likewise.
58354 (HAS_FMA): Defined with bit_FMA_Usable.
58355
58356 2012-10-01 Roland McGrath <roland@hack.frob.com>
58357
58358 * bits/types.h (__swblk_t): Type removed.
58359 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58360 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58361 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58362 (__SWBLK_T_TYPE): Likewise.
58363 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58364 (__SWBLK_T_TYPE): Likewise.
58365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58366 (__SWBLK_T_TYPE): Likewise.
58367 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58368 (__SWBLK_T_TYPE): Likewise.
58369
58370 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
58371 Honza Horak <hhorak@redhat.com>
58372
58373 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58374 (xdr_mapname): Use YPMAXMAP as maxsize.
58375 (xdr_peername): Use YPMAXPEER as maxsize.
58376 (xdr_keydat): Use YPAXRECORD as maxsize.
58377 (xdr_valdat): Use YPMAXRECORD as maxsize.
58378
58379 2012-10-01 Roland McGrath <roland@hack.frob.com>
58380
58381 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58382
58383 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58384 * csu/init-first.c: ... here.
58385 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58386 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58387 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58388 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58389 * sysdeps/i386/init-first.c: File removed.
58390 * sysdeps/sh/init-first.c: File removed.
58391
58392 2012-10-01 Joseph Myers <joseph@codesourcery.com>
58393
58394 [BZ #14645]
58395 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58396 if x * y might underflow to zero and z is zero.
58397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58398 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58399 * math/libm-test.inc (min_subnorm_value): New variable.
58400 (fma_test): Add more tests.
58401 (fma_test_towardzero): Likewise.
58402 (fma_test_downward): Likewise.
58403 (fma_test_upward): Likewise.
58404 (initialize): Set min_subnorm_value.
58405
58406 2012-09-29 Joseph Myers <joseph@codesourcery.com>
58407
58408 [BZ #14638]
58409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58410 0 + 0.
58411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58412 mode for addition resulting in exact zero.
58413 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58415 exact 0 + 0.
58416 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58418 * math/libm-test.inc (fma_test): Add more tests.
58419 (fma_test_towardzero): New function.
58420 (fma_test_downward): Likewise.
58421 (fma_test_upward): Likewise.
58422 (main): Call the new functions.
58423
58424 2012-09-28 David S. Miller <davem@davemloft.net>
58425
58426 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58427
58428 2012-09-28 Roland McGrath <roland@hack.frob.com>
58429
58430 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58431 instead of SIGALRM.
58432
58433 * sysdeps/gnu/_G_config.h: Moved to ...
58434 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58435 * sysdeps/mach/hurd/_G_config.h: Moved to ...
58436 * sysdeps/generic/_G_config.h: ... here.
58437
58438 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
58439
58440 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58441
58442 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58443 Conditionalize target on [libnss_test1.so-version].
58444
58445 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
58446
58447 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
58448 (elfobjdir): Move out of conditionals.
58449
58450 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
58451 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
58452 (__nss_lookup_function): Conditionalize label remove_from_tree on
58453 [!DO_STATIC_NSS || SHARED], matching its only use.
58454
58455 2012-09-28 David S. Miller <davem@davemloft.net>
58456
58457 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
58458 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
58459 file.
58460 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58461 sysdep_routines.
58462 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
58464 when HWCAP_SPARC_CRYPTO is present.
58465
58466 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58467
58468 * io/tst-mknodat.c: Create a FIFO instead of a socket.
58469
58470 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
58471
58472 [BZ #6530]
58473 * stdio-common/vfprintf.c (process_string_arg): Revert
58474 2000-07-22 change.
58475
58476 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
58477
58478 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
58479 for testcase.
58480 * stdio-common/tst-sprintf.c: Include <locale.h>
58481 (main): Test sprintf's handling of incomplete multibyte
58482 characters.
58483
58484 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
58485
58486 * elf/dl-runtime.c (VERSYMIDX): Removed.
58487 * elf/dl-version.c (VERSYMIDX): Likewise.
58488 * elf/do-rel.h (VERSYMIDX): Likewise.
58489 (VALIDX): Likewise.
58490 * elf/dynamic-link.h (VERSYMIDX): Likewise.
58491 * elf/rtld.c (VALIDX): Likewise.
58492 (ADDRIDX): Likewise.
58493 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
58494 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
58495 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
58496 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
58497 (VALIDX): Likewise.
58498 (ADDRIDX): Likewise.
58499
58500 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58501
58502 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
58503
58504 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
58505
58506 [BZ #11438]
58507 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
58508 to global scope.
58509 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
58510 addresses are in the same scope as 192.0.2/24.
58511 * posix/gai.conf: Document new scope table defaults.
58512
58513 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58514
58515 [BZ #5298]
58516 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
58517 for ftell. Compute offsets from write pointers instead.
58518 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58519
58520 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58521
58522 [BZ #14543]
58523 * libio/Makefile (tests): New test case tst-fseek.
58524 * libio/tst-fseek.c: New test case to verify that fseek/ftell
58525 combination works in wide mode.
58526 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
58527 state when the external buffer state changes.
58528
58529 2012-09-27 David S. Miller <davem@davemloft.net>
58530
58531 [BZ #14376]
58532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
58533 pass reloc->r_addend in as the 'high' argument to
58534 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
58535
58536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58537
58538 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
58539
58540 * rt/tst-aio2.c: Include <pthread.h>.
58541 * rt/tst-aio3.c: Likewise.
58542
58543 2012-09-27 Steve Ellcey <sellcey@mips.com>
58544
58545 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
58546
58547 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
58548
58549 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
58550 contents on [SHARED].
58551
58552 2012-09-26 Marek Polacek <polacek@redhat.com>
58553
58554 [BZ #14530]
58555 [BZ #13741]
58556 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
58557 for C++ and GCC <4.3 as well as for non GCC compilers.
58558
58559 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58560
58561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58562
58563 2012-09-25 Roland McGrath <roland@hack.frob.com>
58564
58565 * Makefile.in (all, install): Declare with .PHONY.
58566 Reported by Michael Hope <michael.hope@linaro.org>.
58567
58568 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58569
58570 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
58571 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
58572 system header.
58573 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
58574 Likewise.
58575 (sydep_routines): Add the new and the internal functions.
58576 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
58577 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
58578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
58579 (GLIBC_2.17): Add the new function.
58580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58581 (GLIBC_2.17): Likewise.
58582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
58583 (GLIBC_2.17): Likewise.
58584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
58585 (GLIBC_2.17): Likewise.
58586 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
58587
58588 2012-09-25 Alan Modra <amodra@gmail.com>
58589
58590 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
58591 Add release barrier before setting once_control to say
58592 initialisation is done. Add hints on lwarx. Use macro in
58593 place of isync.
58594 (clear_once_control): Add release barrier.
58595
58596 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58597
58598 [BZ #13629]
58599 * math/s_clog.c (__clog): Handle more values close to |z| = 1
58600 specially.
58601 * math/s_clog10.c (__clog10): Likewise.
58602 * math/s_clog10f.c (__clog10f): Likewise.
58603 * math/s_clog10l.c (__clog10l): Likewise.
58604 * math/s_clogf.c (__clogf): Likewise.
58605 * math/s_clogl.c (__clogl): Likewise.
58606 * math/Makefile (libm-calls): Add x2y2m1.
58607 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
58608 (__x2y2m1): Likewise.
58609 (__x2y2m1l): Likewise.
58610 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
58611 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
58612 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
58613 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
58614 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
58615 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
58616 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
58617 * sysdeps/i386/fpu/libm-test-ulps: Update.
58618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58619
58620 [BZ #14621]
58621 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
58622 int as type of variable DEPTH.
58623 (glob): Use size_t instead of int as type of variables NEWCOUNT
58624 and OLD_PATHC.
58625
58626 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58627
58628 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
58629 Add s_sincosf-sse2.
58630 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
58631 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
58632 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
58633 macros for using routine as __sincosf_ia32.
58634 Use macro for function declaration and weak_alias.
58635 * sysdeps/i386/fpu/libm-test-ulps: Update.
58636
58637 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
58638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58639
58640 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
58641 subnormal argument.
58642 * math/s_cexpf.c (__cexpf): Likewise.
58643 * math/s_csinf.c (__csinf): Likewise.
58644 * math/s_csinhf.c (__csinhf): Likewise.
58645 * math/s_ctanf.c (__ctanf): Likewise.
58646 * math/s_ctanhf.c (__ctanhf): Likewise.
58647 * math/s_ccosh.c (__ccoshf): Likewise.
58648 * math/s_cexp.c (__cexpl): Likewise.
58649 * math/s_csin.c (__csin): Likewise.
58650 * math/s_csinh.c (__csinh): Likewise.
58651 * math/s_ctan.c (__ctan): Likewise.
58652 * math/s_ctanh.c (ctanh): Likewise.
58653 * math/s_ccoshl.c (__ccoshl): Likewise.
58654 * math/s_cexpl.c (__cexpl): Likewise.
58655 * math/s_csinl.c (__csinl): Likewise.
58656 * math/s_csinhl.c (__csinhl): Likewise.
58657 * math/s_ctanl.c (__ctanl): Likewise.
58658 * math/s_ctanhl.c (__ctanhl): Likewise.
58659
58660 2012-09-25 Joseph Myers <joseph@codesourcery.com>
58661
58662 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
58663 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
58664 (_IO_off_t): Define to __off_t, not _G_off_t.
58665 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
58666 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
58667 (_IO_wint_t): Define to wint_t, not _G_wint_t.
58668 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
58669 type of __dummy and __dummy2 fields.
58670 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
58671 (_G_ssize_t): Likewise.
58672 (_G_off_t): Likewise.
58673 (_G_pid_t): Likewise.
58674 (_G_uid_t): Likewise.
58675 (_G_wchar_t): Likewise.
58676 (_G_wint_t): Likewise.
58677 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
58678 (_G_ssize_t): Likewise.
58679 (_G_off_t): Likewise.
58680 (_G_pid_t): Likewise.
58681 (_G_uid_t): Likewise.
58682 (_G_wchar_t): Likewise.
58683 (_G_wint_t): Likewise.
58684 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
58685 (_G_ssize_t): Likewise.
58686 (_G_off_t): Likewise.
58687 (_G_pid_t): Likewise.
58688 (_G_uid_t): Likewise.
58689 (_G_wchar_t): Likewise.
58690 (_G_wint_t): Likewise.
58691
58692 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58693
58694 * malloc/arena.c: Include malloc-sysdep.h.
58695 (shrink_heap): Use check_may_shrink_heap to decide if madvise
58696 is sufficient to shrink the heap or an unmap is needed.
58697 * sysdeps/generic/malloc-sysdep.h: New file. Define
58698 new function check_may_shrink_heap.
58699 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
58700 new function check_may_shrink_heap.
58701
58702 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58703
58704 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
58705 comments.
58706
58707 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
58708
58709 * catgets/test-gencat.sh: Add "set -e".
58710 * elf/tst-pathopt.sh: Likewise.
58711 * grp/tst_fgetgrent.sh: Likewise.
58712 * iconvdata/run-iconv-test.sh: Likewise.
58713 * intl/tst-gettext.sh: Likewise.
58714 * intl/tst-gettext2.sh: Likewise.
58715 * intl/tst-gettext4.sh: Likewise.
58716 * intl/tst-gettext6.sh: Likewise.
58717 * intl/tst-translit.sh: Likewise.
58718 * io/ftwtest-sh: Likewise.
58719 * libio/test-freopen.sh: Likewise.
58720 * malloc/tst-mtrace.sh: Likewise.
58721 * posix/globtest.sh: Likewise.
58722 * posix/tst-getconf.sh: Likewise.
58723 * posix/wordexp-tst.sh: Likewise.
58724 * stdio-common/tst-printf.sh: Likewise.
58725 * stdio-common/tst-unbputc.sh: Likewise.
58726 * stdlib/tst-fmtmsg.sh: Likewise.
58727 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58728 * catgets/Makefile: Do not specify -e option when running
58729 testsuite shell scripts.
58730 * elf/Makefile: Likewise.
58731 * grp/Makefile: Likewise.
58732 * iconvdata/Makefile: Likewise.
58733 * intl/Makefile: Likewise.
58734 * io/Makefile: Likewise.
58735 * libio/Makefile: Likewise.
58736 * malloc/Makefile: Likewise.
58737 * posix/Makefile: Likewise.
58738 * stdio-common/Makefile: Likewise.
58739 * stdlib/Makefile: Likewise.
58740 * sysdeps/x86_64/Makefile: Likewise.
58741
58742 * io/ftwtest-sh: Add copyright header.
58743 * posix/globtest.sh: Likewise.
58744 * posix/tst-getconf.sh: Likewise.
58745 * posix/wordexp-tst.sh: Likewise.
58746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
58747
58748 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
58749
58750 [BZ #13679]
58751 * Makeconfig (+link): Defined as $(+link-static) if
58752 $(build-shared) isn't yes.
58753 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
58754 isn't yes.
58755 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
58756
58757 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
58758
58759 [BZ #14562]
58760 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
58761 new chunk size with MALLOC_ALIGN_MASK.
58762
58763 2012-09-24 Joseph Myers <joseph@codesourcery.com>
58764
58765 [BZ #5044]
58766 * stdio-common/printf_fphex.c: Include <stdbool.h> and
58767 <rounding-mode.h>.
58768 (__printf_fphex): Determine rounding using get_rounding_mode and
58769 round_away.
58770 * stdio-common/tst-printf-round.c (struct hex_test): New
58771 structure.
58772 (hex_tests): New variable.
58773 (test_hex_in_one_mode): New function.
58774 (do_test): Also run tests for hex float output.
58775
58776 2012-09-21 Joseph Myers <joseph@codesourcery.com>
58777
58778 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58779 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58780 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
58781 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
58782 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
58783 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
58784 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58785 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
58786
58787 2012-09-20 Joseph Myers <joseph@codesourcery.com>
58788
58789 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
58790 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
58791 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
58792 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
58793
58794 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
58795
58796 [BZ #14579]
58797 * elf/rtld.c (dl_main): Limit the check for self loading to normal
58798 mode only.
58799 * elf/tst-rtld-load-self.sh: New test.
58800 * elf/Makefile: Run it.
58801
58802 2012-09-18 Joseph Myers <joseph@codesourcery.com>
58803
58804 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
58805 (tst-writev-ENV): Remove.
58806 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
58807
58808 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
58809
58810 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
58811
58812 2012-09-17 Joseph Myers <joseph@codesourcery.com>
58813
58814 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
58815 unconditional.
58816 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
58817 Likewise.
58818 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
58819 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
58820 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
58821 Likewise.
58822
58823 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
58824
58825 [BZ #14587]
58826 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
58827 * config.make.in (have-cpp-asm-debuginfo): Removed.
58828 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
58829 * configure: Regenerated.
58830
58831 2012-09-14 Joseph Myers <joseph@codesourcery.com>
58832
58833 [BZ #5044]
58834 * stdio-common/printf_fp.c: Include <stdbool.h> and
58835 <rounding-mode.h>.
58836 (___printf_fp): Determine rounding using get_rounding_mode and
58837 round_away.
58838 * stdio-common/tst-printf-round.c: New file.
58839 * stdio-common/Makefile (tests): Add tst-printf-round.
58840 (link-libm): New variable.
58841 ($(objpfx)tst-printf-round): Depend in $(link-libm).
58842
58843 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
58844
58845 [BZ #14576]
58846 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
58847 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
58848 Likewise.
58849 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
58850 Likewise.
58851
58852 2012-09-13 Joseph Myers <joseph@codesourcery.com>
58853
58854 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
58855 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58856 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58857 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
58858
58859 2012-09-12 Joseph Myers <joseph@codesourcery.com>
58860
58861 [BZ #14518]
58862 * include/rounding-mode.h: New file.
58863 * sysdeps/generic/get-rounding-mode.h: Likewise.
58864 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
58865 * stdlib/strtod_l.c: Include <rounding-mode.h>.
58866 (MAX_VALUE): New macro.
58867 (MIN_VALUE): Likewise.
58868 (overflow_value): New function.
58869 (underflow_value): Likewise.
58870 (round_and_return): Use overflow_value and underflow_value to
58871 determine return values in overflow and underflow cases. Use
58872 round_away to determine rounding depending on rounding mode.
58873 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
58874 determine return values in overflow and underflow cases.
58875 * stdlib/tst-strtod-round.c: Include <fenv.h>.
58876 (struct test_results): New structure.
58877 (struct test): Use struct test_results to store expected results
58878 for all rounding modes.
58879 (TEST): Include expected results for all rounding modes.
58880 (test_in_one_mode): New function.
58881 (do_test): Use test_in_one_mode to compute and check results.
58882 Check results for all rounding modes.
58883 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
58884 $(link-libm).
58885
58886 2012-12-09 Allan McRae <allan@archlinux.org>
58887
58888 * sysdeps/i386/fpu/libm-test-ulps: Update
58889
58890 2012-09-11 Joseph Myers <joseph@codesourcery.com>
58891
58892 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
58893 (_G_int32_t): Likewise.
58894 (_G_uint16_t): Likewise.
58895 (_G_uint32_t): Likewise.
58896 (_G_HAVE_BOOL): Likewise.
58897 (_G_HAVE_ATEXIT): Likewise.
58898 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58899 (_G_HAVE_IO_FILE_OPEN): Likewise.
58900 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
58901 (_G_int32_t): Likewise.
58902 (_G_uint16_t): Likewise.
58903 (_G_uint32_t): Likewise.
58904 (_G_HAVE_BOOL): Likewise.
58905 (_G_HAVE_ATEXIT): Likewise.
58906 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58907 (_G_HAVE_IO_FILE_OPEN): Likewise.
58908 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
58909 (_G_int32_t): Likewise.
58910 (_G_uint16_t): Likewise.
58911 (_G_uint32_t): Likewise.
58912 (_G_HAVE_BOOL): Likewise.
58913 (_G_HAVE_ATEXIT): Likewise.
58914 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
58915 (_G_HAVE_IO_FILE_OPEN): Likewise.
58916
58917 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
58918
58919 * csu/libc-tls.c: Update copyright years.
58920
58921 2012-09-10 Joseph Myers <joseph@codesourcery.com>
58922
58923 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
58924 [!_G_USING_THUNKS]: Remove conditional code.
58925 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
58926 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
58927
58928 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
58929 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
58930 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58931 (_G_VTABLE_LABEL_PREFIX): Likewise.
58932 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58933 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58934 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58935 (_G_VTABLE_LABEL_PREFIX): Likewise.
58936 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58937 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
58938 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
58939 (_G_VTABLE_LABEL_PREFIX): Likewise.
58940 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
58941
58942 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
58943
58944 * libio/Makefile: Include ../Makeconfig before tests.
58945 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
58946 only if $(build-shared) is yes.
58947
58948 * iconv/gconv_db.c: Update copyright years.
58949
58950 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58951
58952 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
58953 unwind info if defined PIC. Fix special cases description.
58954 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
58955
58956 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
58957 DP_HI_MASK entry.
58958 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
58959
58960 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
58961
58962 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
58963
58964 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
58965 is NULL.
58966
58967 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
58968 (LDLIBS-tst-chk4): This.
58969 (LDFLAGS-tst-chk5): Renamed to ...
58970 (LDLIBS-tst-chk5): This.
58971 (LDFLAGS-tst-chk6): Renamed to ...
58972 (LDLIBS-tst-chk6): This.
58973 (LDFLAGS-tst-lfschk4): Renamed to ...
58974 (LDLIBS-tst-lfschk4): This.
58975 (LDFLAGS-tst-lfschk5): Renamed to ...
58976 (LDLIBS-tst-lfschk5): This.
58977 (LDFLAGS-tst-lfschk6): Renamed to ...
58978 (LDLIBS-tst-lfschk6): This.
58979
58980 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
58981 on $(common-objpfx)soversions.mk.
58982
58983 2012-09-07 Joseph Myers <joseph@codesourcery.com>
58984
58985 [BZ #10014]
58986 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
58987 example host name.
58988
58989 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58990
58991 * malloc/arena.c (arena_get_retry): New function that gets
58992 another arena for the caller to try its request on.
58993 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
58994 current arena cannot fulfill the request.
58995 (__libc_memalign): Likewise.
58996 (__libc_memalign): Likewise.
58997 (__libc_pvalloc): Likewise.
58998 (__libc_calloc): Likewise.
58999
59000 2012-09-05 John Tobey <john.tobey@gmail.com>
59001
59002 [BZ #13542]
59003 * manual/arith.texi (Operations on Complex): Fix description
59004 of carg branch cut.
59005
59006 2012-09-06 Joseph Myers <joseph@codesourcery.com>
59007
59008 [BZ #10014]
59009 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59010 host name.
59011
59012 [BZ #10038]
59013 * manual/memory.texi (Memory): Make order of menu items match
59014 order of sections.
59015
59016 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59017
59018 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59019 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
59020 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59021
59022 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59023
59024 * csu/libc-tls.c (static_dtv): Renamed to ...
59025 (_dl_static_dtv): This. Make it global.
59026 (_dl_initial_dtv): Removed.
59027 (__libc_setup_tls): Updated.
59028 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59029 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59030 DL_INITIAL_DTV.
59031
59032 2012-09-06 Petr Machata <pmachata@redhat.com>
59033
59034 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59035 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59036 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59037 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59038
59039 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59040
59041 [BZ #14545]
59042 * csu/libc-tls.c (_dl_initial_dtv): New variable.
59043 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59044 freeing dtv[-1].
59045
59046 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
59047
59048 [BZ #14544]
59049 * Makeconfig (link-static-before-libc): Replace $(+prector)
59050 with $(+prectorT).
59051 (link-static-after-libc): Replace $(+postctor) with
59052 $(+postctorT).
59053 (link-bounded): Replace $(+prector)/$(+postctor) with
59054 $(+prectorT)/$(+postctorT).
59055 (+prectorT): New macro.
59056 (+postctorT): Likewise.
59057
59058 2012-09-06 Joseph Myers <joseph@codesourcery.com>
59059
59060 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59061 (round_str): Handle values above the maximum for IBM long double
59062 as inexact.
59063 * stdlib/tst-strtod-round.c (tests): Regenerated.
59064
59065 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59066
59067 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59068 assembler flag.
59069 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59070 zarch_nohighgprs around the zarch optimized routines.
59071 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59072 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59073 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59074 for zarch.
59075
59076 2012-09-05 David S. Miller <davem@davemloft.net>
59077
59078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59079
59080 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59081 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59082 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59083 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59084 entries.
59085
59086 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59087
59088 * malloc/arena.c: Fold copyright years.
59089 * malloc/mcheck.c, malloc/memusage.c: Likewise.
59090
59091 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59092
59093 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59094
59095 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59096
59097 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
59098
59099 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59100
59101 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59102 change internal state upon failure.
59103
59104 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
59105
59106 * malloc/mcheck.c (mcheck_check_all): Fix typo.
59107 * malloc/memusage.c (mmap): Likewise.
59108 (mmap64, mremap): Likewise. Adjust name in comment.
59109
59110 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59111
59112 * libio/fileops.c: Fix typos in comments.
59113 * libio/oldfileops.c: Likewise.
59114 * libio/wfileops.c: Likewise.
59115
59116 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
59117
59118 [BZ #1349]
59119 * malloc/Makefile (tests): Add tst-malloc-usable test case.
59120 (tst-malloc-usable-ENV): Set environment for test case.
59121 * malloc/hooks.c (malloc_check_get_size): New function to get
59122 requested size.
59123 * malloc/malloc.c (musable): Use malloc_check_get_size.
59124 * malloc/tst-malloc-usable.c: New test case.
59125
59126 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59127
59128 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59129
59130 2012-09-05 Allan McRae <allan@archlinux.org>
59131
59132 [BZ #13966]
59133 * configure.in (CXX_SYSINCLUDES): Use compiler output to
59134 determine header location.
59135 * configure: Regenerated.
59136
59137 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
59138
59139 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59140 float format.
59141 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59142 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59143 format.
59144 (test): Regenerate.
59145
59146 2012-09-04 David S. Miller <davem@davemloft.net>
59147
59148 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59149 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59150 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59151
59152 2012-09-04 Florian Weimer <fweimer@redhat.com>
59153
59154 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59155 failures.
59156
59157 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59158
59159 2012-09-04 Joseph Myers <joseph@codesourcery.com>
59160
59161 [BZ #9914]
59162 * libio/iogetdelim.c: Include <limits.h>.
59163 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59164 + len + 1 would overflow.
59165
59166 2012-09-03 Andreas Jaeger <aj@suse.de>
59167
59168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59169 * sysdeps/i386/fpu/libm-test-ulps: Update.
59170
59171 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59172
59173 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59174 Add s_sinf-sse2, s_conf-sse2.
59175
59176 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59177 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59178 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59179 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59180
59181 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59182 for using routine as __sinf_ia32.
59183 Use macro for function declaration and weak_alias.
59184 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59185 for using routine as __cosf_ia32.
59186 Use macro for function declaration and weak_alias.
59187
59188 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59189 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59190
59191 * sysdeps/x86_64/fpu/s_sinf.S: New file.
59192 * sysdeps/x86_64/fpu/s_cosf.S: New file.
59193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59194
59195 * math/libm-test.inc (cos_test): Add more test cases.
59196 (sin_test): Likewise.
59197 (sincos_test): Likewise.
59198
59199 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59200
59201 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59202 (IFUNC_RESOLVE): Make pointers to the specialized implementations
59203 hidden.
59204 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59205
59206 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
59207
59208 [BZ #14538]
59209 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59210 first element of the GOT.
59211 (elf_machine_load_address): Return the difference between
59212 the runtime address of _DYNAMIC and elf_machine_dynamic ().
59213
59214 2012-09-01 Allan McRae <allan@archlinux.org>
59215
59216 [BZ #13412]
59217 * configure.in (AWK): Require gawk version 3.0 or later.
59218 * configure: Regenerated.
59219
59220 2012-09-01 Joseph Myers <joseph@codesourcery.com>
59221
59222 * sysdeps/unix/sysv/linux/kernel-features.h
59223 (__ASSUME_POSIX_CPU_TIMERS): Remove.
59224 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59225 [__NR_clock_getres]: Make code unconditional.
59226 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59227 (clock_getcpuclockid): Remove code left unreachable by removal of
59228 conditionals.
59229 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59230 code unconditional.
59231 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59233 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59234 Make code unconditional.
59235 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59237 * sysdeps/unix/sysv/linux/clock_settime.c
59238 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59239 conditional code.
59240 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59241 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59242
59243 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
59244
59245 [BZ #14476]
59246 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59247 scripts/test-installation.pl.
59248
59249 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59250 and $ld_so_version if it is set.
59251
59252 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
59253
59254 [BZ #14516]
59255 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59256 failure if reading from procfs failed.
59257 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59258
59259 2012-08-27 Joseph Myers <joseph@codesourcery.com>
59260
59261 * sysdeps/unix/sysv/linux/kernel-features.h
59262 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59263 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59264 Remove conditional code.
59265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59266 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59267 Remove conditional code.
59268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59269 * sysdeps/unix/sysv/linux/i386/fxstat.c
59270 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59272 * sysdeps/unix/sysv/linux/i386/fxstatat.c
59273 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59275 * sysdeps/unix/sysv/linux/i386/lxstat.c
59276 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59277 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59278 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59279 Remove conditional code.
59280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59281 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59282 Remove conditional code.
59283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59284 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59285 <kernel-features.h>.
59286 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59287 Remove.
59288 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59289 Remove conditional code.
59290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59291 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59292 Remove conditional.
59293
59294 2012-08-27 Mike Frysinger <vapier@gentoo.org>
59295
59296 [BZ #5400]
59297 * NEWS: Add fixed bug number.
59298
59299 2012-08-27 Joseph Myers <joseph@codesourcery.com>
59300
59301 [BZ #14519]
59302 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59303 underflowing exponent in case of negative sign.
59304 * stdlib/tst-strtod-round-data: Add more tests.
59305 * stdlib/tst-strtod-round.c (tests): Regenerated.
59306
59307 [BZ #3479]
59308 * stdlib/strtod_l.c (NDIG): Remove.
59309 (HEXNDIG): Likewise.
59310 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59311 smallest representable value.
59312 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59313 lie within an exact representation of 1/2 ulp of the result.
59314 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59315 unconditionally.
59316 (TENS_P9_IDX): Define unconditionally.
59317 (TENS_P9_SIZE): Likewise.
59318 (TENS_P10_IDX): Likewise.
59319 (TENS_P10_SIZE): Likewise.
59320 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59321 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59322 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59323 entries for 10^2^13 and 10^2^14.
59324 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59325 (TENS_P13_IDX): Define.
59326 (TENS_P13_SIZE): Likewise.
59327 (TENS_P14_IDX): Likewise.
59328 (TENS_P14_SIZE): Likewise.
59329 (_fpioconst_pow10): Change array size to
59330 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
59331 unconditional.
59332 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59333 1024]: Add entries for 10^2^13 and 10^2^14.
59334 [LAST_POW10 > _LAST_POW10]: Remove #error.
59335 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59336 (_fpioconst_pow10): Change array size to
59337 FPIOCONST_POW10_ARRAY_SIZE.
59338 * stdlib/gen-fpioconst.c: New file.
59339 * stdlib/gen-tst-strtod-round.c: Likewise.
59340 * stdlib/tst-strtod-round-data: Likewise.
59341 * stdlib/tst-strtod-round.c: Likewise.
59342 * stdlib/Makefile (tests): Add tst-strtod-round.
59343
59344 [BZ #14459]
59345 * stdlib/strtod_l.c: Include <stdint.h>.
59346 (NDEBUG): Do not define.
59347 (round_and_return): Change EXPONENT parameter to type intmax_t.
59348 Rearrange calculations to avoid internal overflow possibilities.
59349 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59350 Rearrange calculations to avoid internal overflow possibilities.
59351 Assert that number fits inside MPNSIZE limbs.
59352 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59353 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
59354 calculations and add assertions to avoid internal overflow
59355 possibilities. Add casts to avoid signed/unsigned operations.
59356 * stdlib/tst-strtod-overflow.c: New file.
59357 * stdlib/Makefile (tests): Add tst-strtod-overflow.
59358
59359 2012-08-25 Marek Polacek <polacek@redhat.com>
59360
59361 * time/time.h: Fix some typos in comments.
59362
59363 2012-08-23 Roland McGrath <roland@hack.frob.com>
59364
59365 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59366 * posix/tst-rfc3484-2.c: Likewise.
59367 * posix/tst-rfc3484-3.c: Likewise.
59368
59369 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
59370
59371 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59372 (EF_ARM_ABI_FLOAT_HARD): Likewise.
59373
59374 2012-08-23 Joseph Myers <joseph@codesourcery.com>
59375
59376 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59377 #include of fxstatat64.c.
59378
59379 2012-08-22 Roland McGrath <roland@hack.frob.com>
59380
59381 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59382 * shadow/getspent_r.c: Likewise.
59383 * shadow/getspnam.c: Likewise.
59384 * shadow/getspnam_r.c: Likewise.
59385 * gshadow/getsgent.c: Likewise.
59386 * gshadow/getsgent_r.c: Likewise.
59387 * gshadow/getsgnam.c: Likewise.
59388 * gshadow/getsgnam_r.c: Likewise.
59389 * inet/getnetbyad.c: Likewise.
59390 * inet/getnetbyad_r.c: Likewise.
59391 * inet/getnetbynm.c: Likewise.
59392 * inet/getnetbynm_r.c: Likewise.
59393 * inet/getnetent.c: Likewise.
59394 * inet/getnetent_r.c: Likewise.
59395 * inet/getproto.c: Likewise.
59396 * inet/getproto_r.c: Likewise.
59397 * inet/getprtent.c: Likewise.
59398 * inet/getprtent_r.c: Likewise.
59399 * inet/getprtname.c: Likewise.
59400 * inet/getprtname_r.c: Likewise.
59401 * inet/getrpcbyname.c: Likewise.
59402 * inet/getrpcbyname_r.c: Likewise.
59403 * inet/getrpcbynumber.c: Likewise.
59404 * inet/getrpcbynumber_r.c: Likewise.
59405 * inet/getrpcent.c: Likewise.
59406 * inet/getrpcent_r.c: Likewise.
59407 * inet/getaliasent.c: Likewise.
59408 * inet/getaliasent_r.c: Likewise.
59409 * inet/getaliasname.c: Likewise.
59410 * inet/getaliasname_r.c: Likewise.
59411 * nscd/getgrgid_r.c: Likewise.
59412 * nscd/getgrnam_r.c: Likewise.
59413 * nscd/gethstbyad_r.c: Likewise.
59414 * nscd/gethstbynm3_r.c: Likewise.
59415 * nscd/getpwnam_r.c: Likewise.
59416 * nscd/getpwuid_r.c: Likewise.
59417 * nscd/getsrvbynm_r.c: Likewise.
59418 * nscd/getsrvbypt_r.c: Likewise.
59419 * nscd/gai.c: Likewise.
59420
59421 * configure.in (build_nscd): New substituted variable, set
59422 by --disable-build-nscd and defaults to $use_nscd.
59423 * configure: Regenerated.
59424 * config.make.in (build-nscd): New substituted variable.
59425 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59426 Change conditional to require [$(build-nscd) = yes] as well.
59427 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59428
59429 [BZ# 13696]
59430 * configure.in (use_nscd): New substituted variable, set by
59431 --disable-nscd. If enabled, define USE_NSCD.
59432 * configure: Regenerated.
59433 * config.h.in: Add USE_NSCD.
59434 * config.make.in (use-nscd): New substituted variable.
59435 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59436 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59437 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59438 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59439 (CFLAGS-getgrnam_r.c): Likewise.
59440 (CFLAGS-initgroups.c): Likewise.
59441 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59442 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59443 Variables removed.
59444 * inet/getnetgrent_r.c
59445 (nscd_setnetgrent): New function, broken out of ...
59446 (setnetgrent): ... here. Call it.
59447 (innetgr): Conditionalize nscd bits on [USE_NSCD].
59448 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
59449 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
59450 * nscd/Makefile (routines, aux): Move definitions after include of
59451 Makeconfig. Conditionalize on [$(use-nscd) != no].
59452 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
59453 Conditionalize on [USE_NSCD].
59454 (is_nscd, nscd_init_cb): Likewise.
59455 (nss_load_library): Conditionalize init callback on [USE_NSCD].
59456 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
59457 * nss/nss_db/db-init.c: Likewise.
59458 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
59459 [USE_NSCD].
59460 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
59461 (make_request): Use it.
59462 (cache_valid_p): New function.
59463 (__check_pf): Use it.
59464 * NEWS: Add item for --disable-nscd.
59465
59466 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
59467
59468 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
59469 to support sed >= 4.2.1-20-ga9bf076.
59470 * configure: Regenerated.
59471
59472 2012-08-22 Roland McGrath <roland@hack.frob.com>
59473
59474 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
59475 Conditionalize whole body on [IREL].
59476
59477 2012-08-22 Jeff Law <law@redhat.com>
59478
59479 [BZ #14505]
59480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
59481 if the family is PF_UNSPEC.
59482
59483 2012-08-22 Mike Frysinger <vapier@gentoo.org>
59484
59485 * Makerules (lib-version): Rename from V.
59486 (install-lib-nosubdir): Change V to lib-version.
59487
59488 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
59489
59490 [BZ #14252]
59491 * powerpc32/power6/wcschr.c: New file.
59492 * powerpc32/power6/wcscpy.c: New file.
59493 * powerpc32/power6/wcsrchr.c: New file.
59494 * powerpc64/power6/wcschr.c: New file.
59495 * powerpc64/power6/wcscpy.c: New file.
59496 * powerpc64/power6/wcsrchr.c: New file.
59497
59498 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59499
59500 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
59501 (two_way_short_needle): Use it.
59502 * string/strstr.c (AVAILABLE1_USES_J): Define.
59503 * string/strcasestr.c: Likewise.
59504
59505 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
59506 array references.
59507 * string/strcasestr.c (TOLOWER): Make side-effect safe.
59508
59509 [BZ #11607]
59510 * NEWS: Add an entry.
59511 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
59512 define their defaults.
59513 (two_way_short_needle): Detect end-of-string on-the-fly.
59514 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
59515 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
59516 * string/bug-strcasestr1.c: New test.
59517 * string/Makefile: Run it.
59518
59519 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
59520
59521 [BZ #11607]
59522 * string/str-two-way.h (two_way_short_needle): Optimize matching of
59523 the first character.
59524
59525 2012-08-21 Roland McGrath <roland@hack.frob.com>
59526
59527 * csu/elf-init.c (__libc_csu_irel): Function removed.
59528 * csu/libc-start.c (apply_irel): New function.
59529 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
59530
59531 2012-08-21 Joseph Myers <joseph@codesourcery.com>
59532
59533 * sysdeps/unix/sysv/linux/kernel-features.h
59534 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
59535 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59536 <kernel-features.h>.
59537 [__NR_fadvise64_64]: Make code unconditional.
59538 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
59539 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59540 !__NR_fadvise64_64)]: Likewise.
59541 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
59542 !__NR_fadvise64_64))]: Likewise.
59543 [__NR_fadvise64]: Make code unconditional.
59544 [!__NR_fadvise64]: Remove conditional code.
59545 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
59546 <kernel-features.h>.
59547 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59548 unconditional.
59549 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59550 conditional code.
59551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
59552 not include <kernel-features.h>.
59553 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59554 unconditional.
59555 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59556 conditional code.
59557 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
59558 include <kernel-features.h>.
59559 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
59560 unconditional.
59561 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
59562 conditional code.
59563
59564 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
59565
59566 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
59567 slight instruction rearrangements per scrollpipe analysis.
59568 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59569
59570 2012-08-20 Roland McGrath <roland@hack.frob.com>
59571
59572 * manual/syslog.texi (syslog; vsyslog, closelog):
59573 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
59574 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
59575
59576 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
59577 DSOCAPS to match condition on defining it.
59578
59579 2012-08-20 Joseph Myers <joseph@codesourcery.com>
59580
59581 * sysdeps/unix/sysv/linux/kernel-features.h
59582 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
59583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
59584 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59585 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
59587 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59588 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
59590 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
59591 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
59592
59593 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
59594 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
59595
59596 * sysdeps/unix/sysv/linux/kernel-features.h
59597 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
59598 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
59599 unconditional.
59600 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59601 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
59602 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59603 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59604 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
59605 Make code unconditional.
59606 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59607 (__mmap64) [!__NR_mmap2]: Likewise.
59608 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
59609 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
59610 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59611 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
59612 [__NR_mmap2]: Make code unconditional.
59613 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
59614 (__mmap64) [!__NR_mmap2]: Likewise.
59615
59616 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59617
59618 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
59619
59620 2012-08-18 Andreas Jaeger <aj@suse.de>
59621
59622 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
59623
59624 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59625
59626 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
59627 * include/unistd.h (__have_sock_cloexec): Likewise.
59628 (__have_pipe2): Likewise.
59629 (__have_dup3): Likewise.
59630
59631 2012-08-18 Mike Frysinger <vapier@gentoo.org>
59632
59633 [BZ #9685]
59634 * include/unistd.h (__have_pipe2): Change define into an extern int.
59635 (__have_dup3): Likewise.
59636 * socket/have_sock_cloexec.c: Include fcntl.h.
59637 (__have_pipe2): New variable.
59638 (__have_dup3): Likewise.
59639
59640 2012-08-17 Mike Frysinger <vapier@gentoo.org>
59641
59642 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
59643
59644 2012-08-17 Marek Polacek <polacek@redhat.com>
59645
59646 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
59647 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
59648
59649 2012-08-17 Roland McGrath <roland@hack.frob.com>
59650
59651 * configure.in: Add AC_SUBST for sysheaders.
59652 * configure: Regenerated.
59653 * config.make.in (sysheaders): New substituted variable.
59654
59655 * sysdeps/unix/mkfifo.c: Moved ...
59656 * sysdeps/posix/mkfifo.c: ... here.
59657 * sysdeps/unix/mkfifoat.c: Moved ...
59658 * sysdeps/posix/mkfifoat.c: ... here.
59659
59660 * sysdeps/unix/utime.c: Moved ...
59661 * sysdeps/posix/utime.c: ... here.
59662
59663 * sysdeps/unix/time.c: Moved ...
59664 * sysdeps/posix/time.c: ... here.
59665 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
59666 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
59667
59668 * sysdeps/unix/nice.c: Moved ...
59669 * sysdeps/posix/nice.c: ... here.
59670
59671 * sysdeps/unix/alarm.c: Moved ...
59672 * sysdeps/posix/alarm.c: ... here.
59673
59674 * intl/Makefile ($(codeset_mo)): Depend on the input file.
59675
59676 2012-08-17 Jeff Law <law@redhat.com>
59677
59678 * intl/Makefile (codeset_mo): New variable.
59679 ($(codeset_mo)): New target.
59680 (tst-codeset.out): Depend on that. Remove explicit rule.
59681 (tst-gettext3.out, tst-gettext5.out): Likewise.
59682 (LOCPATH-ENV, tst-codeset-ENV): New variables.
59683 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
59684 * intl/tst-codeset.sh: Remove.
59685 * intl/tst-gettext3.sh: Likewise.
59686 * intl/tst-gettext5.sh: Likewise.
59687
59688 2012-08-17 Roland McGrath <roland@hack.frob.com>
59689
59690 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
59691 * sysdeps/unix/syscalls.list: ... here.
59692
59693 * sysdeps/posix/getaddrinfo.c
59694 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
59695 (gaiconf_init, gaiconf_reload): Use them.
59696 [!_STATBUF_ST_NSEC]
59697 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
59698 Define using time_t rather than struct timespec.
59699
59700 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
59701 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
59702 Macros removed.
59703 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
59704 [!NO_THREADS].
59705 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
59706 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
59707 Likewise.
59708
59709 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
59710 __libc_cleanup_push argument.
59711
59712 * bits/param.h: New file.
59713 * misc/sys/param.h: New file.
59714 * include/sys/param.h: New file.
59715 * misc/Makefile (headers): Add bits/param.h.
59716 * sysdeps/generic/sys/param.h: File removed.
59717 * sysdeps/unix/sysv/linux/bits/param.h: New file.
59718 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
59719 * sysdeps/mach/hurd/bits/param.h: New file.
59720 * sysdeps/mach/hurd/sys/param.h: File removed.
59721
59722 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
59723 last change.
59724
59725 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
59726 [_IO_MTSAFE_IO].
59727 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
59728 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
59729 New macros.
59730
59731 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
59732 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
59733 rather than -D_IO_MTSAFE_IO conditionally.
59734 * stdio-common/Makefile (CPPFLAGS): Likewise.
59735 * wcsmbs/Makefile (CPPFLAGS): Likewise.
59736 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
59737 Use $(libio-mtsafe).
59738 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
59739 of -D_IO_MTSAFE_IO.
59740 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
59741 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
59742 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
59743 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
59744 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
59745 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
59746 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
59747 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
59748 (CFLAGS-fread_u_chk.c): Likewise.
59749 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
59750 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
59751 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
59752 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
59753 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
59754 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
59755 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
59756 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
59757 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
59758
59759 * libio/Makefile: Test [$(libc-reentrant) = yes]
59760 instead of [$(filter %REENTRANT, $(defines)) nonempty].
59761
59762 * Makeconfig
59763 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
59764 * sysdeps/pthread/configure: File removed.
59765 * sysdeps/pthread/Makeconfig: New file.
59766 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
59767 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
59768
59769 2012-08-16 Gary Benson <gbenson@redhat.com>
59770
59771 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
59772 unmapping the first object in a namespace.
59773
59774 2012-08-16 Roland McGrath <roland@hack.frob.com>
59775
59776 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
59777 (__internal_setnetgrent): ... this. Add internal_function to
59778 definition. Add libc_hidden_def.
59779 (setnetgrent): Update caller.
59780 (internal_endnetgrent): Renamed to ...
59781 (__internal_endnetgrent): ... this. Add internal_function to
59782 definition. Add libc_hidden_def.
59783 (endnetgrent): Update caller.
59784 (internal_getnetgrent_r): Renamed to ...
59785 (__internal_getnetgrent_r): ... this. Add internal_function to
59786 definition. Add libc_hidden_def.
59787 (__getnetgrent_r): Update caller.
59788 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
59789
59790 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59791
59792 * stdlib/longlong.h: Update from GCC.
59793
59794 2012-08-16 Roland McGrath <roland@hack.frob.com>
59795
59796 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
59797 on _QL, which is set by umul_ppmm but never used.
59798 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
59799 variables, which are set by GMP macros but never used.
59800 * stdio-common/_itowa.c (_itowa): Likewise.
59801 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
59802 * stdlib/mod_1.c (mpn_mod_1): Likewise.
59803
59804 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
59805
59806 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
59807 struct La_sh_regs is not constant.
59808 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
59809 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
59810 and struct La_sparc64_regs are not constant.
59811
59812 2012-08-16 Joseph Myers <joseph@codesourcery.com>
59813
59814 * sysdeps/unix/sysv/linux/kernel-features.h
59815 (__ASSUME_POSIX_TIMERS): Remove.
59816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59818 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
59819 Make code unconditional.
59820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59821 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
59822 Make code unconditional.
59823 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59824 * sysdeps/unix/sysv/linux/clock_nanosleep.c
59825 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
59826 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59827 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
59828 Make code unconditional.
59829 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
59830 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
59831 (__libc_missing_posix_timers): Remove.
59832
59833 2012-08-15 Roland McGrath <roland@hack.frob.com>
59834
59835 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
59836 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
59837
59838 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
59839
59840 * elf/dl-sym.c: Include <stdlib.h>.
59841
59842 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
59843 constants, which avoids warnings in 32-bit builds.
59844
59845 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
59846 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
59847
59848 * misc/lseek.c: File moved to ...
59849 * io/lseek.c: ... here.
59850
59851 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
59852
59853 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
59854 shifting LEN more than 31 bits at once.
59855
59856 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59857
59858 [BZ #14195]
59859 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
59860 segmentation fault for a case of two empty input strings.
59861 * string/test-strncasecmp.c (check1): Renamed to...
59862 (bz12205): ...this.
59863 (bz14195): Add new testcase for two empty input strings and N > 0.
59864 (test_main): Call new testcase, adapt for renamed function.
59865
59866 2012-08-15 Andreas Jaeger <aj@suse.de>
59867
59868 [BZ #14090]
59869 * crypt/md5test2.c: New test, based on test supplied by Serge
59870 Belyshev <belyshev@depni.sinp.msu.ru>.
59871 * crypt/Makefile (xtests): Add md5test-giant..
59872 * crypt/Makefile ($(objpfx)md5test-giant): Add.
59873
59874 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
59875
59876 [BZ #14090]
59877 * crypt/md5.c (md5_process_block): Don't assume the buffer
59878 length is less than 2**32.
59879 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
59880 length is less than 2**64.
59881
59882 2012-08-15 Roland McGrath <roland@hack.frob.com>
59883
59884 * string/str-two-way.h: Include <sys/param.h>.
59885 (MAX): Macro removed.
59886
59887 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
59888 Move #define and #undef of memmove to just before and after
59889 including <string.h>.
59890
59891 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
59892 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
59893 and after including <string.h>. Move declarations of
59894 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
59895 to before #include "string/memmove.c".
59896
59897 * include/dirent.h: Declare __getdirentries.
59898
59899 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
59900 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
59901
59902 2012-08-14 Mike Frysinger <vapier@gentoo.org>
59903
59904 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
59905 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
59906 * sysdeps/i386/configure: Regenerated.
59907 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
59908 STABS_CURRENT_FILE, and STABS_FUN.
59909 (END): Remove call to STABS_FUN_END.
59910 (STABS_CURRENT_FILE1): Delete.
59911 (STABS_CURRENT_FILE): Likewise.
59912 (STABS_FUN): Likewise.
59913 (STABS_FUN_END): Likewise.
59914 (STABS_FUN2): Likewise.
59915 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
59916 * sysdeps/x86_64/configure: Regenerated.
59917
59918 2012-08-14 Roland McGrath <roland@hack.frob.com>
59919
59920 * elf/dl-open.c: Include <atomic.h>.
59921 * elf/dl-lookup.c: Likewise.
59922
59923 2012-08-14 Joseph Myers <joseph@codesourcery.com>
59924
59925 * sysdeps/unix/sysv/linux/kernel-features.h
59926 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
59927 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
59928 unconditionally.
59929 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
59930 unconditionally.
59931 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
59932 condition on __ASSUME_CLONE_THREAD_FLAGS.
59933
59934 2012-08-14 Andreas Jaeger <aj@suse.de>
59935
59936 * sysdeps/i386/fpu/libm-test-ulps: Update.
59937
59938 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
59939
59940 * include/atomic.h (atomic_exchange_and_add): Split into ...
59941 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
59942 New atomic macros.
59943
59944 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
59945
59946 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59947
59948 2012-08-13 Jeff Law <law@redhat.com>
59949
59950 * manual/stdio.texi (snprintf): Clarify handling of the trailing
59951 null byte in the output string.
59952
59953 2012-08-10 Joseph Myers <joseph@codesourcery.com>
59954
59955 * sysdeps/unix/sysv/linux/kernel-features.h
59956 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
59957 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
59958 (__ASSUME_ARG_MAX_STACK_BASED): Define.
59959 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
59960 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
59961 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
59962 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
59963
59964 2012-08-09 Jeff Law <law@redhat.com>
59965
59966 [BZ #13939]
59967 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
59968 When avoid_arena is set, don't retry in the that arena. Pick the
59969 next one, whatever it might be.
59970 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
59971 (arena_lock): Pass in new parameter to arena_get2.
59972 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
59973 arena_get2.
59974 (__libc_malloc): Unify retrying after main arena failure with
59975 __libc_memalign version.
59976 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
59977
59978 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
59979
59980 [BZ #14166]
59981 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
59982 to __redirect_strstr.
59983 (__strstr_sse42): Use typeof __redirect_strstr.
59984 (__strstr_ia32): Likewise.
59985 (__libc_strstr): New prototype.
59986 (strstr): Renamed to ...
59987 (__libc_strstr): This.
59988 (strstr): New strong alias of __libc_strstr.
59989 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59990 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
59991 __redirect_time.
59992 Include <time.h>.
59993 (__libc_time): New prototype.
59994 (time_ifunc): Replace time with __libc_time.
59995 (time): New strong alias and hidden definition of __libc_time.
59996 (__GI_time): Remove strong alias.
59997 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
59998 Include <stddef.h>.
59999 (memmove): Redefined to __redirect_memmove.
60000 (__memmove_sse2): Use typeof __redirect_memmove.
60001 (__memmove_ssse3): Likewise.
60002 (__memmove_ssse3_back): Likewise.
60003 (__libc_memmove): New prototype.
60004 (memmove): Renamed to ...
60005 (__libc_memmove): This.
60006 (memmove): New strong alias of __libc_memmove.
60007
60008 2012-08-08 Mark Salter <msalter@redhat.com>
60009
60010 * elf/elf.h
60011 (R_MN10300_TLS_GD): Define.
60012 (R_MN10300_TLS_LD): Likewise.
60013 (R_MN10300_TLS_LDO): Likewise.
60014 (R_MN10300_TLS_GOTIE): Likewise.
60015 (R_MN10300_TLS_IE): Likewise.
60016 (R_MN10300_TLS_LE): Likewise.
60017 (R_MN10300_TLS_DTPMOD): Likewise.
60018 (R_MN10300_TLS_DTPOFF): Likewise.
60019 (R_MN10300_TLS_TPOFF): Likewise.
60020 (R_MN10300_SYM_DIFF): Likewise.
60021 (R_MN10300_ALIGN): Likewise.
60022 (R_MN10300_NUM): Update.
60023
60024 2012-08-08 Joseph Myers <joseph@codesourcery.com>
60025
60026 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60027 Remove.
60028
60029 2012-08-08 Roland McGrath <roland@hack.frob.com>
60030
60031 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60032
60033 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60034 sysdeps/unix -> sysdeps/posix move.
60035 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60036
60037 2012-08-07 Allan McRae <allan@archlinux.org>
60038
60039 [BZ #14303]
60040 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60041 (SUNOS_CPP): Likewise.
60042 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60043 not found.
60044 (open_input): Call CPP using execvp.
60045
60046 2012-08-07 Joseph Myers <joseph@codesourcery.com>
60047
60048 * sysdeps/unix/sysv/linux/kernel-features.h
60049 (__ASSUME_PROT_GROWSUPDOWN): Remove.
60050 (__ASSUME_NO_CLONE_DETACHED): Likewise.
60051 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60052 (__ASSUME_WAITID_SYSCALL): Likewise.
60053 * sysdeps/unix/sysv/linux/dl-execstack.c
60054 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60055 code unconditional.
60056 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60057 conditional code.
60058 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60059 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60060 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60061 code.
60062 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60063 unconditional.
60064 [__ASSUME_WAITID_SYSCALL]: Likewise.
60065 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60066
60067 2012-08-07 Roland McGrath <roland@hack.frob.com>
60068
60069 * sysdeps/unix/closedir.c: Renamed to ...
60070 * sysdeps/posix/closedir.c: ... here.
60071 * sysdeps/unix/dirfd.c: Renamed to ...
60072 * sysdeps/posix/dirfd.c: ... here.
60073 * sysdeps/unix/dirstream.h: Renamed to ...
60074 * sysdeps/posix/dirstream.h: ... here.
60075 * sysdeps/unix/fdopendir.c: Renamed to ...
60076 * sysdeps/posix/fdopendir.c: ... here.
60077 * sysdeps/unix/opendir.c: Renamed to ...
60078 * sysdeps/posix/opendir.c: ... here.
60079 * sysdeps/unix/readdir.c: Renamed to ...
60080 * sysdeps/posix/readdir.c: ... here.
60081 * sysdeps/unix/readdir_r.c: Renamed to ...
60082 * sysdeps/posix/readdir_r.c: ... here.
60083 * sysdeps/unix/rewinddir.c: Renamed to ...
60084 * sysdeps/posix/rewinddir.c: ... here.
60085 * sysdeps/unix/seekdir.c: Renamed to ...
60086 * sysdeps/posix/seekdir.c: ... here.
60087 * sysdeps/unix/telldir.c: Renamed to ...
60088 * sysdeps/posix/telldir.c: ... here.
60089 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60090 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60091 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60092 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60093
60094 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60095 * bits/fcntl.h: ... here.
60096
60097 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60098 not 0.
60099 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60100 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60101 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60102 (struct flock): Move l_start, l_len to the beginning.
60103 Use __pid_t for l_pid.
60104 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60105 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60106 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60107 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60108 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60109 [__USE_LARGEFILE64] (struct flock64): New type.
60110 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60111
60112 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60113 * bits/dirent.h: ... here.
60114
60115 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60116 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60117
60118 2012-08-07 Joseph Myers <joseph@codesourcery.com>
60119
60120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60121 Change from 2.6.0 to 2.6.16.
60122 * sysdeps/unix/sysv/linux/configure: Regenerated.
60123 * sysdeps/unix/sysv/linux/kernel-features.h
60124 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60125 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60126 version.
60127 (__ASSUME_UTIMES): Likewise.
60128 (__ASSUME_CLONE_STOPPED): Remove.
60129 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60130 architectures, not kernel version.
60131 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60132 (__ASSUME_NO_CLONE_DETACHED): Likewise.
60133 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60134 (__ASSUME_WAITID_SYSCALL): Likewise.
60135 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60136 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60137 * README: State 2.6.16 as minimum Linux kernel version. Do not
60138 refer to older versions.
60139
60140 2012-08-06 Roland McGrath <roland@hack.frob.com>
60141
60142 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60143 Define alphasort64 as an alias.
60144 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60145 Define versionsort64 as an alias.
60146 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60147 Define scandir64 as an alias.
60148 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60149 Define scandirat64 as an alias.
60150 * dirent/alphasort64.c (alphasort64):
60151 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60152 * dirent/versionsort64.c: Likewise.
60153 * dirent/scandir64.c: Likewise.
60154 * dirent/scandirat64.c: Likewise.
60155 * sysdeps/wordsize-64/alphasort.c: File removed.
60156 * sysdeps/wordsize-64/alphasort64.c: File removed.
60157 * sysdeps/wordsize-64/scandir.c: File removed.
60158 * sysdeps/wordsize-64/scandir64.c: File removed.
60159 * sysdeps/wordsize-64/scandirat.c: File removed.
60160 * sysdeps/wordsize-64/scandirat64.c: File removed.
60161 * sysdeps/wordsize-64/versionsort.c: File removed.
60162 * sysdeps/wordsize-64/versionsort64.c: File removed.
60163 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60164 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60165 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60166 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60167 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60168 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60170 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60171
60172 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60174 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60175 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60176 [defined __arch64__ || defined __sparcv9]
60177 (__INO_T_MATCHES_INO64_T): New macro.
60178 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60179 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60180 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60181 * sysdeps/unix/sysv/linux/bits/dirent.h
60182 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60183 (_DIRENT_MATCHES_DIRENT64): New macro.
60184
60185 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60186 Define lockf64 as an alias.
60187 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60188 Define fseeko64 as an alias.
60189 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60190 Define ftello64 as an alias.
60191 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60192 Define _IO_fgetpos64 and fgetpos64 as aliases.
60193 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60194 Define _IO_fsetpos64 and fsetpos64 as aliases.
60195 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60196 Conditionalize body on this.
60197 * libio/fseeko64.c: Likewise.
60198 * libio/ftello64.c: Likewise.
60199 * libio/iofgetpos64.c: Likewise.
60200 * libio/iofsetpos64.c: Likewise.
60201 * sysdeps/wordsize-64/lockf.c: File removed.
60202 * sysdeps/wordsize-64/lockf64.c: File removed.
60203 * sysdeps/wordsize-64/fseeko.c: File removed.
60204 * sysdeps/wordsize-64/fseeko64.c: File removed.
60205 * sysdeps/wordsize-64/ftello.c: File removed.
60206 * sysdeps/wordsize-64/ftello64.c: File removed.
60207 * sysdeps/wordsize-64/iofgetpos.c: File removed.
60208 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60209 * sysdeps/wordsize-64/iofsetpos.c: File removed.
60210 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60211 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60213 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60215 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60217 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60218 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60219 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60220 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60221
60222 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60223 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60224 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60226 [defined __arch64__ || defined __sparcv9]
60227 (__OFF_T_MATCHES_OFF64_T): New macro.
60228 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60229 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60231 (__OFF_T_MATCHES_OFF64_T): New macro.
60232
60233 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
60234
60235 * stdlib/secure-getenv.c (__secure_getenv): Replace
60236 GLIBC_2_16 with GLIBC_2_17.
60237
60238 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
60239
60240 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60242
60243 2012-08-03 David S. Miller <davem@davemloft.net>
60244
60245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60246
60247 2012-08-03 Joseph Myers <joseph@codesourcery.com>
60248
60249 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60250 Remove.
60251 (__ASSUME_CORRECT_SI_PID): Likewise.
60252 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60253 (__ASSUME_TMPFS_NAME): Likewise.
60254 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60255 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60256 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60257 (HAVE_AUX_SECURE): Make definition unconditional.
60258 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60259 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60260
60261 2012-08-03 Roland McGrath <roland@hack.frob.com>
60262
60263 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60264 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60265 * sysdeps/mach/hurd/eloop-threshold.h: New file.
60266 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60267 __eloop_threshold instead of SYMLOOP_MAX.
60268
60269 * sysdeps/generic/eloop-threshold.h: New file.
60270 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60271 of MAXSYMLINKS.
60272 * elf/chroot_canon.c (chroot_canon): Likewise.
60273
60274 2012-08-03 Joseph Myers <joseph@codesourcery.com>
60275
60276 [BZ #13717]
60277 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60278 Change to 2.6.0 everywhere.
60279 * sysdeps/unix/sysv/linux/configure: Regenerated.
60280 * sysdeps/unix/sysv/linux/kernel-features.h
60281 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60282 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60283 kernel versions.
60284 (__ASSUME_POSIX_TIMERS): Define unconditionally.
60285 (__ASSUME_FUTEX_REQUEUE): Remove.
60286 (__ASSUME_STATFS64): Define unconditionally.
60287 (__ASSUME_AT_SECURE): Likewise.
60288 (__ASSUME_CORRECT_SI_PID): Likewise.
60289 (__ASSUME_TGKILL): Define without depending on kernel version for
60290 i386.
60291 (__ASSUME_UTIMES): Likewise.
60292 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60293 kernel version.
60294 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60295 (__ASSUME_TMPFS_NAME): Likewise.
60296 * README: Update reference to Linux kernel versions.
60297
60298 2012-08-02 Marek Polacek <polacek@redhat.com>
60299
60300 [BZ# 14150]
60301 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
60302 libc_cv_asm_type_prefix with %.
60303 * configure: Regenerated.
60304 * include/libc-symbols.h: Remove comment about
60305 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60306 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60307 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60308 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60309 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60310 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60311 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60312 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60313 * elf/tst-unique2mod1.c: Likewise.
60314 * elf/tst-unique1mod2.c: Likewise.
60315 * elf/tst-unique1mod1.c: Likewise.
60316 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60317 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60318 Replace ASM_TYPE_DIRECTIVE with .type.
60319 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60320 * sysdeps/i386/sysdep.h: Likewise.
60321 * sysdeps/x86_64/sysdep.h: Likewise.
60322 * sysdeps/sh/sysdep.h: Likewise.
60323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60324 Do not define ASM_TYPE_DIRECTIVE.
60325 * sysdeps/powerpc/sysdep.h: Likewise.
60326 * sysdeps/powerpc/powerpc32/sysdep.h:
60327 Replace ASM_TYPE_DIRECTIVE with .type.
60328 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60330 * sysdeps/i386/fpu/e_powf.S: Likewise.
60331 * sysdeps/i386/fpu/e_expl.S: Likewise.
60332 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60333 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60334 * sysdeps/i386/fpu/e_pow.S: Likewise.
60335 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60336 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60337 * sysdeps/i386/fpu/s_expm1.S: Likewise.
60338 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60339 * sysdeps/i386/fpu/e_log2.S: Likewise.
60340 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60342 * sysdeps/i386/fpu/e_powl.S: Likewise.
60343 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60344 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60345 * sysdeps/i386/fpu/e_logl.S: Likewise.
60346 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60347 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60348 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60349 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60350 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60351 * sysdeps/i386/fpu/e_log.S: Likewise.
60352 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60353 * sysdeps/i386/fpu/e_logf.S: Likewise.
60354 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60355 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60356 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60357 * sysdeps/i386/fpu/e_log10.S: Likewise.
60358 * sysdeps/i386/fpu/s_frexp.S: Likewise.
60359 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60360 * sysdeps/i386/fpu/s_asinh.S: Likewise.
60361 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60362 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60363 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60364 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60365 * sysdeps/i386/i686/strtok.S: Likewise.
60366 * sysdeps/i386/i386-mcount.S: Likewise.
60367 * sysdeps/i386/strtok.S: Likewise.
60368 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60369 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60370 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60371 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60372 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60373 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60374 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60375 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60376 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60377 * sysdeps/x86_64/_mcount.S: Likewise.
60378 * sysdeps/x86_64/strtok.S: Likewise.
60379 * sysdeps/sh/_mcount.S: Likewise.
60380
60381 2012-08-01 Roland McGrath <roland@hack.frob.com>
60382
60383 * libio/iofopen.c: Include <fcntl.h>.
60384 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60385 (_IO_fopen64, fopen64): Define as aliases.
60386 * libio/iofopen64.c: Include <fcntl.h>.
60387 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60388 Conditionalize body on this.
60389 * sysdeps/wordsize-64/iofopen.c: File removed.
60390 * sysdeps/wordsize-64/iofopen64.c: File removed.
60391
60392 2012-08-01 Marek Polacek <polacek@redhat.com>
60393
60394 * libc/Makeconfig: Use elf in place of binfmt-subdir.
60395 Use dlfcn directly instead of a variable.
60396 (binfmt-subdir): Do not define.
60397 (dlfcn): Likewise.
60398
60399 2012-08-01 Joseph Myers <joseph@codesourcery.com>
60400
60401 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60402 Remove all definitions.
60403 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60404 <kernel-features.h>.
60405 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60406 (miss_F_GETOWN_EX): Remove all definitions.
60407 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60408 macro definition.
60409 [!__ASSUME_FCNTL64]: Remove conditional code.
60410 [__ASSUME_FCNTL64]: Make code unconditional.
60411 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60412 <kernel-features.h>.
60413 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60414 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60415 (lockf64) [__NR_fcntl64]: Make code unconditional.
60416 (lockf64) [__ASSUME_FCNTL64]: Likewise.
60417
60418 * sysdeps/unix/sysv/linux/kernel-features.h
60419 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60420 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60421 Make code unconditional.
60422 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60423 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60425 [__NR_vfork]: Make code unconditional.
60426 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60427 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60429 [__NR_vfork]: Make code unconditional.
60430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60432
60433 2012-08-01 Roland McGrath <roland@hack.frob.com>
60434
60435 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60436 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60437
60438 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60439 Define mkstemp64 as an alias.
60440 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60441 Define mkstemps64 as an alias.
60442 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60443 Define mkostemp64 as an alias.
60444 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60445 Define mkostemps64 as an alias.
60446 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
60447 Conditionalize body on this.
60448 * misc/mkostemp64.c: Likewise.
60449 * misc/mkostemps64.c: Likewise.
60450 * misc/mkstemps64.c: Likewise.
60451 * sysdeps/wordsize-64/mkstemp64.c: File removed.
60452 * sysdeps/wordsize-64/mkostemp64.c: File removed.
60453 * sysdeps/wordsize-64/mkostemp.c: File removed.
60454 * sysdeps/wordsize-64/mkstemp.c: File removed.
60455 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
60456 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
60457 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
60458 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
60459
60460 [BZ #14138]
60461 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
60462 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
60463 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
60464 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
60465
60466 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
60467 compat_symbol macros from <shlib-compat.h> rather than the underlying
60468 default_symbol_version and symbol_version macros, so that DEFAULT
60469 lines in shlib-versions are respected.
60470 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
60471
60472 2012-08-01 Florian Weimer <fweimer@redhat.com>
60473
60474 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
60475 Declare with warn_unused_result.
60476 (setgid, setregid, setegid, setresgid): Likewise.
60477 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
60478 Likewise.
60479 * WUR-REPORT: Remove set*id functions.
60480
60481 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
60482
60483 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
60484
60485 2012-07-31 Roland McGrath <roland@hack.frob.com>
60486
60487 [BZ #10191]
60488 * include/sys/socket.h (__libc_accept, __libc_accept4):
60489 Add attribute_hidden.
60490 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
60491
60492 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
60493 use of PTR_MANGLE.
60494 * inet/getnetgrent_r.c (setup): Likewise.
60495
60496 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
60497
60498 2012-07-31 David S. Miller <davem@davemloft.net>
60499
60500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60501
60502 2012-07-31 Joseph Myers <joseph@codesourcery.com>
60503
60504 [BZ #13629]
60505 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
60506 value between 1.0 and 2.0 and smaller part has absolute value less
60507 than 1.0.
60508 * math/s_clog10.c (__clog10): Likewise.
60509 * math/s_clog10f.c (__clog10f): Likewise.
60510 * math/s_clog10l.c (__clog10l): Likewise.
60511 * math/s_clogf.c (__clogf): Likewise.
60512 * math/s_clogl.c (__clogl): Likewise.
60513 * math/libm-test.inc (clog_test): Add more tests.
60514 (clog10_test): Likewise.
60515 * sysdeps/i386/fpu/libm-test-ulps: Update.
60516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60517
60518 2012-07-31 Florian Weimer <fweimer@redhat.com>
60519
60520 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
60521 Exit with zero in case no suitable GID is found, and write a
60522 message to standard error.
60523
60524 2012-07-30 Roland McGrath <roland@hack.frob.com>
60525
60526 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
60527 rather than to 1.
60528 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
60529 (MAXPATHLEN): Removed.
60530 (NOGROUP, NODEV): New macros.
60531 (setbit, clrbit, isset, isclr): New macros.
60532 (howmany, roundup, powerof2): New macros.
60533 (DEV_BSIZE): New macro.
60534
60535 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
60536 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
60537
60538 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
60539 definition on [!__NO_LONG_DOUBLE_MATH].
60540
60541 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
60542 PTR_MANGLE and PTR_DEMANGLE.
60543
60544 * socket/accept4.c (accept4): Rename to __libc_accept4.
60545 Define accept4 as a weak alias.
60546
60547 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
60548 on [_DIRENT_HAVE_D_TYPE].
60549 * io/ftw.c (ftw_dir): Likewise.
60550
60551 * io/xmknod.c (__xmknod): Don't check PATH for being null.
60552
60553 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
60554
60555 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
60556 Use the BSD numbers rather than the arbitrary ones we had.
60557 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
60558 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
60559 (SIGXCPU, SIGXFSZ): New macros.
60560 (_NSIG): Now 32.
60561
60562 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
60563 initializer on [_LIBC_REENTRANT].
60564
60565 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
60566 definitions inside [_POSIX_MAPPED_FILES].
60567
60568 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
60569
60570 * dirent/opendir.c: Include <fcntl.h>.
60571
60572 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
60573 (__libc_getspecific): Likewise.
60574 (__libc_key_create): Likewise.
60575
60576 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
60577 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
60578 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
60579 (tmpfile64): Define as alias.
60580 * sysdeps/wordsize-64/tmpfile.c: File removed.
60581 * sysdeps/wordsize-64/tmpfile64.c: File removed.
60582 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
60583 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
60584
60585 * stdio-common/vfscanf.c: Include <stdbool.h>.
60586 * nss/makedb.c: Likewise.
60587 * stdio-common/_i18n_number.h: Likewise.
60588 * argp/argp-help.c: Likewise.
60589 * posix/wordexp.c: Likewise.
60590 * sysdeps/posix/spawni.c: Likewise.
60591 * nss/nss_files/files-initgroups.c: Likewise.
60592 * stdio-common/reg-modifier.c: Include <stdlib.h>.
60593 * nss/nss_files/files-initgroups.c: Likewise.
60594 * nss/nss_db/db-netgrp.c: Likewise.
60595 * nss/nss_db/db-initgroups.c: Likewise.
60596 * io/fchmodat.c: Include <sys/stat.h>.
60597
60598 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
60599 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
60600
60601 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
60602 [HAVE_MMAP].
60603
60604 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
60605 Add multiple inclusion protection.
60606
60607 2012-07-27 David S. Miller <davem@davemloft.net>
60608
60609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60610
60611 2012-07-27 Gary Benson <gbenson@redhat.com>
60612
60613 [BZ #14298]
60614 * elf/rtld.c: Include <stap-probe.h>.
60615 (dl_main): Added static probes "init_start" and "init_complete".
60616 * elf/dl-load.c: Include <stap-probe.h>.
60617 (lose): Take new parameter "nsid".
60618 Added static probe "map_failed".
60619 (_dl_map_object_from_fd): Pass namespace id to lose.
60620 Added static probe "map_start".
60621 (open_verify): Pass namespace id to lose.
60622 * elf/dl-open.c: Include <stap-probe.h>.
60623 (dl_open_worker) Added static probes "map_complete", "reloc_start"
60624 and "reloc_complete".
60625 * elf/dl-close.c: Include <stap-probe.h>.
60626 (_dl_close_worker): Added static probes "unmap_start" and
60627 "unmap_complete".
60628 * elf/rtld-debugger-interface.txt: New file documenting the above.
60629
60630 2012-07-26 Roland McGrath <roland@hack.frob.com>
60631
60632 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
60633 rather than a string variable.
60634 * sunrpc/rpc_main.c (h_output): Likewise.
60635 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
60636
60637 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
60638
60639 * inet/check_native.c: New file.
60640
60641 2012-07-26 Joseph Myers <joseph@codesourcery.com>
60642
60643 [BZ #13629]
60644 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
60645 if larger part has absolute value 1.0.
60646 * math/s_clog10.c (__clog10): Likewise.
60647 * math/s_clog10f.c (__clog10f): Likewise.
60648 * math/s_clog10l.c (__clog10l): Likewise.
60649 * math/s_clogf.c (__clogf): Likewise.
60650 * math/s_clogl.c (__clogl): Likewise.
60651 * math/libm-test.inc (clog_test): Add more tests.
60652 (clog10_test): Likewise.
60653 * sysdeps/i386/fpu/libm-test-ulps: Update.
60654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60655
60656 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
60657 (pltexit): Likewise.
60658 (La_regs): Likewise.
60659 (La_retval): Likewise.
60660 (int_retval): Likewise.
60661 Update #error for removed macros to refer only to definitions in
60662 tst-audit.h.
60663 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
60664 macro.
60665 (pltexit): Likewise.
60666 (La_regs): Likewise.
60667 (La_retval): Likewise.
60668 (int_retval): Likewise.
60669 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
60670 macro.
60671 (pltexit): Likewise.
60672 (La_regs): Likewise.
60673 (La_retval): Likewise.
60674 (int_retval): Likewise.
60675 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
60676 macro.
60677 (pltexit): Likewise.
60678 (La_regs): Likewise.
60679 (La_retval): Likewise.
60680 (int_retval): Likewise.
60681 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
60682 macro.
60683 (pltexit): Likewise.
60684 (La_regs): Likewise.
60685 (La_retval): Likewise.
60686 (int_retval): Likewise.
60687 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
60688 macro.
60689 (pltexit): Likewise.
60690 (La_regs): Likewise.
60691 (La_retval): Likewise.
60692 (int_retval): Likewise.
60693 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
60694 macro.
60695 (pltexit): Likewise.
60696 (La_regs): Likewise.
60697 (La_retval): Likewise.
60698 (int_retval): Likewise.
60699 * sysdeps/generic/tst-audit.h: Update comment to refer only to
60700 macro definitions in tst-audit.h.
60701 * sysdeps/i386/tst-audit.h: New file.
60702 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
60703 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
60704 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
60705 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
60706 * sysdeps/sh/tst-audit.h: Likewise.
60707 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
60708 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
60709 * sysdeps/x86_64/tst-audit.h: Likewise.
60710
60711 2012-07-26 Andreas Jaeger <aj@suse.de>
60712
60713 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
60714 ptrace.
60715
60716 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
60717 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
60718 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
60719 PTRACE_O_MASK.
60720 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
60721 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
60722 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
60723
60724 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
60725 value.
60726
60727 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
60728 _sigsys.
60729 (si_call_addr, si_syscall, si_arch): Define new macro.
60730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
60731 _sigsys.
60732 (si_call_addr, si_syscall, si_arch): Define new marcro.
60733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
60734 _sigsys.
60735 (si_call_addr, si_syscall, si_arch): Define new macro.
60736 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
60737 _sigsys.
60738 (si_call_addr, si_syscall, si_arch): Define new macro.
60739
60740 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60741
60742 [BZ #13717]
60743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60744 Change to 2.4.21 where previously 2.4.1.
60745 * sysdeps/unix/sysv/linux/configure: Regenerated.
60746 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
60747 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
60748 Linux kernel version.
60749 (__ASSUME_STD_AUXV): Remove.
60750 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
60751 kernel version.
60752 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
60753 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
60754 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
60755 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
60756 (__ASSUME_NETLINK_SUPPORT): Likewise.
60757 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
60758 (__no_netlink_support): Remove conditional definition.
60759 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
60760 Remove.
60761 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60762 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
60763 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
60764 (if_nameindex_ioctl): Remove.
60765 (if_nameindex_netlink): Do not handle __no_netlink_support.
60766 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60767 code.
60768 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
60769 Remove conditional code.
60770 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
60771 code.
60772 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
60773 unconditional.
60774 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
60775 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
60776 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
60777 Remove.
60778 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
60779 [!__ASSUME_STD_AUXV]: Remove conditional code.
60780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
60781 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
60782 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
60783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
60784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
60785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60786 code.
60787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60789 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
60790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60791 conditional code.
60792 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
60793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60794 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
60795 code.
60796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60797 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
60798 conditional code.
60799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
60800 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60801 code unconditional.
60802 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60803 conditional code.
60804 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60805 unconditional.
60806 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60807 conditional code.
60808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60809 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60810 unconditional.
60811 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60812 conditional code.
60813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
60814 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60815 code unconditional.
60816 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60817 conditional code.
60818 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60819 unconditional.
60820 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60821 conditional code.
60822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
60823 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
60824 code unconditional.
60825 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60826 conditional code.
60827 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
60828 unconditional.
60829 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
60830 conditional code.
60831
60832 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
60833
60834 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
60835 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
60836 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
60837 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
60838 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
60839 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
60840 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
60841 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
60842 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
60843 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
60844 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
60845 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
60846 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
60847 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
60848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
60849 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
60850 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
60851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
60852 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
60853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
60854 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
60855 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
60856 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60857
60858 2012-07-25 Florian Weimer <fweimer@redhat.com>
60859
60860 * Versions.def: Add GLIBC_2.17.
60861 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
60862 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
60863 Introduce __libc_secure_getenv.
60864 * stdlib/Versions (2.17): Add secure_getenv
60865 (GLIBC_PRIVATE): Add __libc_secure_getenv.
60866 * stdlib/secure-getenv.c: Rename __secure_getenv to
60867 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
60868 symbol __secure_getenv for GLIBC_2.0.
60869 * stdlib/tst-secure-getenv.c: New.
60870 * stdlib/Makefile (tests): Add testcase.
60871 * manual/startup.texi (Environment Access): Document
60872 secure_getenv.
60873 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
60874 __libc_secure_getenv.
60875 * inet/ruserpass.c (ruserpass): Likewise.
60876 * malloc/mtrace.c (mtrace): Likewise.
60877 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
60878 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
60879 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
60880 * sysdeps/posix/tempname.c: Likewise. Evaluate
60881 HAVE_SECURE_GETENV.
60882 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
60883 __secure_getenv to __libc_secure_getenv.
60884 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
60885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60886 Likewise.
60887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60888 Likewise.
60889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60893 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60896
60897 2012-07-25 Joseph Myers <joseph@codesourcery.com>
60898
60899 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
60900 (struct La_i86_retval): Likewise.
60901 (struct La_x86_64_regs): Likewise.
60902 (struct La_x86_64_retval): Likewise.
60903 (struct La_x32_regs): Likewise.
60904 (struct La_x32_retval): Likewise.
60905 (struct La_ppc32_regs): Likewise.
60906 (struct La_ppc32_retval): Likewise.
60907 (struct La_ppc64_regs): Likewise.
60908 (struct La_ppc64_retval): Likewise.
60909 (struct La_sh_regs): Likewise.
60910 (struct La_sh_retval): Likewise.
60911 (struct La_s390_32_regs): Likewise.
60912 (struct La_s390_32_retval): Likewise.
60913 (struct La_s390_64_regs): Likewise.
60914 (struct La_s390_64_retval): Likewise.
60915 (struct La_sparc32_regs): Likewise.
60916 (struct La_sparc32_retval): Likewise.
60917 (struct La_sparc64_regs): Likewise.
60918 (struct La_sparc64_retval): Likewise.
60919 (struct audit_ifaces): Remove architecture-specific pltenter and
60920 pltexit members.
60921 * sysdeps/i386/ldsodefs.h: New file.
60922 * sysdeps/powerpc/ldsodefs.h: Likewise.
60923 * sysdeps/s390/ldsodefs.h: Likewise.
60924 * sysdeps/sh/ldsodefs.h: Likewise.
60925 * sysdeps/sparc/ldsodefs.h: Likewise.
60926 * sysdeps/x86_64/ldsodefs.h: Likewise.
60927
60928 2012-07-25 Marek Polacek <polacek@redhat.com>
60929
60930 [BZ #6808]
60931 * math/libm-test.inc (yn_test): Add another test.
60932 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
60933 to ERANGE when the result is +-Inf.
60934 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60935 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
60936 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
60937 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
60938
60939 2012-07-24 Joseph Myers <joseph@codesourcery.com>
60940
60941 * conform/data/time.h-data (NULL): Use macro-constant. Require
60942 equal to 0.
60943 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
60944 clock_t.
60945 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
60946
60947 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
60948
60949 * configure.in <sysdeps resolving>: Correct printing
60950 Implies_before.
60951 * configure: Regenerate.
60952
60953 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
60954
60955 * math/w_ilogb.c: Include <limits.h>.
60956 * math/w_ilogbl.c: Likewise.
60957
60958 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60959
60960 * manual/lang.texi (__va_copy): Document primarily as ISO C99
60961 va_copy. Document allowing for unavailable va_copy only as
60962 pre-C99 compatibility.
60963 * manual/string.texi (Copying and Concatenation): Use va_copy
60964 instead of __va_copy in concat example.
60965
60966 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
60967
60968 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
60969 (__sendto): Use create_address_port. Initialize APORT and deallocate
60970 it if not null.
60971
60972 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
60973 with O_NOLINK passed to __file_name_lookup.
60974
60975 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
60976 with O_NOLINK passed to __file_name_lookup.
60977
60978 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
60979 negative N or less than NGIDS.
60980
60981 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
60982 type to string_t. Set ERANGE as errno and return it if NAME is not big
60983 enough. Use memcpy instead of strncpy.
60984
60985 2012-07-20 Joseph Myers <joseph@codesourcery.com>
60986
60987 * elf/Makefile (check-data): Remove.
60988 (localplt.data): New vpath directive.
60989 ($(objpfx)check-localplt.out): Use localplt.data from vpath
60990 instead of $(check-data).
60991 * scripts/data/localplt-generic.data: Move to ...
60992 * sysdeps/generic/localplt.data: ... here.
60993 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
60994 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
60995 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
60996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
60997 ... here.
60998 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
60999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61000 ... here.
61001 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61003 ... here.
61004 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61006 ... here.
61007 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61009 ... here.
61010 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61012 ... here.
61013
61014 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61015
61016 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61017 PPC32 and PPC64 files.
61018 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61019 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61020
61021 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61022
61023 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61024 __makecontext_ret to ...
61025 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61026 ... here and call exit if uc_link is NULL. New file.
61027 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61028 __makecontext_ret.S.
61029 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61030 __makecontext_ret to ...
61031 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61032 ... here and call exit if uc_link is NULL. New file.
61033 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61034 __makecontext_ret.S.
61035
61036 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61037
61038 * elf/elf.h (R_390_IRELATIVE): New definition.
61039 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61040 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
61041 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61042 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61043 (elf_machine_lazy_rel): Likewise.
61044 * sysdeps/s390/dl-irel.h: New file.
61045 * sysdeps/s390/s390-64/memcpy.S: New asm code.
61046 * sysdeps/s390/s390-64/memset.S: New asm code.
61047 * sysdeps/s390/s390-64/memcmp.S: New asm code.
61048 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61050 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61051 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61052 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61053 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61054 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61055 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61056 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61057 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61058 * sysdeps/s390/s390-32/memcpy.S: New asm code.
61059 * sysdeps/s390/s390-32/memset.S: New asm code.
61060 * sysdeps/s390/s390-32/memcmp.S: New asm code.
61061
61062 2012-07-17 Marek Polacek <polacek@redhat.com>
61063
61064 [BZ #14349]
61065 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61066 * sysdeps/s390/s390-64/configure.in: Likewise.
61067 * sysdeps/sparc/configure.in: Likewise.
61068 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61069 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61070 * sysdeps/i386/configure.in: Likewise.
61071 * sysdeps/x86_64/configure.in: Likewise.
61072 * sysdeps/sh/configure.in: Likewise.
61073 * sysdeps/s390/s390-32/configure: Regenerated.
61074 * sysdeps/s390/s390-64/configure: Likewise.
61075 * sysdeps/x86_64/configure: Likewise.
61076 * sysdeps/sh/configure: Likewise.
61077 * sysdeps/powerpc/powerpc64/configure: Likewise.
61078 * sysdeps/powerpc/powerpc32/configure: Likewise.
61079 * sysdeps/sparc/configure: Likwise.
61080 * sysdeps/i386/configure: Likewise.
61081
61082 * elf/dl-open.c: Comment fixes.
61083
61084 2012-07-17 Joseph Myers <joseph@codesourcery.com>
61085
61086 * Makefile [CXX] (check-data): Remove.
61087 [CXX] (c++-types.data): New vpath directive.
61088 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61089 vpath. Do not allow for C++ type data being missing.
61090 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61091 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61092 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61093 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61094 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61095 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61096 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61098 ... here.
61099 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61101 ... here.
61102 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61104 ... here.
61105 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61107 ... here.
61108 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61110 ... here.
61111 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61113 ... here.
61114 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61116 ... here.
61117 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61119
61120 * elf/tls-macros.h (TLS_LE): Move architecture-specific
61121 definitions to architecture-specific files.
61122 (TLS_IE): Likewise.
61123 (TLS_LD): Likewise.
61124 (TLS_GD): Likewise.
61125 * sysdeps/i386/tls-macros.h: New file.
61126 * sysdeps/powerpc/tls-macros.h: Likewise.
61127 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61128 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61129 * sysdeps/sh/tls-macros.h: Likewise.
61130 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61131 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61132 * sysdeps/x86_64/tls-macros.h: Likewise.
61133
61134 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61135
61136 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61137 zero value for regular exit case.
61138
61139 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61140 (__start_context): Preserve zero value for regular exit case.
61141
61142 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
61143 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61144
61145 * manual/setjmp.texi (setcontext): Clarify normal process
61146 termination when uc_link is the null pointer.
61147 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61148 exit call.
61149
61150 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
61151
61152 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61153 preprocessor. Test for each exception mask separately.
61154
61155 2012-07-16 Andreas Jaeger <aj@suse.de>
61156
61157 * po/ru.po: Update from translation team.
61158
61159 2012-07-15 Joseph Myers <joseph@codesourcery.com>
61160
61161 * conform/data/string.h-data (NULL): Use macro-constant. Require
61162 equal to 0.
61163 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61164 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61165 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61166 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61167 [ISO || ISO99 || ISO11] (*_t): Do not allow.
61168
61169 2012-07-13 Andreas Jaeger <aj@suse.de>
61170
61171 * po/fr.po: Update from translation team.
61172
61173 2012-07-12 Marek Polacek <polacek@redhat.com>
61174
61175 [BZ #14173]
61176 * math/libm-test.inc (yn_test): Add test for BZ #14173.
61177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61178 loop condition.
61179
61180 2012-07-12 Joseph Myers <joseph@codesourcery.com>
61181
61182 [BZ #13717]
61183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61184 Change to 2.4.1 where previously 2.4.0.
61185 * sysdeps/unix/sysv/linux/configure: Regenerated.
61186 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61187 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61188 version.
61189 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61190 (__ASSUME_AT_CLKTCK): Remove.
61191 (__ASSUME_AT_PAGESIZE): Likewise.
61192 (__ASSUME_AT_XID): Likewise.
61193 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61194 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61195 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61196 unconditionally.
61197 (HAVE_AUX_PAGESIZE): Likewise.
61198 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61199 [__ASSUME_AT_CLKTCK]: Make code unconditional.
61200 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61201
61202 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
61203
61204 [BZ #14307]
61205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61206 the temporary buffer used to invoke __gethostbyname2_r,
61207 __gethostbyaddr_r and gethostbyname4_r to make room for struct
61208 host_data / struct gaih_addrtuple.
61209 * resolv/nss_dns/dns-host.c (global scope): Move definition of
61210 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61211 header file nss/nsswitch.h.
61212 * nss/nsswitch.h (global scope): Add definition of implementation
61213 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61214 resolv/nss_dns/dns-host.c).
61215
61216 2012-07-11 Andreas Jaeger <aj@suse.de>
61217
61218 * po/fr.po: Update from translation team.
61219
61220 * po/sv.po: Update from translation team
61221 * po/fr.po: Another update from translation team.
61222
61223 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61224
61225 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61226 for subnormals or multiply small sinh result by itself.
61227 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61229
61230 2012-07-11 David S. Miller <davem@davemloft.net>
61231
61232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61233
61234 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
61235
61236 [BZ #14347]
61237 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61238 (INTERNAL_MARK): Shift it here.
61239
61240 2012-07-10 Marek Polacek <polacek@redhat.com>
61241
61242 [BZ #14151]
61243 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
61244 libc_cv_asm_global_directive with .globl.
61245 * configure: Regenerated.
61246 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61247 with .globl.
61248 * sysdeps/i386/configure: Regenerated.
61249 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61250 with .globl.
61251 * sysdeps/x86_64/configure: Regenerated.
61252 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61253 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61254 * elf/tst-unique2mod2.c: Likewise.
61255 * elf/tst-unique2mod1.c: Likewise.
61256 * elf/tst-unique1mod2.c: Likewise.
61257 * elf/tst-unique1mod1.c: Likewise.
61258 * sysdeps/s390/s390-32/sysdep.h: Likewise.
61259 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
61261 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61262 * sysdeps/mach/sysdep.h: Likewise.
61263 * sysdeps/i386/sysdep.h: Likewise.
61264 * sysdeps/i386/i386-mcount.S: Likewise.
61265 * sysdeps/x86_64/_mcount.S: Likewise.
61266 * sysdeps/x86_64/sysdep.h: Likewise.
61267 * sysdeps/sh/_mcount.S: Likewise.
61268 * sysdeps/sh/sysdep.h: Likewise.
61269 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61270 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61271 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61272 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61273 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61274 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61275 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61276 * locale/localeinfo.h: Likewise.
61277 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61278 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61279
61280 2012-07-09 Roland McGrath <roland@hack.frob.com>
61281
61282 [BZ #14336]
61283 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61284 system".
61285 * manual/message.texi (The Uniforum approach): Likewise.
61286 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61287 (glibc iconv Implementation): Likewise.
61288
61289 2012-07-09 Joseph Myers <joseph@codesourcery.com>
61290
61291 [BZ #14337]
61292 * math/s_clog.c (__clog): Avoid scaling a value down where that
61293 could result in underflow.
61294 * math/s_clog10.c (__clog10): Likewise.
61295 * math/s_clog10f.c (__clog10f): Likewise.
61296 * math/s_clog10l.c (__clog10l): Likewise.
61297 * math/s_clogf.c (__clogf): Likewise.
61298 * math/s_clogl.c (__clogl): Likewise.
61299 * math/libm-test.inc (clog_test): Add more tests.
61300 (clog10_test): Likewise.
61301 * sysdeps/i386/fpu/libm-test-ulps: Update.
61302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61303
61304 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
61305
61306 [BZ #14283]
61307 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61308 by 7 not 8 to examine high bit of fractional part.
61309
61310 [BZ #14042]
61311 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61312 for call to __mcount_internal.
61313 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61314 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61315 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61316
61317 2012-07-06 Joseph Myers <joseph@codesourcery.com>
61318
61319 [BZ #14154]
61320 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61321 approximation for values within 0x1p-13f of an odd multiple of
61322 pi/4.
61323 * math/libm-test.inc (tan_test): Do not allow spurious underflow
61324 exception. Add more tests.
61325 * sysdeps/i386/fpu/libm-test-ulps: Update.
61326
61327 [BZ #6778]
61328 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61329 inputs and return -1 for them. Do not check for +Inf in case not
61330 reachable for +Inf.
61331 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61332 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61334 and return -1 for them. Do not check for +Inf in case not
61335 reachable for +Inf.
61336 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61337 define.
61338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61339 and return -1 for them. Do not check for +Inf in case not
61340 reachable for +Inf.
61341 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
61342 spurious underflow.
61343 * sysdeps/i386/fpu/libm-test-ulps: Update.
61344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61345
61346 2012-07-06 Mike Frysinger <vapier@gentoo.org>
61347
61348 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61349
61350 2012-07-05 Joseph Myers <joseph@codesourcery.com>
61351
61352 [BZ #14157]
61353 [BZ #14331]
61354 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61355 could result in spurious underflow. Scale down values above
61356 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61357 * math/s_csqrtf.c (__csqrtf): Likewise.
61358 * math/s_csqrtl.c (__csqrtl): Likewise.
61359 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
61360 spurious underflow.
61361 * sysdeps/i386/fpu/libm-test-ulps: Update.
61362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61363
61364 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
61365
61366 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61367 xopen-msg.sed.
61368 * catgets/xopen-msg.awk: New file.
61369 * catgets/xopen-msg.sed: Removed.
61370
61371 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61372 po2text.sed.
61373 * intl/po2test.awk: New file.
61374 * intl/po2test.sed: Removed.
61375
61376 2012-07-04 Joseph Myers <joseph@codesourcery.com>
61377
61378 [BZ #14328]
61379 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61380 or multiply small sinh result by itself.
61381 * math/s_ctanf.c (__ctanf): Likewise.
61382 * math/s_ctanh.c (__ctanh): Likewise.
61383 * math/s_ctanhf.c (__ctanhf): Likewise.
61384 * math/s_ctanhl.c (__ctanhl): Likewise.
61385 * math/s_ctanl.c (__ctanl): Likewise.
61386 * math/libm-test.inc (ctan_test_tonearest): New function.
61387 (ctan_test_towardzero): Likewise.
61388 (ctan_test_downward): Likewise.
61389 (ctan_test_upward): Likewise.
61390 (ctanh_test_tonearest): Likewise.
61391 (ctanh_test_towardzero): Likewise.
61392 (ctanh_test_downward): Likewise.
61393 (ctanh_test_upward): Likewise.
61394 (main): Call these new functions.
61395 * sysdeps/i386/fpu/libm-test-ulps: Update.
61396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61397
61398 2012-07-03 Mike Frysinger <vapier@gentoo.org>
61399
61400 * .gitignore: Delete /ports entry.
61401
61402 2012-07-03 Andreas Jaeger <aj@suse.de>
61403
61404 * po/bg.po: Update from translation team.
61405 * po/cs.po: Likewise.
61406 * po/de.po: Likewise.
61407 * po/hr.po: Likewise.
61408 * po/nl.pl: Likewise.
61409 * po/pl.po: Likewise.
61410 * po/vi.po: Likewise.
61411
61412 2012-07-03 Joseph Myers <joseph@codesourcery.com>
61413
61414 * Makeconfig [!+link] (+link-before-libc): New variable.
61415 [!+link] (+link-after-libc): Likewise.
61416 [!+link] (+link-tests): Likewise.
61417 [!+link] (+link): Define in terms of $(+link-before-libc) and
61418 $(+link-after-libc).
61419 [!+link-static] (+link-static-before-libc): New variable.
61420 [!+link-static] (+link-static-after-libc): Likewise.
61421 [!+link-static] (+link-static-tests): Likewise.
61422 [!+link-static] (+link-static): Define in terms of
61423 $(+link-static-before-libc) and $(+link-static-after-libc).
61424 [build-shared] (link-libc-before-gnulib): New variable.
61425 [build-shared] (link-libc-tests): Likewise.
61426 [build-shared] (link-libc): Define in terms of
61427 $(link-libc-before-gnulib).
61428 [!build-shared] (link-libc-tests): New variable.
61429 (link-libc-static-tests): New variable.
61430 [!gnulib] (gnulib-arch): New variable.
61431 [!gnulib] (gnulib-tests): Likewise.
61432 [!gnulib] (static-gnulib-arch): Likewise.
61433 [!gnulib] (static-gnulib-tests): Likewise.
61434 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
61435 Define with "=" instead of ":=".
61436 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
61437 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
61438 * Rules (binaries-all-notests): New variable.
61439 (binaries-all-tests): Likewise.
61440 (binaries-static-notests): Likewise.
61441 (binaries-static-tests): Likewise.
61442 (binaries-all): Define using $(binaries-all-notests) and
61443 $(binaries-all-tests).
61444 (binaries-static): Define using $(binaries-static-notests) and
61445 $(binaries-static-tests).
61446 (binaries-shared-tests): New variable.
61447 (binaries-shared-notests): Likewise.
61448 (binaries-shared): Remove variable.
61449 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
61450 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
61451 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
61452 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
61453 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
61454 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
61455 * elf/Makefile (sln-modules): New variable.
61456 (extra-objs): Add $(sln-modules:=.o).
61457 (ldconfig-modules): Add static-stubs.
61458 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
61459 * elf/static-stubs.c: New file.
61460
61461 [BZ #14283]
61462 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
61463 by 7 not 8 to examine high bit of fractional part. Use volatile
61464 variables when splitting into final array of floats if
61465 __FLT_EVAL_METHOD__ != 0.
61466 * math/libm-test.inc (cos_test): Add another test.
61467 (sin_test): Likewise.
61468 * sysdeps/i386/fpu/libm-test-ulps: Update.
61469
61470 [BZ #14273]
61471 * math/libm-test.inc (cosh_test): Add more tests.
61472
61473 * version.h (RELEASE): Set to "development".
61474 (VERSION): Set to "2.16.90".
61475
61476 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
61477
61478 * NEWS: Update copyright. Remove last-updated date.
61479 Mention math library bug fixes and timezone data changes.
61480 * README: Mention GNU/Hurd, x32, and HPPA support status.
61481
61482 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
61483
61484 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
61485
61486 2012-06-27 Andreas Jaeger <aj@suse.de>
61487
61488 * manual/contrib.texi (Contributors): Add Samuel Thibault.
61489
61490 2012-06-25 Andreas Jaeger <aj@suse.de>
61491
61492 * sysdeps/s390/fpu/libm-test-ulps: Update.
61493
61494 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
61495 Thomas Schwinge <thomas@codesourcery.com>
61496
61497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
61498 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
61499 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
61500 fanotify_mark.
61501
61502 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
61503
61504 * sysdeps/mach/start.c: Remove file.
61505 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
61506 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
61507 * sysdeps/sh/init-first.c: Likewise.
61508
61509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
61510 registers for frame unwinding purposes, add CFI directives.
61511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61512 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
61513 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
61514 Likewise.
61515
61516 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
61517 __fortify_fail returning.
61518 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
61519
61520 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
61521 sysdeps/sh/____longjmp_chk.S.
61522 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
61523 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
61524 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
61525 (gen-as-const-headers): Append sigaltstack-offsets.sym.
61526
61527 * sysdeps/sh/abort-instr.h: New file.
61528 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
61529 process in case exit returns.
61530
61531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
61532 initialize the GOT register before use.
61533
61534 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
61535 calculation of ARGC > 4.
61536
61537 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
61538 meaningful names to some local labels.
61539
61540 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
61541 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61542
61543 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
61544 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
61545 (__arch_compare_and_exchange_val_16_acq): Likewise.
61546 (__arch_compare_and_exchange_val_32_acq): Likewise.
61547 (atomic_exchange_and_add): Fix gUSA sequence.
61548 (atomic_add): Likewise.
61549 (atomic_add_negative): Likewise.
61550 (atomic_add_zero): Likewise.
61551 (atomic_bit_test_set): Likewise.
61552
61553 2012-06-22 Andreas Schwab <schwab@redhat.com>
61554
61555 [BZ #13579]
61556 * include/link.h (struct link_map): Add l_free_initfini.
61557 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
61558 l_initfini.
61559 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
61560 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
61561 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
61562 set.
61563
61564 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
61565
61566 * configure.in: Use AC_LANG_SOURCE.
61567 * configure: Regenerate.
61568
61569 2012-06-22 Roland McGrath <roland@hack.frob.com>
61570
61571 * configure.in (libc_cv_localstatedir): New substituted variable.
61572 * configure: Regenerated.
61573 * config.make.in (localstatedir): New variable, substituted from
61574 libc_cv_localstatedir.
61575 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
61576 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
61577 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
61578 * sysdeps/gnu/configure: Regenerated.
61579
61580 2012-06-21 Jeff Law <law@redhat.com>
61581
61582 [BZ #14277]
61583 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
61584 free. Simplify list management for _LIBC case.
61585
61586 2012-06-21 Joseph Myers <joseph@codesourcery.com>
61587
61588 [BZ #14273]
61589 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
61590 Clear sign bit of 64-bit integer value before comparing against
61591 overflow value.
61592
61593 * sysdeps/mach/configure: Regenerated.
61594
61595 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
61596
61597 [BZ #14278]
61598 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
61599
61600 2012-06-21 Jeff Law <law@redhat.com>
61601
61602 [BZ #13882]
61603 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
61604 uint16_t for elements in the "seen" array to avoid char overflows.
61605 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61606 * elf/dl-open.c (dl_open_worker): Likewise.
61607
61608 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
61609
61610 * scripts/list-sources.sh: Scan PORTS for translations.
61611 * po/libc.pot: Regenerated.
61612
61613 2012-06-21 Andreas Jaeger <aj@suse.de>
61614
61615 [BZ #12194]
61616 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
61617 warning.
61618 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
61619 * bits/byteswap-16.h (__bswap_16): Likewise.
61620 * bits/byteswap.h (__bswap_constant_16): Likewise.
61621
61622 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
61623
61624 [BZ #14117]
61625 * sysdeps/i386/fpu_control.h: Removed.
61626 * sysdeps/x86_64/fpu_control.h: Moved to ...
61627 * sysdeps/x86/fpu_control.h: Here.
61628
61629 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
61630 (_FPU_SETCW): Likewise.
61631
61632 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
61633
61634 [BZ #14117]
61635 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
61636 * sysdeps/x86/fpu/bits/mathinline.h: This.
61637 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
61638
61639 [BZ #14050]
61640 [BZ #14117]
61641 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
61642 functions if __x86_64__ is defined.
61643
61644 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
61645
61646 * string/endian.h: Add !__ASSEMBLER__ condition for including
61647 conversion interfaces.
61648
61649 2012-06-15 Joseph Myers <joseph@codesourcery.com>
61650
61651 [BZ #14241]
61652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
61653 of ABS(x) in calculating zero to negative powers other than odd
61654 integers.
61655 * math/libm-test.inc (pow_test): Add more tests.
61656
61657 2012-06-15 Andreas Jaeger <aj@suse.de>
61658
61659 * manual/contrib.texi (Contributors): Update entry of Liubov
61660 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
61661 Machado Filho.
61662
61663 2012-06-15 Cyril Hrubis <metan@ucw.cz>
61664
61665 * string/string.h: Add __wur to GNU version of strerror_r.
61666
61667 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
61668
61669 [BZ #14229]
61670 * string/Makefile (tests): Add tst-strtok_r.
61671 * string/tst-strtok_r.c: New file.
61672 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
61673 RAX_LP/RDX_LP on SAVE_PTR.
61674
61675 2012-06-14 Roland McGrath <roland@hack.frob.com>
61676
61677 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
61678
61679 2012-06-14 Joseph Myers <joseph@codesourcery.com>
61680
61681 * libm_test.inc (csqrt_test): Allow more spurious underflow
61682 exceptions.
61683 (j0_test): Likewise.
61684 (j1_test): Likewise.
61685 (y0_test): Likewise.
61686 (y1_test): Likewise.
61687
61688 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
61689
61690 * po/Makefile (libc.pot): Use UTF-8 charset.
61691
61692 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
61693
61694 [BZ #14210]
61695 Suppress sign-conversion warning from FD_SET.
61696 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
61697 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
61698 not unsigned long int.
61699 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
61700
61701 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
61702
61703 [BZ #14050]
61704 [BZ #14117]
61705 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
61706 __extern_always_inline instead of __extern_inline.
61707 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
61708 (__signbit): Likewise.
61709 (__signbitl): Support C++ namespace.
61710 (lrintf): New inline function.
61711 (lrint): Likewise.
61712 (llrintf): Likewise.
61713 (llrint): Likewise.
61714 (fmaxf): Likewise.
61715 (fmax): Likewise.
61716 (fminf): Likewise.
61717 (fmin): Likewise.
61718 (rint): Likewise.
61719 (rintf): Likewise.
61720 (ceil): Likewise.
61721 (ceilf): Likewise.
61722 (floor): Likewise.
61723 (floorf): Likewise.
61724 (nearbyint): Likewise.
61725 (nearbyintf): Likewise.
61726
61727 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
61728
61729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
61730 non-default versions.
61731
61732 2012-06-11 Roland McGrath <roland@hack.frob.com>
61733
61734 [BZ #14218]
61735 * manual/argp.texi (Argp): Reword argp_parse description slightly.
61736
61737 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
61738
61739 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
61740 (FE_UPWARD, FE_DOWNWARD): Don't define.
61741 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
61742 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
61743
61744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
61745 reading it.
61746 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
61747 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61748
61749 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
61750
61751 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
61753 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
61754 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
61755
61756 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
61757
61758 [BZ #14117]
61759 * sysdeps/i386/fpu/bits/fenv.h: Removed.
61760 * sysdeps/i386/fpu/Implies: New file.
61761 * sysdeps/x86_64/fpu/Implies: Likewise.
61762 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
61763 * sysdeps/x86/fpu/bits/fenv.h: This.
61764
61765 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
61766 __SSE_MATH__.
61767
61768 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61769
61770 [BZ #14134]
61771 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
61772 character 0xffff that matches the last element of the
61773 conversion table.
61774
61775 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61776
61777 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
61778 fmodl commit.
61779
61780 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61781
61782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
61783 values higher than 25.6283.
61784
61785 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61786
61787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
61788 subnormal exponent extraction and add some __builtin_expect.
61789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
61790 Fix for subnormal mantissa calculation.
61791
61792 2012-06-04 Mike Frysinger <vapier@gentoo.org>
61793
61794 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
61795 cpu2 is -1 and errno is not ENOSYS.
61796
61797 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
61798
61799 [BZ #14117]
61800 * sysdeps/i386/i486/bits/string.h: Renamed to ...
61801 * sysdeps/x86/bits/string.h: This.
61802 * sysdeps/x86_64/bits/string.h: Removed.
61803
61804 * sysdeps/i386/i486/bits/string.h: Define inline functions only
61805 if not compiling for x86-64, but compiling for >= i486.
61806
61807 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
61808 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
61809
61810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
61811 New macro from Linux kernel 3.4.0.
61812 (FP_XSTATE_MAGIC2): Likewise.
61813 (FP_XSTATE_MAGIC2_SIZE): Likewise.
61814 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
61815 (struct _fpx_sw_bytes): New struct.
61816 (struct _xsave_hdr): Likewise.
61817 (struct _ymmh_state): Likewise.
61818 (struct _xstate): Likewise.
61819
61820 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
61821 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
61822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
61823 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
61824 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
61825 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
61826
61827 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
61828 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
61829 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
61830 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
61831 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
61832 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
61833
61834 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
61835
61836 [BZ #13743]
61837 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
61838 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
61839 (sysdep_headers): Include sys/platform/ppc.h.
61840 * sysdeps/powerpc/test-gettimebase.c: Test for
61841 __ppc_get_timebase() to catch future ISA opcode/insn changes.
61842 * manual/Makefile (appendices): Include platform.texi.
61843 * manual/contrib.texi (Contributors): Update @node pointers.
61844 * manual/maint.texi (Maintenance): Likewise.
61845 (Platform): New node.
61846 * manual/platform.texi: New file. Document the new features.
61847
61848 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61849 Jakub Jelinek <jakub@redhat.com>
61850
61851 [BZ #14188]
61852 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
61853 where __builtin_expect is unavailable.
61854
61855 2012-06-03 David S. Miller <davem@davemloft.net>
61856
61857 * stdlib/longlong.h: Updated from GCC.
61858
61859 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
61860
61861 [BZ #14042]
61862 * sysdeps/powerpc/powerpc32/mcount.c: New file.
61863 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
61864 __mcount_internal.
61865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61866 (GLIBC_2.16): Likewise.
61867
61868 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61869
61870 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
61871
61872 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61873
61874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
61875 (default-abi): New variable.
61876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
61877 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
61878 variable.
61879 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
61880 Likewise.
61881 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
61882 Likewise.
61883 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
61884 Likewise.
61885
61886 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
61887 definition. Document in comment.
61888
61889 2012-06-01 David S. Miller <davem@davemloft.net>
61890
61891 * stdlib/longlong.h: Updated from GCC.
61892
61893 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61894
61895 [BZ #14117]
61896 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
61897 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
61898 sys/debugreg.h sys/io.h here.
61899 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
61900 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
61901 sys/io.h.
61902 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
61903 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
61904 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
61905 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
61906 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
61907 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
61908
61909 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
61910 Define only if __x86_64__ is defined.
61911
61912 2012-06-01 Joseph Myers <joseph@codesourcery.com>
61913
61914 [BZ #14048]
61915 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
61916 Use int64_t for variable i.
61917 * math/libm-test.inc (fmod_test): Add more tests.
61918
61919 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
61920 z computation is not scheduled after fetestexcept.
61921 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
61922 Use math_force_eval instead of asm to ensure calculation scheduled
61923 before exception test.
61924 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
61925 Ensure a1 + u.d computation is not scheduled after fetestexcept.
61926
61927 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
61928
61929 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
61930 computation is not scheduled after fetestexcept.
61931
61932 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
61933
61934 [BZ #14117]
61935 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
61936 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
61937
61938 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61939
61940 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
61941 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
61942
61943 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
61944
61945 [BZ #14117]
61946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
61947 <bits/wordsize.h>.
61948 (__WCHAR_MIN): Support __WORDSIZE == 64.
61949 (__WCHAR_MAX): Likewise.
61950
61951 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
61952 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
61953
61954 [BZ #14183]
61955 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
61956 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
61957
61958 [BZ #14117]
61959 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
61960 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
61961
61962 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
61963 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
61964
61965 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
61966 Defined to 1 if __x86_64__ isn't defined.
61967 (_STAT_VER_LINUX_OLD): New.
61968 (st_atime): Remove duplicate.
61969 (st_mtime): Likewise.
61970 (st_ctime): Likewise.
61971
61972 2012-05-31 David S. Miller <davem@davemloft.net>
61973
61974 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
61975 entries.
61976
61977 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
61978
61979 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
61980 gen-libm-test.pl.
61981
61982 [BZ #14132]
61983 * elf/dl-reloc.c: Include <_itoa.h>.
61984 (_dl_reloc_bad_type): Remove use of INTUSE.
61985 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
61986 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
61987 * stdio-common/psiginfo.c (psiginfo): Likewise.
61988 * stdio-common/psignal.c (psignal): Likewise.
61989 * string/strsignal.c (strsignal): Likewise.
61990 * include/signal.h (_sys_siglist): Declare hidden proto.
61991 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
61992 INTVARDEF with libc_hidden_data_def.
61993 * stdio-common/itoa-udigits.c: Likewise.
61994 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
61995 (_itoa_lower_digits_internal): Remove declaration.
61996 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
61997 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
61998 (_sys_sigabbrev_internal): Remove aliases.
61999 (_sys_siglist): Define hidden alias.
62000
62001 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
62002
62003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62004 bits/sysctl.h.
62005
62006 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
62007
62008 [BZ #14117]
62009 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62010 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62011
62012 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62013 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62014 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62015 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62017 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62018
62019 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62020 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62021 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62022
62023 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62024 with __addr.
62025 (insw): Likewise.
62026 (insl): Likewise.
62027 (outsb): Likewise.
62028 (outsw): Likewise.
62029 (outsl): Likewise.
62030
62031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62034
62035 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62036 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62038 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62039 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62040 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62041
62042 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62043 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62044
62045 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62046 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62047
62048 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62049 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62050 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62051
62052 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62053 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62054 to ...
62055 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62056
62057 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62058 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62059 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62060
62061 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62062 for x86-64.
62063 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62064
62065 2012-05-31 Joseph Myers <joseph@codesourcery.com>
62066
62067 * math/math.h (M_El): Use two more decimal places.
62068 (M_LOG2El): Likewise.
62069 (M_LOG10El): Likewise.
62070 (M_LN2l): Likewise.
62071 (M_LN10l): Likewise.
62072 (M_PIl): Likewise.
62073 (M_PI_2l): Likewise.
62074 (M_PI_4l): Likewise.
62075 (M_1_PIl): Likewise.
62076 (M_2_PIl): Likewise.
62077 (M_2_SQRTPIl): Likewise.
62078 (M_SQRT2l): Likewise.
62079 (M_SQRT1_2l): Likewise.
62080
62081 2012-05-31 David S. Miller <davem@davemloft.net>
62082
62083 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62084 values between float registers.
62085 * sysdeps/sparc/sparc64/memset.S: Likewise.
62086 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62087
62088 2012-05-31 Mike Frysinger <vapier@gentoo.org>
62089
62090 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62091 -D_FORTIFY_SOURCE=1.
62092 (CPPFLAGS-tst-longjmp_chk.c): Define.
62093 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62094 (CPPFLAGS-tst-longjmp_chk2.c): Define.
62095 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62096 CFLAGS-tst-wchar-h.c.
62097
62098 2012-05-31 Marek Polacek <polacek@redhat.com>
62099
62100 [BZ #14132]
62101 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62102 __endmntent_internal): Remove declaration.
62103 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62104 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62105 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62106
62107 2012-05-30 David S. Miller <davem@davemloft.net>
62108
62109 * sysdeps/sparc/sparc32/soft-fp/q_util.c
62110 (___Q_simulate_exceptions): Use real FP ops rather than writing
62111 into the %fsr.
62112 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62113 Likewise.
62114
62115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62116
62117 [BZ #14117]
62118 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62119 * sysdeps/x86/bits/xtitypes.h: This.
62120
62121 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62122 * sysdeps/x86/bits/wordsize.h: This.
62123
62124 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62125 * sysdeps/x86/bits/huge_vall.h: This.
62126
62127 * sysdeps/i386/bits/select.h: Removed.
62128 * sysdeps/x86_64/bits/select.h: Renamed to ...
62129 * sysdeps/x86/bits/select.h: This.
62130
62131 * sysdeps/i386/bits/setjmp.h: Removed.
62132 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62133 * sysdeps/x86/bits/setjmp.h: This.
62134
62135 * sysdeps/i386/bits/mathdef.h: Removed.
62136 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62137 * sysdeps/x86/bits/mathdef.h: This.
62138
62139 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
62140
62141 [BZ #14132]
62142 * include/sys/socket.h (__connect_internal)
62143 (__libc_sa_len_internal): Remove declaration.
62144 (__connect, __libc_sa_len): Declare hidden_proto.
62145 (SA_LEN): Remove use of INTUSE.
62146 * socket/connect.c: Add libc_hidden_def.
62147 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62148 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62149 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62150 alias.
62151 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62153 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62154 of adding _internal alias.
62155
62156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62157
62158 [BZ #14117]
62159 * sysdeps/i386/bits/link.h: Removed.
62160 * sysdeps/i386/bits/linkmap.h: Likewise.
62161 * sysdeps/x86_64/bits/link.h: Renamed to ...
62162 * sysdeps/x86/bits/link.h: This.
62163 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62164 * sysdeps/x86/bits/linkmap.h: This.
62165
62166 * sysdeps/i386/bits/endian.h: Removed.
62167 * sysdeps/x86_64/bits/endian.h: Renamed to ...
62168 * sysdeps/x86/bits/endian.h: This.
62169
62170 * sysdeps/i386/bits/byteswap.h: Removed.
62171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
62172 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62173 * sysdeps/x86/bits/byteswap.h: This.
62174 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62175 * sysdeps/x86/bits/byteswap-16.h: This.
62176 * sysdeps/i386/Implies: Add x86.
62177 * sysdeps/x86_64/Implies: Likewise.
62178
62179 2012-05-30 David S. Miller <davem@davemloft.net>
62180
62181 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62182 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62184 (FP_TRAPPING_EXCEPTIONS): Define.
62185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62186 (FP_TRAPPING_EXCEPTIONS): Define.
62187 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62188 subnormals only when inexact has been signalled or underflow
62189 exceptions are enabled.
62190 (_FP_PACK_CANONICAL): Likewise.
62191
62192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62193
62194 [BZ #14183]
62195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62196 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62197
62198 2012-05-30 Richard Henderson <rth@twiddle.net>
62199
62200 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62201 with #ifndef NOT_IN_libc.
62202
62203 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
62204 marked to avoid plt entry.
62205
62206 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
62207
62208 [BZ #14112]
62209 * Makeconfig (default-abi): New macro.
62210 (abi-includes): Likewise.
62211 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
62212 $(abi-$(default-abi)-lib-soname) for soname if defined.
62213 ($(common-objpfx)gnu/lib-names.stmp): Generate from
62214 abi-variants.
62215 * Makefile (installed-stubs): Likewise.
62216 * include/stubs-biarch.h: Removed.
62217 * scripts/lib-names.awk: Only handle one library at a time.
62218 * scripts/soversions.awk: Remove WORDSIZE support.
62219 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62220 entries.
62221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62222 Removed.
62223 (syscall-list-default-condition): Likewise.
62224 (syscall-list-default-condition): Likewise.
62225 (syscall-list-includes): Likewise.
62226 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62227 syscall-list-* with abi-*. Handle undefined abi-variants.
62228 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62229 * sysdeps/unix/sysv/linux/i386/Implies: New file.
62230 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62231 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62232 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62233 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62234 Removed.
62235 (syscall-list-32-options): Likewise.
62236 (syscall-list-32-condition): Likewise.
62237 (syscall-list-64-options): Likewise.
62238 (syscall-list-64-condition): Likewise.
62239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62240 macro.
62241 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62242 Renamed to ...
62243 (abi-*): This.
62244 (abi-64-ld-soname): New macro.
62245 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62246 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62247 Renamed to ...
62248 (abi-*): This.
62249 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62250 * sysdeps/x86_64/x32/shlib-versions: Likewise.
62251
62252 2012-05-30 Joseph Myers <joseph@codesourcery.com>
62253
62254 * sysdeps/unix/sysv/linux/kernel-features.h
62255 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62256 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62257 include <kernel-features.h>.
62258 [!__NR_ftruncate64]: Remove conditional code.
62259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62260 [__NR_ftruncate64]: Make code unconditional.
62261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62262 * sysdeps/unix/sysv/linux/truncate64.c: Do not
62263 include <kernel-features.h>.
62264 [!__NR_ftruncate64]: Remove conditional code.
62265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62266 [__NR_ftruncate64]: Make code unconditional.
62267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62269 include <kernel-features.h>.
62270 [!__NR_ftruncate64]: Remove conditional code.
62271 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62272 [__NR_ftruncate64]: Make code unconditional.
62273 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62275 include <kernel-features.h>.
62276 [!__NR_ftruncate64]: Remove conditional code.
62277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62278 [__NR_ftruncate64]: Make code unconditional.
62279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62280
62281 * configure.in (libc_cv_fpie): Weaken to a compile test using
62282 LIBC_TRY_CC_OPTION.
62283 * configure: Regenerated.
62284
62285 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62286
62287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62291 Refreshed.
62292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62298 Refreshed.
62299
62300 2012-05-27 David S. Miller <davem@davemloft.net>
62301
62302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62303 (___Q_zero): New.
62304 (__Q_simulate_exceptions): Return void. Change to simulate
62305 exceptions by writing into the %fsr.
62306 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62307 (__Qp_handle_exceptions): Likewise.
62308 (numbers): Delete.
62309 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62310 __Qp_handle_exceptions.
62311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62312 __Qp_handle_exceptions.
62313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62314 as unused and give dummy FP_RND_NEAREST initializer.
62315 (FP_INHIBIT_RESULTS): Define.
62316 (___Q_simulate_exceptions): Update declaration.
62317 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62318 formatting.
62319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62320 as unused and give dummy FP_RND_NEAREST initializer.
62321 (__Qp_handle_exceptions): Update declaration.
62322 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62323 formatting.
62324
62325 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
62326
62327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62328 the temporary FPU control word.
62329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62330 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62335 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62338 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62340
62341 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
62342
62343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62344 fields.
62345
62346 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
62347
62348 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62349 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62350 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62351 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62352 Likewise.
62353 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62354 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62355 Likewise.
62356
62357 2012-05-27 Ulrich Drepper <drepper@gmail.com>
62358
62359 * po/h.po: Update from translation team.
62360
62361 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
62362
62363 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62364
62365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62366 handling of denormals.
62367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62374 Likewise.
62375
62376 2012-05-26 Marek Polacek <polacek@redhat.com>
62377
62378 [BZ #14152]
62379 * math/libm-test.inc (fma_test): Don't always expect underflow
62380 exception.
62381
62382 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
62383
62384 [BZ #12416]
62385 * elf/tst-execstack.c: Include stackinfo.h.
62386 (do_test): Adjust test case to ensure that pthread_getattr_np
62387 behaviour remains the same after marking stack executable.
62388
62389 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62390
62391 * sysdeps/unix/sysv/linux/kernel-features.h
62392 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62394 kernel-features.h.
62395 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62396 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62397 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62398 kernel-features.h.
62399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62401
62402 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
62403
62404 * configure.in: Define the default includes to being none.
62405 * configure: Regenerated.
62406
62407 2012-05-25 Roland McGrath <roland@hack.frob.com>
62408
62409 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62410 * sysdeps/x86_64/setjmp.S: Likewise.
62411 * sysdeps/i386/bsd-setjmp.S: Likewise.
62412 * sysdeps/i386/bsd-_setjmp.S: Likewise.
62413 * sysdeps/i386/setjmp.S: Likewise.
62414 * sysdeps/i386/__longjmp.S: Likewise.
62415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62417
62418 * include/stap-probe.h: New file.
62419 * configure.in: Handle --enable-systemtap.
62420 * configure: Regenerated.
62421 * config.h.in (USE_STAP_PROBE): New #undef.
62422 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62423 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62424 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62425
62426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
62427
62428 [BZ #13717]
62429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62430 to 2.4.0 where earlier.
62431 * sysdeps/unix/sysv/linux/configure: Regenerated.
62432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62433 <kernel-features.h>.
62434 [__ASSUME_32BITUIDS]: Make code unconditional.
62435 [!__ASSUME_32BITUIDS]: Remove conditional code.
62436 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62437 <kernel-features.h>.
62438 [__ASSUME_32BITUIDS]: Make code unconditional.
62439 [!__ASSUME_32BITUIDS]: Remove conditional code.
62440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62441 [__ASSUME_32BITUIDS]: Make code unconditional.
62442 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62443 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
62444 <kernel-features.h>.
62445 [__ASSUME_32BITUIDS]: Make code unconditional.
62446 [!__ASSUME_32BITUIDS]: Remove conditional code.
62447 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
62448 <kernel-features.h>.
62449 [__ASSUME_32BITUIDS]: Make code unconditional.
62450 [!__ASSUME_32BITUIDS]: Remove conditional code.
62451 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
62452 <kernel-features.h>.
62453 [__ASSUME_32BITUIDS]: Make code unconditional.
62454 [!__ASSUME_32BITUIDS]: Remove conditional code.
62455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
62456 <kernel-features.h>.
62457 [__ASSUME_32BITUIDS]: Make code unconditional.
62458 [!__ASSUME_32BITUIDS]: Remove conditional code.
62459 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
62460 <kernel-features.h>.
62461 [__ASSUME_32BITUIDS]: Make code unconditional.
62462 [!__ASSUME_32BITUIDS]: Remove conditional code.
62463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
62464 <kernel-features.h>.
62465 [__ASSUME_32BITUIDS]: Make code unconditional.
62466 [!__ASSUME_32BITUIDS]: Remove conditional code.
62467 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
62468 <kernel-features.h>.
62469 [__ASSUME_32BITUIDS]: Make code unconditional.
62470 [!__ASSUME_32BITUIDS]: Remove conditional code.
62471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
62472 <kernel-features.h>.
62473 [__ASSUME_32BITUIDS]: Make code unconditional.
62474 [!__ASSUME_32BITUIDS]: Remove conditional code.
62475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
62476 <kernel-features.h>.
62477 [__ASSUME_32BITUIDS]: Make code unconditional.
62478 [!__ASSUME_32BITUIDS]: Remove conditional code.
62479 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
62480 <kernel-features.h>.
62481 [__ASSUME_32BITUIDS]: Make code unconditional.
62482 [!__ASSUME_32BITUIDS]: Remove conditional code.
62483 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
62484 <kernel-features.h>.
62485 [__NR_setresgid] (__setresgid): Do not declare.
62486 [__ASSUME_32BITUIDS]: Make code unconditional.
62487 [!__ASSUME_32BITUIDS]: Remove conditional code.
62488 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
62489 <kernel-features.h>.
62490 [__NR_setresuid] (__setresuid): Do not declare.
62491 [__ASSUME_32BITUIDS]: Make code unconditional.
62492 [!__ASSUME_32BITUIDS]: Remove conditional code.
62493 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
62494 <kernel-features.h>.
62495 [__ASSUME_32BITUIDS]: Make code unconditional.
62496 [!__ASSUME_32BITUIDS]: Remove conditional code.
62497 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
62498 <kernel-features.h>.
62499 [__ASSUME_32BITUIDS]: Make code unconditional.
62500 [!__ASSUME_32BITUIDS]: Remove conditional code.
62501 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
62502 <kernel-features.h>.
62503 [__ASSUME_32BITUIDS]: Make code unconditional.
62504 [!__ASSUME_32BITUIDS]: Remove conditional code.
62505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
62506 <kernel-features.h>.
62507 [__ASSUME_32BITUIDS]: Make code unconditional.
62508 [!__ASSUME_32BITUIDS]: Remove conditional code.
62509 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
62510 <kernel-features.h>.
62511 [__ASSUME_32BITUIDS]: Make code unconditional.
62512 [!__ASSUME_32BITUIDS]: Remove conditional code.
62513 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
62514 <kernel-features.h>.
62515 [__ASSUME_32BITUIDS]: Make code unconditional.
62516 [!__ASSUME_32BITUIDS]: Remove conditional code.
62517 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
62518 <kernel-features.h>.
62519 [__ASSUME_32BITUIDS]: Make code unconditional.
62520 [!__ASSUME_32BITUIDS]: Remove conditional code.
62521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
62522 <kernel-features.h>.
62523 [__ASSUME_32BITUIDS]: Make code unconditional.
62524 [!__ASSUME_32BITUIDS]: Remove conditional code.
62525 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
62526 <kernel-features.h>.
62527 [__ASSUME_32BITUIDS]: Make code unconditional.
62528 [!__ASSUME_32BITUIDS]: Remove conditional code.
62529 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
62530 <kernel-features.h>.
62531 [__ASSUME_32BITUIDS]: Make code unconditional.
62532 [!__ASSUME_32BITUIDS]: Remove conditional code.
62533 * sysdeps/unix/sysv/linux/kernel-features.h
62534 (__ASSUME_SETRESUID_SYSCALL): Remove.
62535 (__ASSUME_SETRESGID_SYSCALL): Likewise.
62536 (__ASSUME_32BITUIDS): Likewise.
62537 (__ASSUME_LDT_WORKS): Likewise.
62538 (__ASSUME_O_DIRECTORY): Likewise.
62539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
62540 architecture but not kernel version.
62541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
62542 (__ASSUME_MMAP2_SYSCALL): Likewise.
62543 (__ASSUME_STAT64_SYSCALL): Likewise.
62544 (__ASSUME_IPC64): Likewise.
62545 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
62546 <kernel-features.h>.
62547 [__ASSUME_32BITUIDS]: Make code unconditional.
62548 [!__ASSUME_32BITUIDS]: Remove conditional code.
62549 * sysdeps/unix/sysv/linux/opendir.c: Do not include
62550 <kernel-features.h>.
62551 [__ASSUME_O_DIRECTORY]: Make code unconditional.
62552 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
62553 132096]: Remove conditional code.
62554 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
62555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
62556 <kernel-features.h>.
62557 [__ASSUME_32BITUIDS]: Make code unconditional.
62558 [!__ASSUME_32BITUIDS]: Remove conditional code.
62559 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
62560 <kernel-features.h>.
62561 [__ASSUME_32BITUIDS]: Make code unconditional.
62562 [!__ASSUME_32BITUIDS]: Remove conditional code.
62563 * sysdeps/unix/sysv/linux/setegid.c: Do not include
62564 <kernel-features.h>.
62565 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
62566 unconditional.
62567 (__setresgid): Do not declare.
62568 [__ASSUME_32BITUIDS]: Make code unconditional.
62569 [!__ASSUME_32BITUIDS]: Remove conditional code.
62570 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
62571 <kernel-features.h>.
62572 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
62573 unconditional.
62574 (__setresuid): Do not declare.
62575 [__ASSUME_32BITUIDS]: Make code unconditional.
62576 [!__ASSUME_32BITUIDS]: Remove conditional code.
62577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
62578 <kernel-features.h>.
62579 [__ASSUME_32BITUIDS]: Make code unconditional.
62580 [!__ASSUME_32BITUIDS]: Remove conditional code.
62581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
62582 <kernel-features.h>.
62583 [__ASSUME_32BITUIDS]: Make code unconditional.
62584 [!__ASSUME_32BITUIDS]: Remove conditional code.
62585
62586 2012-05-25 Richard Henderson <rth@twiddle.net>
62587
62588 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
62589 dl_hwcap to ifunc resolver.
62590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
62591 elf_ifunc_invoke.
62592 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
62593 dl_hwcap to ifunc resolver.
62594 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
62595
62596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62597
62598 [BZ #14153]
62599 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
62600 for |x| <= 2**-26, not 2**-57.
62601 * math/libm-test.inc (acos_test): Do not allow spurious underflow
62602 exception.
62603
62604 2012-05-24 Jeff Law <law@redhat.com>
62605
62606 * stdio-common/Makefile (tests): Add bug25.
62607 * stdio-common/bug25.c: New test.
62608
62609 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62610
62611 [BZ #13576]
62612 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
62613 multiple of MALLOC_ALIGNMENT in size.
62614 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
62615
62616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62617
62618 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
62619 Require >= 256.
62620 (FILENAME_MAX): Use macro-int-constant.
62621 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
62622 (_IOFBF): Use macro-int-constant.
62623 (_IOLBF): Likewise.
62624 (_IONBF): Likewise.
62625 (SEEK_CUR): Likewise.
62626 (SEEK_END): Likewise.
62627 (SEEK_SET): Likewise.
62628 (TMP_MAX): Likewise.
62629 (EOF): Use macro-int-constant. Require < 0.
62630 (NULL): Use macro-constant. Require == 0.
62631 (stdin): Require type to be FILE *.
62632 (stdout): Likewise.
62633 (stderr): Likewise.
62634 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
62635 macro-int-constant.
62636 (EXIT_SUCCESS): Likewise.
62637 (NULL): Use macro-constant. Require == 0.
62638 (RAND_MAX): Use macro-int-constant.
62639 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
62640 [C99-based standards] (strtof): Require function.
62641 [C99-based standards] (strtold): Likewise.
62642 [C99-based standards] (strtoll): Likewise.
62643 [C99-based standards] (strtoull): Likewise.
62644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62645 [ISO || ISO99 || ISO11] (limits.h): Likewise.
62646 [ISO || ISO99 || ISO11] (math.h): Likewise.
62647 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
62648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
62650
62651 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
62652
62653 [BZ #14132]
62654 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
62655 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
62656 * intl/dgettext.c (DCGETTEXT): Likewise.
62657 * intl/gettext.c (DCGETTEXT): Likewise.
62658 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
62659 * posix/regex_internal.h (gettext): Likewise.
62660 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
62661 Remove declaration.
62662 * include/argz.h (__argz_count_internal)
62663 (__argz_stringify_internal): Remove declaration.
62664 (__argz_count, __argz_stringify): Declare hidden proto.
62665 * intl/dcgettext.c: Remove use of INTDEF.
62666 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
62667 * string/argz-stringify.c: Likewise.
62668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62670 Declare hidden proto.
62671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
62672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
62673 Declare hidden proto.
62674 * include/stdio.h (__asprintf_internal): Don't declare.
62675 (__asprintf): Don't define as macro. Declare hidden proto.
62676 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
62677 (__fsetlocking): Declare hidden proto.
62678 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
62679 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
62680 hidden proto.
62681 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
62682 (_IO_setlinebuf): Remove use of INTUSE.
62683 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
62684 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
62685 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
62686 Remove declaration.
62687 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
62688 (_IO_do_flush): Remove use of INTUSE.
62689 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
62690 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
62691 (_IO_adjust_column, _IO_least_wmarker)
62692 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
62693 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
62694 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
62695 (_IO_default_doallocate, _IO_wdefault_doallocate)
62696 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
62697 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
62698 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
62699 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
62700 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
62701 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
62702 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
62703 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
62704 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
62705 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
62706 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
62707 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
62708 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
62709 proto.
62710 (_IO_flush_all_internal, _IO_adjust_column_internal)
62711 (_IO_default_uflow_internal, _IO_default_finish_internal)
62712 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
62713 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
62714 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
62715 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
62716 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
62717 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
62718 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
62719 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
62720 (_IO_file_close_internal, _IO_file_close_it_internal)
62721 (_IO_file_underflow_internal, _IO_file_overflow_internal)
62722 (_IO_file_init_internal, _IO_file_attach_internal)
62723 (_IO_file_fopen_internal, _IO_file_read_internal)
62724 (_IO_file_sync_internal, _IO_file_seek_internal)
62725 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
62726 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
62727 (_IO_str_underflow_internal, _IO_str_overflow_internal)
62728 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
62729 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
62730 (_IO_list_all_internal, _IO_link_in_internal)
62731 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
62732 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
62733 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
62734 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
62735 (_IO_do_write_internal, _IO_padn_internal)
62736 (_IO_getline_info_internal, _IO_getline_internal)
62737 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
62738 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
62739 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
62740 (_IO_vfscanf_internal, _IO_vfprintf_internal)
62741 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
62742 (_IO_init_internal, _IO_un_link_internal): Don't declare.
62743 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
62744 with libc_hidden_ver, remove use of INTUSE.
62745 * libio/genops.c: Likewise.
62746 * libio/freopen.c: Likewise.
62747 * libio/freopen64.c: Likewise.
62748 * libio/iofclose.c: Likewise.
62749 * libio/iofdopen.c: Likewise.
62750 * libio/iofflush.c: Likewise.
62751 * libio/iofflush_u.c: Likewise.
62752 * libio/iofgets.c: Likewise.
62753 * libio/iofgets_u.c: Likewise.
62754 * libio/iofopen.c: Likewise.
62755 * libio/iofopncook.c: Likewise.
62756 * libio/iofread.c: Likewise.
62757 * libio/iofread_u.c: Likewise.
62758 * libio/ioftell.c: Likewise.
62759 * libio/iofwrite.c: Likewise.
62760 * libio/iogetline.c: Likewise.
62761 * libio/iogets.c: Likewise.
62762 * libio/iogetwline.c: Likewise.
62763 * libio/iopadn.c: Likewise.
62764 * libio/iopopen.c: Likewise.
62765 * libio/ioseekoff.c: Likewise.
62766 * libio/ioseekpos.c: Likewise.
62767 * libio/iosetbuffer.c: Likewise.
62768 * libio/iosetvbuf.c: Likewise.
62769 * libio/ioungetc.c: Likewise.
62770 * libio/ioungetwc.c: Likewise.
62771 * libio/iovdprintf.c: Likewise.
62772 * libio/iovsprintf.c: Likewise.
62773 * libio/iovsscanf.c: Likewise.
62774 * libio/memstream.c: Likewise.
62775 * libio/obprintf.c: Likewise.
62776 * libio/oldfileops.c: Likewise.
62777 * libio/oldiofclose.c: Likewise.
62778 * libio/oldiofdopen.c: Likewise.
62779 * libio/oldiofopen.c: Likewise.
62780 * libio/oldiopopen.c: Likewise.
62781 * libio/oldstdfiles.c: Likewise.
62782 * libio/putc.c: Likewise.
62783 * libio/setbuf.c: Likewise.
62784 * libio/setlinebuf.c: Likewise.
62785 * libio/stdfiles.c: Likewise.
62786 * libio/strops.c: Likewise.
62787 * libio/vasprintf.c: Likewise.
62788 * libio/vscanf.c: Likewise.
62789 * libio/vsnprintf.c: Likewise.
62790 * libio/vswprintf.c: Likewise.
62791 * libio/wfiledoalloc.c: Likewise.
62792 * libio/wfileops.c: Likewise.
62793 * libio/wgenops.c: Likewise.
62794 * libio/wmemstream.c: Likewise.
62795 * libio/wstrops.c: Likewise.
62796 * libio/__fpurge.c: Likewise.
62797 * libio/__fsetlocking.c: Likewise.
62798 * assert/assert.c: Likewise.
62799 * debug/fgets_chk.c: Likewise.
62800 * debug/fgets_u_chk.c: Likewise.
62801 * debug/fread_chk.c: Likewise.
62802 * debug/fread_u_chk.c: Likewise.
62803 * debug/gets_chk.c: Likewise.
62804 * debug/obprintf_chk.c: Likewise.
62805 * debug/vasprintf_chk.c: Likewise.
62806 * debug/vdprintf_chk.c: Likewise.
62807 * debug/vsnprintf_chk.c: Likewise.
62808 * debug/vsprintf_chk.c: Likewise.
62809 * malloc/mtrace.c: Likewise.
62810 * misc/error.c: Likewise.
62811 * misc/syslog.c: Likewise.
62812 * stdio-common/asprintf.c: Likewise.
62813 * stdio-common/fxprintf.c: Likewise.
62814 * stdio-common/getw.c: Likewise.
62815 * stdio-common/isoc99_fscanf.c: Likewise.
62816 * stdio-common/isoc99_scanf.c: Likewise.
62817 * stdio-common/isoc99_vfscanf.c: Likewise.
62818 * stdio-common/isoc99_vscanf.c: Likewise.
62819 * stdio-common/isoc99_vsscanf.c: Likewise.
62820 * stdio-common/printf-prs.c: Likewise.
62821 * stdio-common/printf_fp.c: Likewise.
62822 * stdio-common/printf_fphex.c: Likewise.
62823 * stdio-common/printf_size.c: Likewise.
62824 * stdio-common/putw.c: Likewise.
62825 * stdio-common/scanf.c: Likewise.
62826 * stdio-common/sprintf.c: Likewise.
62827 * stdio-common/tmpfile.c: Likewise.
62828 * stdio-common/vfprintf.c: Likewise.
62829 * stdio-common/vfscanf.c: Likewise.
62830 * stdlib/strfmon_l.c: Likewise.
62831 * sunrpc/openchild.c: Likewise.
62832 * sunrpc/xdr_stdio.c: Likewise.
62833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
62834 * sysdeps/mach/hurd/tmpfile.c: Likewise.
62835
62836 2012-05-24 Roland McGrath <roland@hack.frob.com>
62837
62838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
62839
62840 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
62841 in the third column, to generate for the shared library an IFUNC
62842 that uses _dl_vdso_vsym.
62843 * Makerules (COMPILE.c, compile-stdin.c): New variables.
62844 * Makeconfig (object-suffixes-noshared): New variable.
62845
62846 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
62847 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
62848 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
62849 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
62850
62851 [BZ #14132]
62852 * include/sys/time.h (__gettimeofday): Remove macro.
62853 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
62854 * time/gettimeofday.c (__gettimeofday): Remove #undef.
62855 Remove INTDEF.
62856 (__gettimeofday): Add libc_hidden_def.
62857 (gettimeofday): Add libc_hidden_weak.
62858 * sysdeps/mach/gettimeofday.c: Likewise.
62859 * sysdeps/posix/gettimeofday.c: Likewise.
62860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
62861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
62862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
62863 (__gettimeofday_internal): Remove strong_alias.
62864 (__gettimeofday): Add libc_hidden_def.
62865 (gettimeofday): Add libc_hidden_weak.
62866 * sysdeps/unix/syscalls.list (gettimeofday):
62867 Remove __gettimeofday_internal alias.
62868
62869 2012-05-24 Daniel Jacobowitz <drow@false.org>
62870 H.J. Lu <hongjiu.lu@intel.com>
62871
62872 [BZ #12495]
62873 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
62874 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
62875 (largebin_index_32_big): New.
62876 (largebin_index): Use it for 16-byte alignment.
62877 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
62878 correction with front_misalign.
62879
62880 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
62881
62882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
62883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
62884 Likewise.
62885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
62886 Likewise.
62887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
62888 Likewise.
62889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
62890 Likewise.
62891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
62892 Likewise.
62893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
62894 Likewise.
62895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
62896 Likewise.
62897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
62898 Likewise.
62899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
62900 Likewise.
62901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
62902 Likewise.
62903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
62904 Likewise.
62905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
62906 Likewise.
62907
62908 * scripts/data/c++-types-x32-linux-gnu.data: New file.
62909 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
62910
62911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
62912
62913 [BZ #10846]
62914 [BZ #14036]
62915 * math/libm-test.inc (exp_test): Add test from bug 14036.
62916 (pow_test): Add test from bug 10846.
62917
62918 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
62919 and other flags.
62920 (special_function): Do not include flags in test name.
62921 (parse_args): Likewise.
62922 * sysdeps/i386/fpu/libm-test-ulps: Update.
62923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
62925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
62926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62927
62928 * math/gen-libm-test.pl (%beautify): Add entries for underflow
62929 exceptions.
62930 * math/libm-test.inc ("Philosophy"): Update comment about
62931 exception testing.
62932 (UNDERFLOW_EXCEPTION): New macro.
62933 (UNDERFLOW_EXCEPTION_OK): Likewise.
62934 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
62935 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
62936 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
62937 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
62938 (INVALID_EXCEPTION_OK): Update value.
62939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62940 (OVERFLOW_EXCEPTION_OK): Likewise.
62941 (IGNORE_ZERO_INF_SIGN): Likewise.
62942 (test_exceptions): Handle underflow exceptions.
62943 (acos_test): Update for underflow exception expectations.
62944 (cexp_test): Likewise.
62945 (clog_test): Likewise.
62946 (clog10_test): Likewise.
62947 (csqrt_test): Likewise.
62948 (ctan_test): Likewise.
62949 (ctanh_test): Likewise.
62950 (exp_test): Likewise.
62951 (exp10_test): Likewise.
62952 (exp2_test): Likewise.
62953 (expm1_test): Likewise.
62954 (fma_test): Likewise.
62955 (j0_test): Likewise.
62956 (jn_test): Likewise.
62957 (nexttoward_test): Likewise.
62958 (pow_test): Likewise.
62959 (scalbn_test): Likewise.
62960 (scalbln_test): Likewise.
62961 (tan_test): Likewise.
62962 (y1_test): Likewise.
62963 * sysdeps/i386/fpu/libm-test-ulps: Update.
62964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62965
62966 2012-05-23 David S. Miller <davem@davemloft.net>
62967
62968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
62969 (__libc_sigaction): Remove unused local variables.
62970
62971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
62972
62973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
62974
62975 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
62976
62977 mktime: avoid signed integer overflow
62978 * time/mktime.c (__mktime_internal): Do not mishandle the case
62979 where diff == INT_MIN.
62980
62981 mktime: simplify computation of average
62982 * time/mktime.c (ranged_convert): Use new time_t_avg function
62983 instead of rolling our own (probably-slower) code.
62984
62985 mktime: do not assume signed right shift propagates sign bit
62986 * time/mktime.c (isdst_differ): New static function.
62987 (__mktime_internal): No need to normalize tm_isdst now.
62988 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
62989 tm_isdst values.
62990
62991 mktime: merge another wrapv change from gnulib
62992 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
62993 from some compilers.
62994
62995 mktime: remove incorrect attempt at unusual arithmetics
62996 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
62997 The code didn't really work on such machines anyway.
62998 (TYPE_MINIMUM): Assume two's complement.
62999 (twos_complement_arithmetic): Verify that long_int and time_t
63000 are two's complement (or unsigned, in the latter case).
63001
63002 mktime: check signed shifts on long_int and time_t, too
63003 * time/mktime.c (SHR): Check that shifts work as desired
63004 on the types long_int and time_t too, as SHR is used on
63005 such types.
63006
63007 mktime: do not assume 'long' is wide enough
63008 * time/mktime.c (verify): Move decl up.
63009 (long_int): New type.
63010 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63011 to remove assumption in the code that 'long' is wide enough to
63012 store year values. This assumption is not true on x32 and on
63013 some non-glibc platforms.
63014
63015 mktime: merge wrapv change from gnulib
63016 * time/mktime.c (WRAPV): New macro.
63017 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63018 (guess_time_tm, __mktime_internal): Do not assume that signed
63019 integer overflow wraps around; modern compilers generate code
63020 where this assumption is no longer valid.
63021
63022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
63023
63024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63025 Replace "jmp L(pseudo_end)" with "ret".
63026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63027 Likewise.
63028
63029 2012-05-23 Andreas Jaeger <aj@suse.de>
63030
63031 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63032 * sysdeps/unix/sysv/linux/poll.c: Remove file.
63033
63034 2012-05-23 Andreas Jaeger <aj@suse.de>
63035 Maximilian Attems <max@stro.at>
63036
63037 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63038 New macros.
63039
63040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
63041
63042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63043 code so that pseudo_end is just ret and the stack pointer is
63044 correct also for static library in error case.
63045
63046 2012-05-23 Joseph Myers <joseph@codesourcery.com>
63047
63048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63049 move to syscalls.list.
63050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63054
63055 * manual/install.texi (Running make install): Do not mention Linux
63056 kernel version for which pt_chown is not needed.
63057 (Linux): Do not mention problems with nscd with 2.0 kernels.
63058 * INSTALL: Regenerated.
63059
63060 2012-05-23 Andreas Jaeger <aj@suse.de>
63061
63062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63063 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63064 macro.
63065 * sysdeps/unix/sysv/linux/s390/bits/mman.h
63066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63067 * sysdeps/unix/sysv/linux/sh/bits/mman.h
63068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63069 * sysdeps/unix/sysv/linux/i386/bits/mman.h
63070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63075 * sysdeps/unix/sysv/linux/bits/in.h
63076 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63077
63078 2012-05-22 Roland McGrath <roland@hack.frob.com>
63079
63080 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63081 (PREPARE_VERSION): Just use assert instead, it will be elided
63082 under [NDEBUG] anyway.
63083
63084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63085
63086 * sysdeps/unix/sysv/linux/Makefile: Include
63087 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63088 (sysdep_routines): Remove sysctl.
63089 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63090 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63092 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63093 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63094
63095 2012-05-22 Andreas Jaeger <aj@suse.de>
63096
63097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63098 that pseudo_end is just ret and the stack pointer is correct also
63099 for static library in error case.
63100
63101 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
63102
63103 [BZ #14122]
63104 * nss/nsswitch.c (defconfig_entries): New variable.
63105 (__nss_database_lookup): Don't leak defconfig entries.
63106 (nss_parse_service_list): Don't leak on error paths.
63107 (free_database_entries): New function.
63108 (free_defconfig): New function.
63109 (free_mem): Move common code to free_database_entries.
63110
63111 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63112
63113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63114 Add arch_prctl.
63115 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63116
63117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63118 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63120 New macro.
63121 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63122 (INTERNAL_SYSCALL_TYPES): Likewise.
63123 (LOAD_ARGS_TYPES_[1-6]): Likewise.
63124 (LOAD_REGS_TYPES_[1-6]): Likewise.
63125 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63126 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63127
63128 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63129
63130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63131 copysignl for GLIBC_2_0.
63132 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63133 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63135 logbl for GLIBC_2_0.
63136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63137 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63138
63139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63140
63141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63143
63144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63145 Use "neg %eax".
63146
63147 * time/mktime.c: Update copyright years.
63148
63149 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
63150
63151 mktime: merge comment-quoting-style change from gnulib
63152 * time/mktime.c: Quote 'like this' in comments.
63153 The GNU coding standards suggest that we no longer quote `like this',
63154 as "`" and "'" are typically rendered asymmetrically nowadays.
63155 The typical gnulib style is to quote 'like this' when quoting
63156 code, and "like this" when quoting English.
63157
63158 * time/mktime.c (compile-command): Add "-I.".
63159
63160 mktime: merge mktime-internal.h change from gnulib
63161 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63162
63163 mktime: merge time_r change from gnulib
63164 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63165
63166 mktime: merge DEBUG change from gnulib
63167 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63168 case system <time.h> has a #define.
63169
63170 mktime: merge <sys/types.h> change from gnulib
63171 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63172 since <time.t> is now guaranteed to define time_t.
63173
63174 mktime: merge HAVE_CONFIG_H change from gnulib
63175 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63176
63177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
63178
63179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63180 Use "neg %eax".
63181
63182 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63183 __rlim_t cast.
63184 (struct rusage): Use anonymous union to pad each field to
63185 __syscall_slong_t.
63186
63187 2012-05-21 David S. Miller <davem@davemloft.net>
63188
63189 * Makefules (o-iterator): Remove .s cases.
63190 (compile-command.s): Delete.
63191 (COMPILE.s): Delete.
63192 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63193
63194 2012-05-21 Joseph Myers <joseph@codesourcery.com>
63195
63196 * configure.in (libc_cv_predef_stack_protector): Only consider
63197 "foobar" and "__stack_chk_fail" lines in libc_undefs.
63198 * configure: Regenerated.
63199
63200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63201
63202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63203 New macro. Use R*LP on int and pointer.
63204 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63205 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63206 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63207 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63208
63209 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63210 [__WORDSIZE_TIME64_COMPAT32] instead of
63211 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63212 (struct utmp): Likewise.
63213 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63214 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63215 Renamed to ...
63216 (__WORDSIZE_TIME64_COMPAT32): This.
63217 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63218 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63219 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63222 (__WORDSIZE_TIME64_COMPAT32): New macro.
63223
63224 2012-05-21 Andreas Jaeger <aj@suse.de>
63225
63226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63227 only if [SHARED]. Add prototype for __wcschr_ia32.
63228
63229 2012-05-21 Roland McGrath <roland@hack.frob.com>
63230
63231 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63232 of %rbp unmolested in the jmp_buf while mangling the low bits.
63233 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63234 unmolested high bits of %rbp while demangling the low bits.
63235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63236
63237 2012-05-21 Andreas Jaeger <aj@suse.de>
63238
63239 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63240 * sunrpc/svc_simple.c: Use it for registerrpc.
63241 * sunrpc/xcrypt.c: Use it for passwd2des.
63242
63243 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63244
63245 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63246
63247 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63248 Don't define if [__SYSCALL_WORDSIZE != 32].
63249 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63250 New macro.
63251
63252 2012-05-21 Bruno Haible <bruno@clisp.org>
63253 Andreas Jaeger <aj@suse.de>
63254
63255 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63256 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63257 inptr and inend for must_buffer_ch.
63258 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63259 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63260 * stdio-common/Makefile (tests): Remove bug15.
63261 (bug15-ENV): Remove macro.
63262 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63263 anymore.
63264
63265 2012-05-19 Andreas Jaeger <aj@suse.de>
63266 Roland McGrath <roland@hack.frob.com>
63267
63268 * manual/contrib.texi: Completely rewritten. It contains now an
63269 alphabetical list of contributors and their contributions.
63270
63271 2012-05-21 Richard Henderson <rth@twiddle.net>
63272
63273 * misc/getauxval.c (__getauxval): Use unsigned long int.
63274 * misc/sys/auxv.h: Include <sys/cdefs.h>.
63275 (getauxval): Use unsigned long int.
63276
63277 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
63278
63279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63280
63281 2012-05-21 Roland McGrath <roland@hack.frob.com>
63282
63283 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63284 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63285 __alignof__ (long double).
63286
63287 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63288
63289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63290
63291 2012-05-20 Richard Henderson <rth@twiddle.net>
63292
63293 * misc/getauxval.c: New file.
63294 * misc/sys/auxv.h: New file.
63295 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63296 (routines): Add getauxval.
63297 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63299 * elf/dl-sysdep.c (_dl_auxv): Remove.
63300 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63301 * elf/dl-support.c (_dl_auxv): New variable.
63302 (_dl_aux_init): Initialize it.
63303 * manual/startup.texi (Auxiliary Vector): New node.
63304 * sysdeps/generic/bits/hwcap.h: New file.
63305 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63306 * sysdeps/powerpc/sysdep.h: ... here. Include it.
63307 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63308 * sysdeps/sparc/sysdep.h: ... here. Include it.
63309 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63312 Update.
63313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63321
63322 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63323
63324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63325
63326 2012-05-19 David S. Miller <davem@davemloft.net>
63327
63328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63329
63330 2012-05-19 Joseph Myers <joseph@codesourcery.com>
63331
63332 [BZ #14123]
63333 * math/s_ccosh.c: Include <float.h>
63334 (__ccosh): Avoid internal overflow calculating sinh and cosh
63335 values before multiplying by sin and cos values.
63336 * math/s_ccoshf.c: Likewise.
63337 * math/s_ccoshl.c: Likewise.
63338 * math/s_csin.c: Likewise.
63339 * math/s_csinf.c: Likewise.
63340 * math/s_csinl.c: Likewise.
63341 * math/s_csinh.c: Likewise.
63342 * math/s_csinhf.c: Likewise.
63343 * math/s_csinhl.c: Likewise.
63344 * math/libm-test.inc (ccos_test): Add more tests.
63345 (ccosh_test): Likewise.
63346 (csin_test): Likewise.
63347 (csinh_test): Likewise.
63348 * sysdeps/i386/fpu/libm-test-ulps: Update.
63349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63350
63351 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
63352
63353 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63354 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63355
63356 * sysdeps/x86_64/x32/_itoa.h: Add comment.
63357
63358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
63359
63360 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63361 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63362 * sysdeps/powerpc/soft-fp/Versions: Likewise.
63363 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63364 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63365 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63366 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63367 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63368 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63369 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63370 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63371 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63372 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63373 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63374 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63375 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63376 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63377 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63378 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63379 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63380 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63381 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63382 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63383 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63384 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63385 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63386 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63387 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63388 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63389 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63390 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63391
63392 2012-05-18 Andreas Jaeger <aj@suse.de>
63393
63394 * csu/.gitignore: Delete.
63395
63396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63397
63398 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63399 (timex): Use __syscall_slong_t.
63400
63401 2012-05-18 Andreas Jaeger <aj@suse.de>
63402 Carlos O'Donell <carlos_odonell@mentor.com>
63403
63404 * manual/install.texi (Configuring and compiling): Update
63405 description about files modified in the source directory.
63406 * INSTALL: Regenerated.
63407
63408 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63409
63410 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63411 value. Use "or" to set return value to -1.
63412 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63413 negate return value.
63414
63415 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63416
63417 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63418 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63419 failure if the compiler has Graphite support disabled.
63420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63421 Likewise.
63422 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63423 (CFLAGS-memmove.c): Likewise.
63424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63425 Likewise.
63426
63427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
63428
63429 * sysdeps/x86_64/x32/_itoa.h: New file.
63430
63431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63432 getdents system call only if kernel and user dirents have the
63433 same d_ino and d_off.
63434
63435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63436 LLONG_MAX != LONG_MAX.
63437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
63438 (_fitoa_word): Likewise.
63439
63440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63441 years.
63442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
63444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
63445
63446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
63447 include <bits/wordsize.h>. Check __x86_64__ instead of
63448 __WORDSIZE.
63449 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
63450 if __x86_64__ is defined. Use anonymous union on fpstate.
63451
63452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
63453 anonymous union.
63454
63455 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
63456
63457 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
63458 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
63459 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
63460 Refer to _rtld_local_ro instead of _rtld_global_ro.
63461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
63462 Likewise.
63463 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
63464 Likewise.
63465 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
63466 Likewise.
63467 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
63468 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
63469 of _rtld_global, and rtld_progname instead of _dl_argv[0].
63470
63471 [BZ #10882]
63472 * sysdeps/powerpc/powerpc32/dl-machine.c
63473 (__elf_machine_runtime_setup) [PROF]: Don't reference
63474 _dl_prof_resolve.
63475
63476 2012-05-18 Andreas Jaeger <aj@suse.de>
63477
63478 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
63479 function only available for GCCs before 3.4 since GCC 3.4
63480 introduced a builtin.
63481 (lrint): Likewise.
63482 (llrintf): Likewise.
63483 (llrint): Likewise.
63484 (fmaxf): Likewise.
63485 (fmax): Likewise.
63486 (fminf): Likewise.
63487 (fmin): Likewise.
63488 (rint): Likewise.
63489 (rintf): Likewise.
63490 (nearbyint): Likewise.
63491 (nearbyintf): Likewise.
63492 (ceil): Likewise.
63493 (ceilf): Likewise.
63494 (floor): Likewise.
63495 (floorf): Likewise.
63496
63497 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63498
63499 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
63500 on both fields and cast pointer to __syscall_ulong_t.
63501
63502 * bits/types.h (__fsword_t): New type.
63503 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
63504 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
63505 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63506 (__FSWORD_T_TYPE): Likewise.
63507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63508 (__FSWORD_T_TYPE): Likewise.
63509 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63510 (__FSWORD_T_TYPE): Likewise.
63511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
63512 (__FSWORD_T_TYPE): Likewise.
63513 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
63514 __SWORD_TYPE with __fsword_t.
63515 (statfs64): Likewise.
63516
63517 2012-05-17 David S. Miller <davem@davemloft.net>
63518
63519 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
63520
63521 2012-05-17 Andreas Jaeger <aj@suse.de>
63522
63523 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
63524 warning.
63525
63526 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63527
63528 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
63529
63530 2012-05-17 Andreas Jaeger <aj@suse.de>
63531
63532 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
63533 when it is used.
63534
63535 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63536
63537 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
63538
63539 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
63540
63541 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
63542 * sysdeps/x86_64/tst-mallocalign1.c: New file.
63543
63544 2012-05-17 Andreas Jaeger <aj@suse.de>
63545 Carlos O'Donell <carlos_odonell@mentor.com>
63546
63547 [BZ #14059]
63548 * sysdeps/x86_64/multiarch/init-arch.h
63549 (bit_YMM_Usable): Rename to...
63550 (bit_AVX_Usable): ... this.
63551 (bit_FMA4_Usable): New macro.
63552 (bit_XMM_state): New macro.
63553 (bit_YMM_state): New macro.
63554 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
63555 [__ASSEMBLER__] (index_AVX_Usable): ... this.
63556 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
63557 (CPUID_OSXSAVE): New macro.
63558 (CPUID_AVX): New macro.
63559 (CPUID_FMA4): New macro.
63560 (index_YMM_Usable): Rename to...
63561 (index_AVX_Usable): ... this.
63562 (HAS_AVX): Use HAS_ARCH_FEATURE.
63563 (HAS_FMA4): Likewise.
63564 (HAS_YMM_USABLE): Remove.
63565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63566 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
63567 are present.
63568 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
63569 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
63570 * sysdeps/x86_64/multiarch/Makefile: Likewise.
63571 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
63572 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
63573
63574 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
63575
63576 * math/libm-test.c: Support platforms without multiple rounding modes.
63577 * math/bug-nextafter.c: Support platforms without FP exceptions.
63578 * math/bug-nexttoward.c: Likewise.
63579 * math/test-fenv.c: Likewise.
63580 * math/test-misc.c: Likewise.
63581 * stdlib/bug-getcontext.c: Likewise.
63582
63583 2012-05-17 Andreas Jaeger <aj@suse.de>
63584
63585 * manual/examples/search.c (critter_cmp): Change signature to
63586 avoid warnings.
63587 * manual/string.texi (Collation Functions): Likewise.
63588
63589 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63590
63591 * bits/types.h: Fold copyright years.
63592 * bits/typesizes.h: Likewise.
63593 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
63594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
63595 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
63596 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
63597 * time/time.h: Likewise.
63598
63599 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
63600
63601 [BZ #208]
63602 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
63603 in instead of returning them. Return void.
63604 (__libc_mallinfo): Accumulate over all arenas.
63605 (__malloc_stats): Adjust for change in int_mallinfo interface.
63606
63607 2012-05-16 Roland McGrath <roland@hack.frob.com>
63608
63609 [BZ #10375]
63610 * configure.in (NM): Add AC_CHECK_TOOL for it.
63611 (libc_extra_cflags): New substituted variable.
63612 Check for -fstack-protector being used implicitly.
63613 * configure: Regenerated.
63614 * config.make.in (config-extra-cflags): New variable,
63615 gets @libc_extra_cflags@.
63616 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
63617
63618 [BZ #10375]
63619 * configure.in: Check for _FORTIFY_SOURCE being predefined.
63620 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
63621 * configure: Regenerated.
63622 * config.make.in (CPPUNDEFS): New substituted variable.
63623 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
63624 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
63625 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
63626
63627 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63628
63629 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
63630 (mq_attr): Use __syscall_slong_t.
63631
63632 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63633
63634 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
63635 Check __x86_64__ instead of __WORDSIZE.
63636 (_STAT_VER_LINUX): Likewise.
63637 (stat): Check __x86_64__ instead of __WORDSIZE. Use
63638 __syscall_ulong_t and __syscall_slong_t.
63639 (stat64): Likewise.
63640
63641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63642
63643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
63644
63645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63646
63647 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
63648
63649 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63650
63651 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
63652 __syscall_ulong_t.
63653
63654 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
63655 include <bits/wordsize.h>. Check __x86_64__ instead of
63656 __WORDSIZE.
63657 (greg_t): Use "__extension__ long long int" if __x86_64__ is
63658 defined.
63659 (mcontext_t): Replace "unsigned long" with "unsigned long long".
63660
63661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
63662 include <bits/wordsize.h>. Check __x86_64__ instead of
63663 __WORDSIZE.
63664 (user_regs_struct): Use "__extension__ unsigned long long"
63665 instead of "unsigned long" if __x86_64__ is defined.
63666 (user): Likewise. Pad after pointer field if __ILP32__ is
63667 defined.
63668
63669 2012-05-16 Joseph Myers <joseph@codesourcery.com>
63670
63671 * configure.in (makeinfo): Require version 4.5 or later. Allow
63672 versions 5 to 9.
63673 * configure: Regenerated.
63674 * manual/install.texi (texinfo): Increase version requirement to
63675 4.5 or later.
63676 * INSTALL: Regenerated.
63677
63678 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
63679
63680 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
63681
63682 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
63683
63684 * sysdeps/x86_64/x32/ffs.c: New file.
63685
63686 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
63687 __syscall_ulong_t.
63688 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
63689 defined. Use __syscall_ulong_t.
63690 (shminfo): Use __syscall_ulong_t.
63691 (shm_info): Likewise.
63692
63693 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
63694 __syscall_ulong_t.
63695
63696 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
63697 <bits/wordsize.h>.
63698 (msgqnum_t): Use __syscall_ulong_t.
63699 (msglen_t): Likewise.
63700 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
63701 __syscall_ulong_t.
63702
63703 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
63704 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63705
63706 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
63707
63708 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
63709 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
63710
63711 * sysvipc/sys/msg.h (msgbuf): Replace long int with
63712 __syscall_slong_t.
63713
63714 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
63715 include <bits/wordsize.h>. Check __x86_64__ instead of
63716 __WORDSIZE.
63717
63718 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
63719 "unsigned long long int" if __x86_64__ is defined.
63720 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
63721
63722 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
63723 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
63724 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
63725
63726 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
63727 <stdint.h>.
63728 (GET_PC): Cast to uintptr_t first.
63729 (GET_FRAME): Likewise.
63730 (GET_STACK): Likewise.
63731
63732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
63733 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
63734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
63735 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
63736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
63737 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
63738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
63739 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
63740 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
63741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
63742 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
63743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
63744 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
63746 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
63747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
63748 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
63749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
63750 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
63751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
63752 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
63753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
63754 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
63755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
63756 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
63757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
63758 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
63759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
63760 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
63761
63762 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
63763
63764 * Makerules (+depfiles): Also collect depfiles from .oS in
63765 $(extra-objs).
63766 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
63767 .oS, $(libnldbl-routines)).
63768
63769 * Makerules (native-compile-mkdep-flags): Define.
63770 * sunrpc/Makefile (extra-objs): Add $(addprefix
63771 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
63772 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
63773 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
63774 calling $(make-target-directory).
63775
63776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63777
63778 * bits/types.h (__snseconds_t): Removed.
63779 * time/time.h (struct timespec): Replace __snseconds_t with
63780 __syscall_slong_t.
63781 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
63782 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
63783 Likewise.
63784 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63785 (__SNSECONDS_T_TYPE): Likewise.
63786 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63787 (__SNSECONDS_T_TYPE): Likewise.
63788 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63789 (__SNSECONDS_T_TYPE): Likewise.
63790
63791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63792
63793 * sysdeps/mach/hurd/bits/typesizes.h
63794 (__SYSCALL_SLONG_TYPE): New macro.
63795 (__SYSCALL_ULONG_TYPE): Likewise.
63796
63797 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63798
63799 * bits/types.h (__syscall_slong_t): New type.
63800 (__syscall_ulong_t): Likewise.
63801
63802 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
63803 (__SYSCALL_ULONG_TYPE): Likewise.
63804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63805 (__SYSCALL_SLONG_TYPE): Likewise.
63806 (__SYSCALL_ULONG_TYPE): Likewise.
63807 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63808 (__SYSCALL_SLONG_TYPE): Likewise.
63809 (__SYSCALL_ULONG_TYPE): Likewise.
63810 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63811 (__SYSCALL_SLONG_TYPE): Likewise.
63812 (__SYSCALL_ULONG_TYPE): Likewise.
63813
63814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63815
63816 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
63817 Add sigaltstack-offsets.sym.
63818 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
63819 <sigaltstack-offsets.h>.
63820 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
63821 longjmp_msg pointer.
63822 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
63823 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
63824 signal stack.
63825 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
63826
63827 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63828
63829 * elf/stackguard-macros.h: Remove file.
63830 * sysdeps/generic/stackguard-macros.h: New file.
63831 * sysdeps/i386/stackguard-macros.h: Likewise.
63832 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63833 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63834 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63835 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63836 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63837 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63838 * sysdeps/x86_64/stackguard-macros.h: Likewise.
63839 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
63840 <elf/stackguard-macros.h>.
63841
63842 [BZ #14109]
63843 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
63844 __aligned__ in attribute.
63845 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
63846 (gregset_t): Likewise.
63847
63848 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63849
63850 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
63851 * sysdeps/x86_64/64/Implies-after: Here. New file.
63852 * sysdeps/x86_64/x32/Implies-after: New file.
63853
63854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63855
63856 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
63857 and access return value for _dl_profile_fixup. Use R10_LP to
63858 load frame size.
63859
63860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63861
63862 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
63863
63864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63865
63866 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
63867 * sysdeps/x86_64/x32/sysdep.h: New file.
63868
63869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63870
63871 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
63872 * sysdeps/x86_64/setjmp.S: Likewise.
63873
63874 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63875
63876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
63877 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
63878 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
63879 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
63880 remove unused global constant.
63881
63882 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
63883
63884 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
63885 include of <not-cancel.h>.
63886
63887 2012-05-15 Roland McGrath <roland@hack.frob.com>
63888
63889 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
63890
63891 2012-05-15 Jeff Law <law@redhat.com>
63892 Andreas Jaeger <aj@suse.de>
63893
63894 [BZ #13594]
63895 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
63896 out from...
63897 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
63898 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
63899 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
63900 code changing __hst_map_handle.map.
63901
63902 2012-05-15 Roland McGrath <roland@hack.frob.com>
63903
63904 * configure.in (sysnames): Look for Implies-before and Implies-after
63905 files.
63906 * configure: Regenerated.
63907
63908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63909
63910 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
63911 8-byte data alignment with LP_SIZE alignment.
63912
63913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63914
63915 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
63916 into R10_LP.
63917
63918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63919
63920 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
63921
63922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63923
63924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
63925 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
63926 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
63927 Likewise.
63928 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63929
63930 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63931
63932 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
63933 (stackinfo_sub_sp): Likewise.
63934
63935 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63936
63937 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
63938 RAX_LP.
63939
63940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63941
63942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
63943 into R*_LP.
63944
63945 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63946
63947 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
63948 sizes into R*_LP.
63949
63950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63951
63952 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
63953
63954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63955
63956 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
63957 into R11_LP and load __x86_64_shared_cache_size_half into
63958 R8_LP.
63959
63960 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
63961
63962 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
63963 R8_LP.
63964
63965 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
63966
63967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
63968 logb for POWER7.
63969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
63970 logbf for POWER7.
63971 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
63972 logbl for POWER7.
63973 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
63974 powerpc32/power7/fpu/s_logb.c via #include.
63975 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
63976 powerpc32/power7/fpu/s_logbf.c via #include.
63977 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
63978 powerpc32/power7/fpu/s_logbl.c via #include.
63979
63980 2012-05-15 Joseph Myers <joseph@codesourcery.com>
63981
63982 * README.libm: Remove file.
63983
63984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63985
63986 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
63987 count for x32. Use R*_LP and omit operand-size suffix.
63988
63989 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
63990
63991 * shlib-versions: Move x86_64-.*-linux.* entries to ...
63992 * sysdeps/x86_64/64/shlib-versions: Here. New file.
63993 * sysdeps/x86_64/x32/shlib-versions: New file.
63994
63995 2012-05-14 Roland McGrath <roland@hack.frob.com>
63996
63997 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
63998 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
63999 Use _dl_fatal_printf instead.
64000
64001 2012-05-14 Joseph Myers <joseph@codesourcery.com>
64002
64003 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64004 set if not set by the user. Do not allow for being unset.
64005 * sysdeps/unix/sysv/linux/configure: Regenerated.
64006
64007 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64008
64009 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64010 the `q' suffix from lea and replace .quad with ASM_ADDR.
64011
64012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64013
64014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64015 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
64016 instead of $17.
64017 (PTR_DEMANGLE): Likewise.
64018
64019 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64020
64021 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64022 (LP_OP): Likewise.
64023 (ASM_ADDR): Likewise.
64024 (RAX_LP): Likewise.
64025 (RBP_LP): Likewise.
64026 (RBX_LP): Likewise.
64027 (RCX_LP): Likewise.
64028 (RDI_LP): Likewise.
64029 (RSI_LP): Likewise.
64030 (RSP_LP): Likewise.
64031 (R8_LP): Likewise.
64032 (R9_LP): Likewise.
64033 (R10_LP): Likewise.
64034 (R10_LP): Likewise.
64035 (R11_LP): Likewise.
64036 (R12_LP): Likewise.
64037 (R13_LP): Likewise.
64038 (R14_LP): Likewise.
64039 (R15_LP): Likewise.
64040
64041 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64042
64043 * sysdeps/x86_64/x32/dl-machine.h: New file.
64044
64045 2012-05-14 Andreas Jaeger <aj@suse.de>
64046
64047 * manual/Makefile (subdir): Remove export of subdir.
64048 (all): Remove target.
64049 (.PHONY): Remove all from list.
64050 (mkinstalldirs): Remove.
64051 (.PHONY): Remove installdirs from list.
64052 ($(inst_infodir)/libc.info): Use make-target-directory.
64053 (installdirs): Remove.
64054 (subdir_%): Remove.
64055 (glibc-targets): Remove.
64056 (lib): Remove.
64057 (stubs): Remove.
64058 ($(objpfx)stubs ../po/manual.pot): Remove.
64059 ($(objpfx)stamp%): Remove.
64060 (make-target-directory): Remove.
64061 (subdir_install): Remove.
64062 (routines): Remove.
64063 (aux): Remove.
64064 (sources): Remove.
64065 (objects): Remove.
64066 (headers): Remove.
64067
64068 [BZ #13750]
64069 * manual/.gitignore: Remove, it's not needed anymore.
64070 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64071 all files in it.
64072 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64073 directory.
64074 (texis): Renamed to $(objpfx)texis.
64075 (texis-path): New, contains path to generated files.
64076 (chapters.%): Use texis-path for complete path, add extra argument
64077 libc-texinfo.sh.
64078 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64079 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64080 (summary,texi, stamp-summary): Use complete path of
64081 files. Generate files in build dir.
64082 (dir-add.texi): Build in build dir.
64083 (libm-err.texi,stamp-libm-err): Likewise.
64084 (version.texi, stamp-version): Likewise.
64085 (.%c.texi): Likewise.
64086 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64087 (mostlyclean): Remove target.
64088 (realclean): Remove target.
64089 (generated): Add new variable with contents from mostlyclean and
64090 realclean, remove entries duplicated in common-mostlyclean, add
64091 stamp-libm-err and stamp-version.
64092 (generated-dirs): Add libc directory.
64093 ($(inst_infodir)/libc.info): Install files from build dir.
64094
64095 * manual/install.texi (Configuring and compiling): Adjust since
64096 the info files are not part of the tar ball anymore.
64097
64098 2012-05-14 Andreas Jaeger <aj@suse.de>
64099
64100 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64101 variable.
64102
64103 2012-05-14 Joseph Myers <joseph@codesourcery.com>
64104
64105 [BZ #13717]
64106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64107 to 2.2.0 where earlier.
64108 * sysdeps/unix/sysv/linux/configure: Regenerated.
64109 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64110 Remove conditional code.
64111 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64112 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64113 Remove conditional code.
64114 [!__NR_lchown]: Likewise.
64115 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64116 [__NR_lchown]: Likewise.
64117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64118 comment referencing __ASSUME_LCHOWN_SYSCALL.
64119 * sysdeps/unix/sysv/linux/i386/sigaction.c
64120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64122 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64123 Remove conditional code.
64124 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64125 (__protocol_available): Remove #if 0 code.
64126 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64127 conditional code.
64128 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64129 * sysdeps/unix/sysv/linux/kernel-features.h
64130 (__ASSUME_GETCWD_SYSCALL): Don't define.
64131 (__ASSUME_REALTIME_SIGNALS): Likewise.
64132 (__ASSUME_PREAD_SYSCALL): Likewise.
64133 (__ASSUME_PWRITE_SYSCALL): Likewise.
64134 (__ASSUME_POLL_SYSCALL): Likewise.
64135 (__ASSUME_LCHOWN_SYSCALL): Likewise.
64136 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64137 non-SPARC.
64138 (__ASSUME_SIOCGIFNAME): Don't define.
64139 (__ASSUME_MSG_NOSIGNAL): Likewise.
64140 (__ASSUME_SENDFILE): Define unconditionally.
64141 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64142 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64143 conditional code.
64144 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64145 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64147 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64148 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64149 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64150 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64175 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64176 Remove conditional code.
64177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64178 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64179 Remove conditional code.
64180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64181 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64182 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64183 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64184 Remove conditional code.
64185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64186 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64187 Remove conditional code.
64188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64189 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64190 Remove conditional code.
64191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64192 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64193 Remove conditional code.
64194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64195 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64196 Remove conditional code.
64197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64198 * sysdeps/unix/sysv/linux/sh/pwrite64.c
64199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64201 * sysdeps/unix/sysv/linux/sigaction.c
64202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64204 * sysdeps/unix/sysv/linux/sigpending.c
64205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64207 * sysdeps/unix/sysv/linux/sigprocmask.c
64208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64210 * sysdeps/unix/sysv/linux/sigsuspend.c
64211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64213 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64214 (__libc_missing_rt_sigs): Remove.
64215 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64216 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64217 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64218 Remove conditional code.
64219 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64220 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64221 return 1.
64222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64223 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64225 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64226
64227 2012-05-14 Andreas Jaeger <aj@suse.de>
64228
64229 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64230 it's not used in glibc.
64231 (__coshm1): Likewise.
64232 (__acosh1p): Likewise.
64233 (__sgn): Likewise.
64234
64235 * manual/string.texi (Copying and Concatenation): Add missing
64236 variable in concat example.
64237 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64238
64239 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64240
64241 [BZ #14103]
64242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64243 __builtin_clzl with __builtin_clzll.
64244
64245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64246
64247 [BZ #14104]
64248 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64249 libc_freeres_ptr.
64250
64251 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
64252
64253 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64254 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64255 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64257
64258 2012-05-14 Mike Frysinger <vapier@gentoo.org>
64259
64260 * NEWS: Update ia64 info.
64261
64262 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
64263
64264 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64265 used as bcopy.
64266
64267 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
64268
64269 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64270 * sysdeps/unix/syscalls.list (dup3): Likewise.
64271 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64272 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64273
64274 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
64275
64276 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64277 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64278
64279 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
64280
64281 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64282 thread pointer.
64283 (TLS_IE): Use mov/add instead of movq/addq to load thread
64284 pointer.
64285 (TLS_GD_PREFIX): New.
64286 (TLS_GD): Use it.
64287
64288 2012-05-11 David S. Miller <davem@davemloft.net>
64289
64290 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64291 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64292 (_FPU_SETCW): Likewise.
64293
64294 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64295
64296 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64297 is 32-byte aligned.
64298
64299 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
64300
64301 [BZ #11837]
64302 * iconvdata/gb18030.c: Update tables.
64303 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
64304 characters specially.
64305 (BODY for TO_LOOP): Add encoding of missing ranges.
64306
64307 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
64308
64309 [BZ #13673]
64310 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64311 * sysdeps/mach/hurd/dup3.c: Likewise.
64312 * sysdeps/mach/hurd/readlinkat.c: Likewise.
64313 * sysdeps/powerpc/memmove.c:: Likewise.
64314
64315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64316
64317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64318 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64319
64320 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64321
64322 * elf/elf.h (R_X86_64_RELATIVE64): New.
64323 (R_X86_64_NUM): Updated.
64324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64325 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
64326 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64327 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64328 tst-quad1pie tst-quad2pie
64329 (modules-names): Add tst-quadmod1 tst-quadmod2.
64330 ($(objpfx)tst-quad1): New dependency.
64331 ($(objpfx)tst-quad2): Likewise.
64332 ($(objpfx)tst-quad1pie): Likewise.
64333 ($(objpfx)tst-quad2pie): Likewise.
64334 * sysdeps/x86_64/tst-quad1.c: New file.
64335 * sysdeps/x86_64/tst-quad1pie.c: New file.
64336 * sysdeps/x86_64/tst-quad2.c: Likewise.
64337 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64338 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64339 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64340 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64341 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64342
64343 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64344
64345 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64346 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64347 * streams/stropts.h (t_scalar_t): Define type.
64348
64349 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64350 (_PATH_PRESERVE): Set to "/var/lib".
64351 (_PATH_RWHODIR): Set to "/var/spool/rwho".
64352
64353 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64354 instead of int.
64355
64356 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64357 if __dir_mkfile succeeded.
64358
64359 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64360 checking for _hurd_dtablesize. Unlock it right after having
64361 finished _hurd_dtable allocation.
64362
64363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64364
64365 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64366 * sysdeps/mach/hurd/configure: Regenerated.
64367 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64368 special-casing to...
64369 * sysdeps/gnu/configure.in: ... this new file.
64370 * sysdeps/unix/sysv/linux/configure: Regenerated.
64371 * sysdeps/gnu/configure: New generated file.
64372
64373 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64374 for Linux: use nsec instead of usec, as well as:
64375 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64376 members of type struct timespec.
64377 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64378 New macros.
64379 (struct stat64): Likewise.
64380 (_STATBUF_ST_NSEC): New macro.
64381 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64382
64383 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64384 __strtoul_internal rather than strtoul.
64385
64386 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64387
64388 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64389 and reject them.
64390
64391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64392
64393 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64394 which preserves existing values.
64395 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64396
64397 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64398
64399 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64400 TIMEOUT values. Return EINVAL for NFDS values either negative or
64401 greater than FD_SETSIZE.
64402
64403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64404
64405 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64406 allocated, call __vm_protect to finish enabling the existing space, and
64407 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64408 allocate the remainder.
64409
64410 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64411
64412 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64413 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
64414
64415 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64416
64417 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64418 sysdeps/mach/hurd/readlink.c.
64419
64420 * posix/tst-sysconf.c (posix_options): Only use
64421 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64422 _POSIX_SYNCHRONIZED_IO when they are defined
64423 * sysdeps/mach/hurd/bits/posix_opt.h:
64424 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64425 (_XOPEN_REALTIME): Undefine macro.
64426 (_XOPEN_REALTIME_THREADS): Undefine macro.
64427 (_XOPEN_SHM): Undefine macro.
64428 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64429 macro to -1.
64430 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64431 macro to -1.
64432 (_POSIX_ASYNC_IO): Undefine macro.
64433 (_POSIX_PRIORITIZED_IO): Undefine macro.
64434 (_POSIX_SPIN_LOCKS): Define macro to -1.
64435
64436 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64437 SA_NODEFER, SA_RESETHAND.
64438 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64439 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64440 F_DUPFD_CLOEXEC.
64441
64442 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64443
64444 * elf/Makefile (pldd-modules): Define unconditionally.
64445
64446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64447
64448 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
64449
64450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64451
64452 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
64453 Return ENOENT when name is empty.
64454 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
64455
64456 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64457
64458 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
64459
64460 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
64461
64462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64463
64464 Fix mlock in all cases except non-readable pages.
64465 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
64466 instead of VM_PROT_ALL as parameter to __vm_wire function.
64467
64468 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
64469 (__mkdir): When path is `/', just fail with EEXIST.
64470 * sysdeps/mach/hurd/mkdirat.c: Likewise.
64471
64472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64473
64474 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
64475 <sys/uio.h> (for writev).
64476 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
64477 and <sys/param.h> (for MIN).
64478
64479 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
64480
64481 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
64482 REQUESTED_TIME. Properly set the remaining time and return EINTR
64483 if interrupted.
64484
64485 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64486
64487 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
64488 Depend on against $(link-rpcuserlibs).
64489
64490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64491
64492 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
64493 (__libc_stack_end): Do not use attribute_relro.
64494 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
64495 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
64496 to libthread-provided value.
64497 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
64498 attribute_relro.
64499
64500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64501
64502 [BZ #3748]
64503 * bits/libc-lock.h (__libc_once_get): New macro.
64504 * sysdeps/mach/bits/libc-lock.h: Likewise.
64505 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
64506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
64507 instead of using implementation details.
64508
64509 * libio/fileops.c: Unconditionally include <kernel-features.h>.
64510 * libio/freopen.c: Likewise.
64511 * libio/freopen64.c: Likewise.
64512 * misc/syslog.c: Likewise.
64513 * nscd/connections.c: Likewise.
64514 * nscd/netgroupcache.c: Likewise.
64515 * sysdeps/posix/getcwd.c: Likewise.
64516
64517 2012-05-10 Roland McGrath <roland@hack.frob.com>
64518
64519 * math/w_ilogbf.c: Add #include <limits.h>.
64520
64521 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64522
64523 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
64524 path instead of returning without unlocking.
64525
64526 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
64527 immediate-write ioctls.
64528 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
64529
64530 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64531
64532 * sysdeps/mach/hurd/i386/init-first.c (init): Use
64533 __builtin_frame_address instead of making assumptions about the
64534 location of the return address relative to DATA. Force early load of
64535 the return address.
64536 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
64537 __builtin_frame_address.
64538
64539 dup3 for GNU Hurd.
64540 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
64541 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
64542 implement dup3 and do some further code clean-ups.
64543 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
64544 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
64545
64546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64547
64548 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
64549
64550 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
64551 HURD_CRITICAL_END around holding _hurd_dtable_lock.
64552 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
64553 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
64554 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
64555 d->port.lock.
64556
64557 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
64558 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
64559 when handler == SIG_ERR, not when handler != SIG_ERR.
64560
64561 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64562
64563 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
64564 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
64565 definitions.
64566
64567 accept4 for GNU Hurd.
64568 * include/sys/socket.h (__libc_accept4): New prototype.
64569 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
64570 to implement __libc_accept4.
64571 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
64572 __libc_accept4.
64573 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
64574
64575 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
64576 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
64577 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
64578 signal-defines.sym.
64579
64580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64581
64582 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
64583
64584 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
64585
64586 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
64587 assertion on O_CLOEXEC flag.
64588 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
64589 * hurd/intern-fd.c: Likewise.
64590 * hurd/port2fd.c: Likewise.
64591
64592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
64593
64594 [BZ #3906]
64595 * bits/in.h (IPV6_PKTINFO): Define new macro.
64596 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
64597
64598 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
64599
64600 [BZ #13954]
64601 [BZ #13955]
64602 [BZ #13956]
64603 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
64604 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64605 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
64606 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64608 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64609 * math/libm-test.inc (logb_test) : Additional logb tests.
64610
64611 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
64612 Andreas Jaeger <aj@suse.de>
64613
64614 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
64615 * configure: Regenerated.
64616 * config.h.in (LINK_OBSOLETE_RPC): New macro.
64617 * config.make.in (link-obsolete-rpc): New substituted variable.
64618 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
64619 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
64620 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64621 (shared-only-routines): Don't set it under [link-obsolete-rpc],
64622 so that libc.a contains the symbols.
64623 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
64624 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
64625 * sunrpc/auth_none.c: Likewise.
64626 * sunrpc/auth_unix.c: Likewise.
64627 * sunrpc/authdes_prot.c: Likewise.
64628 * sunrpc/authuxprot.c: Likewise.
64629 * sunrpc/clnt_gen.c: Likewise.
64630 * sunrpc/clnt_perr.c: Likewise.
64631 * sunrpc/clnt_raw.c: Likewise.
64632 * sunrpc/clnt_simp.c: Likewise.
64633 * sunrpc/clnt_tcp.c: Likewise.
64634 * sunrpc/clnt_udp.c: Likewise.
64635 * sunrpc/clnt_unix.c: Likewise.
64636 * sunrpc/des_crypt.c: Likewise.
64637 * sunrpc/des_soft.c: Likewise.
64638 * sunrpc/get_myaddr.c: Likewise.
64639 * sunrpc/key_call.c: Likewise.
64640 * sunrpc/key_prot.c: Likewise.
64641 * sunrpc/netname.c: Likewise.
64642 * sunrpc/pm_getmaps.c: Likewise.
64643 * sunrpc/pm_getport.c: Likewise.
64644 * sunrpc/pmap_clnt.c: Likewise.
64645 * sunrpc/pmap_prot.c: Likewise.
64646 * sunrpc/pmap_prot2.c: Likewise.
64647 * sunrpc/pmap_rmt.c: Likewise.
64648 * sunrpc/publickey.c: Likewise.
64649 * sunrpc/rpc_cmsg.c: Likewise.
64650 * sunrpc/rpc_common.c: Likewise.
64651 * sunrpc/rpc_dtable.c: Likewise.
64652 * sunrpc/rpc_prot.c: Likewise.
64653 * sunrpc/rpc_thread.c: Likewise.
64654 * sunrpc/rtime.c: Likewise.
64655 * sunrpc/svc.c: Likewise.
64656 * sunrpc/svc_auth.c: Likewise.
64657 * sunrpc/svc_raw.c: Likewise.
64658 * sunrpc/svc_run.c: Likewise.
64659 * sunrpc/svc_tcp.c: Likewise.
64660 * sunrpc/svc_udp.c: Likewise.
64661 * sunrpc/svc_unix.c: Likewise.
64662 * sunrpc/svcauth_des.c: Likewise.
64663 * sunrpc/xcrypt.c: Likewise.
64664 * sunrpc/xdr.c: Likewise.
64665 * sunrpc/xdr_array.c: Likewise.
64666 * sunrpc/xdr_float.c: Likewise.
64667 * sunrpc/xdr_intXX_t.c: Likewise.
64668 * sunrpc/xdr_mem.c: Likewise.
64669 * sunrpc/xdr_rec.c: Likewise.
64670 * sunrpc/xdr_ref.c: Likewise.
64671 * sunrpc/xdr_sizeof.c: Likewise.
64672 * sunrpc/xdr_stdio.c: Likewise.
64673
64674 2012-05-10 Roland McGrath <roland@hack.frob.com>
64675
64676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
64677 change. Update copyright years.
64678
64679 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64680
64681 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
64682
64683 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
64684 Joseph Myers <joseph@codesourcery.com>
64685 Paul Pluzhnikov <ppluzhnikov@google.com>
64686
64687 [BZ #14012]
64688 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
64689 requiring rpcgen.
64690 [cross-compiling] (extra-libs): Likewise.
64691 [cross-compiling] (extra-libs-others): Likewise.
64692 [cross-compiling] (librpcsvc-routines): Likewise.
64693 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
64694 [cross-compiling] (omit-deps): Likewise.
64695 (sunrpc-CPPFLAGS): New variable.
64696 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
64697 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
64698 (cross-rpcgen-objs): New variable.
64699 (extra-objs): Append $(cross-rpcgen-objs).
64700 ($(cross-rpcgen-objs)): New rule.
64701 ($(objpfx)cross-rpcgen): Likewise.
64702 (rpcgen-cmd): Define to use $(built-program-file). Expand
64703 comment.
64704 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
64705 ($(objpfx)x%.stmp): Likewise.
64706 * sunrpc/proto.h [IS_IN_build] (_): Define.
64707 [IS_IN_build] (_libc_intl_domainname): Likewise.
64708
64709 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
64710
64711 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
64712 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
64713 and R_X86_64_TPOFF64.
64714
64715 2012-05-10 Joseph Myers <joseph@codesourcery.com>
64716
64717 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
64718 sysdeps/unix/sysv/syscalls.list.
64719 (stime): Likewise.
64720 (utime): Likewise.
64721 * sysdeps/unix/sysv/syscalls.list: Remove file.
64722
64723 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
64724
64725 [BZ #3440]
64726 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
64727 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
64728 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
64729 (__LC_IDENTIFICATION): Make these macros useful in #if
64730 expressions, as required by C99.
64731
64732 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
64733
64734 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
64735 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
64736 after this.
64737
64738 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
64739
64740 * stdlib/longlong.h: Updated from GCC.
64741
64742 2012-05-09 Andreas Jaeger <aj@suse.de>
64743
64744 * nscd/nscd.c (run_modes): Make named enum, reorder so that
64745 default is first entry.
64746 (run_mode): Set type.
64747 (main): Remove informal message about syslog.
64748 (options): Fix typo.
64749
64750 [BZ #14053]
64751 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
64752 to asm.
64753 (lrint): Likewise.
64754 (llrintf): Likewise.
64755 (llrint): Likewise.
64756 (rint): Likewise.
64757 (rintf): Likewise.
64758 (nearbyint): Likewise.
64759 (nearbyintf): Likewise.
64760
64761 2012-05-09 Andreas Jaeger <aj@suse.de>
64762 Pedro Alves <palves@redhat.com>
64763
64764 * nscd/nscd.c (run_mode): Use enum.
64765 (main): Cleanup coding style issue.
64766
64767 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
64768 Andreas Jaeger <aj@suse.de>
64769
64770 * nscd/nscd.c (go_background): Replaced with...
64771 (run_mode): ... this.
64772 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
64773 (options): Add -F --foreground.
64774 (main): Implement it.
64775 (parse_opt): Parse it.
64776
64777 2012-05-09 Andreas Jaeger <aj@suse.de>
64778
64779 [BZ #14083]
64780 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
64781 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
64782 -Wconversion warning.
64783 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
64784 Likewise.
64785
64786 2012-05-09 Joseph Myers <joseph@codesourcery.com>
64787
64788 * conform/data/locale.h-data (NULL): Use macro-constant. Require
64789 == 0.
64790 (LC_ALL): Use macro-int-constant.
64791 (LC_COLLATE): Likewise.
64792 (LC_CTYPE): Likewise.
64793 (LC_MESSAGES): Likewise.
64794 (LC_MONETARY): Likewise.
64795 (LC_NUMERIC): Likewise.
64796 (LC_TIME): Likewise.
64797 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
64798 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64800 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
64801 Specify type.
64802 [C99-based standards] (float_t): Expect type.
64803 [C99-based standards] (double_t): Expect type.
64804 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
64805 type.
64806 [C99-based standards] (HUGE_VALL): Likewise.
64807 [C99-based standards] (INFINITY): Likewise.
64808 [C99-based standards] (NAN): Likewise.
64809 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
64810 [C99-based standards] (FP_NAN): Likewise.
64811 [C99-based standards] (FP_NORMAL): Likewise.
64812 [C99-based standards] (FP_SUBNORMAL): Likewise.
64813 [C99-based standards] (FP_ZERO): Likewise.
64814 [C99-based standards] (FP_FAST_FMA): Use
64815 optional-macro-int-constant. Specify type. Require == 1.
64816 [C99-based standards] (FP_FAST_FMAF): Likewise.
64817 [C99-based standards] (FP_FAST_FMAL): Likewise.
64818 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
64819 [C99-based standards] (FP_ILOGBNAN): Likewise.
64820 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
64821 Specify type.
64822 [C99-based standards] (MATH_ERREXCEPT): Likewise.
64823 [C99-based standards] (math_errhandling): Specify type.
64824 [ISO99 || ISO11] (signgam): Do not allow.
64825 [non-C99-based standards] (copysignf): Do not allow.
64826 [non-C99-based standards] (exp2f): Likewise.
64827 [non-C99-based standards] (log2f): Likewise.
64828 [non-C99-based standards] (modff): Allow.
64829 [non-C99-based standards] (erff): Do not allow.
64830 [non-C99-based standards] (erfcf): Likewise.
64831 [non-C99-based standards] (gammaf): Likewise.
64832 [non-C99-based standards] (hypotf): Likewise.
64833 [non-C99-based standards] (j0f): Likewise.
64834 [non-C99-based standards] (j1f): Likewise.
64835 [non-C99-based standards] (jnf): Likewise.
64836 [non-C99-based standards] (lgammaf): Likewise.
64837 [non-C99-based standards] (tgammaf): Likewise.
64838 [non-C99-based standards] (y0f): Likewise.
64839 [non-C99-based standards] (y1f): Likewise.
64840 [non-C99-based standards] (ynf): Likewise.
64841 [non-C99-based standards] (isnanf): Likewise.
64842 [non-C99-based standards] (acoshf): Likewise.
64843 [non-C99-based standards] (asinhf): Likewise.
64844 [non-C99-based standards] (atanhf): Likewise.
64845 [non-C99-based standards] (cbrtf): Likewise.
64846 [non-C99-based standards] (expm1f): Likewise.
64847 [non-C99-based standards] (ilogbf): Likewise.
64848 [non-C99-based standards] (log1pf): Likewise.
64849 [non-C99-based standards] (logbf): Likewise.
64850 [non-C99-based standards] (nextafterf): Likewise.
64851 [non-C99-based standards] (remainderf): Likewise.
64852 [non-C99-based standards] (rintf): Likewise.
64853 [non-C99-based standards] (scalbf): Likewise.
64854 [non-C99-based standards] (copysignl): Likewise.
64855 [non-C99-based standards] (exp2l): Likewise.
64856 [non-C99-based standards] (log2l): Likewise.
64857 [non-C99-based standards] (modfl): Allow.
64858 [non-C99-based standards] (erfl): Do not allow.
64859 [non-C99-based standards] (erfcl): Likewise.
64860 [non-C99-based standards] (gammal): Likewise.
64861 [non-C99-based standards] (hypotl): Likewise.
64862 [non-C99-based standards] (j0l): Likewise.
64863 [non-C99-based standards] (j1l): Likewise.
64864 [non-C99-based standards] (jnl): Likewise.
64865 [non-C99-based standards] (lgammal): Likewise.
64866 [non-C99-based standards] (tgammal): Likewise.
64867 [non-C99-based standards] (y0l): Likewise.
64868 [non-C99-based standards] (y1l): Likewise.
64869 [non-C99-based standards] (ynl): Likewise.
64870 [non-C99-based standards] (isnanl): Likewise.
64871 [non-C99-based standards] (acoshl): Likewise.
64872 [non-C99-based standards] (asinhl): Likewise.
64873 [non-C99-based standards] (atanhl): Likewise.
64874 [non-C99-based standards] (cbrtl): Likewise.
64875 [non-C99-based standards] (expm1l): Likewise.
64876 [non-C99-based standards] (ilogbl): Likewise.
64877 [non-C99-based standards] (log1pl): Likewise.
64878 [non-C99-based standards] (logbl): Likewise.
64879 [non-C99-based standards] (nextafterl): Likewise.
64880 [non-C99-based standards] (remainderl): Likewise.
64881 [non-C99-based standards] (rintl): Likewise.
64882 [non-C99-based standards] (scalbl): Likewise.
64883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
64884 [non-C99-based standards] (FP_*): Do not allow.
64885 [C99-based standards] (FP_*): Change to
64886 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
64887 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64888 allow.
64889 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
64890 (SIG_ERR): Likewise.
64891 [X/Open-based standards] (SIG_HOLD): Likewise.
64892 (SIG_IGN): Likewise.
64893 (SIGABRT): Use macro-int-constant. Specify type. Require
64894 positive value.
64895 (SIGFPE): Likewise.
64896 (SIGILL): Likewise.
64897 (SIGINT): Likewise.
64898 (SIGSEGV): Likewise.
64899 (SIGTER): Likewise.
64900 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
64901 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
64902 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
64903 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
64904 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
64905 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
64906 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
64907 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
64908 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
64909 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
64910 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
64911 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
64912 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
64913 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
64914 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
64915 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
64916 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
64917 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
64918 [X/Open-based standards] (SIGTRAP): Likewise.
64919 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
64920 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
64921 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
64922 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
64923 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
64924 allow.
64925
64926 2012-05-08 Ian Wienand <ianw@vmware.com>
64927
64928 [BZ #14080]
64929 * time/tzset.c (__tzset_parse_tz): Update default rules for
64930 daylight time changes in the Energy Policy Act of 2005.
64931
64932 2012-05-09 Andreas Jaeger <aj@suse.de>
64933
64934 [BZ #13983]
64935 * elf/ldconfig.c (parse_conf): Change string to make clear that
64936 ldconfig only issued a warning if ld.so.conf does not exist.
64937
64938 2012-05-08 David S. Miller <davem@davemloft.net>
64939
64940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
64941 movxtod instead of popping the value on the stack.
64942
64943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64944
64945 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
64946
64947 * config.h.in: Add HAVE_ARM_PCS_VFP.
64948
64949 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
64950
64951 [BZ #13979]
64952 * include/features.h: Warn if user requests __FORTIFY_SOURCE
64953 checking but the checks are disabled for any reason.
64954
64955 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
64956
64957 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
64958 and ELF64_R_TYPE with ELFW(R_TYPE).
64959
64960 2012-05-08 Joseph Myers <joseph@codesourcery.com>
64961
64962 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
64963 (ulimit): Likewise.
64964
64965 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
64966 (settimeofday): Likewise.
64967
64968 2012-05-08 Mike Frysinger <vapier@gentoo.org>
64969
64970 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
64971 a struct th_u2 inside the union, and move tu_block/tu_code into
64972 a new th_u3 union of tu_block/tu_code inside of that. Move
64973 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
64974 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
64975 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
64976 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
64977 (th_stuff): Change to th_u1.tu_stuff.
64978 (th_data): Define.
64979 (th_msg): Change to th_u1.th_u2.tu_data.
64980
64981 2012-05-07 David S. Miller <davem@davemloft.net>
64982
64983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
64984
64985 [BZ #14074]
64986 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
64987 (SETUP_PIC_REG): Use it.
64988 (SETUP_PIC_REG_LEAF): Use it.
64989
64990 2012-05-07 Joseph Myers <joseph@codesourcery.com>
64991
64992 [BZ #13885]
64993 [BZ #13923]
64994 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
64995 USE_AS_EXPM1L.
64996 (EXPL_FINITE): Likewise.
64997 (FLDLOG): Likewise.
64998 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
64999 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65000 e_expl.S.
65001 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65002 USE_AS_EXPM1L.
65003 (EXPL_FINITE): Likewise.
65004 (FLDLOG): Likewise.
65005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65006 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65007 e_expl.S.
65008 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
65009 test of -max_value argument for long double.
65010 * sysdeps/i386/fpu/libm-test-ulps: Update.
65011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65012
65013 2012-05-06 David S. Miller <davem@davemloft.net>
65014
65015 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65016 quad soft-float symbols whose references which are compiler
65017 generated.
65018 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65019
65020 2012-05-06 Joseph Myers <joseph@codesourcery.com>
65021
65022 [BZ #13884]
65023 [BZ #13914]
65024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65025 USE_AS_EXP10L.
65026 (EXPL_FINITE): Likewise.
65027 (FLDLOG): Likewise.
65028 (c0): Likewise.
65029 (c1): Likewise.
65030 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
65031 Adjust comments for base varying.
65032 (__expl_finite): Change alias to EXPL_FINITE.
65033 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65034 e_expl.S.
65035 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65036 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65037 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65038 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65040 USE_AS_EXP10L.
65041 (EXPL_FINITE): Likewise.
65042 (FLDLOG): Likewise.
65043 (c0): Likewise.
65044 (c1): Likewise.
65045 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
65046 Adjust comments for base varying.
65047 (__expl_finite): Change alias to EXPL_FINITE.
65048 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
65049 tests for bugs.
65050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65051
65052 [BZ #14064]
65053 * math/libm-test.inc (check_float_internal): Correct ulp
65054 calculation for subnormal expected results.
65055
65056 2012-05-06 Andreas Jaeger <aj@suse.de>
65057
65058 * Makeconfig (+math-flags): New, set to -frounding-math.
65059 (+cflags): Add +math-flags so that all of glibc gets compiled with
65060 it.
65061
65062 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65063
65064 2012-05-05 Joseph Myers <joseph@codesourcery.com>
65065
65066 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65067 Disable one test.
65068
65069 [BZ #13787]
65070 [BZ #13922]
65071 [BZ #14036]
65072 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65073 (__ieee754_expl): Allow for and saturate large arguments.
65074 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65075 (u_threshold): Likewise.
65076 (__exp): Call __ieee754_exp before checking for overflow and
65077 underflow.
65078 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65079 (u_threshold): Likewise.
65080 (__expf): Call __ieee754_expf before checking for overflow and
65081 underflow.
65082 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65083 (u_threshold): Likewise.
65084 (__expl): Call __ieee754_expl before checking for overflow and
65085 underflow.
65086 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65087 (__ieee754_expl): Allow for and saturate large arguments.
65088 * math/libm-test.inc (exp_test): Add another test. Do not allow
65089 missing overflow exception on overflow.
65090 (expm1_test): Do not allow missing overflow exception on overflow.
65091
65092 * sysdeps/i386/fpu/e_expl.c: Move to ...
65093 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
65094 rather than using inline asm.
65095 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65096 * sysdeps/x86_64/fpu/e_expl.S: Copy from
65097 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65098
65099 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65100 (nice): Likewise.
65101 (poll): Likewise.
65102 (signal): Likewise.
65103 (time): Likewise.
65104 (times): Likewise.
65105
65106 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65107
65108 * sysdeps/unix/syscalls.list (adjtime): Add entry from
65109 sysdeps/unix/common/syscalls.list.
65110 (fchmod): Likewise.
65111 (fchown): Likewise.
65112 (ftruncate): Likewise.
65113 (getrusage): Likewise.
65114 (gettimeofday): Likewise.
65115 (setpgid): Likewise.
65116 (setregid): Likewise.
65117 (setreuid): Likewise.
65118 (sigaction): Likewise.
65119 (truncate): Likewise.
65120 (vhangup): Likewise.
65121 * sysdeps/unix/common/syscalls.list: Remove file.
65122 * sysdeps/unix/bsd/Implies: Don't include unix/common.
65123 * sysdeps/unix/sysv/linux/Implies: Likewise.
65124
65125 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
65126
65127 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65129 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65130 Moved to ...
65131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65132 Here.
65133 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65134 to ...
65135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65136 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65137 to ...
65138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65139 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65140 to ...
65141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65142 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65143 to ...
65144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65145 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65146 to ...
65147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65148 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65149 to ...
65150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65151 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65152 to ...
65153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65154 Here.
65155 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65156 to ...
65157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65158 Here.
65159 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65160 to ...
65161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65162 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65163 Moved to ...
65164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65165 Here.
65166 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65167 to ...
65168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65169
65170 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65171
65172 * sysdeps/unix/common/bits/dirent.h: Remove file.
65173 * sysdeps/unix/common/bits/fcntl.h: Likewise.
65174
65175 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65176 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65177 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65178 * sysdeps/unix/bsd/isatty.c: Likewise.
65179 * sysdeps/unix/bsd/tcdrain.c: Likewise.
65180 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65181 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65182
65183 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65184
65185 [BZ #13563]
65186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65187 long double comparison inaccuracies.
65188 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65190
65191 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
65192
65193 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65195
65196 2012-05-04 Joseph Myers <joseph@codesourcery.com>
65197
65198 [BZ #14049]
65199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65200 nonzero digits before rounding a hex value.
65201 * stdlib/tst-strtod.c (tests): Add another test.
65202
65203 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65204
65205 * sysdeps/s390/fpu/libm-test-ulps: Update.
65206
65207 2012-05-03 Andreas Jaeger <aj@suse.de>
65208
65209 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65210 does not get optimized out.
65211 (malloc_opt_barrier): New.
65212
65213 2012-05-03 Andreas Jaeger <aj@suse.de>
65214 Roland McGrath <roland@hack.frob.com>
65215
65216 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65217 intermediate file deletion.
65218 (generated): Add .symlist files.
65219
65220 2012-05-03 Joseph Myers <joseph@codesourcery.com>
65221
65222 [BZ #13775]
65223 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65224 Redirect under this condition.
65225 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65226 [__USE_GNU] (__dprintf_chk): Not under this condition.
65227 [__USE_GNU] (__vdprintf_chk): Likewise.
65228 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65229 under this condition.
65230 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65231 [__USE_XOPEN2K8] (dprintf): Define under this condition.
65232 [__USE_XOPEN2K8] (vdprintf): Likewise.
65233 [__USE_GNU] (__dprintf_chk): Not under this condition.
65234 [__USE_GNU] (__vdprintf_chk): Likewise.
65235 [__USE_GNU] (dprintf): Likewise.
65236 [__USE_GNU] (vdprintf): Likewise.
65237
65238 2012-05-03 Roland McGrath <roland@hack.frob.com>
65239
65240 * elf/Makefile (common-generated): Set this instead of generated for
65241 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
65242 $(all-built-dso)-derived lists.
65243
65244 2012-05-03 Andreas Jaeger <aj@suse.de>
65245
65246 * sysdeps/i386/fpu/libm-test-ulps: Update.
65247
65248 * FAQ: Removed.
65249 * FAQ.in: Likewise.
65250 * scripts/gen-FAQ.pl: Likewise.
65251 * manual/install.texi (Installation): Point to online location of
65252 FAQ.
65253 * Makefile (files-for-dist): Remove FAQ.
65254 (FAQ): Remove.
65255
65256 2012-05-02 Allan McRae <allan@archlinux.org>
65257
65258 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65259 (LDFLAGS-reldepmod5.so): Likewise.
65260 (LDFLAGS-reldep6mod1.so): Likewise.
65261 (LDFLAGS-reldep6mod4.so): Likewise.
65262 (LDFLAGS-reldep8mod3.so): Likewise.
65263 (LDFLAGS-unload4mod1.so): Likewise.
65264 (LDFLAGS-unload4mod2.so): Likewise.
65265 (LDFLAGS-tst-initorder): Likewise.
65266 (LDFLAGS-tst-initordera2.so): Likewise.
65267 (LDFLAGS-tst-initordera3.so): Likewise.
65268 (LDFLAGS-tst-initordera4.so): Likewise.
65269 (LDFLAGS-tst-initorderb2.so): Likewise.
65270 (LDFLAGS-noload): Likewise.
65271 (LDFLAGS-next): Likewise.
65272 (LDFLAGS-order2mod1.so): Likewise.
65273 (LDFLAGS-order2mod2.so): Likewise.
65274 (LDFLAGS-tst-initorder2): Likewise.
65275 (LDFLAGS-tst-initorder2a.so): Likewise.
65276 (LDFLAGS-tst-initorder2b.so): Likewise.
65277 (LDFLAGS-tst-initorder2c.so): Likewise.
65278 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65279
65280 2012-05-02 David S. Miller <davem@davemloft.net>
65281
65282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65283
65284 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
65285
65286 [BZ #14055]
65287 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65288
65289 2012-05-02 Andreas Jaeger <aj@suse.de>
65290
65291 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65292 since we manipulate rounding mode.
65293 (CPPFLAGS-test-idouble.c): Likewise.
65294 (CPPFLAGS-test-ifloat.c): Likewise.
65295 (CFLAGS-test-ldouble.c): Likewise.
65296 (CFLAGS-test-double.c): Likewise.
65297 (CFLAGS-test-float.c): Likewise.
65298 (CFLAGS-test-misc.c): Likewise.
65299 (CFLAGS-test-test-fenv.c): Likewise.
65300
65301 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65302
65303 [BZ #2550]
65304 [BZ #2570]
65305 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65306 comparisons to determine direction to adjust input.
65307
65308 2012-05-01 Roland McGrath <roland@hack.frob.com>
65309
65310 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65311 output to the target.
65312
65313 * scripts/localplt.awk: New file.
65314 * elf/Makefile ($(objpfx)check-localplt): Target removed.
65315 (check-localplt-CFLAGS): Variable removed.
65316 ($(all-built-dso:=.jmprel)): New static pattern rule.
65317 (generated): Add those targets.
65318 (localplt-built-dso): New variable.
65319 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65320
65321 * elf/check-localplt.c: File removed.
65322
65323 * scripts/check-execstack.awk: New file.
65324 * elf/Makefile ($(objpfx)check-execstack): Target removed.
65325 (check-execstack-CFLAGS): Variable removed.
65326 ($(objpfx)check-execstack.h): Target removed.
65327 ($(objpfx)execstack-default): New target.
65328 (generated): Add that instead of check-execstack.h.
65329 ($(all-built-dso:=.phdr)): New static pattern rule.
65330 (generated): Add those targets.
65331 * elf/check-execstack.c: File removed.
65332
65333 * scripts/check-textrel.awk: New file.
65334 * elf/Makefile ($(objpfx)check-textrel): Target removed.
65335 (check-textrel-CFLAGS): Variable removed.
65336 (all-built-dso): Use := to define.o
65337 ($(all-built-dso:=.dyn)): New static pattern rule.
65338 (generated): Add those targets.
65339 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65340 * config.make.in (READELF): New substituted variable.
65341 * elf/check-textrel.c: File removed.
65342
65343 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65344
65345 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65346 allow.
65347 * conform/data/ctype.h-data [C99-based standards] (isblank):
65348 Expect function.
65349 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65350 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65351 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65352 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65353 Specify type. Require positive value.
65354 (EILSEQ): Likewise.
65355 (ERANGE): Likewise.
65356 [ISO || POSIX] (EILSEQ): Do not expect.
65357 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65358 Specify type. Require positive value.
65359 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65360 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65361 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65362 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65363 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65364 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65365 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65366 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65367 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65368 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65369 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65370 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65371 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65372 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65373 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65374 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65375 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65376 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65377 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65378 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65379 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65380 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65381 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65382 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65383 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65384 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65385 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65386 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65387 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65388 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65389 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65390 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65391 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65392 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65393 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65394 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65395 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65396 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65397 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65398 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65399 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65400 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65401 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65402 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65403 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65404 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65405 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65406 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65407 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65408 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65409 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65410 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65411 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65412 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65413 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65414 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65415 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65416 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65417 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65418 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65419 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65420 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65421 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65422 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65423 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65424 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65425 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65426 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65427 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65428 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65429 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65430 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65431 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65432 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65433 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65434 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65435 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65436 Require >= 2.
65437 (FLT_ROUNDS): Expect as macro, not constant.
65438 (FLT_MANT_DIG): Use macro-int-constant.
65439 (DBL_MANT_DIG): Likewise.
65440 (LDBL_MANT_DIG): Likewise.
65441 (FLT_DIG): Likewise.
65442 (DBL_DIG): Likewise.
65443 (LDBL_DIG): Likewise.
65444 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
65445 (DBL_MIN_EXP): Likewise.
65446 (LDBL_MIN_EXP): Likewise.
65447 (FLT_MAX_EXP): Use macro-int-constant.
65448 (DBL_MAX_EXP): Likewise.
65449 (LDBL_MAX_EXP): Likewise.
65450 (FLT_MAX_10_EXP): Likewise.
65451 (DBL_MAX_10_EXP): Likewise.
65452 (LDBL_MAX_10_EXP): Likewise.
65453 (FLT_MAX): Use macro-constant.
65454 (DBL_MAX): Likewise.
65455 (LDBL_MAX): Likewise.
65456 (FLT_EPSILON): Use macro-constant. Give upper bound.
65457 (DBL_EPSILON): Likewise.
65458 (LDBL_EPSILON): Likewise.
65459 (FLT_MIN): Likewise.
65460 (DBL_MIN): Likewise.
65461 (LDBL_MIN): Likewise.
65462 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
65463 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
65464 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
65465 [ISO11] (FLT_HAS_SUBNORM): Likewise.
65466 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
65467 [ISO11] (DBL_DECIMAL_DIG): Likewise.
65468 [ISO11] (FLT_DECIMAL_DIG): Likewise.
65469 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
65470 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
65471 [ISO11] (FLT_TRUE_MIN): Likewise.
65472 [ISO11] (LDBL_TRUE_MIN): Likewise.
65473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65474 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
65475 (SCHAR_MIN): Use macro-int-constant. Specify type.
65476 (SCHAR_MAX): Likewise.
65477 (UCHAR_MAX): Likewise.
65478 (CHAR_MIN): Likewise.
65479 (CHAR_MAX): Likewise.
65480 (MB_LEN_MAX): Use macro-int-constant.
65481 (SHRT_MIN): Use macro-int-constant. Specify type.
65482 (SHRT_MAX): Likewise.
65483 (USHRT_MAX): Likewise.
65484 (INT_MAX): Likewise.
65485 (INT_MIN): Use macro-int-constant. Specify type. Make upper
65486 bound negative.
65487 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
65488 bound with "U".
65489 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65490 bound with "L".
65491 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
65492 bound negative. Suffix upper bound with "L".
65493 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
65494 bound with "UL".
65495 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
65496 Specify type.
65497 [C99-based standards] (LLONG_MAX): Likewise.
65498 [C99-based standards] (ULLONG_MAX): Likewise.
65499 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
65500 == 0.
65501 [ISO11] (max_align_t): Require type.
65502 [ISO || ISO99 || ISO11] (*_t): Do not allow.
65503
65504 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
65505 from $CFLAGS, without defining away __attribute__ calls.
65506 (checknamespace): Use $CFLAGS_namespace.
65507
65508 * conform/conformtest.pl (@keywords): Only include C99 keywords
65509 for standards based on C99 or C11.
65510
65511 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
65512 Disable tests.
65513 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
65514 UNIX98]: Likewise.
65515
65516 * conform/conformtest.pl: Handle "macro-int-constant" and test for
65517 usability of symbols in #if.
65518
65519 * conform/conformtest.pl: If macro or constant types start
65520 "promoted:", expect the symbol to be of the following type
65521 promoted by the integer promotions.
65522
65523 * conform/conformtest.pl: Parse all "constant" and "macro" lines
65524 in one place. Also handle "macro-constant".
65525
65526 * conform/conformtest.pl: Only accept expected macro values with
65527 "==". Parse all "macro" lines in one place.
65528 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
65529
65530 * conform/conformtest.pl: Handle braced types on "constant" lines
65531 instead of handling "typed-constant".
65532 * conform/data/signal.h-data: Use "constant" instead of
65533 "typed-constant".
65534
65535 * conform/conformtest.pl: Handle "optional-" at start of lines in
65536 one place rather than duplicating several cases. Handle each
65537 format of "macro" line with initial "optional-".
65538
65539 * conform/conformtest.pl: Only accept expected constant or
65540 optional-constant values with "==". Parse all "constant" lines in
65541 one place. Parse all "optional-constant" lines in one place.
65542 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
65543 * conform/data/fmtmsg.h-data: Likewise.
65544 * conform/data/netinet/in.h-data: Likewise.
65545 * conform/data/tar.h-data: Likewise.
65546 * conform/data/limits.h-data: Use "==" form on "constant" and
65547 "optional-constant" lines.
65548
65549 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
65550 Use -std=c99 for XOPEN2K.
65551 (@knownproblems): Remove.
65552 (newtoken): Don't check %isknown.
65553
65554 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
65555 Do not expect macro.
65556 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
65557 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
65558 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
65559 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
65560 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
65561 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
65562 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
65563 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
65564 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
65565 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
65566 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
65567 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
65568 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
65569 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
65570 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
65571 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
65572 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
65573 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
65574 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
65575 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
65576 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
65577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
65578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
65579 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
65580 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
65581 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
65582 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
65583 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
65584 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
65585 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
65586 [XPG3] (acosh): Likewise.
65587 [XPG3] (asinh): Likewise.
65588 [XPG3] (atanh): Likewise.
65589 [XPG3] (cbrt): Likewise.
65590 [XPG3] (expm1): Likewise.
65591 [XPG3] (ilogb): Likewise.
65592 [XPG3] (log1p): Likewise.
65593 [XPG3] (logb): Likewise.
65594 [XPG3] (nextafter): Likewise.
65595 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
65596 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
65597 [XPG3] (remainder): Likewise.
65598 [XPG3] (rint): Likewise.
65599 [XPG3 || XPG4 || UNIX98] (round): Likewise.
65600 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
65601 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
65602 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
65603 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
65604 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
65605 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
65606 [UNIX98 || XOPEN2K] (scalb): Expect.
65607 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
65608 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
65609 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
65610 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
65611 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
65612 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
65613 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
65614 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
65615 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
65616 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
65617 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
65618 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
65619 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
65620 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
65621 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
65622 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
65623 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
65624 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
65625 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
65626 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
65627 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
65628 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
65629 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
65630 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
65631 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
65632 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
65633 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
65634 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
65635 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
65636 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
65637 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
65638 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
65639 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
65640 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
65641 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
65642 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
65643 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
65644 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
65645 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
65646 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
65647 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
65648 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
65649 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
65650 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
65651 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
65652 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
65653 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
65654 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
65655 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
65656 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
65657 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
65658 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
65659 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
65660 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
65661 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
65662 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
65663 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
65664 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
65665 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
65666 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
65667 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
65668 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
65669 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
65670 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
65671 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
65672 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
65673 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
65674 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
65675 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
65676 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
65677 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
65678 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
65679 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
65680 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
65681 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
65682 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
65683 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
65684 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
65685 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
65686 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
65687 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
65688 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
65689 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
65690 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
65691 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
65692 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
65693 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
65694 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
65695 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
65696 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
65697 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
65698 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
65699 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
65700 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
65701 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
65702 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
65703 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
65704 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
65705 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
65706 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
65707 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
65708 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
65709 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
65710 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
65711 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
65712 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
65713 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
65714 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
65715 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
65716 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
65717 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
65718 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
65719 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
65720 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
65721 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
65722 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
65723 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
65724 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
65725 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
65726 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
65727 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
65728 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
65729 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
65730 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
65731 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
65732 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
65733 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
65734 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
65735 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
65736 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
65737 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
65738 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
65739 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
65740 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
65741 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
65742 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
65743 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
65744
65745 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
65746 _XOPEN_SOURCE_EXTENDED for XPG4.
65747
65748 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
65749
65750 * Makeconfig (localtime): Remove variable.
65751 (inst_localtime-file): Likewise.
65752
65753 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65754
65755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
65756 Update.
65757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65758 Update.
65759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
65760 Update.
65761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65762 Update.
65763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
65764 Update.
65765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
65766 Update.
65767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65768 Update.
65769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
65770 Update.
65771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65772 Update.
65773
65774 2012-05-01 Joseph Myers <joseph@codesourcery.com>
65775
65776 [BZ #2550]
65777 [BZ #2570]
65778 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
65779 comparisons to determine direction to adjust input.
65780 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
65781 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
65782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
65783 Likewise.
65784 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
65785 Likewise.
65786 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
65787 Likewise.
65788 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
65789 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
65790 Likewise.
65791 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
65792 Likewise.
65793 * math/libm-test.inc (nexttoward_test): Add more tests.
65794
65795 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
65796
65797 [BZ #14040]
65798 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
65799 in version GLIBC_2.1, not GLIBC_2.0.
65800 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
65801 Likewise.
65802
65803 2012-04-30 Joseph Myers <joseph@codesourcery.com>
65804
65805 [BZ #13942]
65806 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
65807 (1 - x) * (1 + x).
65808 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65809 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
65810 * math/libm-test.inc (acos_test): Add more tests.
65811 (asin_test): Likewise.
65812 * sysdeps/i386/fpu/libm-test-ulps: Update.
65813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65814
65815 [BZ #14034]
65816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
65817 of square root.
65818 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
65819 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
65820 * math/libm-test.inc (acos_test_tonearest): New function.
65821 (acos_test_towardzero): Likewise.
65822 (acos_test_downward): Likewise.
65823 (acos_test_upward): Likewise.
65824 (asin_test_tonearest): Likewise.
65825 (asin_test_towardzero): Likewise.
65826 (asin_test_downward): Likewise.
65827 (asin_test_upward): Likewise.
65828 (main): Call the new functions.
65829 * sysdeps/i386/fpu/libm-test-ulps: Update.
65830 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65831
65832 [BZ #13884]
65833 [BZ #13924]
65834 * math/e_exp10.c: Include <float.h>.
65835 (__ieee754_exp10): Handle underflow here rather than multiplying
65836 large negative argument by M_LN10.
65837 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
65838 of __ieee754_expf.
65839 * math/e_exp10l.c: Include <float.h>.
65840 (__ieee754_exp10l): Handle underflow here rather than multiplying
65841 large negative argument by M_LN10l.
65842 * math/libm-test.inc (exp10_test): Add another test. Do not allow
65843 spurious overflow exception on underflow.
65844
65845 2012-04-29 Marek Polacek <polacek@redhat.com>
65846
65847 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
65848 (__fortify_function): New macro.
65849 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
65850 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
65851 __extern_always_inline.
65852 * libio/bits/stdio2.h: Likewise.
65853 * libio/bits/stdio.h: Likewise.
65854 * string/string.h: Likewise.
65855 * string/bits/string3.h: Likewise.
65856 * include/stdio.h: Likewise.
65857 * stdlib/bits/stdlib.h: Likewise.
65858 * stdlib/stdlib.h: Likewise.
65859 * rt/bits/mqueue2.h: Likewise.
65860 * rt/mqueue.h: Likewise.
65861 * posix/bits/unistd.h: Likewise.
65862 * posix/unistd.h: Likewise.
65863 * io/bits/poll2.h: Likewise.
65864 * io/bits/fcntl2.h: Likewise.
65865 * io/fcntl.h: Likewise.
65866 * io/sys/poll.h: Likewise.
65867 * misc/bits/syslog.h: Likewise.
65868 * misc/bits/syslog-ldbl.h: Likewise.
65869 * misc/sys/syslog.h: Likewise.
65870 * socket/bits/socket2.h: Likewise.
65871 * socket/sys/socket.h: Likewise.
65872 * debug/tst-chk1.c: Likewise.
65873 * wcsmbs/bits/wchar2.h: Likewise.
65874 * wcsmbs/bits/wchar-ldbl.h: Likewise.
65875 * wcsmbs/wchar.h: Likewise.
65876
65877 2012-04-29 Andreas Jaeger <aj@suse.de>
65878
65879 * Makerules (tests): Remove enable-check-abi protection.
65880 (check-abi-warn): Remove.
65881 (check-abi-%): Remove check-abi-warn usage.
65882
65883 * configure.in: Remove check-abi configure option.
65884 * configure: Regenerated.
65885 * config.make.in (enable-check-abi): Remove.
65886
65887 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
65888
65889 [BZ #14033]
65890 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
65891 double functions to double *_finite functions.
65892
65893 [BZ #13941]
65894 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
65895 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
65896 LDBL_MIN_EXP.
65897 * stdio-common/Makefile (tests): Add tst-sprintf3.
65898 * stdio-common/tst-sprintf3.c: New file.
65899
65900 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
65901 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
65902
65903 2012-04-28 Joseph Myers <joseph@codesourcery.com>
65904
65905 * conform/conformtest.pl: Remove duplicate typed-constant
65906 handling.
65907
65908 2012-04-28 David S. Miller <davem@davemloft.net>
65909
65910 * Makerules (%.abilist): Add vpath on sysdep_dirs.
65911 (check-abi-%): Remove AWK script prerequisite and explicit
65912 abilist directory.
65913 (check-abi): Rewrite to just diff the symlist with the abilist.
65914 (config-tls, config-abi-config): Delete, no longer used.
65915 (update-abi-%): Remove AWK script and explicit abilist directory.
65916 (update-abi): Rewrite to simply compare and conditionally copy the
65917 symlist and the sysdep abilist file. Remove update-abi-config
65918 checks.
65919 * abilist/ld.abilist: Remove.
65920 * abilist/libBrokenLocale.abilist: Remove.
65921 * abilist/libanl.abilist: Remove.
65922 * abilist/libcrypt.abilist: Remove.
65923 * abilist/libdl.abilist: Remove.
65924 * abilist/librt.abilist: Remove.
65925 * abilist/libthread_db.abilist: Remove.
65926 * abilist/libutil.abilist: Remove.
65927 * scripts/extract-abilist.awk: Remove.
65928 * scripts/merge-abilist.awk: Remove.
65929 * sysdeps/generic/libcidn.abilist: New file.
65930 * sysdeps/generic/libnss_compat.abilist: New file.
65931 * sysdeps/generic/libnss_db.abilist: New file.
65932 * sysdeps/generic/libnss_dns.abilist: New file.
65933 * sysdeps/generic/libnss_files.abilist: New file.
65934 * sysdeps/generic/libnss_hesiod.abilist: New file.
65935 * sysdeps/generic/libnss_nis.abilist: New file.
65936 * sysdeps/generic/libnss_nisplus.abilist: New file.
65937 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
65938 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
65939 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
65940 file.
65941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
65942 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
65943 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
65944 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
65945 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
65946 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
65947 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
65948 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
65949 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
65950 file.
65951 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
65952 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
65953 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
65954 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
65955 file.
65956 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
65957 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
65958 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
65959 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
65960 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
65961 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
65962 file.
65963 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
65964 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
65965 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
65966 file.
65967 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
65968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
65969 New file.
65970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
65971 New file.
65972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
65973 New file.
65974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
65975 New file.
65976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
65977 New file.
65978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
65979 New file.
65980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
65981 New file.
65982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
65983 New file.
65984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
65985 New file.
65986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
65987 New file.
65988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
65989 New file.
65990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
65991 New file.
65992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
65993 New file.
65994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
65995 file.
65996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
65997 New file.
65998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
65999 New file.
66000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66001 file.
66002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66003 New file.
66004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66005 New file.
66006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66007 file.
66008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66009 New file.
66010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66011 New file.
66012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66013 New file.
66014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66015 New file.
66016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66017 New file.
66018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66019 New file.
66020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66022 file.
66023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66024 New file.
66025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66026 file.
66027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66028 file.
66029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66030 file.
66031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66032 file.
66033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66034 file.
66035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66036 New file.
66037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66038 file.
66039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66040 file.
66041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66042 New file.
66043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66044 file.
66045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66047 file.
66048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66049 New file.
66050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66051 file.
66052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66053 file.
66054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66055 file.
66056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66057 file.
66058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66059 file.
66060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66061 New file.
66062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66063 file.
66064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66065 file.
66066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66067 New file.
66068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66069 file.
66070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66071 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66072 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66073 file.
66074 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66075 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66076 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66077 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66078 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66079 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66080 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66082 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66083 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66086 file.
66087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66088 New file.
66089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66090 file.
66091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66092 file.
66093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66094 file.
66095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66096 file.
66097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66098 file.
66099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66100 New file.
66101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66102 New file.
66103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66104 file.
66105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66106 New file.
66107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66108 file.
66109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66111 file.
66112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66113 New file.
66114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66115 file.
66116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66117 file.
66118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66119 file.
66120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66121 file.
66122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66123 file.
66124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66125 New file.
66126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66127 New file.
66128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66129 file.
66130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66131 New file.
66132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66133 file.
66134
66135 2012-04-28 Joseph Myers <joseph@codesourcery.com>
66136
66137 * conform/conformtest.pl: Fix typo in handling typed-constant from
66138 allow-header.
66139
66140 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66141
66142 * README: Cut down references to pre-2.6 Linux kernels and
66143 Linuxthreads. Update lists of configurations in libc and ports
66144 and sort alphabetically. Say "or newer" with Linux kernel version
66145 requirements.
66146
66147 * config.h.in [IS_IN_build]: Allow compiling without optimization.
66148
66149 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
66150
66151 [BZ #887]
66152 * math/libm-test.inc (logb_test_downward): New test to expose
66153 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66154 rounding mode.
66155
66156 2012-04-27 Joseph Myers <joseph@codesourcery.com>
66157
66158 [BZ #14027]
66159 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66160 to be done.
66161 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66162 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66163
66164 2012-04-26 Joseph Myers <joseph@codesourcery.com>
66165
66166 * sysdeps/unix/i386/brk.S: Remove file.
66167 * sysdeps/unix/i386/dl-brk.S: Likewise.
66168 * sysdeps/unix/i386/pipe.S: Likewise.
66169 * sysdeps/unix/i386/sigreturn.S: Likewise.
66170 * sysdeps/unix/i386/syscall.S: Likewise.
66171 * sysdeps/unix/i386/vfork.S: Likewise.
66172 * sysdeps/unix/i386/wait.S: Likewise.
66173
66174 * sysdeps/unix/common/tcsendbrk.c: Move to ...
66175 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66176
66177 * configure.in (arm*-none*): Do not allow without
66178 --enable-hacker-mode.
66179 (netbsd*): Remove case setting base_os.
66180 (386bsd*): Likewise.
66181 (freebsd*): Likewise.
66182 (bsdi*): Likewise.
66183 (osf*): Likewise.
66184 (sunos*): Likewise.
66185 (ultrix*): Likewise.
66186 (newsos*): Likewise.
66187 (dynix*): Likewise.
66188 (*bsd*): Likewise.
66189 (sysv*): Likewise.
66190 (isc*): Likewise.
66191 (esix*): Likewise.
66192 (sco*): Likewise.
66193 (minix*): Likewise.
66194 (irix4*): Likewise.
66195 (irix6*): Likewise.
66196 (solaris[2-9]*): Likewise.
66197 (none): Likewise.
66198 * configure: Regenerated.
66199
66200 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66201
66202 [BZ #11521]
66203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66204 overflow or cancellation in calculating denominator.
66205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66207 down expression to avoid unexpected rounding in newer GCCs.
66208 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66209
66210 2012-04-26 David S. Miller <davem@davemloft.net>
66211
66212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66213 long-double compat symbols.
66214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66227
66228 2012-04-25 David S. Miller <davem@davemloft.net>
66229
66230 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66231 HWCAP_* values only after the memory barriers have been defined.
66232 (atomic_full_barrier): Define.
66233 (atomic_read_barrier): Define.
66234 (atomic_write_barrier): Define.
66235
66236 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
66237
66238 * shlib-versions: Add libgcc_s version information.
66239 * sysdeps/generic/libgcc_s.h: Remove.
66240 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66241 libgcc_s.h.
66242 * sysdeps/gnu/unwind-resume.c: Likewise.
66243 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66244
66245 2012-04-25 David S. Miller <davem@davemloft.net>
66246
66247 * sysdeps/unix/sparc/brk.S: Delete.
66248 * sysdeps/unix/sparc/dl-brk.S: Delete.
66249 * sysdeps/unix/sparc/pipe.S: Delete.
66250 * sysdeps/unix/sparc/sysdep.S: Delete.
66251 * sysdeps/unix/sparc/sysdep.h: Delete.
66252 * sysdeps/unix/sparc/vfork.S: Delete.
66253 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66254 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66255 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66256 (ret_ERRVAL, r0, r1, MOVE): Define.
66257 (JUMPTARGET): Remove.
66258 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66259 sysdeps/unix/sparc/sysdep.h
66260 (ENTRY, END): Remove.
66261 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66262
66263 2012-04-25 Joseph Myers <joseph@codesourcery.com>
66264
66265 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66266 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66267 -DIS_IN_build.
66268
66269 * timezone/README: Update upstream location and email address for
66270 tzcode and tzdata.
66271 * timezone/zdump.c: Update from tzcode 2012b.
66272 * timezone/zic.c: Likewise.
66273
66274 * configure.in (libc_cv_as_needed): Remove test.
66275 * configure: Regenerated.
66276 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66277 conditional definition.
66278 [$(have-as-needed) != yes] (no-as-needed): Likewise.
66279 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66280 * config.make.in (have-as-needed): Remove variable.
66281
66282 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66283 Paul Pluzhnikov <ppluzhnikov@google.com>
66284
66285 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66286 strings correctly.
66287
66288 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
66289
66290 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66291 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66292 * sysdeps/sh/strlen.S: Likewise.
66293
66294 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66295
66296 * sysdeps/unix/fork.S: Remove file.
66297 * sysdeps/unix/i386/fork.S: Likewise.
66298 * sysdeps/unix/sparc/fork.S: Likewise.
66299
66300 * sysdeps/unix/system.c: Remove file.
66301 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66302
66303 * sysdeps/unix/getegid.S: Remove file.
66304 * sysdeps/unix/geteuid.S: Likewise.
66305
66306 2012-04-24 Roland McGrath <roland@hack.frob.com>
66307
66308 * scripts/check-localplt.awk: New file.
66309 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66310 of diff.
66311 * scripts/data/localplt-generic.data: Add a comment.
66312
66313 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66314 NODE when __dir_mkfile failed.
66315 * sysdeps/mach/hurd/symlinkat.c: Likewise.
66316 Reported by Ludovic Courtès <ludo@gnu.org>.
66317
66318 2012-04-24 Andreas Jaeger <aj@suse.de>
66319
66320 * Makerules (common-clean): Also remove gen-as-const-headers
66321 files.
66322
66323 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66324
66325 * Makerules (native-compile): Do not change working directory for
66326 build. Use $(OUTPUT_OPTION) in command.
66327 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66328
66329 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66330
66331 [BZ #13886]
66332 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66333 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66334 * math/libm-test.inc (floor_test): Add more tests.
66335 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66336
66337 2012-04-24 Joseph Myers <joseph@codesourcery.com>
66338
66339 * sysdeps/unix/getdents.c: Remove file.
66340 * sysdeps/unix/sysv/getdents.c: Likewise.
66341 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66342
66343 * sysdeps/unix/syscalls.list (madvise): Add syscall from
66344 sysdeps/unix/mman/syscalls.list.
66345 (mmap): Likewise.
66346 (mprotect): Likewise.
66347 (msync): Likewise.
66348 (munmap): Likewise.
66349 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66350 * sysdeps/unix/mman/syscalls.list: Remove.
66351 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66352
66353 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66354 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66355 * configure: Regenerated.
66356 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66357 $(libgcc_s_suffix).
66358 * config.make.in (libgcc_s_suffix): Remove variable.
66359
66360 2012-04-23 Joseph Myers <joseph@codesourcery.com>
66361
66362 * sysdeps/unix/sysv/gethostname.c: Move to ...
66363 * sysdeps/posix/gethostname.c: ... here.
66364
66365 * sysdeps/unix/execve.S: Remove file.
66366
66367 * sysdeps/unix/_exit.S: Remove file.
66368
66369 2012-04-23 Andreas Jaeger <aj@suse.de>
66370
66371 [BZ #13739]
66372 * manual/Makefile: Remove make dist support, there's no
66373 need for a stand-alone documentation tar ball.
66374 (TEXI2DVI): Define always, it's not in Makeconfig.
66375 (dist): Removed.
66376 (tar-it): Removed.
66377 (edition): Removed.
66378 (glibc-doc-$(edition).tar): Removed
66379 (%.Z): Removed.
66380 (%.gz): Removed.
66381 (%.uu): Removed.
66382 (ETAGS): Remove, it's in Makeconfig.
66383 (move-if-change): Remove, it's in Makeconfig.
66384
66385 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
66386
66387 [BZ #13970]
66388 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66389 (strtod, strtof, strtold, strtol, strtoul, strtoq)
66390 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66391 (strtod_l, strtof_l, strtold_l): Remove __wur.
66392 It is not necessarily an error to ignore strtol's return value.
66393 One can reliably look at the stored endptr to decide whether
66394 the number had valid syntax.
66395
66396 2012-04-21 Andreas Jaeger <aj@suse.de>
66397
66398 [BZ #13739]
66399 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66400
66401 2012-04-21 Joseph Myers <joseph@codesourcery.com>
66402
66403 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66404 * sysdeps/unix/sysv/Versions: Remove file.
66405
66406 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
66407
66408 [BZ #13927]
66409 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66410
66411 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
66412
66413 [BZ #7064]
66414 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66415 version from __vm86.
66416
66417 2012-04-20 Joseph Myers <joseph@codesourcery.com>
66418
66419 * sysdeps/unix/common/lxstat.c: Remove file.
66420 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66421
66422 * sysdeps/unix/sysv/Makefile: Remove file.
66423
66424 * sysdeps/unix/sysv/direct.h: Remove file.
66425
66426 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66427 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66428 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66429 * sysdeps/unix/sysv/bits/signum.h: Likewise.
66430 * sysdeps/unix/sysv/bits/stat.h: Likewise.
66431 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66432 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66433
66434 * sysdeps/unix/sysv/setrlimit.c: Remove file.
66435
66436 * sysdeps/unix/xmknod.c: Remove file.
66437 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66438
66439 * sysdeps/unix/sysv/settimeofday.c: Remove file.
66440
66441 * sysdeps/unix/sysv/i386/time.S: Remove file.
66442
66443 * sysdeps/unix/fxstat.c: Remove file.
66444 * sysdeps/unix/xstat.c: Likewise.
66445 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
66446
66447 * sysdeps/unix/sysv/sigaction.c: Remove file.
66448
66449 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
66450 (sysdep_headers): Remove variable.
66451 [termio.h not in sysdep_headers] (generated): Likewise.
66452 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
66453 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
66454 * sysdeps/unix/sysv/tcdrain.c: Likewise.
66455 * sysdeps/unix/sysv/tcflow.c: Likewise.
66456 * sysdeps/unix/sysv/tcflush.c: Likewise.
66457 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
66458 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
66459 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
66460 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
66461 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
66462
66463 * sysdeps/unix/siglist.c: Remove file.
66464
66465 * sysdeps/unix/getppid.S: Remove file.
66466
66467 * sysdeps/unix/mkdir.c: Remove file.
66468 * sysdeps/unix/rmdir.c: Likewise.
66469
66470 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
66471
66472 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
66473 ERR_MAX value.
66474 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
66475 errlist-compat value.
66476
66477 2012-04-18 David S. Miller <davem@davemloft.net>
66478
66479 * sysdeps/generic/memcopy.h (reg_char): Delete.
66480 * debug/strcat_chk.c: Use char, not reg_char.
66481 * debug/strcpy_chk.c: Likewise.
66482 * debug/strncat_chk.c: Likewise.
66483 * debug/strncpy_chk.c: Likewise.
66484 * string/memchr.c: Likewise.
66485 * string/memrchr.c: Likewise.
66486 * string/rawmemchr.c: Likewise.
66487 * string/strcat.c: Likewise.
66488 * string/strchr.c: Likewise.
66489 * string/strchrnul.c: Likewise.
66490 * string/strcmp.c: Likewise.
66491 * string/strcpy.c: Likewise.
66492 * string/strncat.c: Likewise.
66493 * string/strncmp.c: Likewise.
66494 * string/strncpy.c: Likewise.
66495
66496 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66497
66498 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
66499 __builtin_memcopy is called when src and dest ranges are known to not
66500 overlap.
66501
66502 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66503
66504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
66505 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
66506 fwd_align_merge macro call.
66507 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
66508 bwd_align_merge macro call.
66509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66510
66511 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
66512
66513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
66514 bwd_align_merge macros.
66515 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
66516 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
66517 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
66518
66519 2012-04-18 David S. Miller <davem@davemloft.net>
66520
66521 * sysdeps/sparc/sparc64/memcopy.h: Delete.
66522
66523 2012-04-18 Andreas Jaeger <aj@suse.de>
66524
66525 [BZ# 6794]
66526 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
66527 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
66528 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66529
66530 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
66531 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
66532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66533
66534 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66535 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
66536 Adjust for changed ldbl-128 files.
66537
66538 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
66539 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
66540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
66541
66542 2012-04-17 David S. Miller <davem@davemloft.net>
66543
66544 * sysdeps/sparc/sparc32/memcopy.h: Delete.
66545
66546 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
66547
66548 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
66549 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
66550 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
66551 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
66552 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
66553 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
66554
66555 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
66556
66557 [BZ #6794]
66558 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
66559 * math/libm-test.inc: Add ilogb errno and exception tests.
66560 * math/w_ilogb.c: New file: ilogb wrapper.
66561 * math/w_ilogbf.c: New file: ilogbf wrapper.
66562 * math/w_ilogbl.c: New file: ilogbl wrapper.
66563 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
66564 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
66565 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
66566 exception being thrown with 0.0 as argument.
66567 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
66568 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
66569 exception being thrown with 0.0 as argument.
66570 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
66571 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66572 exception being thrown with 0.0 as argument.
66573 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
66574 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
66575 exception being thrown with 0.0 as argument.
66576 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
66577 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
66578 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
66579 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
66580 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
66581 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
66582 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
66583 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
66584 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
66585
66586 2012-04-17 Petr Baudis <pasky@ucw.cz>
66587
66588 * include/sys/uio.h: Change __vector to __iovec to avoid clash
66589 with altivec.
66590
66591 2012-04-16 Marek Polacek <polacek@redhat.com>
66592
66593 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
66594
66595 2012-04-16 Marek Polacek <polacek@redhat.com>
66596
66597 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
66598 operands of fdivp instruction.
66599
66600 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66601
66602 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
66603 * elf/tst-auditmod3b.c: Likewise.
66604 * elf/tst-auditmod4b.c: Likewise.
66605 * elf/tst-auditmod5b.c: Likewise.
66606 * elf/tst-auditmod6b.c: Likewise.
66607 * elf/tst-auditmod6c.c: Likewise.
66608 * elf/tst-auditmod7b.c: Likewise.
66609 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
66610 * sysdeps/x86_64/preconfigure.in: Likewise.
66611 * sysdeps/x86_64/preconfigure: Regenerated.
66612
66613 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
66614
66615 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
66616 __ILP32__.
66617
66618 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
66619
66620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66621 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
66622
66623 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
66624
66625 [BZ #13973]
66626 * locale/iso-639.def: Fix gl language name. Spotted by
66627 Yaron Shahrabani.
66628
66629 2012-04-12 Roland McGrath <roland@hack.frob.com>
66630
66631 [BZ #2074]
66632 * libio/libio.h (__io_write_fn): Update comment.
66633
66634 2012-04-12 Petr Baudis <pasky@ucw.cz>
66635
66636 [BZ #2074]
66637 * stdio.texi (Hook Functions): The user provided writer function
66638 is not allowed to return -1.
66639
66640 2012-04-11 David S. Miller <davem@davemloft.net>
66641
66642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66643
66644 2012-04-11 Mike Frysinger <vapier@gentoo.org>
66645
66646 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
66647 Add a leading slash to rtkaio.
66648
66649 2012-04-11 Jim Meyering <meyering@redhat.com>
66650
66651 [BZ #11959]
66652 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
66653 It is not necessarily an error to ignore fwrite's return
66654 value. One can reliably use ferror to test for errors after
66655 the fact.
66656
66657 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66658
66659 * bits/types.h (__snseconds_t): New type.
66660 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
66661
66662 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
66663 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66664 (__SNSECONDS_T_TYPE): Likewise.
66665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66666 (__SNSECONDS_T_TYPE): Likewise.
66667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66668 (__SNSECONDS_T_TYPE): Likewise.
66669
66670 2012-04-10 Andreas Jaeger <aj@suse.de>
66671
66672 [BZ #2636]
66673 * manual/time.texi (Processor Time): Return type of times is
66674 elapsed real time since an arbitrary point in the past.
66675 (CPU Time): Move CLK_TCK from here...
66676 (Processor Time): ...to here. Correct description.
66677 * manual/conf.texi (Constants for Sysconf): Correct description of
66678 _SC_CLK_TCK.
66679
66680 2012-04-10 David S. Miller <davem@davemloft.net>
66681
66682 [BZ #13967]
66683 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
66684 where the is a gap between DT_REL(A) and DT_JMPREL.
66685
66686 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
66687
66688 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
66689 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66690 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66691
66692 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
66693
66694 * elf/dl-support.c (_dl_inhibit_cache): New variable.
66695 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
66696 (dl_main): Handle --inhibit-cache.
66697 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
66698 _dl_inhibit_cache.
66699 * elf/dl-load.c (_dl_map_object): Use it.
66700 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
66701
66702 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66703
66704 [BZ #13872]
66705 * sysdeps/i386/fpu/e_powl.S (p78): New object.
66706 (__ieee754_powl): Saturate large exponents rather than testing for
66707 overflow of y*log2(x).
66708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66709 * math/libm-test.inc (pow_test): Do not permit spurious overflow
66710 exceptions.
66711
66712 [BZ #11521]
66713 * math/s_ctan.c: Include <float.h>.
66714 (__ctan): Avoid internal overflow or cancellation in calculating
66715 denominator.
66716 * math/s_ctanf.c: Likewise.
66717 * math/s_ctanl.c: Likewise.
66718 * math/s_ctanh.c: Likewise.
66719 * math/s_ctanhf.c: Likewise.
66720 * math/s_ctanhl.c: Likewise.
66721 * math/libm-test.inc (ctan_test): Add more tests.
66722 (ctanh_test): Likewise.
66723 * sysdeps/i386/fpu/libm-test-ulps: Update.
66724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66725
66726 2012-04-09 Andreas Jaeger <aj@suse.de>
66727
66728 [BZ #6894]
66729 * manual/filesys.texi (Directory Entries): Mention that d_namlen
66730 is an optional BSD extension.
66731
66732 [BZ #10254]
66733 * manual/stdio.texi (Opening Streams): Document additional fopen
66734 parameters.
66735
66736 2012-04-09 Roland McGrath <roland@hack.frob.com>
66737
66738 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
66739 %eax without telling the compiler.
66740
66741 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
66742
66743 [BZ # 13963]
66744 * manual/install.texi: Use sourceware.org.
66745
66746 2012-04-09 Joseph Myers <joseph@codesourcery.com>
66747
66748 [BZ #13873]
66749 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
66750 (__ieee754_pow): Generate overflow and underflow using huge*huge
66751 and tiny*tiny rather than just returning constant infinity or zero
66752 for large exponents.
66753 * math/libm-test.inc (pow_test): Require overflow exceptions for
66754 applicable cases of large exponents.
66755
66756 [BZ #706]
66757 * sysdeps/i386/fpu/e_pow.S (p10): New object.
66758 (__ieee754_pow): Use iterative multiplication algorithm only for
66759 integer exponents with absolute value below 1024. Check for odd
66760 integer exponents when using algorithm for real exponents.
66761 * math/libm-test.inc (pow_test): Add more tests.
66762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66763
66764 2012-04-08 Joseph Myers <joseph@codesourcery.com>
66765
66766 [BZ #13705]
66767 * math/libm-test.inc (exp_test): Do not allow overflow exception
66768 on underflow test.
66769
66770 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
66771
66772 [BZ #13705]
66773 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
66774 instead of __kernel_standard_f.
66775
66776 2012-04-08 Mike Frysinger <vapier@gentoo.org>
66777
66778 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
66779 * sysdeps/x86_64/memset_chk.S: Likewise.
66780
66781 2012-04-08 Andreas Jaeger <aj@suse.de>
66782
66783 [BZ #10153]
66784 * manual/startup.texi (Environment Access): Describe return value
66785 for putenv and setenv.
66786
66787 [BZ #6895]
66788 * manual/filesys.texi (Directory Entries): Add description for
66789 DT_LNK.
66790
66791 [BZ #6890]
66792 * manual/filesys.texi (Directory Entries): Clarify that it's file
66793 system not operating system in the description of DT_UNKNOWN.
66794
66795 [BZ #6578]
66796 * manual/syslog.texi (closelog): Fix reference, it's openlog.
66797
66798 2012-04-08 Stephen Compall <s11@member.fsf.org>
66799
66800 [BZ #6649]
66801 * manual/llio.texi (Opening and Closing Files): Add cross
66802 reference to explain mode argument.
66803
66804 2012-04-07 Mike Frysinger <vapier@gentoo.org>
66805
66806 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
66807 * sysdeps/x86_64/memset_chk.S: Likewise.
66808
66809 2012-04-07 David S. Miller <davem@davemloft.net>
66810
66811 * elf/elf.h (R_SPARC_WDISP10): Define.
66812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
66813 R_SPARC_SIZE32.
66814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
66815 R_SPARC_SIZE64 and R_SPARC_H34.
66816
66817 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
66818
66819 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
66820 conditions and remove no longer applicable assertion.
66821
66822 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66823
66824 * bits/byteswap.h: Include <features.h>.
66825 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
66826 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
66827
66828 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
66829
66830 * bits/byteswap.h (__bswap_16): Removed.
66831 Include <bits/byteswap-16.h> to get __bswap_16.
66832 * sysdeps/i386/bits/byteswap.h: Likewise.
66833 * sysdeps/s390/bits/byteswap.h: Likewise.
66834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66835 * bits/byteswap-16.h: New file.
66836 * sysdeps/i386/bits/byteswap-16.h: Likewise.
66837 * sysdeps/s390/bits/byteswap-16.h: Likewise.
66838 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
66839 * string/Makefile (headers): Add bits/byteswap-16.h.
66840
66841 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
66842
66843 [BZ #13895]
66844 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
66845 extra indirection.
66846 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66847 * nss/tst-nss-static.c: New.
66848
66849 2012-04-06 Robert Millan <rmh@gnu.org>
66850
66851 [BZ #6486]
66852 * manual/llio.texi (File Position Primitive): lseek
66853 refers to WHENCE when it really means OFFSET.
66854
66855 2012-04-06 Andreas Jaeger <aj@suse.de>
66856
66857 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
66858 strncmp declarations.
66859
66860 * abilist/libc.abilist: Add __poll and __ppoll.
66861
66862 2012-04-05 David S. Miller <davem@davemloft.net>
66863
66864 * scripts/check-local-headers.sh: Accept a host triplet in the
66865 path matched by the exclude regexp.
66866
66867 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
66868 definition.
66869 * sysdeps/powerpc/powerpc32/dl-machine.h
66870 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
66871 * sysdeps/s390/s390-32/dl-machine.h
66872 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66873 * sysdeps/sparc/sparc32/dl-machine.h
66874 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66875 * sysdeps/sparc/sparc64/dl-machine.h
66876 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
66877
66878 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
66879 lazy binding.
66880 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
66881 undefined symbol errors.
66882
66883 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
66884 DT_NEEDED entries.
66885
66886 2012-04-05 Michael Matz <matz@suse.de>
66887
66888 [BZ #13592]
66889 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
66890
66891 2012-04-05 Andreas Jaeger <aj@suse.de>
66892
66893 [BZ #13908]
66894 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
66895 comment.
66896
66897 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66898
66899 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
66900 which ROUND is no valid rounding mode.
66901
66902 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66903
66904 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
66905 read again.
66906 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
66907
66908 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66909
66910 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
66911 an exception using FPU order intentionally.
66912
66913 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66914
66915 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
66916 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
66917 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
66918 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
66919
66920 2012-04-05 Simon Josefsson <simon@josefsson.org>
66921
66922 [BZ #12340]
66923 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
66924 EINVAL when BUFLEN is too smal.
66925
66926 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
66927
66928 [BZ #13553]
66929 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
66930 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
66931
66932 2012-04-03 Andreas Jaeger <aj@suse.de>
66933
66934 [BZ #13938]
66935 * manual/setjmp.texi (System V contexts): Fix sentence.
66936
66937 [BZ #13926]
66938 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
66939 New macro for this case.
66940 [!__GNUC__] (__bswap_64): New inline function for this case.
66941 * sysdeps/x86_64/bits/byteswap.h: Likewise.
66942 * bits/byteswap.h: Likewise.
66943 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
66944 ull, guard with __GLIBC_HAVE_LONG_LONG.
66945
66946 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
66947 __GLIBC_HAVE_LONG_LONG.
66948
66949 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
66950 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
66951
66952 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66953
66954 [BZ #13691]
66955 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
66956 inptr and inend, rather than using last_ch.
66957
66958 2012-04-02 David S. Miller <davem@davemloft.net>
66959
66960 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
66961 * stdio-common/printf-parse.h (read_int): Change return type to
66962 'int', return -1 on INT_MAX overflow.
66963 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
66964 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
66965 overflows INT_MAX. Check for overflow of in-format-string precision
66966 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
66967 SIZE_MAX not INT_MAX for integer overflow test.
66968 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
66969 skip the construct in the format string but do not record anything.
66970 * stdio-common/bug22.c: Adjust to test both width/prevision
66971 INT_MAX overflow as well as total length INT_MAX overflow. Check
66972 explicitly for proper errno values.
66973
66974 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
66975
66976 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
66977 CHAR_MAX.
66978 * string/test-strcmp.c [! WIDE]: Likewise.
66979 * time/tst-mktime2.c: Likewise for INT_MAX.
66980 * string/test-string.h: #include <sys/param.h> for MIN.
66981
66982 * csu/init-first.c (__libc_init_first): Call __ctype_init.
66983 * sysdeps/i386/init-first.c (init): Likewise.
66984 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
66985 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
66986 * sysdeps/sh/init-first.c (init): Likewise.
66987
66988 2012-04-01 Ulrich Drepper <drepper@gmail.com>
66989
66990 * po/ru.po: Update from translation team.
66991 * po/vi.po: Likewise.
66992
66993 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
66994
66995 * resolv/nss_dns/dns-host.c: Merge copyright years.
66996
66997 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66998
66999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67000 Optimize memcpy with prefetch if
67001 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
67002 src, dst pointers have unequal 16 byte alignments.
67003
67004 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
67005
67006 [BZ #13928]
67007 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67008 from a CNAME entry and return the minimum ttl for the query.
67009 (gaih_getanswer_slice): Likewise.
67010
67011 2012-03-30 Jeff Law <law@redhat.com>
67012
67013 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67014 due to long keys.
67015 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67016 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67017
67018 * resolv/nss_dns/dns-host.c: Update copyright year.
67019
67020 2012-03-30 Ulrich Drepper <drepper@gmail.com>
67021
67022 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67023 requests to save a system call. Fix check that all bytes are sent.
67024
67025 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67026 comments for sendmmsg.
67027
67028 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67029
67030 [BZ #13691]
67031 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67032 with only 1 character between 0x0041 and 0x01b0.
67033 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67034 * wcsmbs/tst-mbsnrtowcs.c: New file.
67035
67036 2012-03-29 David S. Miller <davem@davemloft.net>
67037
67038 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67039 small copies by hand.
67040
67041 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
67042
67043 [BZ #13761]
67044 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67045 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67046 group memberships.
67047
67048 2012-03-28 David S. Miller <davem@davemloft.net>
67049
67050 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67051 that branches into memcpy.
67052 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67054 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67055 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67057 bits.
67058 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67059 implementation too.
67060 * sysdeps/sparc/mempcpy.S: New file.
67061
67062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67063 the IFUNC routine in the libc case.
67064 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67065
67066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67067 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67068 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67069 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67070 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67071 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67072 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67073 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67074
67075 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67076 loop to 256 bytes instead of 64 bytes and fix test signedness.
67077
67078 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67079 * sysdeps/sparc/sparc32/Makefile: rather than here...
67080 * sysdeps/sparc/sparc64/Makefile: and here.
67081
67082 2012-03-28 Ulrich Drepper <drepper@gmail.com>
67083
67084 * malloc/mallocbug.c: Avoid warnings about unused variables.
67085
67086 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
67087
67088 [BZ #13760]
67089 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67090 in the right place. Discard and retry query if response is
67091 larger than input buffer size.
67092
67093 2012-03-28 Joseph Myers <joseph@codesourcery.com>
67094
67095 [BZ #369]
67096 [BZ #2678]
67097 [BZ #3866]
67098 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67099 x for large integer exponent.
67100 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67101 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
67102 sign of result as needed afterwards.
67103 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67104 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67105 result for underflowing pow the same as for overflow.
67106 (__kernel_standard_l): Handle powl overflow and underflow here
67107 rather than calling __kernel_standard.
67108 * math/libm-test.inc (pow_test): Add more tests.
67109
67110 [BZ #3868]
67111 [BZ #13879]
67112 [BZ #13910]
67113 [BZ #13911]
67114 [BZ #13912]
67115 [BZ #13913]
67116 [BZ #13915]
67117 [BZ #13916]
67118 [BZ #13917]
67119 [BZ #13918]
67120 [BZ #13919]
67121 [BZ #13920]
67122 [BZ #13921]
67123 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67124 * sysdeps/ieee754/k_standard.c: Include <float.h>.
67125 (__kernel_standard_l): New function.
67126 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67127 __kernel_standard.
67128 * math/w_acosl.c (__acosl): Likewise.
67129 * math/w_asinl.c (__asinl): Likewise.
67130 * math/w_atan2l.c (__atan2l): Likewise.
67131 * math/w_atanhl.c (__atanhl): Likewise.
67132 * math/w_coshl.c (__coshl): Likewise.
67133 * math/w_exp10l.c (__exp10l): Likewise.
67134 * math/w_exp2l.c (__exp2l): Likewise.
67135 * math/w_fmodl.c (__fmodl): Likewise.
67136 * math/w_hypotl.c (__hypotl): Likewise.
67137 * math/w_j0l.c (__j0l, __y0l): Likewise.
67138 * math/w_j1l.c (__j1l, __y1l): Likewise.
67139 * math/w_jnl.c (__jnl, __ynl): Likewise.
67140 * math/w_lgammal.c (__lgammal): Likewise.
67141 * math/w_log10l.c (__log10l): Likewise.
67142 * math/w_log2l.c (__log2l): Likewise.
67143 * math/w_logl.c (__logl): Likewise.
67144 * math/w_powl.c (__powl): Likewise.
67145 * math/w_remainderl.c (__remainderl): Likewise.
67146 * math/w_scalbl.c (sysv_scalbl): Likewise.
67147 * math/w_sinhl.c (__sinhl): Likewise.
67148 * math/w_sqrtl.c (__sqrtl): Likewise.
67149 * math/w_tgammal.c (__tgammal): Likewise.
67150 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67151 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67152 * math/libm-test.inc (acos_test): Add more tests.
67153 (acosh_test): Likewise.
67154 (asin_test): Likewise.
67155 (atanh_test): Likewise.
67156 (exp_test): Likewise.
67157 (exp10_test): Likewise.
67158 (exp2_test): Likewise.
67159 (expm1_test): Likewise.
67160 (lgamma_test): Likewise.
67161 (log_test): Likewise.
67162 (log10_test): Likewise.
67163 (log1p_test): Likewise.
67164 (log2_test): Likewise.
67165 (pow_test): Do not allow some spurious overflow exceptions.
67166 (sqrt_test): Add more tests.
67167 (tgamma_test): Likewise.
67168 (y0_test): Likewise.
67169 (y1_test): Likewise.
67170 (yn_test): Likewise.
67171
67172 2012-03-27 Anton Blanchard <anton@samba.org>
67173
67174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67175 MAP_HUGETLB.
67176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67179
67180 2012-03-27 David S. Miller <davem@davemloft.net>
67181
67182 * conform/Makefile: Run run-conformtest.sh using $(BASH).
67183
67184 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67185 have-as-vis3 check.
67186
67187 2012-03-27 Andreas Jaeger <aj@suse.de>
67188
67189 * sysdeps/x86_64/elf/configure.in: Moved to ...
67190 * sysdeps/x86_64/configure.in: ... here.
67191 * sysdeps/x86_64/elf/start.S: Moved to ...
67192 * sysdeps/x86_64/start.S: ... here.
67193 * sysdeps/x86_64/elf/configure: Delete.
67194
67195 * sysdeps/x86_64/configure.in: Merge contents from
67196 sysdeps/i386/configure.in (without i686 check).
67197
67198 * sysdeps/i386/elf/Versions: Merge into ...
67199 * sysdeps/i386/Versions: ... this.
67200 * sysdeps/i386/elf/Versions: Delete file.
67201 * sysdeps/i386/elf/start.S: Moved to ...
67202 * sysdeps/i386/start.S: ...here.
67203 * sysdeps/i386/elf/configure.in: Merge into...
67204 * sysdeps/i386/configure.in: ...here.
67205 * sysdeps/i386/elf/configure.in: Delete file.
67206 * sysdeps/i386/elf/configure: Delete file.
67207
67208 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67209 * debug/backtracesyms.c: ... here.
67210 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67211 * debug/backtracesymsfd.c: ... here.
67212 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67213 * sysdeps/generic/ifunc-sel.h: ... here.
67214
67215 * sysdeps/unix/i386/start.c: Delete file.
67216 * sysdeps/unix/sparc/start.c: Delete file.
67217 * sysdeps/unix/start.c: Delete file.
67218
67219 * sysdeps/sh/elf/configure.in: Moved to ...
67220 * sysdeps/sh/configure.in: ... here.
67221 * sysdeps/sh/elf/start.S: Moved to ...
67222 * sysdeps/sh/start.S: ... here.
67223 * sysdeps/sh/elf/configure: Delete file.
67224
67225 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67226 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67227 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67228 * sysdeps/powerpc/powerpc64/entry.h: ... here.
67229 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67230 * sysdeps/powerpc/powerpc64/start.S: here.
67231 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67232 * sysdeps/powerpc/powerpc64/Makefile: ... this.
67233 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67234 * sysdeps/powerpc/powerpc64/configure.in: ... this.
67235 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67236
67237 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67238 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67239 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67240 * sysdeps/powerpc/powerpc32/start.S: ... here.
67241 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67242 * sysdeps/powerpc/powerpc32/configure.in: ... this.
67243 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67244
67245 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67246 * sysdeps/powerpc/ifunc-sel.h: ... here.
67247 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67248 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67249
67250 * sysdeps/sparc/elf/configure.in: Moved to ...
67251 * sysdeps/sparc/configure.in: ... here.
67252 * sysdeps/sparc/elf/configure: Delete file.
67253 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67254 * sysdeps/sparc/sparc32/start.S: ... here.
67255 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67256 * sysdeps/sparc/sparc64/start.S: ... here.
67257 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67258 * sysdeps/sparc/sparc32/Makefile: ... this.
67259 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67260 * sysdeps/sparc/sparc64/Makefile: ... this.
67261
67262 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67263 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67264 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67265 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67266 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67267 * sysdeps/s390/s390-32/setjmp.S: ... here.
67268 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67269 * sysdeps/s390/s390-32/configure.in: ... here.
67270 * sysdeps/s390/s390-32/elf/configure: Delete file.
67271 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67272 * sysdeps/s390/s390-32/start.S: ... here.
67273
67274 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67275 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67276 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67277 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67278 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67279 * sysdeps/s390/s390-64/setjmp.S: ... here.
67280 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67281 * sysdeps/s390/s390-64/configure.in: ... here
67282 * sysdeps/s390/s390-64/elf/configure: Delete file.
67283 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67284 * sysdeps/s390/s390-64/start.S: ... here.
67285 * sysdeps/s390/s390-64/elf/configure: Delete.
67286
67287 * configure.in: Remove support for elf directories in sysdeps.
67288
67289 * configure: Regenerated.
67290 * sysdeps/i386/configure: Regenerated.
67291 * sysdeps/powerpc/powerpc32/configure: Regenerated.
67292 * sysdeps/powerpc/powerpc64/configure: Regenerated.
67293 * sysdeps/s390/s390-32/configure: Regenerated.
67294 * sysdeps/s390/s390-64/configure: Regenerated.
67295 * sysdeps/sh/configure: Regenerated.
67296 * sysdeps/sparc/configure: Regenerated.
67297 * sysdeps/x86_64/configure: Regenerated.
67298
67299 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
67300
67301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67302
67303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67304 denormal result into account.
67305
67306 2012-03-25 Roland McGrath <roland@hack.frob.com>
67307
67308 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67309 Reported by Allan McRae <allan@archlinux.org>.
67310
67311 2012-03-23 Jeff Law <law@redhat.com>
67312
67313 * nss/getnssent.c (__nss_getent): Fix typo.
67314
67315 2012-03-23 David S. Miller <davem@davemloft.net>
67316
67317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67318
67319 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
67320
67321 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67322 to pad to uint64_t for each field.
67323 (dl_tls_index): Replace unsigned long with uint64_t.
67324
67325 2012-03-23 Daniel Jacobowitz <dmj@google.com>
67326 Paul Pluzhnikov <ppluzhnikov@google.com>
67327
67328 [BZ #6528]
67329 * grp/Makefile (otherlibs): Don't set it.
67330 * inet/Makefile (otherlibs): Likewise.
67331 * login/Makefile (otherlibs): Likewise.
67332 * nscd/Makefile (otherlibs): Likewise.
67333 * posix/Makefile (otherlibs): Likewise.
67334 * pwd/Makefile (otherlibs): Likewise.
67335 * rt/Makefile (otherlibs): Likewise.
67336 * sunrpc/Makefile (otherlibs): Likewise.
67337 * nss/Makefile (otherlibs): Likewise.
67338 Add libnss_files to routines and static-only-routines.
67339 ($(objpfx)getent): Remove rule.
67340 * resolv/Makefile: Add libnss_dns and libresolv to routines and
67341 static-only-routines.
67342
67343 2012-03-22 Joseph Myers <joseph@codesourcery.com>
67344
67345 [BZ #13892]
67346 * math/s_cexp.c: Include <float.h>.
67347 (__cexp): Handle exp result overflowing not necessarily
67348 overflowing both real and imaginary parts of result.
67349 * math/s_cexpf.c: Likewise.
67350 * math/s_cexpl.c: Likewise.
67351 * math/libm-test.inc (cexp_test): Add more tests.
67352 * sysdeps/i386/fpu/libm-test-ulps: Update.
67353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67354
67355 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67356
67357 * include/link.h (ELFW): New macro.
67358 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67359 Replace ELF64_R_TYPE with ELFW(R_TYPE).
67360
67361 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67362
67363 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67364 with uint64_t.
67365
67366 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67367
67368 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67369 declaration.
67370 (struct La_x32_retval): Likewise.
67371
67372 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
67373
67374 * sysdeps/x86_64/preconfigure.in: New file.
67375 * sysdeps/x86_64/preconfigure: New generated file.
67376
67377 2012-03-22 Joseph Myers <joseph@codesourcery.com>
67378
67379 [BZ #13824]
67380 * math/e_exp2l.c: Include <float.h>.
67381 (__ieee754_exp2l): Handle overflow and underflow cases
67382 separately. Only pass fractional part of argument to
67383 __ieee754_expl.
67384 * math/libm-test.inc (exp2_test): Add more tests.
67385
67386 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67387 negating x to take absolute value.
67388 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67389 Likewise.
67390 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67391 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67392 Likewise.
67393 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67394 computing low part if x was negated.
67395 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67396
67397 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67398
67399 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67400 la_x32_gnu_pltexit.
67401 (pltexit): Cast int_retval to ptrdiff_t.
67402 * elf/tst-auditmod3b.c: Likewise.
67403 * elf/tst-auditmod4b.c: Likewise.
67404 * elf/tst-auditmod5b.c: Likewise.
67405 * elf/tst-auditmod6b.c: Likewise.
67406 * elf/tst-auditmod6c.c: Likewise.
67407 * elf/tst-auditmod7b.c: Likewise.
67408
67409 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67410 and x32_gnu_pltexit.
67411
67412 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67413 __ELF_NATIVE_CLASS.
67414 (La_x32_regs): New macro.
67415 (La_x32_retval): Likewise.
67416 (la_x32_gnu_pltenter): New function prototype.
67417 (la_x32_gnu_pltexit): Likewise.
67418
67419 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
67420
67421 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67422 exponent.
67423
67424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67425
67426 * configure.in (libc_cv_cc_nofma): Check for option to disable
67427 generation of FMA instructions.
67428 * configure: Regenerate.
67429 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67430 * sysdeps/ieee754/dbl-64/Makefile: New file.
67431 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67432 Remove brandred-fma4.
67433 (CFLAGS-brandred-fma4.c): Remove.
67434 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67435 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67436 define.
67437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67438 define.
67439
67440 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67441
67442 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67443 LLONG_MAX != LONG_MAX.
67444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67445 (_fitoa_word): Likewise.
67446 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
67447 LLONG_MAX != LONG_MAX.
67448 * stdio-common/_itowa.h: Include <_itoa.h>.
67449 (_itowa_word): Use _ITOA_WORD_TYPE on value.
67450 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
67451 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
67452 only if not defined.
67453 (_ITOA_WORD_TYPE): Likewise.
67454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
67455 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
67456
67457 2012-03-21 David S. Miller <davem@davemloft.net>
67458
67459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67460
67461 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
67462
67463 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
67464 of x86_64 when setting libc_cv_slibdir, libdir and
67465 libc_cv_localedir.
67466 * sysdeps/unix/sysv/linux/configure: Regenerated.
67467
67468 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67469
67470 * manual/lang.texi (Old Varargs): Remove section.
67471 (How Variadic): Update menu.
67472 (va_start): Do not mention varargs.h.
67473
67474 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67475 Joseph Myers <joseph@codesourcery.com>
67476
67477 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
67478 link test.
67479 * configure: Regenerated.
67480
67481 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
67482
67483 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
67484 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
67485 conformtest.pl
67486
67487 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67488
67489 * NOTES: Remove.
67490 * Makefile (files-for-dist): Remove NOTES.
67491 (NOTES): Remove rule.
67492 * README: Don't refer to NOTES.
67493 * manual/creature.texi: Don't include macros.texi.
67494 * manual/intro.texi (creature.texi): Remove comment referring to
67495 NOTES.
67496
67497 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
67498 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
67499 * configure: Regenerated.
67500 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
67501 LIBC_TRY_CC_OPTION.
67502 (libc_cv_as_i686): Likewise.
67503 (libc_cv_cc_avx): Likewise.
67504 (libc_cv_cc_sse2avx): Likewise.
67505 (libc_cv_cc_fma4): Likewise.
67506 (libc_cv_cc_novzeroupper): Likewise.
67507 * sysdeps/i386/configure: Regenerated.
67508
67509 [BZ #13883]
67510 * sysdeps/i386/fpu/s_cexp.S: Remove.
67511 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67512 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67513 * math/libm-test.inc (cexp_test): Add more tests.
67514 * sysdeps/i386/fpu/libm-test-ulps: Update.
67515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67516
67517 2012-03-21 Allan McRae <allan@archlinux.org>
67518
67519 * timezone/Makefile: Do not install iso3166.tab and zone.tab
67520
67521 2012-03-21 Joseph Myers <joseph@codesourcery.com>
67522
67523 [BZ #13871]
67524 * math/w_exp2.c: Do not include <float.h>.
67525 (o_threshold, u_threshold): Remove.
67526 (__exp2): Calculate result before checking finiteness and calling
67527 __kernel_standard.
67528 * math/w_exp2f.c: Likewise.
67529 * math/w_exp2l.c: Likewise.
67530 * math/libm-test.inc (exp2_test): Require overflow exception for
67531 1e6 input.
67532
67533 [BZ #3866]
67534 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
67535 range of signed 64-bit integers before using fistpll. Remove
67536 checks for whether integers fit in mantissa bits.
67537 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
67538 the range of signed 32-bit integers before using fistpl. Remove
67539 checks for whether integers fit in mantissa bits.
67540 * sysdeps/i386/fpu/e_powl.S (p64): New object.
67541 (__ieee754_powl): Test for y outside the range of signed 64-bit
67542 integers before using fistpll. Reduce 64-bit values to 63-bit
67543 ones as needed.
67544 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
67545 divide-by-zero is raised for zero to large negative powers.
67546 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
67547 (__ieee754_powl): Test for y outside the range of signed 64-bit
67548 integers before using fistpll. Reduce 64-bit values to 63-bit
67549 ones as needed.
67550 * math/libm-test.inc (pow_test): Add more tests.
67551
67552 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67553
67554 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
67555 <stdio-common/_itoa.h>.
67556 * debug/segfault.c: Likewise.
67557 * elf/dl-cache.c: Likewise.
67558 * elf/dl-minimal.c: Likewise.
67559 * elf/dl-misc.c: Likewise.
67560 * elf/dl-sysdep.c: Likewise.
67561 * elf/dl-version.c: Likewise.
67562 * elf/rtld.c: Likewise.
67563 * hurd/hurdsock.c: Likewise.
67564 * hurd/lookup-retry.c: Likewise.
67565 * malloc/malloc.c: Likewise.
67566 * malloc/mtrace.c: Likewise.
67567 * nscd/nscd_getgr_r.c: Likewise.
67568 * nscd/nscd_getpw_r.c: Likewise.
67569 * nscd/nscd_getserv_r.c: Likewise.
67570 * posix/getopt_init.c: Likewise.
67571 * posix/wordexp.c: Likewise.
67572 * stdio-common/_itoa.c: Likewise.
67573 * stdio-common/printf_fphex.c: Likewise.
67574 * stdio-common/vfprintf.c: Likewise.
67575 * string/_strerror.c: Likewise.
67576 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
67577 * sysdeps/i386/i686/hp-timing.h: Likewise.
67578 * sysdeps/mach/_strerror.c: Likewise.
67579 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
67580 * sysdeps/mach/hurd/sethostid.c: Likewise.
67581 * sysdeps/mach/hurd/xmknodat.c: Likewise.
67582 * sysdeps/mach/xpg-strerror.c: Likewise.
67583 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67584 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67585 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
67586 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
67587 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67588 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
67589 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
67590 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
67591 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
67592 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
67593 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
67594 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
67595 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
67596 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
67597 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
67598 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
67599 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
67600 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
67601 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
67602 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
67603 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
67604
67605 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
67606
67607 * stdio-common/_itoa.h: Moved to ...
67608 * sysdeps/generic/_itoa.h: Here.
67609
67610 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
67611
67612 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
67613 instead of "_itoa.h" and "_itowa.h".
67614 * stdio-common/vfprintf.: Likewise.
67615
67616 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67617
67618 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
67619 <bits/wordsize.h>.
67620 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
67621 (__signbit): Likwise.
67622 (llrintf): Likwise.
67623 (llrint): Likwise.
67624
67625 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
67626
67627 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
67628 __WORDSIZE != 64.
67629
67630 2012-03-20 Joseph Myers <joseph@codesourcery.com>
67631
67632 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
67633 OVERFLOW_EXCEPTION_OK.
67634 * math/libm-test.inc ("Philosophy"): Update comment about
67635 exception testing.
67636 (OVERFLOW_EXCEPTION): Define.
67637 (OVERFLOW_EXCEPTION_OK): Likewise.
67638 (INVALID_EXCEPTION_OK): Renumber.
67639 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67640 (IGNORE_ZERO_INF_SIGN): Likewise.
67641 (test_exceptions): Handle FE_OVERFLOW.
67642 (exp10_test): Expect overflow exceptions.
67643 (exp2_test): Likewise.
67644 (expm1_test): Likewise.
67645 (nextafter_test): Likewise.
67646 (pow_test): Likewise.
67647 (scalbn_test): Likewise.
67648 (scalbln_test): Likewise.
67649
67650 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67651
67652 * sysdeps/x86_64/bits/atomic.h
67653 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
67654 64bit integer.
67655 (atomic_exchange_acq): Likewise.
67656 (__arch_exchange_and_add_body): Likewise.
67657 (__arch_add_body): Likewise.
67658 (atomic_add_negative): Likewise.
67659 (atomic_add_zero): Likewise.
67660
67661 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67662
67663 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
67664 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
67665
67666 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67667
67668 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
67669 Check __x86_64__ instead of __WORDSIZE.
67670
67671 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67672
67673 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
67674
67675 2012-03-19 David S. Miller <davem@davemloft.net>
67676
67677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67678
67679 * sysdeps/sparc/fpu/fenv_private.h: New file.
67680 * sysdeps/sparc/fpu/math_private.h: Use it.
67681 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
67682 Remove.
67683 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
67684 (libc_feholdexcept_setroundl): Remove.
67685 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
67686 Remove.
67687 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
67688 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
67689
67690 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67691
67692 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
67693 int64_t instead of long int.
67694 (INSERT_WORDS64): Likwise.
67695
67696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
67697
67698 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
67699 _Unwind_GetCFA return to _Unwind_Ptr first.
67700
67701 2012-03-19 Joseph Myers <joseph@codesourcery.com>
67702
67703 [BZ #13629]
67704 * math/s_clog.c: Include <float.h>.
67705 (__clog): Scale large or subnormal inputs.
67706 * math/s_clogf.c: Likewise.
67707 * math/s_clogl.c: Likewise.
67708 * math/s_clog10.c: Include <float.h>.
67709 (M_LOG10_2): Define.
67710 (__clog10): Scale large or subnormal inputs.
67711 * math/s_clog10f.c: Likewise.
67712 * math/s_clog10l.c: Likewise.
67713 * math/libm-test.inc (clog_test): Add more tests.
67714 (clog10_test): Likewise.
67715 * sysdeps/i386/fpu/libm-test-ulps: Update.
67716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67717
67718 [BZ #11451]
67719 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
67720 x and y.
67721 * math/libm-test.inc (atan2_test): Add another test.
67722
67723 * Makerules (common-objdir-compile): Remove.
67724 * sysdeps/unix/Makefile (config-generated): Do not add
67725 $(unix-generated) to variable.
67726 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
67727 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
67728 Remove rule.
67729 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
67730 Likewise.
67731 [generic bits/local_lim.h] (before-compile): Do not append to
67732 variable.
67733 [generic bits/local_lim.h] (common-generated): Likewise.
67734 [generic sys/param.h] (before-compile): Do not append to variable.
67735 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
67736 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
67737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
67738 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
67739 include.
67740 [generic sys/param.h] (sys/param.h-includes): Remove variable.
67741 [generic sys/param.h] (sys/param.h-includes): Remove rule.
67742 [generic sys/param.h] ($(addprefix
67743 $(common-objpfx),$(sys/param.h-includes))): Likewise.
67744 [generic sys/param.h] (common-generated): Do not append to
67745 variable.
67746 [generic sys/param.h] (sysdep_headers): Likewise.
67747 [generic bits/errno.h] (before-compile): Do not append to
67748 variable.
67749 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
67750 rule.
67751 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
67752 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
67753 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
67754 [generic bits/errno.h] (common-generated): Do not append to
67755 variable.
67756 [generic bits/ioctls.h] (before-compile): Do not append to
67757 variable.
67758 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
67759 rule.
67760 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
67761 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
67762 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
67763 rule.
67764 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
67765 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
67766 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
67767 [generic bits/ioctls.h] (common-generated): Do not append to
67768 variable.
67769 [generic sys/syscall.h] (syscall.h): Remove variable.
67770 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
67771 rule.
67772 [generic sys/syscall.h] (before-compile): Do not append to
67773 variable.
67774 [generic sys/syscall.h] (common-generated): Likewise.
67775 * sysdeps/unix/errnos-tmpl.c: Remove file.
67776 * sysdeps/unix/errnos.awk: Likewise.
67777 * sysdeps/unix/ioctls-tmpl.c: Likewise.
67778 * sysdeps/unix/ioctls.awk: Likewise.
67779 * sysdeps/unix/mk-local_lim.c: Likewise.
67780 * sysdeps/unix/snarf-ioctls: Likewise.
67781
67782 2012-03-19 Richard Henderson <rth@twiddle.net>
67783
67784 * sysdeps/i386/fpu/fenv_private.h: New file.
67785 * sysdeps/i386/fpu/math_private.h: Use it.
67786 (math_opt_barrier, math_force_eval): Remove.
67787 (libc_feholdexcept_setround_53bit): Remove.
67788 (libc_feupdateenv_53bit): Remove.
67789 * sysdeps/x86_64/fpu/math_private.h: Likewise.
67790 (math_opt_barrier, math_force_eval): Remove.
67791 (libc_feholdexcept): Remove.
67792 (libc_feholdexcept_setround): Remove.
67793 (libc_fetestexcept, libc_fesetenv): Remove.
67794 (libc_feupdateenv_test): Remove.
67795 (libc_feupdateenv, libc_feholdsetround): Remove.
67796 (libc_feresetround): Remove.
67797
67798 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
67799 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
67800
67801 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
67802 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
67803 (libc_feupdateenv_testl): New.
67804 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
67805 (libc_feupdateenv_testf): New.
67806 (libc_feupdateenv): Use libc_feupdateenv_test.
67807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
67808 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
67809
67810 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
67811 (libc_feholdsetroundf, libc_feholdsetroundl): New.
67812 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
67813 (libc_feresetround_noex): New.
67814 (libc_feresetround_noexf): New.
67815 (libc_feresetround_noexl): New.
67816 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
67817 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
67818 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
67819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
67820 SET_RESTORE_ROUND.
67821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
67822 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
67823 (__cos): Likewise.
67824 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
67825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
67826 SET_RESTORE_ROUND_NOEX.
67827 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
67828 SET_RESTORE_ROUND_NOEXF.
67829 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
67830 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
67831 (libc_feholdsetroundf): New.
67832 (libc_feresetround, libc_feresetroundf): New.
67833
67834 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
67835 (libc_feholdexcept_setround_53bit): Convert from macro to function.
67836 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
67837
67838 * sysdeps/generic/math_private.h: Include <fenv.h>.
67839 (default_libc_feholdexcept): New.
67840 (default_libc_feholdexcept_setround): New.
67841 (default_libc_fesetenv, default_libc_feupdateenv): New.
67842 (libc_feholdexcept): Only define if undefined.
67843 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
67844 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
67845 (libc_feholdexcept_setroundl): Likewise.
67846 (libc_feholdexcept_setround_53bit): Likewise.
67847 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
67848 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
67849 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
67850 (libc_feupdateenv_53bit): Likewise.
67851 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
67852 (libc_feholdexcept): Convert from macro to inline function.
67853 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
67854 (libc_fesetenv, libc_feupdateenv): Likewise.
67855
67856 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
67857 not previously defined.
67858 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
67859 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
67860 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
67861 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
67862 * sysdeps/ieee754/flt-32/math_private.h: New file.
67863 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
67864 math_private.h below SET_FLOAT_WORD.
67865 (__isnan, __isinf_ns, __finite): Remove.
67866 (__isnanf, __isinf_nsf, __finitef): Remove.
67867
67868 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
67869
67870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67871
67872 2012-03-17 David S. Miller <davem@davemloft.net>
67873
67874 [BZ #6471]
67875 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
67876 for 2.16.
67877
67878 2012-03-16 David S. Miller <davem@davemloft.net>
67879
67880 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
67881 warnings.
67882
67883 [BZ #6471]
67884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
67885 properly.
67886 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
67887 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
67888 sysdep_routines when subdir is sysvipc.
67889 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
67890 __getshmlba helper.
67891
67892 * sysdeps/sparc/fpu/libm-test/ulps: Update.
67893
67894 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67895
67896 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
67897 [__LP64__].
67898
67899 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67900
67901 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
67902 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
67903 (__lround): Renamed to ...
67904 (__llround): This. Replace long int with long long int.
67905 Define lround functions as aliases of llround functions.
67906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
67907
67908 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67909
67910 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
67911 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
67912 adresses to uintptr_t. Replace "long int" and "unsigned long
67913 int" with "greg_t" on va_arg.
67914
67915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
67916
67917 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
67918 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
67919
67920 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
67921 Move e_machine check before EI_CLASS check. Handle x32
67922 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
67923 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
67924 SKIP_EM_IA_64 and include
67925 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
67926
67927 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
67928 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
67929 (add_system_dir): New macro.
67930
67931 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
67932 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
67933
67934 2012-03-16 Joseph Myers <joseph@codesourcery.com>
67935
67936 [BZ #2551]
67937 [BZ #2552]
67938 [BZ #2553]
67939 [BZ #2554]
67940 [BZ #2562]
67941 [BZ #2563]
67942 [BZ #2565]
67943 [BZ #2566]
67944 [BZ #2576]
67945 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
67946 (y0): Likewise.
67947 * math/w_j0f.c (j0f): Likewise.
67948 (y0f): Likewise.
67949 * math/w_j0l.c (__j0l): Likewise.
67950 (__y0l): Likewise.
67951 * math/w_j1.c (j1): Likewise.
67952 (y1): Likewise.
67953 * math/w_j1f.c (j1f): Likewise.
67954 (y1f): Likewise.
67955 * math/w_j1l.c (__j1l): Likewise.
67956 (__y1l): Likewise.
67957 * math/w_jn.c (jn): Likewise.
67958 (yn): Likewise.
67959 * math/w_jnf.c (jnf): Likewise.
67960 (ynf): Likewise.
67961 * math/w_jnl.c (__jnl): Likewise.
67962 (__ynl): Likewise.
67963 * math/libm-test.inc (j0_test): Add more tests.
67964 (j1_test): Likewise.
67965 (jn_test): Likewise. Add trailing semicolon to existing test.
67966 (y0_test): Likewise.
67967 (y1_test): Likewise.
67968 * sysdeps/i386/fpu/libm-test-ulps: Update.
67969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67970
67971 [BZ #13851]
67972 [BZ #13854]
67973 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
67974 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
67975 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
67976 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
67977 (__tanl): Set errno for infinite argument.
67978 * sysdeps/i386/fpu/mptan.c: Remove.
67979 * sysdeps/i386/fpu/s_tan.S: Likewise.
67980 * sysdeps/i386/fpu/s_tanl.S: Likewise.
67981 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
67982 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
67983 * math/libm-test.inc (tan_test): Add more tests and enable more
67984 tests for double and long double.
67985 * sysdeps/i386/fpu/libm-test-ulps: Update.
67986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67987
67988 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
67989
67990 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
67991 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
67992
67993 2012-03-16 Roland McGrath <roland@hack.frob.com>
67994
67995 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
67996 * configure.in: Use it for both main tree and add-ons.
67997 * configure: Regenerated.
67998
67999 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
68000
68001 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68002
68003 2012-03-16 Joseph Myers <joseph@codesourcery.com>
68004
68005 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68006 in comment.
68007
68008 [BZ #13851]
68009 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68010 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68011 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68013 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68014 infinite argument.
68015 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68017 != 0 for prec == 2.
68018 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68019 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68020 * sysdeps/i386/fpu/s_cosl.S: Likewise.
68021 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68022 * sysdeps/i386/fpu/s_sinl.S: Likewise.
68023 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68024 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68025 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68026 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68027 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68028 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68029 * math/libm-test.inc (cos_test): Add more tests and enable more
68030 tests for long double.
68031 (sin_test): Likewise.
68032 (sincos_test): Likewise.
68033 * sysdeps/i386/fpu/libm-test-ulps: Update.
68034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68035
68036 2012-03-16 David S. Miller <davem@davemloft.net>
68037
68038 * sysdeps/sparc/fpu/math_private.h: New file.
68039
68040 2012-03-15 David S. Miller <davem@davemloft.net>
68041
68042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68043 file.
68044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68046 file.
68047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68052 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68053 sysdep routines.
68054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68055
68056 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68057 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68058
68059 * sysdeps/sparc/sparc-ifunc.h: New file.
68060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68061 sparc-ifunc.h
68062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68064 Likewise.
68065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68066 Likewise.
68067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68071 Likewise.
68072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68077 Likewise.
68078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68079 Likewise.
68080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68085 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68103 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68104
68105 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
68106
68107 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68108 scaling.
68109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68110
68111 2012-03-15 Andreas Jaeger <aj@suse.de>
68112
68113 [BZ #13852]
68114 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68115 ieee754/flt-32 implementation for sin, cos and sincos.
68116 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68117 * sysdeps/i386/fpu/s_cosf.S: Likewise.
68118 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68119 * sysdeps/i386/fpu/s_sinf.S: Likewise.
68120 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68121 ieee754/flt-32 implementation for tan.
68122
68123 * math/libm-test.inc (cos_test): Enable some large input tests for
68124 float as well
68125 (sin_test): Likewise.
68126 (sincos_test): Likewise.
68127 (tan_test): Add tests for large input.
68128
68129 * sysdeps/i386/fpu/libm-test-ulps: Update.
68130
68131 2012-03-15 Andreas Jaeger <aj@suse.de>
68132
68133 [BZ #13658]
68134 * math/libm-test.inc (cos_test): Add more test cases.
68135 (sin_test): Likewise.
68136 (sincos_test): Likewise.
68137
68138 2012-03-15 Andreas Jaeger <aj@suse.de>
68139
68140 [BZ #13837]
68141 * math/libm-test.inc (cos_test): Add a test case for large input
68142 value.
68143 (sin_test): Likewise.
68144 (sincos_test): Likewise.
68145
68146 2012-03-15 Andreas Jaeger <aj@suse.de>
68147 Joseph Myers <joseph@codesourcery.com>
68148
68149 [BZ #13658]
68150 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68151 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68152 * sysdeps/i386/fpu/branred.c: Likewise.
68153 * sysdeps/i386/fpu/dosincos.c: Likewise.
68154 * sysdeps/i386/fpu/mpa.c: Likewise.
68155 * sysdeps/i386/fpu/s_cos.S: Likewise.
68156 * sysdeps/i386/fpu/s_sin.S: Likewise.
68157 * sysdeps/i386/fpu/s_sincos.S: Likewise.
68158 * sysdeps/i386/fpu/sincos32.c: Likewise.
68159
68160 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68161 Define.
68162 (libc_feupdateenv_53bit): Define.
68163 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68164 Define.
68165 (libc_feupdateenv_53bit): Define.
68166
68167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68168 53 bit (without extend i386 double precision).
68169
68170 * math/libm-test.inc (sincos_test): Add tests for large input.
68171 (sin): Likewise.
68172 (cos): Likewise.
68173
68174 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68175
68176 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
68177
68178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68179
68180 2012-03-15 David S. Miller <davem@davemloft.net>
68181
68182 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68183 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68184 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68185 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68198 file.
68199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68201 file.
68202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68204 file.
68205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68207 file.
68208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68209 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68210 fmin/fmax sysdep routines.
68211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68212
68213 2012-03-14 David S. Miller <davem@davemloft.net>
68214
68215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68222 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68226 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68238 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68242 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68243 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68244 routines.
68245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68246 file.
68247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68249 file.
68250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68252 file.
68253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68255 file.
68256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68258 file.
68259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68261 file.
68262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68263 file.
68264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68265 file.
68266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68267 file.
68268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68269 New file.
68270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68271 file.
68272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68273 file.
68274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68276 file.
68277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68279 file.
68280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68282 file.
68283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68285 VIS3 routines.
68286
68287 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68288 New file.
68289
68290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68291
68292 * sysdeps/sparc/configure.in: New file.
68293 * sysdeps/sparc/configure: Generate.
68294 * configure.in (libc_cv_sparc_as_vis3): Substitute.
68295 * configure: Regenerate.
68296 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68297 * config.make.in (have-as-vis3): New.
68298 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68299 available use -Av9d instead of -Av9a.
68300 * sysdeps/sparc/sparc64/Makefile: Likewise.
68301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68303 New file.
68304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68305 file.
68306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68307 New file.
68308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68309 file.
68310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68314 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68315
68316 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68317 fzeros/fnegs to load 0x80000000 into a float register instead of
68318 using the stack.
68319 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68320
68321 2012-03-14 Joseph Myers <joseph@codesourcery.com>
68322
68323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68324 bits/syscall.h.
68325 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68326 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68327 ($(inst_includedir)/bits/syscall.h): Remove rule.
68328 ($(objpfx)bits/syscall.d): Include instead of
68329 $(objpfx)syscall-list.d.
68330 (generated): Change syscall-list.h and syscall-list.d to
68331 bits/syscall.h and bits/syscall.d.
68332
68333 2012-03-14 Roland McGrath <roland@hack.frob.com>
68334
68335 [BZ #13846]
68336 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68337
68338 2012-03-14 Joseph Myers <joseph@codesourcery.com>
68339
68340 [BZ #13841]
68341 * math/s_csqrt.c: Include <float.h>.
68342 (__csqrt): Scale large or subnormal inputs.
68343 * math/s_csqrtf.c: Likewise.
68344 * math/s_csqrtl.c: Likewise.
68345 * math/libm-test.inc (csqrt_test): Add more tests.
68346 * sysdeps/i386/fpu/libm-test-ulps: Update.
68347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68348
68349 [BZ #13840]
68350 * math/libm-test.inc (hypot_test): Add more tests.
68351
68352 2012-03-13 David S. Miller <davem@davemloft.net>
68353
68354 [BZ #13840]
68355 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68356 double-precision for the calculation instead of scaling.
68357
68358 2012-03-13 Joseph Myers <joseph@codesourcery.com>
68359
68360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68361 manipulate bits before adding and subtracting TWO52[sx].
68362 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68363 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68364 Likewise.
68365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68366
68367 2012-03-13 David S. Miller <davem@davemloft.net>
68368
68369 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68370 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68372 rtld-global-offsets.h
68373 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68374
68375 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68376 large parameters.
68377
68378 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68379
68380 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68381 'err' in the ifdef scope in which it is actually used.
68382
68383 * nss/nss_db/db-init.c: Include string.h
68384
68385 2012-03-12 David S. Miller <davem@davemloft.net>
68386
68387 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68388 masking out of the most significant byte of random value used.
68389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68390 Fix coding style in previous change.
68391
68392 * sysdeps/unix/sysv/linux/kernel-features.h
68393 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68394 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68395 expression.
68396 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68397 later.
68398
68399 2012-03-11 David S. Miller <davem@davemloft.net>
68400
68401 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68402 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68403 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68404 for 'resultvar' otherwise things get truncated on 64-bit.
68405
68406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68407 Fix masking out of the most significant byte of random value used.
68408
68409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68410
68411 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
68412
68413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68414
68415 2012-03-09 David S. Miller <davem@davemloft.net>
68416
68417 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68418 variables with appropriate CPP guards.
68419 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68420 from the frame pointer, not the stack pointer. Correct layout
68421 comments. Fix test on resulting framesize and the management of
68422 the outregs buffer for pltexit. Preserve floating point return
68423 values across _dl_call_pltexit call.
68424 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68425 framesize and the management of the outregs buffer for pltexit.
68426 Preserve floating point return values across _dl_call_pltexit
68427 call.
68428 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68429 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68430 (la_sparc64_gnu_pltexit): New functions.
68431 (print_exit): Fix format string for return register value.
68432
68433 2012-03-10 Joseph Myers <joseph@codesourcery.com>
68434
68435 * sunrpc/Makefile (others): Add rpcgen.
68436 ($(objpfx)rpcgen): Remove special build rule and dependency on
68437 libc.
68438 * sunrpc/rpcgen.c: New file.
68439
68440 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
68441
68442 [BZ #13673]
68443 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
68444 * stdio-common/bug-vfprintf-nargs.c: Likewise.
68445 * sysdeps/i386/crti.S: Likewise.
68446 * sysdeps/i386/crtn.S: Likewise.
68447 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
68448 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
68449 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
68450 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
68451 * sysdeps/sh/crti.S: Likewise.
68452 * sysdeps/sh/crtn.S: Likewise.
68453 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68454
68455 [BZ #13673]
68456 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
68457 with URL.
68458 * locale/programs/locfile-kw.gperf: Likewise.
68459 * locale/programs/charmap-kw.h: Regenerated.
68460 * locale/programs/locfile-kw.h: Likewise.
68461
68462 [BZ #13673]
68463 * intl/plural.y: Replace FSF snail mail address with URL.
68464 * intl/plural.c: Regenerated.
68465
68466 2012-03-09 Richard Henderson <rth@twiddle.net>
68467
68468 * include/math_private.h: Remove file.
68469 * math/math_private.h: Move file ...
68470 * sysdeps/generic/math_private.h: ... here.
68471
68472 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
68473 * sysdeps/powerpc/fpu/math_private.h: Likewise.
68474 * sysdeps/x86_64/fpu/math_private.h: Likewise.
68475
68476 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
68477 and <math_private.h>.
68478 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68479 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68480 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68481 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68482 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68483 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
68484 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
68485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
68486 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68487 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68489 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68490 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68491 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68492 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68493 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68494 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68495 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68496 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68497 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68499 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68500 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68501 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68502 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
68503 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68504 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68505 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68506 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68508 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68509 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
68510 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
68511 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
68512 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68513 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68514 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
68515 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68516 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68517 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68518 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
68519 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68520 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68521 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
68522 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
68523 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68524 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
68525 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
68526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
68527 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68528 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
68529 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
68530 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
68531 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68532 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
68533 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
68534 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
68535 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
68536 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
68537 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
68538 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
68539 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
68540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
68541 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68542 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
68543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
68544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
68545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
68546 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
68547 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
68548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
68549 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
68550 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
68551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
68552 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
68553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
68554 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
68555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68556 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
68557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
68558 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
68559 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
68560 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
68561 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
68562 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
68563 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
68564 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
68565 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
68566 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68567 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68568 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68569 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68570 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68571 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68572 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68573 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68574 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68575 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68577 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68578 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68579 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68580 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68581 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68583 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68584 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68585 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68586 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68587 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68588 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68589 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68590 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68591 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68592 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
68593 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
68594 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68595 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68596 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68597 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
68598 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68599 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
68601 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
68602 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68604 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68605 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
68606 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68607 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
68608 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
68609 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
68610 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68611 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
68612 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
68613 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68614 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
68615 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68616 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
68617 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
68618 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
68619 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68620 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68621 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
68622 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
68623 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68624 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68625 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68626 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
68627 * sysdeps/ieee754/k_standard.c: Likewise.
68628 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68629 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68630 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68631 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68632 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68633 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68634 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68635 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68636 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68637 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68638 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68639 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68640 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68641 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68642 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68643 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68644 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
68645 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68646 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68647 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
68648 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
68649 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
68650 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68651 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68652 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
68653 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
68654 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68655 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68656 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68658 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
68659 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68660 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68661 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68662 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
68663 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68664 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68665 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
68666 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
68667 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68668 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
68669 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
68670 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
68671 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68672 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
68673 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
68674 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68676 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68679 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
68680 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68681 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
68682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68684 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
68685 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
68686 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68687 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68688 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68689 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
68690 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68691 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68694 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68695 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68696 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68702 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68703 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68704 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
68705 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68707 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
68708 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
68709 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
68710 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68711 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
68713 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68714 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68715 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
68716 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68717 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68718 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
68719 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68720 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
68721 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
68722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68724 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
68725 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
68726 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
68727 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
68728 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68730 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68731 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68732 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
68733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68735 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
68736 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
68737 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68738 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68739 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68742 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68744 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68747 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68749 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68750 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68751 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68753 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
68754 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68755 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68756 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68758 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68759 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68760 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68761 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
68762 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68764 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
68765 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
68766 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68767 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
68768 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
68769 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68770 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
68771 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
68772 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68773 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68774 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68775 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68776 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68777 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
68778 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68779 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
68780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68782 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
68783 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
68784 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68785 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68786 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68787 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
68788 * sysdeps/ieee754/s_lib_version.c: Likewise.
68789 * sysdeps/ieee754/s_matherr.c: Likewise.
68790 * sysdeps/ieee754/s_signgam.c: Likewise.
68791 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68792 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68793 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
68794 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
68795 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
68796 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68797 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
68798 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
68799 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
68800 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
68801 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
68802 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
68803 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68804 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68805 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
68806 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
68807 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
68808 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
68809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
68810 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68812
68813 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68814
68815 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
68816 * sunrpc/rpc_main.c: Likewise.
68817 * sunrpc/rpc_svcout.c: Likewise.
68818
68819 2012-03-09 David S. Miller <davem@davemloft.net>
68820
68821 * include/math_private.h: New file.
68822
68823 2012-03-09 Joseph Myers <joseph@codesourcery.com>
68824
68825 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
68826 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
68827 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
68828 from <bits/socket_type.h>.
68829 (enum __socket_type): Don't define here.
68830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
68831 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68832 bits/socket_type.h.
68833
68834 [BZ #13566]
68835 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
68836 checking __USE_GNU.
68837
68838 * Makerules ($(inst_includedir)/%.h): New rule.
68839 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
68840 (install-others): Remove variable setting.
68841 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
68842
68843 2012-03-08 Richard Henderson <rth@twiddle.net>
68844
68845 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
68846 from macro to inline function; merge with the
68847 !__LIBC_INTERNAL_MATH_INLINES version.
68848 (__ieee754_sqrtf): Likewise.
68849
68850 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
68851 to inline function.
68852 (__rintf, __floor, __floorf): Likewise.
68853
68854 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
68855 macro to inline function.
68856 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
68857
68858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
68859 not <math/math_private.h>.
68860
68861 2012-03-08 David S. Miller <davem@davemloft.net>
68862
68863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
68864 copyright year.
68865 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
68866
68867 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
68868
68869 * resolv/gai_misc.c (handle_requests): Fix struct timespec
68870 normalization.
68871 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
68872 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
68873
68874 2012-03-08 Ulrich Drepper <drepper@gmail.com>
68875
68876 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
68877 be defined individually, they must be defined as a block. Define
68878 S for printing a string instead of hidint the different by using a
68879 macro for adding the 'l'.
68880 * stdio-common/tst-fphex-wide.c: Adjust.
68881
68882 2012-03-07 Marek Polacek <polacek@redhat.com>
68883
68884 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
68885
68886 2012-03-08 Marek Polacek <polacek@redhat.com>
68887
68888 [BZ #13806]
68889 * stdio-common/Makefile (tests): Add tst-fphex-wide.
68890 * stdio-common/tst-fphex.c: Define a few macros to make the
68891 test reusable. Use them.
68892 * stdio-common/tst-fphex-wide.c: New file.
68893
68894 2012-03-08 Joseph Myers <joseph@codesourcery.com>
68895
68896 [BZ #6911]
68897 * manual/macros.texi (gnusystems): New macro.
68898 (nongnusystems): Likewise.
68899 (gnulinuxhurdsystems): Likewise.
68900 (gnuhurdsystems): Likewise..
68901 (gnulinuxsystems): Likewise.
68902 * manual/charset.texi: Use new macros or @theglibc{} to refer to
68903 variants of the GNU system, not "GNU system".
68904 * manual/conf.texi: Likewise.
68905 * manual/errno.texi: Likewise. Update example of errno macro
68906 expansion.
68907 * manual/filesys.texi: Likewise.
68908 (getumask): Document as specific to GNU/Hurd.
68909 * manual/install.texi: Likewise. Reword some references to
68910 GNU/Linux.
68911 * manual/intro.texi: Likewise.
68912 * manual/io.texi: Likewise.
68913 (File Name Portability): Detail which constraints are inapplicable
68914 to all GNU systems and which are only inapplicable to GNU/Hurd.
68915 * manual/job.texi: Likewise.
68916 * manual/llio.texi: Likewise.
68917 (O_NOCTTY): Document as present on GNU/Linux.
68918 * manual/maint.texi: Likewise.
68919 * manual/memory.texi: Likewise.
68920 * manual/pattern.texi: Likewise.
68921 * manual/pipe.texi: Likewise.
68922 * manual/process.texi: Likewise.
68923 * manual/resource.texi: Likewise.
68924 (RUSAGE_CHILDREN): Remove statement about specifying a particular
68925 child on GNU/Hurd.
68926 * manual/setjmp.texi: Likewise.
68927 * manual/signal.texi: Likewise.
68928 * manual/startup.texi: Likewise.
68929 * manual/stdio.texi: Likewise.
68930 * manual/terminal.texi: Likewise.
68931 (ONLCR): Document as POSIX.
68932 (OXTABS): Document availability on GNU/Linux as XTABS.
68933 (ONOEOT): Document availability separately from other bits.
68934 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
68935 * manual/time.texi: Likewise.
68936 * manual/users.texi: Likewise.
68937 * INSTALL: Regenerated.
68938 * sysdeps/gnu/errlist.c: Regenerated.
68939
68940 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
68941 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
68942 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
68943 puts.
68944 * configure: Regenerated.
68945
68946 2012-03-07 Joseph Myers <joseph@codesourcery.com>
68947
68948 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
68949 default includes instead of AC_HEADER_CHECK.
68950 * sysdeps/i386/configure: Regenerated.
68951
68952 [BZ #10716]
68953 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
68954 * math/s_cacoshf.c (__cacoshf): Likewise.
68955 * math/s_cacoshl.c (__cacoshl): Likewise.
68956 * math/s_casinh.c (__casinh): Set signs of result from argument.
68957 * math/s_casinhf.c (__casinhf): Likewise.
68958 * math/s_casinhl.c (__casinhl): Likewise.
68959 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
68960 (casinh_test): Add more tests.
68961 * sysdeps/i386/fpu/libm-test-ulps: Update.
68962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68963
68964 2012-03-07 Ulrich Drepper <drepper@gmail.com>
68965
68966 * po/zh_TW.po: Update from translation team.
68967
68968 * login/Makefile (distribute): Remove variable.
68969 * catgets/Makefile: Likewise.
68970 * mach/Makefile: Likewise.
68971 * malloc/Makefile: Likewise.
68972 * misc/Makefile: Likewise.
68973 * iconv/Makefile: Likewise.
68974 * nscd/Makefile: Likewise.
68975 * hurd/Makefile: Likewise.
68976 * manual/Makefile: Likewise.
68977 * locale/Makefile: Likewise.
68978 * intl/Makefile: Likewise.
68979 * conform/Makefile: Likewise.
68980 * nss/Makefile: Likewise.
68981 * time/Makefile: Likewise.
68982 * soft-fp/Makefile: Likewise.
68983 * dirent/Makefile: Likewise.
68984 * gmon/Makefile: Likewise.
68985 * po/Makefile: Likewise.
68986 * rt/Makefile: Likewise.
68987 * socket/Makefile: Likewise.
68988 * math/Makefile: Likewise.
68989 * signal/Makefile: Likewise.
68990 * debug/Makefile: Likewise.
68991 * elf/Makefile: Likewise.
68992 * timezone/Makefile: Likewise.
68993 * stdlib/Makefile: Likewise.
68994 * iconvdata/Makefile: Likewise.
68995 * sunrpc/Makefile: Likewise.
68996 * io/Makefile: Likewise.
68997 * argp/Makefile: Likewise.
68998 * inet/Makefile: Likewise.
68999 * hesiod/Makefile: Likewise.
69000 * grp/Makefile: Likewise.
69001 * csu/Makefile: Likewise.
69002 * wctype/Makefile: Likewise.
69003 * crypt/Makefile: Likewise.
69004 * libio/Makefile: Likewise.
69005 * string/Makefile: Likewise.
69006 * nis/Makefile: Likewise.
69007 * resolv/Makefile: Likewise.
69008 * stdio-common/Makefile: Likewise.
69009 * wcsmbs/Makefile: Likewise.
69010 * dlfcn/Makefile: Likewise.
69011 * posix/Makefile: Likewise.
69012
69013 [BZ #6959]
69014 * timezone/Makefile: Don't install timezone files, just the programs
69015 and scripts.
69016
69017 2012-03-06 Ulrich Drepper <drepper@gmail.com>
69018
69019 * nss/databases.def: Add missing gshadow entry.
69020
69021 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
69022
69023 2012-03-06 Marek Polacek <polacek@redhat.com>
69024
69025 [BZ #13726]
69026 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69027 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69028 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69029 * stdio-common/tst-long-dbl-fphex.c: New file.
69030
69031 2012-03-06 David S. Miller <davem@davemloft.net>
69032
69033 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69034 (set_obp_int): New function.
69035 (get_obp_int): New function.
69036 (__get_clockfreq_via_dev_openprom): Likewise.
69037 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69038 Avoid unused variable warnings on 'val' and use builtin_expect.
69039 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69040 __builtin_expect.
69041 (INLINE_CLONE_SYSCALL): Likewise.
69042
69043 2012-03-05 David S. Miller <davem@davemloft.net>
69044
69045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69046
69047 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
69048
69049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69050
69051 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69052 only for |x| >= 40.
69053 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69054
69055 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
69056
69057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69058 Replace gettimeofday with __vdso_gettimeofday.
69059
69060 * sysdeps/unix/sysv/linux/x86_64/init-first.c
69061 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69062 __vdso_clock_gettime and __vdso_getcpu.
69063
69064 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69065 time with __vdso_time.
69066
69067 2012-03-05 Joseph Myers <joseph@codesourcery.com>
69068
69069 * manual/lang.texi (size_t): Note types to which size_t may be
69070 equivalent with the GNU C Library, but do not describe when
69071 differences between them are significant.
69072
69073 2012-03-05 Andreas Jaeger <aj@suse.de>
69074
69075 * sysdeps/i386/fpu/libm-test-ulps: Update.
69076
69077 2012-03-05 Joseph Myers <joseph@codesourcery.com>
69078
69079 [BZ #3976]
69080 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69081 (__ieee754_pow): Save and restore rounding mode and use
69082 round-to-nearest for main computations.
69083 * math/libm-test.inc (pow_test_tonearest): New function.
69084 (pow_test_towardzero): Likewise.
69085 (pow_test_downward): Likewise.
69086 (pow_test_upward): Likewise.
69087 (main): Call the new functions.
69088 * sysdeps/i386/fpu/libm-test-ulps: Update.
69089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69090
69091 [BZ #3976]
69092 * math/libm-test.inc (cosh_test_tonearest): New function.
69093 (cosh_test_towardzero): Likewise.
69094 (cosh_test_downward): Likewise.
69095 (cosh_test_upward): Likewise.
69096 (sinh_test_tonearest): Likewise.
69097 (sinh_test_towardzero): Likewise.
69098 (sinh_test_downward): Likewise.
69099 (sinh_test_upward): Likewise.
69100 (main): Call the new functions.
69101 * sysdeps/i386/fpu/libm-test-ulps: Update.
69102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69103
69104 2012-03-05 Tom de Vries <tom@codesourcery.com>
69105
69106 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69107 default stack guard is set in last bytes.
69108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69109
69110 2012-03-05 Kees Cook <keescook@chromium.org>
69111
69112 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69113
69114 [BZ #13656]
69115 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69116 possibly allocate from heap instead of stack.
69117 * stdio-common/bug-vfprintf-nargs.c: New file.
69118 * stdio-common/Makefile (tests): Add nargs overflow test.
69119
69120 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
69121
69122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69123
69124 2012-03-03 Marek Polacek <polacek@redhat.com>
69125
69126 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69127 * math/math_private.h: Likewise.
69128 * stdlib/tst-strtod.c: Likewise.
69129 * sysdeps/i386/i486/bits/atomic.h: Likewise.
69130 * sysdeps/x86_64/bits/atomic.h: Likewise.
69131
69132 2012-03-02 David S. Miller <davem@davemloft.net>
69133
69134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69138 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69139 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69140 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69141 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69142
69143 2012-03-02 Roland McGrath <roland@hack.frob.com>
69144
69145 [BZ #13792]
69146 * manual/examples/README: New file, says the example source files
69147 can be used under GPL>=2.
69148 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69149 line containing just "*/".
69150 * manual/examples/add.c: Add copyright header (GPL>=2).
69151 * manual/examples/argp-ex1.c: Likewise.
69152 * manual/examples/argp-ex2.c: Likewise.
69153 * manual/examples/argp-ex3.c: Likewise.
69154 * manual/examples/argp-ex4.c: Likewise.
69155 * manual/examples/atexit.c: Likewise.
69156 * manual/examples/db.c: Likewise.
69157 * manual/examples/dir.c: Likewise.
69158 * manual/examples/dir2.c: Likewise.
69159 * manual/examples/execinfo.c: Likewise.
69160 * manual/examples/filecli.c: Likewise.
69161 * manual/examples/filesrv.c: Likewise.
69162 * manual/examples/fmtmsgexpl.c: Likewise.
69163 * manual/examples/genpass.c: Likewise.
69164 * manual/examples/inetcli.c: Likewise.
69165 * manual/examples/inetsrv.c: Likewise.
69166 * manual/examples/isockad.c: Likewise.
69167 * manual/examples/longopt.c: Likewise.
69168 * manual/examples/memopen.c: Likewise.
69169 * manual/examples/memstrm.c: Likewise.
69170 * manual/examples/mkfsock.c: Likewise.
69171 * manual/examples/mkisock.c: Likewise.
69172 * manual/examples/mygetpass.c: Likewise.
69173 * manual/examples/pipe.c: Likewise.
69174 * manual/examples/popen.c: Likewise.
69175 * manual/examples/rprintf.c: Likewise.
69176 * manual/examples/search.c: Likewise.
69177 * manual/examples/select.c: Likewise.
69178 * manual/examples/setjmp.c: Likewise.
69179 * manual/examples/sigh1.c: Likewise.
69180 * manual/examples/sigusr.c: Likewise.
69181 * manual/examples/stpcpy.c: Likewise.
69182 * manual/examples/strdupa.c: Likewise.
69183 * manual/examples/strftim.c: Likewise.
69184 * manual/examples/strncat.c: Likewise.
69185 * manual/examples/subopt.c: Likewise.
69186 * manual/examples/swapcontext.c: Likewise.
69187 * manual/examples/termios.c: Likewise.
69188 * manual/examples/testopt.c: Likewise.
69189 * manual/examples/testpass.c: Likewise.
69190 * manual/examples/timeval_subtract.c: Likewise.
69191
69192 [BZ #13792]
69193 * manual/time.texi (Elapsed Time): Move timeval_subtract example
69194 function to ...
69195 * manual/timeval_subtract.c.texi: ... here, new file.
69196
69197 2012-03-02 David S. Miller <davem@davemloft.net>
69198
69199 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69200
69201 2012-03-02 Joseph Myers <joseph@codesourcery.com>
69202
69203 [BZ #3976]
69204 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69205 (__sin): Save and restore rounding mode and use round-to-nearest
69206 for all computations.
69207 (__cos): Save and restore rounding mode and use round-to-nearest
69208 for all computations.
69209 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69210 <fenv.h>.
69211 (tan): Save and restore rounding mode and use round-to-nearest for
69212 all computations.
69213 * math/libm-test.inc (cos_test_tonearest): New function.
69214 (cos_test_towardzero): Likewise.
69215 (cos_test_downward): Likewise.
69216 (cos_test_upward): Likewise.
69217 (sin_test_tonearest): Likewise.
69218 (sin_test_towardzero): Likewise.
69219 (sin_test_downward): Likewise.
69220 (sin_test_upward): Likewise.
69221 (tan_test_tonearest): Likewise.
69222 (tan_test_towardzero): Likewise.
69223 (tan_test_downward): Likewise.
69224 (tan_test_upward): Likewise.
69225 (main): Call the new functions.
69226 * sysdeps/i386/fpu/libm-test-ulps: Update.
69227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69228
69229 [BZ #10135]
69230 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69231 small n, then large n, before computing and testing k+n.
69232 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69233 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69234 Likewise.
69235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69236 Likewise.
69237 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69238 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69243 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69244 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69245 * math/libm-test.inc (scalbn_test): Add more tests.
69246 (scalbln_test): Likewise.
69247
69248 * manual/filesys.texi (mode_t): Describe constraints on size and
69249 signedness, not exact equivalence to a particular type.
69250 (ino_t): Likewise.
69251 (ino64_t): Likewise.
69252 (dev_t): Likewise.
69253 (nlink_t): Likewise.
69254 (blkcnt_t): Likewise.
69255 (blkcnt64_t): Likewise.
69256 * manual/llio.texi (off_t): Likewise.
69257
69258 [BZ #3976]
69259 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69260 (__ieee754_exp): Save and restore rounding mode and use
69261 round-to-nearest for all computations.
69262 * math/libm-test.inc (exp_test_tonearest): New function.
69263 (exp_test_towardzero): Likewise.
69264 (exp_test_downward): Likewise.
69265 (exp_test_upward): Likewise.
69266 (main): Call the new functions.
69267 * sysdeps/i386/fpu/libm-test-ulps: Update.
69268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69269
69270 2012-03-01 Chris Demetriou <cgd@google.com>
69271
69272 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69273 have predictable order.
69274
69275 2012-03-01 David S. Miller <davem@davemloft.net>
69276
69277 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69278
69279 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69280 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69281 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69282 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69283
69284 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69285 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69286 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69288 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69289 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69290 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69291 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69292 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69293
69294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69295
69296 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69297 * sysdeps/sparc/fpu/libm-test-ulps: to here.
69298 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69299
69300 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69301 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69302 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69303 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69304 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69307 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69308 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69309 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69310 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69311 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69313 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69314 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69316 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69317 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69318 * sysdeps/sparc/elf/configure: Regenerated.
69319
69320 2012-03-01 Joseph Myers <joseph@codesourcery.com>
69321
69322 * configure.in (AS, LD): Require binutils 2.20 or later.
69323 * configure: Regenerated.
69324 * manual/install.texi (Tools for Compilation): Give binutils 2.20
69325 as required minimum version.
69326 * INSTALL: Regenerated.
69327
69328 [BZ #2541]
69329 [BZ #4108]
69330 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69331 before squaring exponent.
69332 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69333 bottom long double and 27 bits of top long double before squaring
69334 exponent.
69335 * math/libm-test.inc (erfc_test): Add more tests.
69336 * sysdeps/i386/fpu/libm-test-ulps: Update.
69337 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69339
69340 2012-03-01 Kai Tietz <ktietz@redhat.com>
69341
69342 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69343 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69344 containing bit-fields.
69345 * soft-fp/extended.h (_FP_UNION_E): Likewise.
69346 * soft-fp/single.h (_FP_UNION_S): Likewise.
69347 * soft-fp/double.h (_FP_UNION_D): Likewise.
69348
69349 2012-02-29 Joseph Myers <joseph@codesourcery.com>
69350
69351 [BZ #13786]
69352 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69353 not include ../strcmp.S.
69354 [USE_AS_STRNCASECMP_L]: Likewise.
69355 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69356 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69357 * sysdeps/i386/i686/multiarch/strncase_l-c.c
69358 (__strncasecmp_l_ia32): Define as alias to
69359 __strncasecmp_l_nonascii.
69360
69361 [BZ #5794]
69362 * math/libm-test.inc (expm1_test): Add test for bug 5794.
69363 * sysdeps/i386/fpu/libm-test-ulps: Update.
69364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69365
69366 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69368
69369 2012-02-29 Jeff Law <law@redhat.com>
69370
69371 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69372 out of bounds read.
69373
69374 2012-02-29 Marek Polacek <polacek@redhat.com>
69375
69376 [BZ #13706]
69377 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69378 * elf/Makefile: Add rules to run tst-unused-dep.out.
69379
69380 2012-02-28 David S. Miller <davem@davemloft.net>
69381
69382 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69383 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69384 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69385 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69386 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69387 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69388
69389 2012-02-29 Joseph Myers <joseph@codesourcery.com>
69390
69391 * math/libm-test.inc (llround_test): Move one test from
69392 lround_test. Use TEST_f_L in moved test.
69393 (lround_test): Move misplaced test to llround_test. Add testcase
69394 from bug 2561.
69395
69396 2012-02-28 Ulrich Drepper <drepper@gmail.com>
69397
69398 * sysdeps/x86_64/fpu/e_expf.S: New file.
69399 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69400
69401 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
69402
69403 [BZ #13637]
69404 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69405 of remain_len that may cause incomplete multi-byte character and
69406 false match.
69407 * posix/bug-regex33.c: New file.
69408 * posix/Makefile (tests): Add bug-regex33.
69409
69410 2012-02-28 Joseph Myers <joseph@codesourcery.com>
69411
69412 * manual/macros.texi: New file.
69413 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69414 * manual/libc.texinfo: Include macros.texi.
69415 * manual/creatute.texi: Likewise.
69416 * manual/install.texi: Likewise.
69417 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69418 @glibcadj{} in references to the GNU C Library.
69419 * manual/charset.texi: Likewise.
69420 * manual/conf.texi: Likewise.
69421 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
69422 when not using those macros.
69423 * manual/creature.texi: Likewise.
69424 * manual/crypt.texi: Likewise.
69425 * manual/errno.texi: Likewise.
69426 * manual/filesys.texi: Likewise.
69427 * manual/header.texi: Likewise.
69428 * manual/install.texi: Likewise.
69429 * manual/intro.texi: Likewise.
69430 * manual/io.texi: Likewise.
69431 * manual/job.texi: Likewise.
69432 * manual/lang.texi: Likewise.
69433 * manual/libc.texiinfo: Likewise.
69434 * manual/llio.texi: Likewise.
69435 * manual/locale.texi: Likewise.
69436 * manual/maint.texi: Likewise.
69437 * manual/math.texi: Likewise.
69438 * manual/memory.texi: Likewise.
69439 * manual/message.texi: Likewise.
69440 * manual/nss.texi: Likewise.
69441 * manual/pattern.texi: Likewise.
69442 * manual/process.texi: Likewise.
69443 * manual/resource.texi: Likewise.
69444 * manual/search.texi: Likewise.
69445 * manual/setjmp.texi: Likewise.
69446 * manual/signal.texi: Likewise.
69447 * manual/socket.texi: Likewise.
69448 * manual/startup.texi: Likewise.
69449 * manual/stdio.texi: Likewise.
69450 * manual/string.texi: Likewise.
69451 * manual/sysinfo.texi: Likewise.
69452 * manual/syslog.texi: Likewise.
69453 * manual/terminal.texi: Likewise.
69454 * manual/time.texi: Likewise.
69455 * manual/users.texi: Likewise.
69456 * INSTALL: Regenerated.
69457 * NOTES: Regenerated.
69458 * sysdeps/gnu/errlist.c: Regenerated.
69459
69460 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
69461
69462 * include/dirent.h: Include <dirstream.h> before
69463 <dirent/dirent.h>.
69464
69465 2012-02-28 David S. Miller <davem@davemloft.net>
69466
69467 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
69468 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
69469 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
69470 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
69471
69472 2012-02-27 David S. Miller <davem@davemloft.net>
69473
69474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
69475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
69476 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
69477 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
69478
69479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
69480 frame pointer instead of stack pointer relative arg slot.
69481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69482 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69483 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69484
69485 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
69486
69487 [BZ #3992]
69488 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
69489
69490 2012-02-27 David S. Miller <davem@davemloft.net>
69491
69492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
69493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
69494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
69496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
69497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
69498 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
69499 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
69500
69501 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69502
69503 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
69504 later. Allow versions 5-9.
69505 * configure: Regenerated.
69506 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
69507 required minimum version and 4.6 as recommended version. Do not
69508 mention bugs in GCC 2.7 and 2.8.
69509 * INSTALL: Regenerated.
69510
69511 2012-02-27 David S. Miller <davem@davemloft.net>
69512
69513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
69514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
69515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
69516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
69517 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
69518 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
69519 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
69520 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
69521
69522 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
69523 manipulate bits before adding and subtracting TWO112[sx].
69524 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
69525
69526 2012-02-27 Roland McGrath <roland@hack.frob.com>
69527
69528 [BZ #13775]
69529 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
69530 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
69531 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
69532 being in POSIX, because they are in 1003.1-2008.
69533
69534 * rt/tst-aio.c: Include <fcntl.h>.
69535 * rt/tst-aio7.c: Likewise.
69536 * rt/tst-aio64.c: Likewise.
69537
69538 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
69539
69540 2012-02-27 Joseph Myers <joseph@codesourcery.com>
69541
69542 * manual/install.texi (--with-headers): Describe headers as
69543 interface headers, not private headers.
69544 (Specific advice for GNU/Linux systems): Describe use of headers
69545 from "make headers_install", not private headers from older
69546 kernels.
69547 * INSTALL: Regenerated.
69548 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
69549 Change to 2.6.19.
69550 * sysdeps/unix/sysv/linux/configure: Regenerated.
69551
69552 * manual/llio.texi (fclean): Remove documentation.
69553
69554 * manual/Makefile (libc-texi-generated): New variable. Include
69555 version.texi.
69556 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
69557 $(libc-texi-generated), not duplicated list of files.
69558 (version.texi, stamp-version): New rules.
69559 (realclean): Remove $(libc-texi-generated), not individual files
69560 from that list. Do not remove dir-add.texinfo.
69561 * manual/libc.texinfo: Comment out uses of edition numbers and
69562 references to printed manual. Remove last-updated dates.
69563 (EDITION): Comment out.
69564 (ISBN): Likewise.
69565 (VERSION, UPDATED): Remove.
69566 (version.texi): Include.
69567
69568 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
69569
69570 * sysdeps/posix/spawni.c: Include <signal.h>.
69571 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
69572 * sysdeps/pthread/aio_fsync.c: Likewise.
69573
69574 2012-02-26 Ulrich Drepper <drepper@gmail.com>
69575
69576 * conform/Makefile (tests): Run only when not cross-compiling and
69577 when fast-check is not defined.
69578
69579 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
69580 * conform/data/limits.h-data: Fixes for POSIX2008.
69581 * conform/run-conformtest.sh: Run all tests.
69582 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
69583 headers.
69584 * include/bits/dlfcn.h: Likewise.
69585 * include/langinfo.h: Likewise.
69586 * include/monetary.h: Likewise.
69587 * include/sys/poll.h: Likewise.
69588
69589 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
69590 for __USE_GNU.
69591 * posix/spawn.h: Define __need_sigset_t.
69592 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
69593 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
69594 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
69595 to get sigevent_t only.
69596 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
69597 only for __USE_GNU.
69598 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69600 process_vm_writev only for __USE_GNU.
69601 * termios/termios.h: Declare tcgetsid also for POSIX2008.
69602
69603 * conform/Makefile: For now ignore errors from run-conformtest.
69604 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
69605 POSIX to avoid namespace pollution. Don't prepend headers.
69606 * conform/data/aio.h-data: Fixes for POSIX testing.
69607 * conform/data/fcntl.h-data: Likewise.
69608 * conform/data/glob.h-data: Likewise.
69609 * conform/data/grp.h-data: Likewise.
69610 * conform/data/pthread.h-data: Likewise.
69611 * conform/data/pwd.h-data: Likewise.
69612 * conform/data/signal.h-data: Likewise.
69613 * conform/data/spawn.h-data: Likewise.
69614 * conform/data/stdio.h-data: Likewise.
69615 * conform/data/stdlib.h-data: Likewise.
69616 * conform/data/stropts.h-data: Likewise.
69617 * conform/data/sys/mman.h-data: Likewise.
69618 * conform/data/sys/stat.h-data: Likewise.
69619 * conform/data/sys/types.h-data: Likewise.
69620 * conform/data/sys/wait.h-data: Likewise.
69621 * conform/data/time.h-data: Likewise.
69622 * conform/data/unistd.h-data: Likewise.
69623 * conform/data/utime.h-data: Likewise.
69624
69625 * io/sys/stat.h: fchmod was always in POSIX.
69626 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
69627 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
69628 * rt/aio.h: Define __need_timespec before including <time.h>.
69629 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
69630 struct. Add forward declaration of pthread_attr_t and use it in
69631 sigevent.
69632 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
69633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
69634 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
69635 always remove CLK_TCK definition.
69636
69637 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
69638
69639 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
69640
69641 2012-02-25 Ulrich Drepper <drepper@gmail.com>
69642
69643 * conform/run-conformtest.sh: New file.
69644 * conform/Makefile: Run run-conformtest for tests.
69645 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
69646 support.
69647
69648 * conform/data/uchar.h-data: New file.
69649 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
69650 * conform/data/arpa/inet.h-data: Likewise.
69651 * conform/data/assert.h-data: Likewise.
69652 * conform/data/complex.h-data: Likewise.
69653 * conform/data/cpio.h-data: Likewise.
69654 * conform/data/ctype.h-data: Likewise.
69655 * conform/data/dirent.h-data: Likewise.
69656 * conform/data/dlfcn.h-data: Likewise.
69657 * conform/data/errno.h-data: Likewise.
69658 * conform/data/fcntl.h-data: Likewise.
69659 * conform/data/float.h-data: Likewise.
69660 * conform/data/fmtmsg.h-data: Likewise.
69661 * conform/data/fnmatch.h-data: Likewise.
69662 * conform/data/ftw.h-data: Likewise.
69663 * conform/data/glob.h-data: Likewise.
69664 * conform/data/grp.h-data: Likewise.
69665 * conform/data/iconv.h-data: Likewise.
69666 * conform/data/inttypes.h-data: Likewise.
69667 * conform/data/langinfo.h-data: Likewise.
69668 * conform/data/libgen.h-data: Likewise.
69669 * conform/data/limits.h-data: Likewise.
69670 * conform/data/locale.h-data: Likewise.
69671 * conform/data/math.h-data: Likewise.
69672 * conform/data/monetary.h-data: Likewise.
69673 * conform/data/mqueue.h-data: Likewise.
69674 * conform/data/ndbm.h-data: Likewise.
69675 * conform/data/net/if.h-data: Likewise.
69676 * conform/data/netdb.h-data: Likewise.
69677 * conform/data/netinet/in.h-data: Likewise.
69678 * conform/data/nl_types.h-data: Likewise.
69679 * conform/data/poll.h-data: Likewise.
69680 * conform/data/pthread.h-data: Likewise.
69681 * conform/data/pwd.h-data: Likewise.
69682 * conform/data/regex.h-data: Likewise.
69683 * conform/data/sched.h-data: Likewise.
69684 * conform/data/search.h-data: Likewise.
69685 * conform/data/semaphore.h-data: Likewise.
69686 * conform/data/setjmp.h-data: Likewise.
69687 * conform/data/signal.h-data: Likewise.
69688 * conform/data/spawn.h-data: Likewise.
69689 * conform/data/stdarg.h-data: Likewise.
69690 * conform/data/stdio.h-data: Likewise.
69691 * conform/data/stdlib.h-data: Likewise.
69692 * conform/data/string.h-data: Likewise.
69693 * conform/data/strings.h-data: Likewise.
69694 * conform/data/stropts.h-data: Likewise.
69695 * conform/data/sys/ipc.h-data: Likewise.
69696 * conform/data/sys/mman.h-data: Likewise.
69697 * conform/data/sys/msg.h-data: Likewise.
69698 * conform/data/sys/resource.h-data: Likewise.
69699 * conform/data/sys/select.h-data: Likewise.
69700 * conform/data/sys/sem.h-data: Likewise.
69701 * conform/data/sys/shm.h-data: Likewise.
69702 * conform/data/sys/socket.h-data: Likewise.
69703 * conform/data/sys/stat.h-data: Likewise.
69704 * conform/data/sys/statvfs.h-data: Likewise.
69705 * conform/data/sys/time.h-data: Likewise.
69706 * conform/data/sys/timeb.h-data: Likewise.
69707 * conform/data/sys/times.h-data: Likewise.
69708 * conform/data/sys/types.h-data: Likewise.
69709 * conform/data/sys/uio.h-data: Likewise.
69710 * conform/data/sys/un.h-data: Likewise.
69711 * conform/data/sys/utsname.h-data: Likewise.
69712 * conform/data/sys/wait.h-data: Likewise.
69713 * conform/data/syslog.h-data: Likewise.
69714 * conform/data/tar.h-data: Likewise.
69715 * conform/data/termios.h-data: Likewise.
69716 * conform/data/utime.h-data: Likewise.
69717 * conform/data/utmpx.h-data: Likewise.
69718 * conform/data/varargs.h-data: Likewise.
69719 * conform/data/wchar.h-data: Likewise.
69720 * conform/data/wctype.h-data: Likewise.
69721 * conform/data/wordexp.h-data: Likewise.
69722
69723 * include/stropts.h: New file.
69724 * include/uchar.h: New file.
69725 * include/aio.h: Changes to allow conformtest.pl to use the headers.
69726 * include/assert.h: Likewise.
69727 * include/ctype.h: Likewise.
69728 * include/dirent.h: Likewise.
69729 * include/dlfcn.h: Likewise.
69730 * include/fcntl.h: Likewise.
69731 * include/fnmatch.h: Likewise.
69732 * include/glob.h: Likewise.
69733 * include/grp.h: Likewise.
69734 * include/libio.h: Likewise.
69735 * include/locale.h: Likewise.
69736 * include/math.h: Likewise.
69737 * include/net/if.h: Likewise.
69738 * include/netdb.h: Likewise.
69739 * include/netinet/in.h: Likewise.
69740 * include/pthread.h: Likewise.
69741 * include/pwd.h: Likewise.
69742 * include/regex.h: Likewise.
69743 * include/sched.h: Likewise.
69744 * include/search.h: Likewise.
69745 * include/setjmp.h: Likewise.
69746 * include/signal.h: Likewise.
69747 * include/stdio.h: Likewise.
69748 * include/stdlib.h: Likewise.
69749 * include/string.h: Likewise.
69750 * include/sys/cdefs.h: Likewise.
69751 * include/sys/mman.h: Likewise.
69752 * include/sys/msg.h: Likewise.
69753 * include/sys/resource.h: Likewise.
69754 * include/sys/select.h: Likewise.
69755 * include/sys/socket.h: Likewise.
69756 * include/sys/stat.h: Likewise.
69757 * include/sys/statvfs.h: Likewise.
69758 * include/sys/time.h: Likewise.
69759 * include/sys/times.h: Likewise.
69760 * include/sys/uio.h: Likewise.
69761 * include/sys/utsname.h: Likewise.
69762 * include/sys/wait.h: Likewise.
69763 * include/termios.h: Likewise.
69764 * include/time.h: Likewise.
69765 * include/ulimit.h: Likewise.
69766 * include/unistd.h: Likewise.
69767 * include/utime.h: Likewise.
69768 * include/wchar.h: Likewise.
69769 * include/wctype.h: Likewise.
69770 * include/wordexp.h: Likewise.
69771
69772 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
69773
69774 * time/time.h: TIME_UTC must be a macro.
69775 Make timespec_get available for ISO C11 only as well.
69776
69777 2012-02-24 Ulrich Drepper <drepper@gmail.com>
69778
69779 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
69780 Reported by Peng Haitao <penght@cn.fujitsu.com>.
69781
69782 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69783
69784 * configure.in: Use -o not -a in test for unsupported multi-arch.
69785
69786 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69787
69788 * manual/texinfo.tex: Update to version 2012-01-19.16.
69789
69790 2012-02-24 Joseph Myers <joseph@codesourcery.com>
69791
69792 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
69793
69794 2012-02-24 Roland McGrath <roland@hack.frob.com>
69795
69796 [BZ #13738]
69797 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
69798 * manual/fdl-1.3.texi: New file.
69799 * manual/fdl-1.1.texi: File removed.
69800
69801 [BZ #13738]
69802 * manual/libc.texinfo (FDL_VERSION): New @set.
69803 Use it for mention of FDL in cover text.
69804 (Documentation License): Use it in @include file name.
69805
69806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69807 Roland McGrath <roland@hack.frob.com>
69808
69809 [BZ #5461]
69810 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
69811 (not LONG_LONG_MAX and LONG_LONG_MIN.
69812 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
69813 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
69814 name.
69815 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
69816
69817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69818
69819 [BZ #2547]
69820 [BZ #11365]
69821 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
69822 manipulate bits before adding and subtracting TWO23[sx].
69823 * math/libm-test.inc (nearbyint_test): Add more tests.
69824
69825 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69826
69827 [BZ #2548]
69828 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
69829 bits before adding and subtracting TWO23[sx].
69830 * math/libm-test.inc (rint_test): Add more tests.
69831 (rint_test_tonearest): Likewise.
69832 (rint_test_towardzero): Likewise.
69833 (rint_test_downward): Likewise.
69834 (rint_test_upward: Likewise.
69835
69836 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69837
69838 [BZ #10110]
69839 * include/stdc-predef.h: New file. Extracted from features.h.
69840 * include/features.h: Include stdc-predef.h.
69841 * Makefile (headers): Add stdc-predef.h.
69842 * CONFORMANCE (Compiler limitations): Update.
69843
69844 2012-02-22 Joseph Myers <joseph@codesourcery.com>
69845
69846 * manual/libc.texinfo (VERSION, UPDATED): Revert.
69847
69848 2012-02-21 David S. Miller <davem@davemloft.net>
69849
69850 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
69851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69852
69853 2012-02-20 David S. Miller <davem@davemloft.net>
69854
69855 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
69856 using a normal save/restore sequence, rather than allocating a
69857 dummy stack frame just to store a frame pointer and restore.
69858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69859
69860 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69861
69862 * manual/install.texi: Fix stray word in line-wrapped comment.
69863
69864 2012-02-20 David S. Miller <davem@davemloft.net>
69865
69866 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
69867 both binutils and gcc support GOTDATA.
69868
69869 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
69870 "rd %pc" in the PIC register setup sequences.
69871
69872 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
69873 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
69874 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69875 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
69876 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
69878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69879 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69880 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
69881 (SYSCALL_ERROR_HANDLER): Likewise.
69882 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69883 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69884 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
69885 (SYSCALL_ERROR_HANDLER): Likewise.
69886
69887 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
69888 (HAVE_GCC_GOTDATA): New.
69889 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
69890 relocation support in both binutils and gcc.
69891 * sysdeps/sparc/elf/configure: Regenerate.
69892
69893 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
69894 * sysdeps/sparc/sparc32/elf/configure: Delete.
69895 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
69896 * sysdeps/sparc/sparc64/elf/configure: Delete.
69897 * sysdeps/sparc/elf/configure.in: New file.
69898 * sysdeps/sparc/elf/configure: Generate.
69899
69900 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
69901 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
69902 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
69903 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
69904 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
69905
69906 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69907
69908 * manual/install.texi: Do not mention specific glibc version
69909 numbers.
69910 * manual/libc.texinfo (VERSION, UPDATED): Update.
69911 (@copying): Use @copyright{} and range of years.
69912
69913 2012-02-21 Joseph Myers <joseph@codesourcery.com>
69914
69915 [BZ #13695]
69916 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
69917 [crti.S not in sysdirs] (generated): Do not append.
69918 [crti.S not in sysdirs] (omit-deps): Likewise.
69919 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
69920 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
69921 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
69922 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
69923 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
69924 Likewise.
69925 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
69926 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
69927 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
69928 * csu/defs.awk: Remove file.
69929 * sysdeps/generic/initfini.c: Likewise.
69930 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
69931 variable.
69932 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
69933 Likewise.
69934
69935 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69936
69937 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
69938 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
69939 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
69940 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
69941 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69942 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
69943 <bits/epoll.h>.
69944 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
69945 (__EPOLL_PACKED): Define to empty if not defined by
69946 <bits/epoll.h>.
69947 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
69948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69949 bits/epoll.h.
69950
69951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69952
69953 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
69954 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
69955 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
69956 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
69957 <bits/timerfd.h>.
69958 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
69959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69960 bits/timerfd.h.
69961
69962 2012-02-20 Joseph Myers <joseph@codesourcery.com>
69963
69964 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
69965 in C locale.
69966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69967 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
69968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
69969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69970
69971 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
69972
69973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
69975
69976 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
69977
69978 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
69979 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
69980 defined.
69981 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
69982 Likewise.
69983 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
69984 entry for 2.16.
69985
69986 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
69987
69988 * math/w_acos.c: Use non-signaling floating-point comparisons.
69989 * math/w_acosf.c: Likewise.
69990 * math/w_acosh.c: Likewise.
69991 * math/w_acoshf.c: Likewise.
69992 * math/w_acoshl.c: Likewise.
69993 * math/w_acosl.c: Likewise.
69994 * math/w_asin.c: Likewise.
69995 * math/w_asinf.c: Likewise.
69996 * math/w_asinl.c: Likewise.
69997 * math/w_atanh.c: Likewise.
69998 * math/w_atanhf.c: Likewise.
69999 * math/w_atanhl.c: Likewise.
70000 * math/w_exp2.c: Likewise.
70001 * math/w_exp2f.c: Likewise.
70002 * math/w_exp2l.c: Likewise.
70003 * math/w_j0.c: Likewise.
70004 * math/w_j0f.c: Likewise.
70005 * math/w_j0l.c: Likewise.
70006 * math/w_j1.c: Likewise.
70007 * math/w_j1f.c: Likewise.
70008 * math/w_j1l.c: Likewise.
70009 * math/w_jn.c: Likewise.
70010 * math/w_jnf.c: Likewise.
70011 * math/w_log.c: Likewise.
70012 * math/w_log10.c: Likewise.
70013 * math/w_log10f.c: Likewise.
70014 * math/w_log10l.c: Likewise.
70015 * math/w_log2.c: Likewise.
70016 * math/w_log2f.c: Likewise.
70017 * math/w_log2l.c: Likewise.
70018 * math/w_logf.c: Likewise.
70019 * math/w_logl.c: Likewise.
70020 * math/w_sqrt.c: Likewise.
70021 * math/w_sqrtf.c: Likewise.
70022 * math/w_sqrtl.c: Likewise.
70023 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70024 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70025 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70026 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70027 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70028
70029 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70030
70031 [BZ #9739]
70032 * manual/string.texi (strnlen): Use correct parameter name in
70033 equivalent expression.
70034
70035 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70036
70037 [BZ #11174]
70038 * manual/users.texi (seteuid): Consistently use neweuid for
70039 argument name.
70040
70041 2012-02-19 Joseph Myers <joseph@codesourcery.com>
70042
70043 [BZ #13704]
70044 * manual/nss.texi (Services in the NSS configuration): Correct
70045 list of services in example configuration file.
70046
70047 2012-02-19 Nick Bowler <nbowler@draconx.ca>
70048
70049 [BZ #11322]
70050 * manual/arith.texi: Remove statements about negative zero
70051 behaving identically to zero.
70052
70053 2012-02-18 Joseph Myers <joseph@codesourcery.com>
70054
70055 [BZ #5993]
70056 * manual/install.texi: Do not document upgrading from libc5.
70057
70058 2012-02-18 Joseph Myers <joseph@codesourcery.com>
70059
70060 [BZ #4596]
70061 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70062
70063 2012-02-18 David S. Miller <davem@davemloft.net>
70064
70065 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70066 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70067 %o7 across the call.
70068 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70069 instead.
70070 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70071 SETUP_PIC_REG_LEAF.
70072 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70073 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70074 * sysdeps/sparc/crtn.S: Likewise.
70075
70076 2012-02-17 Ulrich Drepper <drepper@gmail.com>
70077
70078 * aout/Makefile: Remove.
70079
70080 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
70081
70082 [BZ #13058]
70083 * manual/examples/argp-ex1.c (main): Format definition in GNU
70084 style.
70085 * manual/examples/argp-ex2.c (main): Likewise.
70086 * manual/examples/argp-ex3.c (main): Likewise.
70087 * manual/examples/argp-ex4.c (main): Likewise.
70088 * manual/examples/longopt.c (main): Use new-style prototype
70089 definition.
70090 * manual/examples/strncat.c (main): Specify return type and use
70091 (void) for arguments.
70092 * manual/examples/subopt.c (main): Use char **argv argument.
70093
70094 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70095
70096 [BZ #5077]
70097 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70098 rounding modes.
70099
70100 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
70101
70102 [BZ #6907]
70103 * manual/string.texi (strchr): Change when strchrnul is
70104 recommended.
70105
70106 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
70107
70108 [BZ #174]
70109 * manual/locale.texi (setlocale): Document LOCPATH.
70110
70111 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70112
70113 [BZ #10210]
70114 * manual/process.texi (execle): Move @dots{} before last argument.
70115
70116 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
70117
70118 [BZ #12047]
70119 * manual/charset.texi (Generic Charset Conversion): Fix typo
70120 (LC_TYPE -> LC_CTYPE).
70121
70122 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
70123
70124 [BZ #5805]
70125 * manual/arith.texi (scalbn): Use @var{} on parameter names.
70126 (scalbnf): Likewise.
70127 (scalbnl): Likewise.
70128 (scalbln): Likewise.
70129 (scalblnf): Likewise.
70130 (scalblnl): Likewise.
70131 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70132 (vwarnx): Likewise.
70133 (verr): Likewise.
70134 (verrx): Likewise.
70135 * manual/filesys.texi (telldir): Use braces around return type.
70136 * manual/llio.texi (mmap): Add space after comma.
70137 (mmap64): Likewise.
70138 * manual/math.texi (jn): Use @var{} on parameter names.
70139 (jnf): Likewise.
70140 (jnl): Likewise.
70141 (yn): Likewise.
70142 (ynf): Likewise.
70143 (ynl): Likewise.
70144 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70145 line.
70146 * manual/resource.texi (ulimit): Use @dots{} instead of literal
70147 "...".
70148 (sched_get_priority_min): Remove semicolon on @deftypefun line.
70149 (sched_get_priority_max): Likewise.
70150 * manual/signal.texi (sigvec): Add space after comma.
70151 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70152 names.
70153 (if_indextoname): Likewise.
70154 (if_freenameindex): Likewise.
70155 (sendto): Use ',' instead of '.' in prototype.
70156 * manual/startup.texi (syscall): Use @dots{} instead of literal
70157 "...".
70158 * manual/stdio.texi (__fpending): Separate initial words of
70159 paragraph from @deftypefun line.
70160 * manual/syslog.texi (syslog): Use @dots{} instead of literal
70161 "...".
70162 (vsyslog): Use @var{} on parameter names.
70163 * manual/terminal.texi (stty): Use @var{} on parameter names.
70164 * manual/users.texi (getutmp): Use @var{} on parameter names.
70165 (getutmpx): Likewise.
70166
70167 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70168
70169 [BZ #6884]
70170 * manual/stdio.texi (fopen): Fix typos in description of
70171 ",ccs=STRING".
70172
70173 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
70174
70175 [BZ #4026]
70176 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70177 get clock_id definition.
70178
70179 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
70180
70181 [BZ #4822]
70182 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70183 (madvise): Cast every argument to void on its own.
70184
70185 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70186
70187 [BZ #9902]
70188 * manual/startup.texi (Exit Status): Fix typo.
70189
70190 2012-02-17 Joseph Myers <joseph@codesourcery.com>
70191
70192 [BZ #10140]
70193 * manual/examples/argp-ex1.c: Include <stdlib.h>.
70194 * manual/examples/argp-ex2.c: Likewise.
70195 * manual/examples/argp-ex3.c: Likewise.
70196
70197 2012-02-16 Richard Henderson <rth@redhat.com>
70198
70199 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70200 * sysdeps/s390/s390-32/initfini.c: Remove.
70201 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70202 * sysdeps/s390/s390-64/initfini.c: Remove.
70203
70204 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70205
70206 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70207 compiler output for sysdeps/generic/initfini.c.
70208 * sysdeps/sh/elf/initfini.c: Remove file.
70209
70210 2012-02-16 David S. Miller <davem@davemloft.net>
70211
70212 [BZ #11494]
70213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70214
70215 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70216 * sysdeps/sparc/crti.S: New file.
70217 * sysdeps/sparc/crtn.S: New file.
70218 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70219 * sysdeps/sparc/sparc64/Makefile: Likewise.
70220
70221 2012-02-15 Mike Frysinger <vapier@gentoo.org>
70222
70223 [BZ #3335]
70224 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70225
70226 2012-02-15 Roland McGrath <roland@hack.frob.com>
70227
70228 [BZ #4822]
70229 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70230
70231 * mach/devstream.c (cookie_io_functions_t): Macro removed.
70232 (write, read, close): Likewise.
70233 Patch by Aurelien Jarno <aurelien@aurel32.net>.
70234
70235 2012-02-15 Joseph Myers <joseph@codesourcery.com>
70236
70237 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70238 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70239 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70240 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70241 <bits/signalfd.h>.
70242 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70244 bits/signalfd.h.
70245
70246 2012-02-14 Marek Polacek <polacek@redhat.com>
70247
70248 * sysdeps/x86_64/crti.S: New file.
70249 * sysdeps/x86_64/crtn.S: New file.
70250 * sysdeps/x86_64/elf/initfini.c: Remove file.
70251
70252 2012-02-13 Joseph Myers <joseph@codesourcery.com>
70253
70254 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70255 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70256 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70257 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70258 <bits/inotify.h>.
70259 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70261 bits/inotify.h.
70262
70263 2012-02-13 Joseph Myers <joseph@codesourcery.com>
70264
70265 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70266 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70267 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70268 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70269 <bits/eventfd.h>.
70270 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70272 bits/eventfd.h.
70273
70274 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
70275
70276 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70277 __feraiseexcept instead of feraiseexcept.
70278
70279 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70280 nanosleep invocations.
70281 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70282 strings, and add error checking for a nanosleep invocations.
70283
70284 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
70285
70286 Replace FSF snail mail address with URLs, as per GNU coding standards.
70287 Most of the snail mail addresses were wrong anyway, and omitting
70288 them makes the source code easier to maintain. Almost all of the
70289 changes are to license notices and to locale LC_IDENTIFICATION
70290 addresses, except for this one:
70291 * manual/libc.texinfo: In "Published by", give the FSF's URL,
70292 not its snail mail address.
70293
70294 2012-02-09 Richard Henderson <rth@twiddle.net>
70295
70296 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70297 of kernel-features.h.
70298
70299 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70300
70301 2012-02-08 Marek Polacek <polacek@redhat.com>
70302
70303 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70304 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70305 * sysdeps/gnu/_G_config.h: Likewise.
70306 * sysdeps/generic/_G_config.h: Likewise.
70307
70308 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
70309
70310 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70311 tests.
70312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70313
70314 * sysdeps/powerpc/powerpc32/crti.S: New file.
70315 * sysdeps/powerpc/powerpc32/crtn.S: New file.
70316 * sysdeps/powerpc/powerpc64/crti.S: New file.
70317 * sysdeps/powerpc/powerpc64/crtn.S: New file.
70318
70319 * Makeconfig (have-initfini): Don't set.
70320 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70321 * configure.in (nopic_initfini): Don't substitute.
70322 * config.h.in (HAVE_INITFINI): Don't #undef.
70323 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70324 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70325
70326 2012-02-08 Joseph Myers <joseph@codesourcery.com>
70327
70328 Support crti.S and crtn.S provided directly by architectures.
70329 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70330 [crti.S in sysdirs] (omit-deps): Likewise.
70331 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70332 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70333 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70334 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70335 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70336 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70337 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70338 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70339 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70340 compiler output for sysdeps/generic/initfini.c.
70341 * sysdeps/i386/elf/Makefile: Remove file.
70342 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70343
70344 2012-02-07 Marek Polacek <polacek@redhat.com>
70345
70346 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70347 * sysdeps/gnu/_G_config.h: Likewise.
70348 * sysdeps/mach/hurd/_G_config.h: Likewise.
70349
70350 2012-02-07 Marek Polacek <polacek@redhat.com>
70351
70352 * math/Makefile (tests): Add tst-CMPLX2.
70353 * math/tst-CMPLX2.c: New file.
70354
70355 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
70356
70357 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70358
70359 * math/libm-test.inc (jn_test): Add missing L suffix.
70360
70361 2012-02-06 Marek Polacek <polacek@redhat.com>
70362
70363 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70364 * sysdeps/i386/fpu/e_powf.S: Likewise.
70365 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70366 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70367 * sysdeps/i386/fpu/e_acosh.S: Likewise.
70368 * sysdeps/i386/fpu/e_pow.S: Likewise.
70369 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70370 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70371 * sysdeps/i386/fpu/s_expm1.S: Likewise.
70372 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70373 * sysdeps/i386/fpu/e_log2.S: Likewise.
70374 * sysdeps/i386/fpu/e_log2l.S: Likewise.
70375 * sysdeps/i386/fpu/e_scalb.S: Likewise.
70376 * sysdeps/i386/fpu/e_powl.S: Likewise.
70377 * sysdeps/i386/fpu/s_log1p.S: Likewise.
70378 * sysdeps/i386/fpu/e_log10f.S: Likewise.
70379 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70380 * sysdeps/i386/fpu/e_logl.S: Likewise.
70381 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70382 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70383 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70384 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70385 * sysdeps/i386/fpu/e_log2f.S: Likewise.
70386 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70387 * sysdeps/i386/fpu/e_log.S: Likewise.
70388 * sysdeps/i386/fpu/s_cexp.S: Likewise.
70389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70390 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70391 * sysdeps/i386/fpu/e_logf.S: Likewise.
70392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
70393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
70394 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70395 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70396 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70397 * sysdeps/i386/fpu/e_log10.S: Likewise.
70398 * sysdeps/i386/fpu/s_frexp.S: Likewise.
70399 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70400 * sysdeps/i386/fpu/s_asinh.S: Likewise.
70401 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70402 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70403 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70404 * sysdeps/i386/asm-syntax.h: Likewise.
70405 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70406 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70407 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70408 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70409 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70414 * sysdeps/powerpc/sysdep.h: Likewise.
70415 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70416 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70417
70418 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70419
70420 [BZ #411]
70421 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70422
70423 2012-02-06 Joseph Myers <joseph@codesourcery.com>
70424
70425 * sysdeps/i386/sysdep.h: Include <features.h>.
70426 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70427 version.
70428
70429 2012-02-05 Joseph Myers <joseph@codesourcery.com>
70430
70431 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70432 Define.
70433 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70434 LOAD_PIC_REG_STR.
70435
70436 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70437
70438 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70439 (SETUP_PIC_REG): Use GET_PC_THUNK.
70440 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70441 macro.
70442
70443 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70444
70445 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
70446 for non-PIC compilation.
70447 (SETUP_PIC_REG): Add .p2align directive.
70448 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
70449 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
70450 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70451 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70452 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
70453 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70454 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
70455 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
70456 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70457 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70458 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70459 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70460 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70461 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70462 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70463 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
70464 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
70465 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70466 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70467 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70468 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70469 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
70470 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70471 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70472 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
70473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
70474 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70475 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
70476 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70477 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70478 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70479 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70480 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70481 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70482 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70483 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70484 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70485 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70486 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70487 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70488 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70489
70490 2012-02-03 Joseph Myers <joseph@codesourcery.com>
70491
70492 * math/tst-CMPLX.c: Include <stdio.h>.
70493
70494 2012-01-31 Joseph Myers <joseph@codesourcery.com>
70495
70496 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
70497 float.
70498 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70499 * sysdeps/sparc/bits/mathdef.h: Likewise.
70500
70501 2012-01-31 Marek Polacek <polacek@redhat.com>
70502
70503 * libio/libio.h: Don't define _PARAMS.
70504 * locale/programs/config.h: Don't define PARAMS.
70505 * stdlib/strtol_l.c: Likewise.
70506 (__strtol_l): Remove PARAMS from the prototype.
70507
70508 2012-01-31 Ulrich Drepper <drepper@gmail.com>
70509
70510 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
70511 names. Just use the correct names. Remove unnecessary wrapper
70512 functions.
70513 * malloc/arena.c: Likewise.
70514 * malloc/hooks.c: Likewise.
70515
70516 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
70517 ARENA_TEST says not to. Simplify test for creation of a new arena.
70518 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
70519
70520 2012-01-30 Ulrich Drepper <drepper@gmail.com>
70521
70522 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
70523 into tail calls.
70524 (update_get_addr): New function.
70525 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
70526 GET_ADDR_MODULE parameter.
70527
70528 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70529
70530 * crypt/cert.c: Remove __STDC__ conditionals.
70531 * crypt/crypt-entry.c: Likewise.
70532 * crypt/crypt_util.c: Likewise.
70533 * libio/filedoalloc.c: Likewise.
70534 * libio/fileops.c: Likewise.
70535 * libio/genops.c: Likewise.
70536 * libio/iofclose.c: Likewise.
70537 * libio/iofdopen.c: Likewise.
70538 * libio/iofopen.c: Likewise.
70539 * libio/iofopen64.c: Likewise.
70540 * libio/iogetdelim.c: Likewise.
70541 * libio/iopopen.c: Likewise.
70542 * libio/obprintf.c: Likewise.
70543 * libio/oldfileops.c: Likewise.
70544 * libio/oldiofclose.c: Likewise.
70545 * libio/oldiofdopen.c: Likewise.
70546 * libio/oldiofopen.c: Likewise.
70547 * libio/oldiopopen.c: Likewise.
70548 * libio/wfiledoalloc.c: Likewise.
70549 * libio/wgenops.c: Likewise.
70550 * locale/programs/xmalloc.c: Likewise.
70551 * misc/syslog.c: Likewise.
70552 * stdio-common/xbug.c: Likewise.
70553 * string/memchr.c: Likewise.
70554 * string/memcmp.c: Likewise.
70555 * string/memrchr.c: Likewise.
70556 * string/rawmemchr.c: Likewise.
70557 * sysdeps/posix/getcwd.c: Likewise.
70558 * time/strftime_l.c: Likewise.
70559
70560 2012-01-30 Joseph Myers <joseph@codesourcery.com>
70561
70562 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
70563 * config.make.in (config-cflags-sse2avx): Define.
70564 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
70565 Fix typo.
70566
70567 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
70568
70569 * scripts/config.guess: Update from upstream config git repository.
70570 * scripts/config.sub: Likewise.
70571
70572 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
70573
70574 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
70575 (EM_NUM): Update.
70576 (R_TILEPRO_*, R_TILEGX_*): New macros.
70577
70578 * scripts/firstversions.awk: Fix bug in version range handling.
70579
70580 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
70581
70582 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
70583
70584 * include/sys/epoll.h: New file.
70585 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
70586 libc_hidden_def.
70587
70588 2012-01-28 Ulrich Drepper <drepper@gmail.com>
70589
70590 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
70591 Avoid unnecessary __WORDSIZE == 64 test.
70592 (fmaxf): Use VEX format if possible.
70593 (fmax): Likewise.
70594 (fminf): Likewise.
70595 (fmin): Likewise.
70596
70597 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
70598 * math/math_private.h: Remove libc_fegetround* and
70599 libc_fesetround*.
70600 * sysdeps/i386/configure.in: Check for -msse2avx.
70601 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
70602 also if SSE2AVX is defined.
70603 Remove libc_fegetround* and libc_fesetround*.
70604 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
70605 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
70606 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
70607 of HAS_YMM_USABLE.
70608 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70609 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70610 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70611 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70612 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70613
70614 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
70615
70616 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70617
70618 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
70619 size is not set.
70620 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70621
70622 2012-01-27 Ulrich Drepper <drepper@gmail.com>
70623
70624 [BZ #13618]
70625 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
70626 relocation.
70627 * Makeconfig (libm): Define.
70628 * elf/Makefile: Add rules to build and run tst-relsort1.
70629 * elf/tst-relsort1.c: New file.
70630 * elf/tst-relsort1mod1.c: New file.
70631 * elf/tst-relsort1mod2.c: New file.
70632
70633 2012-01-27 Joseph Myers <joseph@codesourcery.com>
70634
70635 * math/s_ldexp.c: Remove __STDC__ conditionals.
70636 * math/s_ldexpf.c: Likewise.
70637 * math/s_ldexpl.c: Likewise.
70638 * math/s_nextafter.c: Likewise.
70639 * math/s_nexttowardf.c: Likewise.
70640 * math/s_significand.c: Likewise.
70641 * math/s_significandf.c: Likewise.
70642 * math/s_significandl.c: Likewise.
70643 * math/w_jnl.c: Likewise.
70644 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70645 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70646 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70647 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70648 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70649 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70650 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
70651 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70652 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70653 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70654 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70655 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70656 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70657 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70658 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70659 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70660 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70661 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70662 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70663 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70664 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70665 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70666 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70667 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70668 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70669 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70670 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70671 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70672 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70673 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70674 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70675 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70676 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70677 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70678 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70679 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70681 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70682 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70683 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70684 * sysdeps/ieee754/k_standard.c: Likewise.
70685 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70686 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70687 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70692 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70693 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70694 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70695 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70696 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70697 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70698 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70699 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70700 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70701 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70702 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70704 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70707 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70708 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70709 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70710 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70711 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70712 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70713 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70714 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70715 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70716 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
70717 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70718 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70720 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70721 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
70722 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70723 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70724 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
70725 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
70726 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70727 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
70728 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
70729 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70730 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
70731 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
70732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70733 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70734 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
70735 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
70736 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70737 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70738 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70739 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70740 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70741 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
70742 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70743 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70745 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70746 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70747 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70749 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70750 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70751 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70754 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70755 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70756 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70757 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70758 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70759 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70760 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70761 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70762 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70763 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70764 * sysdeps/ieee754/s_matherr.c: Likewise.
70765 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70766 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70768 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70769
70770 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70771
70772 * crypt/md5.h: Remove __STDC__ conditionals.
70773 * libio/libioP.h: Likewise.
70774 * locale/programs/config.h: Likewise.
70775 * sysdeps/generic/sysdep.h: Likewise.
70776 * sysdeps/i386/asm-syntax.h: Likewise.
70777 * sysdeps/s390/asm-syntax.h: Likewise.
70778 * sysdeps/unix/sysdep.h: Likewise.
70779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
70780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70781
70782 2012-01-26 Joseph Myers <joseph@codesourcery.com>
70783
70784 * libio/libio.h: Remove __STDC__ conditionals.
70785 * malloc/obstack.h: Likewise.
70786 * math/complex.h: Likewise.
70787 * math/math.h: Likewise.
70788 * sysdeps/generic/_G_config.h: Likewise.
70789 * sysdeps/gnu/_G_config.h: Likewise.
70790 * sysdeps/mach/hurd/_G_config.h: Likewise.
70791 * sysdeps/powerpc/bits/mathdef.h: Likewise.
70792 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
70793 * sysdeps/sparc/bits/mathdef.h: Likewise.
70794
70795 2012-01-26 Ulrich Drepper <drepper@gmail.com>
70796
70797 [BZ #13583]
70798 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
70799 Clean up HAS_* macros.
70800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
70801 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
70802 possible.
70803 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
70804 HAS_AVX.
70805 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
70806 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
70807 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
70808 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
70809 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
70810
70811 2012-01-25 Joseph Myers <joseph@codesourcery.com>
70812
70813 * elf/tst-unique3.cc (gets): Remove declaration.
70814 * elf/tst-unique3lib.cc (gets): Likewise.
70815 * elf/tst-unique3lib2.cc (gets): Likewise.
70816 * elf/tst-unique4.cc (gets): Likewise.
70817
70818 2012-01-24 Ulrich Drepper <drepper@gmail.com>
70819
70820 * include/stdio.h: Add C++ protection. Add gets declarations and
70821 definitions.
70822 * debug/tst-chk1.c: Don't declare gets here.
70823 * stdio-common/tst-gets.c: Likewise.
70824
70825 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70826
70827 * posix/glob: Remove directory.
70828
70829 2012-01-24 Joseph Myers <joseph@codesourcery.com>
70830
70831 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
70832
70833 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
70834
70835 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
70836 of the non-standard EPFNOSUPPORT.
70837
70838 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
70839
70840 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
70841 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
70842 ANYWHERE set to 1 only on KERN_NO_SPACE error.
70843
70844 2012-01-21 Ulrich Drepper <drepper@gmail.com>
70845
70846 * wcsmbs/uchar.h: Test __STDC_VERSION__.
70847
70848 2012-01-20 Ulrich Drepper <drepper@gmail.com>
70849
70850 * nscd/aicache.c (addhstaiX): Do not cache negative results of
70851 transient errors.
70852 * nscd/grpcache.c (cache_addgr): Likewise.
70853 * nscd/hstcache.c (cache_addhst): Likewise.
70854 * nscd/initgrcache.c (addinitgroupsX): Likewise.
70855 * nscd/pwdcache.c (cache_addpw): Likewise.
70856 * nscd/servicescache.c (cache_addserv): Likewise.
70857
70858 2012-01-16 Ulrich Drepper <drepper@gmail.com>
70859
70860 * malloc/malloc.c: Various cleanups.
70861 * malloc/hooks.c: Likewise.
70862
70863 * stdlib/Makefile (tests): Add bug-fmtmsg1.
70864 * stdlib/bug-fmtmsg1.c: New file.
70865
70866 * stdlib/fmtmsg.c (init): Add missing unlock.
70867 Patch by Peng Haitao <penght@cn.fujitsu.com>.
70868
70869 2012-01-12 Marek Polacek <polacek@redhat.com>
70870
70871 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
70872 and _GNU_SOURCE.
70873
70874 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
70875
70876 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
70877 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
70878 macro to ensure uniqueness of label name.
70879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
70880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
70881
70882 2012-01-11 Ulrich Drepper <drepper@gmail.com>
70883
70884 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
70885
70886 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
70887 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70888 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
70890
70891 2012-01-10 Ulrich Drepper <drepper@gmail.com>
70892
70893 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
70894
70895 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
70896 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70897 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70898
70899 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
70900
70901 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
70902 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70903 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
70905
70906 * math/bits/math-finite.h: Add ldexp support.
70907
70908 2012-01-10 Marek Polacek <polacek@redhat.com>
70909
70910 * locale/programs/localedef.h (show_archive_content): Add noreturn
70911 attribute.
70912
70913 2012-01-09 Ulrich Drepper <drepper@gmail.com>
70914
70915 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
70916
70917 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70918
70919 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
70920
70921 * io/Makefile (headers): Add bits/poll2.h.
70922
70923 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
70924
70925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
70926 typo #include statement.
70927
70928 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70929
70930 * include/sys/cdefs.h: Define __attribute_alloc_size.
70931 * catgets/gencat.c: Add alloc_size attribute and apply consistently
70932 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
70933 * elf/pldd.c: Likewise.
70934 * iconv/iconv_charmap.c: Likewise.
70935 * iconv/iconvconfig.c: Likewise.
70936 * iconv/strtab.c: Likewise.
70937 * locale/programs/locale.c: Likewise.
70938 * locale/programs/localedef.h: Likewise.
70939 * locale/programs/simple-hash.c: Likewise.
70940 * nscd/nscd.h: Likewise.
70941 * nss/makedb.c: Likewise.
70942 * sysdeps/generic/ldconfig.h: Likewise.
70943 * locale/programs/localedef.c: Remove xmalloc prototype.
70944 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
70945
70946 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
70947
70948 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
70949 appropriate.
70950
70951 2012-01-08 Ulrich Drepper <drepper@gmail.com>
70952
70953 * math/Makefile (tests): Add tst-CMPLX.
70954 * math/tst-CMPLX.c: New file.
70955
70956 * math/complex.h (CMPLXL): Fix typo.
70957
70958 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
70959 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
70960 GLIBC_2.16.
70961 * debug/tst-chk1.c: Add poll and ppoll tests.
70962 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
70963 * include/sys/poll.h: Add hidden proto for ppoll.
70964 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
70965 * sysdeps/mach/hurd/ppoll.c: Likewise.
70966 * io/ppoll.c: Likewise.
70967 * debug/poll_chk.c: New file.
70968 * debug/ppoll_chk.c: New file.
70969 * include/bits/poll2.h: New file.
70970 * io/bits/poll2.h: New file.
70971
70972 [BZ #1350]
70973 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
70974
70975 * configure.in: static is always set to yes. Remove.
70976 * config.make.in: Don't set build-static.
70977 * Makeconfig: Remove use of build-static.
70978 * dlfcn/Makefile: Likewise.
70979 * elf/Makefile: Likewise.
70980 * math/Makefile: Likewise.
70981 * misc/Makefile: Likewise.
70982 * nptl/Makefile: Likewise.
70983 * sysdeps/mach/hurd/Makefile: Likewise.
70984
70985 * configure.in: PWD_P is not used anymore.
70986 * config.make.in: Remove PWD_P entry.
70987
70988 * configure.in: Remove last remnants of RANLIB.
70989 No need to check for signed size_t anymore.
70990 Don't set libc_commonpagesize and libc_relro_required here for Alpha
70991 and IA-64.
70992 Remove __builtin_expect test because we require at least gcc 3.4.
70993 * aclocal.m4: Likewise.
70994
70995 * wcsmbs/mbrtoc16.c: Implement using towc function.
70996 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
70997 * wcsmbs/wcsmbsload.c: Likewise.
70998 * iconv/gconv_simple.c: Likewise.
70999 * iconv/gconv_int.h: Likewise.
71000 * iconv/gconv_builtin.h: Likewise.
71001 * iconv/iconv_prog.c: Remove CHAR16 handling.
71002
71003 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71004
71005 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71006
71007 * configure.in: Remove --with-elf and --enable-bounded options.
71008 Dont set base_machine for ia64. More non-ELF conditions removed.
71009 Remove testing and setting of leading underscore information.
71010 * config.make.in (build-bounded): Set to no.
71011 * config.h.in: Remove NO_UNDERSCORES entry.
71012 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
71013 them.
71014 * csu/start.c: Remove !NO_UNDERSCORE code.
71015 * locale/localeinfo.h: Likewise.
71016 * sysdeps/generic/machine-gmon.h: Likewise.
71017 * sysdeps/generic/sysdep.h: Likewise.
71018 * sysdeps/i386/sysdep.h: Likewise.
71019 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71020 * sysdeps/mach/sysdep.h: Likewise.
71021 * sysdeps/s390/s390-32/sysdep.h: Likewise.
71022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
71023 * sysdeps/sh/sysdep.h: Likewise.
71024 * sysdeps/sparc/sparc32/alloca.S: Likewise.
71025 * sysdeps/unix/i386/sysdep.S: Likewise.
71026 * sysdeps/unix/sparc/start.c: Likewise.
71027 * sysdeps/unix/sparc/sysdep.S: Likewise.
71028 * sysdeps/unix/sparc/sysdep.h: Likewise.
71029 * sysdeps/unix/start.c: Likewise.
71030 * sysdeps/unix/x86_64/sysdep.S: Likewise.
71031 * sysdeps/x86_64/sysdep.h: Likewise.
71032
71033 2012-01-07 Ulrich Drepper <drepper@gmail.com>
71034
71035 [BZ #13553]
71036 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71037 for non-gcc.
71038 * argp/argp-fmtstream.h: Use const instead __const.
71039 * argp/argp.h: Likewise.
71040 * assert/assert.h: Likewise.
71041 * bits/fenv.h: Likewise.
71042 * bits/sched.h: Likewise.
71043 * bits/sigset.h: Likewise.
71044 * bits/sigthread.h: Likewise.
71045 * catgets/nl_types.h: Likewise.
71046 * conform/data/pthread.h-data: Likewise.
71047 * crypt/crypt-private.h: Likewise.
71048 * crypt/crypt.h: Likewise.
71049 * crypt/crypt_util.c: Likewise.
71050 * ctype/ctype.h: Likewise.
71051 * debug/execinfo.h: Likewise.
71052 * debug/mbsnrtowcs_chk.c: Likewise.
71053 * debug/mbsrtowcs_chk.c: Likewise.
71054 * debug/wcsnrtombs_chk.c: Likewise.
71055 * debug/wcsrtombs_chk.c: Likewise.
71056 * debug/wcstombs_chk.c: Likewise.
71057 * dirent/dirent.h: Likewise.
71058 * dlfcn/dlfcn.h: Likewise.
71059 * elf/neededtest4.c: Likewise.
71060 * grp/grp.h: Likewise.
71061 * gshadow/gshadow.h: Likewise.
71062 * iconv/gconv.h: Likewise.
71063 * iconv/gconv_int.h: Likewise.
71064 * iconv/gconv_simple.c: Likewise.
71065 * iconv/iconv.h: Likewise.
71066 * iconv/loop.c: Likewise.
71067 * iconv/skeleton.c: Likewise.
71068 * include/aio.h: Likewise.
71069 * include/aliases.h: Likewise.
71070 * include/argz.h: Likewise.
71071 * include/arpa/inet.h: Likewise.
71072 * include/assert.h: Likewise.
71073 * include/dirent.h: Likewise.
71074 * include/dlfcn.h: Likewise.
71075 * include/execinfo.h: Likewise.
71076 * include/fcntl.h: Likewise.
71077 * include/fenv.h: Likewise.
71078 * include/glob.h: Likewise.
71079 * include/grp.h: Likewise.
71080 * include/libintl.h: Likewise.
71081 * include/mntent.h: Likewise.
71082 * include/netdb.h: Likewise.
71083 * include/pwd.h: Likewise.
71084 * include/rpc/netdb.h: Likewise.
71085 * include/sched.h: Likewise.
71086 * include/search.h: Likewise.
71087 * include/shadow.h: Likewise.
71088 * include/signal.h: Likewise.
71089 * include/stdio.h: Likewise.
71090 * include/stdlib.h: Likewise.
71091 * include/string.h: Likewise.
71092 * include/sys/socket.h: Likewise.
71093 * include/sys/stat.h: Likewise.
71094 * include/sys/statfs.h: Likewise.
71095 * include/sys/statvfs.h: Likewise.
71096 * include/sys/syslog.h: Likewise.
71097 * include/sys/time.h: Likewise.
71098 * include/sys/uio.h: Likewise.
71099 * include/time.h: Likewise.
71100 * include/unistd.h: Likewise.
71101 * include/utmp.h: Likewise.
71102 * include/wchar.h: Likewise.
71103 * include/wctype.h: Likewise.
71104 * inet/aliases.h: Likewise.
71105 * inet/arpa/inet.h: Likewise.
71106 * inet/netinet/ether.h: Likewise.
71107 * inet/netinet/in.h: Likewise.
71108 * intl/libintl.h: Likewise.
71109 * io/bits/fcntl2.h: Likewise.
71110 * io/fcntl.h: Likewise.
71111 * io/ftw.h: Likewise.
71112 * io/sys/poll.h: Likewise.
71113 * io/sys/stat.h: Likewise.
71114 * io/sys/statfs.h: Likewise.
71115 * io/sys/statvfs.h: Likewise.
71116 * io/utime.h: Likewise.
71117 * libio/bits/stdio.h: Likewise.
71118 * libio/bits/stdio2.h: Likewise.
71119 * libio/libio.h: Likewise.
71120 * libio/libioP.h: Likewise.
71121 * libio/stdio.h: Likewise.
71122 * locale/lc-ctype.c: Likewise.
71123 * locale/locale.h: Likewise.
71124 * login/utmp.h: Likewise.
71125 * malloc/arena.c: Likewise.
71126 * malloc/malloc.c: Likewise.
71127 * malloc/malloc.h: Likewise.
71128 * malloc/mcheck.c: Likewise.
71129 * malloc/mtrace.c: Likewise.
71130 * math/bits/mathcalls.h: Likewise.
71131 * math/fenv.h: Likewise.
71132 * math/math_private.h: Likewise.
71133 * misc/bits/error.h: Likewise.
71134 * misc/bits/syslog.h: Likewise.
71135 * misc/err.h: Likewise.
71136 * misc/error.h: Likewise.
71137 * misc/fstab.h: Likewise.
71138 * misc/mntent.h: Likewise.
71139 * misc/regexp.h: Likewise.
71140 * misc/search.h: Likewise.
71141 * misc/sgtty.h: Likewise.
71142 * misc/sys/mman.h: Likewise.
71143 * misc/sys/syslog.h: Likewise.
71144 * misc/sys/uio.h: Likewise.
71145 * misc/sys/xattr.h: Likewise.
71146 * misc/ttyent.h: Likewise.
71147 * nis/rpcsvc/ypclnt.h: Likewise.
71148 * nss/nss.h: Likewise.
71149 * posix/bits/unistd.h: Likewise.
71150 * posix/fnmatch.h: Likewise.
71151 * posix/glob.h: Likewise.
71152 * posix/sched.h: Likewise.
71153 * posix/spawn.h: Likewise.
71154 * posix/sys/wait.h: Likewise.
71155 * posix/unistd.h: Likewise.
71156 * posix/wordexp.h: Likewise.
71157 * pwd/pwd.h: Likewise.
71158 * resolv/netdb.h: Likewise.
71159 * resource/sys/resource.h: Likewise.
71160 * rt/aio.h: Likewise.
71161 * rt/bits/mqueue2.h: Likewise.
71162 * rt/mqueue.h: Likewise.
71163 * shadow/shadow.h: Likewise.
71164 * signal/signal.h: Likewise.
71165 * socket/send.c: Likewise.
71166 * socket/sendto.c: Likewise.
71167 * socket/sys/socket.h: Likewise.
71168 * stdio-common/printf.h: Likewise.
71169 * stdlib/bits/stdlib.h: Likewise.
71170 * stdlib/fmtmsg.h: Likewise.
71171 * stdlib/monetary.h: Likewise.
71172 * stdlib/stdlib.h: Likewise.
71173 * stdlib/ucontext.h: Likewise.
71174 * streams/stropts.h: Likewise.
71175 * string/argz.h: Likewise.
71176 * string/bits/string2.h: Likewise.
71177 * string/string.h: Likewise.
71178 * string/strings.h: Likewise.
71179 * sunrpc/rpc/auth.h: Likewise.
71180 * sunrpc/rpc/auth_des.h: Likewise.
71181 * sunrpc/rpc/clnt.h: Likewise.
71182 * sunrpc/rpc/netdb.h: Likewise.
71183 * sunrpc/rpc/pmap_clnt.h: Likewise.
71184 * sunrpc/rpc/xdr.h: Likewise.
71185 * sysdeps/generic/inttypes.h: Likewise.
71186 * sysdeps/generic/net/if.h: Likewise.
71187 * sysdeps/generic/sys/swap.h: Likewise.
71188 * sysdeps/gnu/net/if.h: Likewise.
71189 * sysdeps/gnu/utmpx.h: Likewise.
71190 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71191 * sysdeps/i386/i486/bits/string.h: Likewise.
71192 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71193 * sysdeps/s390/bits/string.h: Likewise.
71194 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71195 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71196 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71197 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71198 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71199 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71200 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71201 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71202 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71203 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71204 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71205 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71206 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71207 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71208 * sysdeps/unix/sysv/linux/readv.c: Likewise.
71209 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71210 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71213 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71214 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71215 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71216 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71217 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71218 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71219 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71220 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71221 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71222 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71223 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71224 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71225 * sysvipc/sys/ipc.h: Likewise.
71226 * sysvipc/sys/msg.h: Likewise.
71227 * sysvipc/sys/sem.h: Likewise.
71228 * sysvipc/sys/shm.h: Likewise.
71229 * termios/termios.h: Likewise.
71230 * time/sys/time.h: Likewise.
71231 * time/time.h: Likewise.
71232 * wcsmbs/bits/wchar2.h: Likewise.
71233 * wcsmbs/uchar.h: Likewise.
71234 * wcsmbs/wchar.h: Likewise.
71235 * wctype/wctype.h: Likewise.
71236
71237 [BZ #13551]
71238 * Makeconfig: Remove all but ELF support including AIX support.
71239 * Makerules: Likewise.
71240 * config.h.in: Likewise.
71241 * config.make.in: Likewise.
71242 * configure: Likewise.
71243 * configure.in: Likewise.
71244 * csu/Makefile: Likewise.
71245 * csu/version.c: Likewise.
71246 * debug/Makefile: Likewise.
71247 * dlfcn/Makefile: Likewise.
71248 * elf/Makefile: Likewise.
71249 * extra-lib.mk: Likewise.
71250 * iconv/Makefile: Likewise.
71251 * include/libc-symbols.h: Likewise.
71252 * include/shlib-compat.h: Likewise.
71253 * resolv/Makefile: Likewise.
71254 * resolv/res_libc.c: Likewise.
71255 * rt/Makefile: Likewise.
71256 * sysdeps/i386/asm-syntax.h: Likewise.
71257 * sysdeps/i386/sysdep.h: Likewise.
71258 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71259 * sysdeps/mach/sysdep.h: Likewise.
71260 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71261 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71262 * sysdeps/s390/asm-syntax.h: Likewise.
71263 * sysdeps/s390/s390-32/sysdep.h: Likewise.
71264 * sysdeps/s390/s390-64/sysdep.h: Likewise.
71265 * sysdeps/sh/sysdep.h: Likewise.
71266 * sysdeps/unix/sparc/sysdep.h: Likewise.
71267 * sysdeps/wordsize-32/divdi3.c: Likewise.
71268 * sysdeps/x86_64/sysdep.h: Likewise.
71269
71270 * argp/Versions: Remove _argp_unlock_xxx.
71271
71272 [BZ #13559]
71273 * abilist/ld.abilist: Update. Adjust for removal of tls option.
71274 * abilist/libBrokenLocale.abilist: Likewise.
71275 * abilist/libanl.abilist: Likewise.
71276 * abilist/libc.abilist: Likewise.
71277 * abilist/libcrypt.abilist: Likewise.
71278 * abilist/libdl.abilist: Likewise.
71279 * abilist/libm.abilist: Likewise.
71280 * abilist/libnsl.abilist: Likewise.
71281 * abilist/libpthread.abilist: Likewise.
71282 * abilist/libresolv.abilist: Likewise.
71283 * abilist/librt.abilist: Likewise.
71284 * abilist/libthread_db.abilist: Likewise.
71285 * abilist/libutil.abilist: Likewise.
71286 * abilist/libnss_db.abilist: New file.
71287
71288 * scripts/abilist.awk: Add support for indirect functions.
71289
71290 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71291
71292 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71293
71294 * shlib-versions: Remove entries for ports architectures.
71295
71296 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
71297 files in ports.
71298 * elf/stackguard-macros.h: Remove support for IA-64.
71299 * elf/tst-auditmod1.c: Likewise.
71300 * sysdeps/generic/ldsodefs.h: Likewise.
71301
71302 * sysdeps/unix/sysv/linux/configure.in: Ports should define
71303 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71304 configure files.
71305
71306 [BZ #13552]
71307 * configure.in: Remove --enable-omitfp support.
71308 * FAQ.in: Adjust.
71309 * config.make.in: Likewise.
71310 * Makeconfig: Likewise.
71311 * manual/install.texi: Likewise.
71312
71313 In case anyone cares, the IA-64 architecture could move to ports.
71314 * sysdeps/ia64/*: Removed.
71315 * sysdeps/unix/sysv/linux/ia64/*: Removed.
71316 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71317
71318 [BZ #13555]
71319 * configure.in: Remove entries for unsupported architectures.
71320
71321 [BZ #13533]
71322 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71323 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
71324 routines.
71325 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71326 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71327 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
71328 fall back to using wcrtomb.
71329 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71330 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
71331 renaming.
71332 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71333 * wcsmbs/tst-c16c32-1.c: New file.
71334
71335 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71336 local variable.
71337
71338 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71339
71340 * elf/tst-unique3.cc: Add explicit declaration of gets.
71341 * elf/tst-unique3lib.cc: Likewise.
71342 * elf/tst-unique3lib2.cc: Likewise.
71343 * elf/tst-unique4.cc: Likewise.
71344
71345 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71346
71347 2012-01-06 Joseph Myers <joseph@codesourcery.com>
71348
71349 [BZ #13566]
71350 * assert/assert.h (static_assert): Don't define for C++.
71351 * libio/stdio.h (gets): Do declare for C++ <= C++11.
71352 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71353
71354 2012-01-03 Ulrich Drepper <drepper@gmail.com>
71355
71356 * iconv/loop.c (single loop): Fix assertion in storing of
71357 remaining bytes.
71358
71359 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71360
71361 2012-01-01 Ulrich Drepper <drepper@gmail.com>
71362
71363 * posix/getconf.c: Update copyright year.
71364 * nss/getent.c: Likewise.
71365 * nss/makedb.c: Likewise.
71366 * iconv/iconvconfig.c: Likewise.
71367 * iconv/iconv_prog.c: Likewise.
71368 * elf/ldconfig.c: Likewise.
71369 * elf/pldd.c: Likewise.
71370 * elf/sotruss.ksh: Likewise.
71371 * catgets/gencat.c: Likewise.
71372 * csu/version.c: Likewise.
71373 * elf/ldd.bash.in: Likewise.
71374 * elf/sprof.c (print_version): Likewise.
71375 * locale/programs/locale.c: Likewise.
71376 * locale/programs/localedef.c: Likewise.
71377 * login/programs/pt_chown.c: Likewise.
71378 * nscd/nscd.c (print_version): Likewise.
71379 * debug/xtrace.sh: Likewise.
71380 * malloc/memusage.sh: Likewise.
71381 * malloc/mtrace.pl: Likewise.
71382 * debug/catchsegv.sh: Likewise.
71383
71384 2011-12-30 Jakub Jelinek <jakub@redhat.com>
71385
71386 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71387 pure attribute.
71388
71389 2011-12-24 Ulrich Drepper <drepper@gmail.com>
71390
71391 [BZ #13533]
71392 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71393 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71394 transformations.
71395 * iconv/gconv_int.h: Likewise.
71396 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71397 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71398 from libc for GLIBC_2.16.
71399 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71400 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71401 * wcsmbs/uchar.h: Really define mbstate_t.
71402 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71403 * wcsmbs/c16rtomb.c: New file.
71404 * wcsmbs/mbrtoc16.c: New file.
71405 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71406 for C/POSIX locale.
71407 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71408 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71409
71410 * wcsmbs/wchar.h: Add missing __restrict.
71411
71412 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71413
71414 [BZ #13532]
71415 * time/Makefile (routines): Add timespec_get.
71416 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71417 * time/time.h: Define TIME_UTC and declare timespec_get. Define
71418 timespec for ISO C11.
71419 * time/timespec_get.c: New file.
71420 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71421 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71422
71423 [BZ #13531]
71424 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71425 * stdlib/stdlib.h: Declare aligned_alloc.
71426 * Versions.def: Add GLIBC_2.16 for libc.
71427 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71428
71429 [BZ 13527]
71430 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71431 ISO C11.
71432
71433 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71434 code.
71435
71436 [BZ #13528]
71437 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71438
71439 [BZ #13529]
71440 * assert/assert.h (static_assert): Define.
71441
71442 * version.h: Update for 2.16 development version.
71443
71444 [BZ #13526]
71445 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
71446 _ISOC11_SOURCE.
71447
71448 * version.h (RELEASE): Bump for 2.15 release.
71449 * include/features.h (__GLIBC_MINOR__): Bump to 15.
71450
71451 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
71452 Patch by Marek Polacek <mpolacek@redhat.com>.
71453
71454 * bits/byteswap.h: Protect long long constants with __extension__.
71455 * sysdeps/i386/bits/byteswap.h: Likewise.
71456 * sysdeps/ia64/bits/byteswap.h: Likewise.
71457 * sysdeps/s390/bits/byteswap.h: Likewise.
71458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
71459
71460 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71461
71462 [BZ #13540]
71463 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
71464 destination buffer.
71465 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
71466
71467 2011-12-23 Marek Polacek <polacek@redhat.com>
71468
71469 * elf/dl-addr.c (determine_info): Add inline keyword.
71470 * elf/tst-auditmod4b.c (check_avx): Likewise.
71471 * elf/tst-auditmod6b.c (check_avx): Likewise.
71472 * elf/tst-auditmod6c.c (check_avx): Likewise.
71473 * elf/tst-auditmod7b.c (check_avx): Likewise.
71474
71475 2011-12-23 Ulrich Drepper <drepper@gmail.com>
71476
71477 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
71478 !__SSE_MATH__.
71479
71480 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71481
71482 [BZ #13540]
71483 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
71484 processing for last bytes.
71485
71486 2011-08-06 Bruno Haible <bruno@clisp.org>
71487
71488 [BZ #13061]
71489 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
71490 U+0385, not to U+1FEE.
71491
71492 [BZ #13062]
71493 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
71494 entry for U+00A5 U+0301.
71495
71496 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71497
71498 [BZ #13166]
71499 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
71500 buffer for the output is too small.
71501
71502 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
71503 optimization.
71504
71505 [BZ #13185]
71506 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
71507 SSE flags if possible.
71508
71509 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71510
71511 [BZ #13540]
71512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
71513 processing for last bytes.
71514
71515 2011-12-22 Joseph Myers <joseph@codesourcery.com>
71516
71517 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
71518 (syscall-list-default-options, syscall-list-default-condition)
71519 (syscall-list-includes): Define.
71520 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
71521 list of ABIs and options and #if conditions for each ABI. Do not
71522 handle common syscalls between ABIs specially.
71523 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
71524 Remove.
71525 (syscall-list-variants, syscall-list-32bit-options)
71526 (syscall-list-32bit-condition, syscall-list-64bit-options)
71527 (syscall-list-64bit-condition): Define.
71528 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
71529 (syscall-list-variants, syscall-list-32bit-options)
71530 (syscall-list-32bit-condition, syscall-list-64bit-options)
71531 (syscall-list-64bit-condition): Define.
71532 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
71533 Remove.
71534 (syscall-list-variants, syscall-list-32bit-options)
71535 (syscall-list-32bit-condition, syscall-list-64bit-options)
71536 (syscall-list-64bit-condition): Define.
71537 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
71538 Remove.
71539 (syscall-list-variants, syscall-list-32bit-options)
71540 (syscall-list-32bit-condition, syscall-list-64bit-options)
71541 (syscall-list-64bit-condition): Define.
71542
71543 2011-12-22 Ulrich Drepper <drepper@gmail.com>
71544
71545 * locale/iso-639.def: Add brx entry.
71546
71547 [BZ #13328]
71548 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
71549 Proposed by Mariusz_Cukr <marcukr@op.pl>.
71550
71551 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
71552 __feraiseexcept_renamed.
71553
71554 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71555
71556 [BZ #13538]
71557 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
71558 EPOLLET with unsigned values.
71559 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71560 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71561
71562 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
71563 to large cancellation.
71564 * math/s_cacoshf.c: Likewise.
71565 * math/s_cacoshl.c: Likewise.
71566
71567 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
71568
71569 [BZ #13305]
71570 [BZ #12786]
71571 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
71572 * math/s_cacoshf.c: Likewise.
71573 * math/s_cacoshl.c: Likewise.
71574
71575 2011-12-21 Ulrich Drepper <drepper@gmail.com>
71576
71577 [BZ #13439]
71578 * iconv/gconv.h: Define __GCONV_SWAP.
71579 * iconvdata/unicode.c: The swap bit must be stored in __flags.
71580 * iconvdata/utf-16.c: Likewise.
71581 * iconvdata/utf-32.c: Likewise.
71582
71583 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
71584
71585 [BZ #13524]
71586 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
71587 numerator after shifting it by one limb.
71588
71589 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
71590
71591 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
71592 under [__USE_EXTERN_INLINES].
71593
71594 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71595
71596 [BZ #13446]
71597 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
71598
71599 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71600
71601 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
71602 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
71603 optimized code.
71604 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
71605 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
71606 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
71607 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
71608 for strncasecmp/strncasecmp_l compilation.
71609 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
71610 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
71611
71612 2011-12-08 Marek Polacek <mpolacek@redhat.com>
71613
71614 [BZ #13484]
71615 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
71616 of __asm__.
71617
71618 2011-12-17 Ulrich Drepper <drepper@gmail.com>
71619
71620 [BZ #13506]
71621 * time/tzfile.c (__tzfile_read): Check values from file header.
71622
71623 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
71624
71625 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
71626 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
71627 * powerpc/powerpc32/dl-start.S: Likewise.
71628 * powerpc/powerpc32/elf/start.S: Likewise.
71629 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
71630 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
71631 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
71632 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
71633 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
71634 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
71635 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
71636 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
71637 * powerpc/powerpc32/fpu/s_round.S: Likewise.
71638 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
71639 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
71640 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
71641 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
71642 * powerpc/powerpc32/memset.S: Likewise.
71643 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
71644 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
71645 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
71646 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
71647 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
71648 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
71649 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71650 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
71651 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
71652 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
71653 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
71654 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71655 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71656
71657 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71658
71659 * math/libm-test.inc: Added more nearbyint tests.
71660 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
71661 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
71662 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
71663 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
71664
71665 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
71666
71667 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
71668 FD_CLOEXEC.
71669
71670 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71671
71672 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
71673 Add wcscpy-ssse3 wcscpy-c.
71674 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
71675 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
71676 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
71677 * sysdeps/x86_64/wcschr.S: New file.
71678 * sysdeps/x86_64/wcsrchr.S: New file.
71679 * string/test-strcmp.c: Remove checking of wcscmp function for
71680 wrong alignments.
71681 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
71682 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
71683 wcsrchr-sse2 wcsrchr-c.
71684 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
71685 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
71686 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
71687 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
71688 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
71689 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
71690 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
71691 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
71692 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
71693 * wcsmbc/wcschr.c (WCSCHR): New macro.
71694
71695 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71696
71697 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
71698 * wcsmbs/test-wcsrchr.c: New file.
71699 * string/test-strrchr.c: Add wcsrchr support.
71700 (WIDE): New macro.
71701 * wcsmbs/test-wcscpy.c: New file.
71702 * string/test-strcpy.c: Add wcscpy support.
71703 (WIDE): New macro.
71704
71705 2011-12-10 Ulrich Drepper <drepper@gmail.com>
71706
71707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
71708 the inner loop.
71709
71710 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
71711
71712 [BZ #13472]
71713 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
71714
71715 2011-12-04 Ulrich Drepper <drepper@gmail.com>
71716
71717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
71718 Minor optimizations.
71719
71720 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
71721 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
71722 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
71723
71724 2011-12-03 Ulrich Drepper <drepper@gmail.com>
71725
71726 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
71727 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
71728 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
71729 for gcc to avoid warnings.
71730 * inet/Makefile (tests): Add tst-checks.
71731 * inet/tst-checks.c: New file.
71732
71733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
71734 warning.
71735
71736 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
71737 __wmemcmp_sse2.
71738
71739 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
71740 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
71741
71742 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
71743
71744 2011-12-02 Ulrich Drepper <drepper@gmail.com>
71745
71746 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
71747 problem.
71748
71749 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
71750
71751 2011-11-29 Joseph Myers <joseph@codesourcery.com>
71752
71753 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
71754 conditional on GCC version.
71755 (__arch_compare_and_exchange_val_8_acq)
71756 (__arch_compare_and_exchange_val_16_acq)
71757 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
71758 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
71759 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
71760
71761 2011-12-02 Joseph Myers <joseph@codesourcery.com>
71762
71763 * sysdeps/sh/backtrace.c: New file.
71764
71765 2011-12-02 Andreas Schwab <schwab@redhat.com>
71766
71767 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
71768 parenthesis.
71769
71770 2011-12-01 Andreas Schwab <schwab@redhat.com>
71771
71772 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
71773 falling back to utime.
71774
71775 2011-11-30 Andreas Schwab <schwab@redhat.com>
71776
71777 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
71778 expectations for float.
71779
71780 2011-11-29 Andreas Schwab <schwab@redhat.com>
71781
71782 * locale/weight.h (findidx): Add parameter len.
71783 * locale/weightwc.h (findidx): Likewise.
71784 * posix/fnmatch_loop.c (FCT): Adjust caller.
71785 * posix/regcomp.c (build_equiv_class): Likewise.
71786 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
71787 * posix/regexec.c (check_node_accept_bytes): Likewise.
71788 * string/strcoll_l.c (STRCOLL): Likewise.
71789 * string/strxfrm_l.c (STRXFRM): Likewise.
71790
71791 2011-11-17 Ulrich Drepper <drepper@gmail.com>
71792
71793 * Makefile.in: Remove CVSOPT handling.
71794 * configure.in: Remove use of AC_REVISION.
71795 * iconvdata/Makefile (distribute): No need to filter out CVS.
71796 * scripts/list-sources.sh: Remove CVS, subversion and monotone
71797 handling.
71798
71799 2011-11-16 Andreas Schwab <schwab@redhat.com>
71800
71801 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
71802 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
71803 [USE_AS_STRNCASECMP_L]: Likewise.
71804 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
71805 NO_TLS_DIRECT_SEG_REFS.
71806 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
71807 Fix argument offsets for non-PIC.
71808 [USE_AS_STRNCASECMP_L]: Likewise.
71809 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
71810 NO_TLS_DIRECT_SEG_REFS.
71811
71812 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71813
71814 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
71815 O_CLOEXEC.
71816 * locale/loadlocale.c (_nl_load_locale): Likewise.
71817
71818 2011-11-15 Andreas Schwab <schwab@redhat.com>
71819
71820 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
71821 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
71822 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
71823 (SYSCALL_GETTIME): Set errno on error.
71824
71825 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
71826 count references to noai6ai_cached.
71827
71828 2011-11-15 Ulrich Drepper <drepper@gmail.com>
71829
71830 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
71831
71832 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
71833 FD_CLOEXEC for /proc/self/maps.
71834
71835 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
71836 FD_CLOEXEC for /proc/meminfo.
71837
71838 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
71839 gai.conf.
71840
71841 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
71842 FD_CLOEXEC for given file.
71843
71844 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
71845
71846 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
71847 FD_CLOEXEC for /etc/hosts.
71848 (_gethtent): Likewise.
71849
71850 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
71851
71852 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
71853 cancellation and set FD_CLOEXEC for /etc/netgroup.
71854
71855 * nss/nss_files/files-key.c (search): Don't allow cancellation when
71856 reading /etc/publickey.
71857
71858 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
71859 allow cancellation when reading /etc/group.
71860
71861 * nss/nss_files/files-alias.c (internal_setent): Don't allow
71862 cancellation.
71863 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
71864
71865 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
71866 when using data file.
71867
71868 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
71869
71870 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
71871 (write_nis_obj): Use "c" and "e" in fopen.
71872
71873 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
71874
71875 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
71876
71877 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
71878
71879 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
71880
71881 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
71882 locale.alias.
71883
71884 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
71885
71886 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
71887
71888 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
71889
71890 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
71891 file parsing and set FD_CLOEXEC.
71892
71893 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71894
71895 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
71896
71897 2011-11-14 Andreas Schwab <schwab@redhat.com>
71898
71899 * malloc/arena.c (arena_get2): Don't call reused_arena when
71900 _int_new_arena failed.
71901
71902 2011-11-14 Ulrich Drepper <drepper@gmail.com>
71903
71904 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
71905 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
71906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
71907 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71908 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71909 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
71910 to compile strcasecmp and strncasecmp.
71911 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
71912 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
71913
71914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
71915
71916 2011-11-13 Ulrich Drepper <drepper@gmail.com>
71917
71918 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
71919 locale-defines.sym to gen-as-const-headers.
71920 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
71921 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
71922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
71923 to compile strcasecmp and strncasecmp.
71924 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
71925 strcasecmp_l and strncasecmp_l.
71926 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
71927 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
71928 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
71929 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
71930 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
71931 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
71932 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
71933 * sysdeps/i386/i686/multiarch/strncase.S: New file.
71934 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
71935 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
71936 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
71937
71938 2011-11-12 Ulrich Drepper <drepper@gmail.com>
71939
71940 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
71941 result of SYSDEP_GETTIME_CPU to retval.
71942 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
71943 parameter list to macro. Remove trailing semicolon. Adjust users.
71944
71945 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
71946 variable.
71947
71948 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
71949 mantissa words.
71950 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
71951
71952 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
71953 from unused variable.
71954
71955 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
71956 DWARF definitions.
71957 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
71958 for assembling.
71959
71960 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
71961 over namespaces.
71962
71963 * sunrpc/rpc_prot.c (rejected): Fix case value.
71964
71965 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
71966 unsigned long long int to avoid warnings in shift.
71967
71968 * posix/regex_internal.c (re_string_reconstruct): Actually use result
71969 of use of trans.
71970 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
71971 variable tmp.
71972
71973 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
71974 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
71975 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
71976
71977 * nis/nis_table.c (nis_list): Use variable of correct type for
71978 result of __follow_path call.
71979
71980 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71981
71982 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
71983 of math functions ceil, trunc, floor, round, and sqrt, when
71984 avaliable on the platform.
71985 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
71986 name clash.
71987 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
71988 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
71989 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
71990
71991 2011-10-30 Marek Polacek <mpolacek@redhat.com>
71992
71993 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
71994 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71995
71996 2011-11-11 Roland McGrath <roland@hack.frob.com>
71997
71998 * include/unistd.h: Fix __readlink return type.
71999 Reported by Chris Metcalf <cmetcalf@tilera.com>.
72000
72001 2011-11-11 Ulrich Drepper <drepper@gmail.com>
72002
72003 * stdlib/ucontext.h: Undo last change for makecontext.
72004
72005 2011-11-11 Andreas Schwab <schwab@redhat.com>
72006
72007 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72008
72009 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72010 * setjmp/setjmp.h: Mark functions as non-leaf.
72011 * setjmp/bits/setjmp2.h: Likewise.
72012 * stdlib/ucontext.h: Likewise.
72013
72014 2011-11-10 Andreas Schwab <schwab@redhat.com>
72015
72016 * malloc/arena.c (_int_new_arena): Don't increment narenas.
72017 (reused_arena): Don't check arena limit.
72018 (arena_get2): Atomically check arena limit.
72019
72020 2011-11-08 Ulrich Drepper <drepper@gmail.com>
72021
72022 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72023 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72024
72025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72026 instructions.
72027
72028 2011-11-07 Andreas Schwab <schwab@redhat.com>
72029
72030 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72031 handler when locking.
72032
72033 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72034 Fix size of allocated buffer.
72035
72036 2011-11-04 Andreas Schwab <schwab@redhat.com>
72037
72038 [BZ #10103]
72039 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72040 declarations for long double functions.
72041 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72042
72043 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72044
72045 2011-11-03 Andreas Schwab <schwab@redhat.com>
72046
72047 * nscd/nscd.c (main): Don't start AVC thread until credentials are
72048 installed.
72049
72050 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72051 is disabled.
72052
72053 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
72054
72055 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72056
72057 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
72058
72059 * include/alloca.h (stackinfo_alloca_round): Define.
72060 (extend_alloca): Use it.
72061 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72062 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72063 here.
72064
72065 * scripts/check-local-headers.sh: Ignore libaudit.h.
72066
72067 * nscd/Makefile (extra-objs): Make recursively expanded.
72068
72069 2011-11-01 Ulrich Drepper <drepper@gmail.com>
72070
72071 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72072 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72073
72074 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72075 * posix/tst-rfc3484-2.c: Likewise.
72076 * posix/tst-rfc3484-3.c: Likewise.
72077
72078 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72079 process_vm_writev.
72080 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72081 process_vm_writev.
72082 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72083 process_vm_writev from libc using GLIBC_2.15 version.
72084
72085 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72086
72087 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
72088
72089 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72090 stack usage.
72091
72092 2011-10-31 Ulrich Drepper <drepper@gmail.com>
72093
72094 [BZ #13367]
72095 * nss/getent.c (initgroups_keys): Show error message in case no group
72096 names are given.
72097
72098 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72099 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72100 __bump_nl_timestamp.
72101 * nscd/connections (nscd_init): When host database is served open
72102 netlink socket and request notification about configuration changes.
72103 (main_loop_poll): Track netlink file descriptor and bump timestamp
72104 in case data becomes available.
72105 (main_loop_epoll): Likewise.
72106 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72107 (database_pers_head): Add extra_data fileds.
72108 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72109 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72110 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72111 Adjust caller.
72112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72113 in6ai data, call __free_in6ai.
72114 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72115 Add -DHAVE_NETLINK.
72116 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
72117 interface information. Reuse previous data if netlink timestamp
72118 is not changed.
72119 (__bump_nl_timestamp): New function.
72120 (__free_in6ai): New function.
72121
72122 2011-10-30 Ulrich Drepper <drepper@gmail.com>
72123
72124 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72125 close_not_cancel_no_status here.
72126 (__check_pf): Reorganize code a bit to not call close twice if OOM.
72127
72128 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72129
72130 [BZ #13276]
72131 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72132 return value.
72133
72134 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72135 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72136 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72137
72138 2011-07-03 Andreas Jaeger <aj@suse.de>
72139
72140 [BZ #10709]
72141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72142 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72143 * math/libm-test.inc (sin_test): Add test case.
72144
72145 2011-10-29 Ulrich Drepper <drepper@gmail.com>
72146
72147 [BZ #13337]
72148 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72149 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72150
72151 * elf/chroot_canon.c (chroot_canon): Cleanups.
72152
72153 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72154
72155 [BZ #13335]
72156 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72157 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72158
72159 * string/test-strchr.c: Make usable for strchrnul testing.
72160 * string/test-strchrnul.c: New file.
72161 * string/Makefile (strop-tests): Add strchrnul.
72162
72163 * po/it.po: Update from translation team.
72164 * po/es.po: Likewise.
72165
72166 2011-10-28 Ulrich Drepper <drepper@gmail.com>
72167
72168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72169 the three constants needed as parameters. Drop the others.
72170 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72171 __m128i_strloadu_tolower.
72172 Create and initialize variable zero and use it in all the places
72173 where _mm_setzero_si128 was used.
72174
72175 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72176 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72177 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72178 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72179 anymore.
72180 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72181 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72182 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72183 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72184 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72185 __mpranred, __mptan.
72186 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72187 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72188 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72189 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72190 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72191 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72192 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72193 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72194 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72195
72196 2011-10-28 Andreas Schwab <schwab@redhat.com>
72197
72198 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72199 redefine if SHARED.
72200 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72201
72202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72203 wide char related routines to wcsmbs subdir.
72204
72205 2011-10-27 Andreas Schwab <schwab@redhat.com>
72206
72207 [BZ #13344]
72208 * misc/sys/cdefs.h (__THROWNL): Define.
72209 * posix/unistd.h: Use __THREADNL instead of __THREAD
72210 for memory synchronization functions.
72211
72212 2011-10-26 Roland McGrath <roland@hack.frob.com>
72213
72214 [BZ #13349]
72215 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72216 doesn't exist.
72217 * manual/stdio.texi (Obstack Streams): Node removed.
72218
72219 2011-10-26 Andreas Schwab <schwab@redhat.com>
72220
72221 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72222 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72223 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72224
72225 * math/math_private.h (math_force_eval): Allow non-addressable
72226 arguments.
72227 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72228
72229 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72230
72231 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72232 file is not needed.
72233
72234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72237 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72238 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72239 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72241 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72242 Add AVX variants.
72243 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72244 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72245 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72246 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72247 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72248 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72249 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72250 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72251 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72252 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72253 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72254 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72257 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72258 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72260 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72261 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72262
72263 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72264 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
72265
72266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72267 place. Use VEX encoding when compiling for AVX.
72268
72269 2011-10-25 Andreas Schwab <schwab@redhat.com>
72270
72271 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72272 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72273
72274 * string/test-strchr.c (do_test): Don't generate NUL bytes.
72275
72276 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72277
72278 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72279 useless if() expression.
72280 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72281 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72282 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72283 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72284 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72287 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72288 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72289 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72290 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72291 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72292 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72293 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72294 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72295 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72297 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72298 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72299
72300 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72301
72302 2011-10-25 Andreas Schwab <schwab@redhat.com>
72303
72304 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72305 condition.
72306 * elf/dl-fini.c (_dl_sort_fini): Likewise.
72307
72308 2011-10-25 Ulrich Drepper <drepper@gmail.com>
72309
72310 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72311 .text section. Avoid duplicate constants.
72312 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72313 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72316 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72320 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72321 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72322 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72323 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72324 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72325 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72326 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72327 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72328 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72329 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72330 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72332 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72333 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72334 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72335 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72336 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72337 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72338 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72339 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72340 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72341 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72342 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72343 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72345 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72346 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72347 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72348 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72349 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72350 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72351 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72354 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72355 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72356 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72357
72358 2011-10-24 Ulrich Drepper <drepper@gmail.com>
72359
72360 * sysdeps/x86_64/dla.h: Move to ...
72361 * sysdeps/x86_64/fpu/dla.h: ...here.
72362 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72363 situations. Use __builtin_fma only for gcc 4.6 and up.
72364
72365 * config.make.in: Add have-mfma4 entry.
72366 * configure.in: Substitute libc_cv_cc_fma4.
72367 * math/Makefile (dbl-only-routines): Add sincostab.
72368 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72369 Use __sincostab not sincos.
72370 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72371 name is a macro.
72372 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72373 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72374 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
72376 using __copysign.
72377 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
72378 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
72379 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72380 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72381 and __inv.
72382 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72383 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72384 __copysign.
72385 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
72386 define aliases when function name is a macro.
72387 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72388 sysdeps/ieee754/dbl-64/sincos.tbl.
72389 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72390 fma4-enabled routines.
72391 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72392 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72393 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72394 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72395 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72396 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72397 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72398 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72399 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72400 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72401 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72402 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72403 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72404 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72405 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72406 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72407 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72408 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72409 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72410 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72411 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72412 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72413 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72414 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72417 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72418 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72419 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72420 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72421
72422 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72423 rename.
72424 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72425 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72430 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72431 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72432
72433 2011-10-24 Andreas Schwab <schwab@redhat.com>
72434
72435 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72436
72437 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72438
72439 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72440
72441 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72442 prediction.
72443 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
72444
72445 * string/strnlen.c: Don't define STRNLEN, reverse logic.
72446 Remove unused variable magic_bits.
72447 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
72448
72449 * string/strnlen.c: Define and use STRNLEN macro.
72450 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
72451 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
72452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
72453 * wcsmbs/wcslen.c: Define and use WCSLEN.
72454 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
72455 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
72456 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
72457 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
72458 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
72459 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
72460 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
72461
72462 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72463
72464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72465 strnlen-sse2-no-bsf.
72466 Rename strlen-no-bsf to strlen-sse2-no-bsf.
72467 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
72468 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
72469 Add strnlen support.
72470 (USE_AS_STRNLEN): New macro.
72471 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
72472 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
72473 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
72474 * sysdeps/x86_64/wcslen.S: New file.
72475
72476 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
72477
72478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72479 XMM-moves are used for copying on small sizes.
72480
72481 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72482
72483 * wcsmbs/Makefile (strop-tests): Add wcschr.
72484 * wcsmbs/test-wcschr.c: New file.
72485 * string/test-strchr.c: Update.
72486 Add wcschr support.
72487 (WIDE): New macro.
72488
72489 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72490
72491 * wcsmbs/Makefile (strop-tests): Add wcslen.
72492 * wcsmbs/test-wcslen.c: New file.
72493 * string/test-strlen.c: Update.
72494 Add wcslen support.
72495 (WIDE): New macro.
72496
72497 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72498
72499 * po/it.po: Update from translation team.
72500
72501 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72502
72503 * sysdeps/x86_64/wcscmp.S: Update.
72504 Fix wrong comparison semantics.
72505 wcscmp shall use signed comparison not unsigned.
72506 Don't use substraction to avoid overflow bug.
72507 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
72508 * wcsmbc/wcscmp.c: Likewise.
72509 * string/test-strcmp.c: Likewise.
72510 Add new tests to check cases with negative values.
72511
72512 2011-10-23 Ulrich Drepper <drepper@gmail.com>
72513
72514 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
72515 * sysdeps/x86_64/dla.h: ...here. New file.
72516 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
72517 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72519 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72523 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72524 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72525
72526 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
72527
72528 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
72529 __ynl_finite aliases.
72530
72531 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72532
72533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72534
72535 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
72536 define DLA_FMA.
72537 [DLA_FMA] (EMULV): Use DLA_FMA.
72538 [DLA_FMA] (MUL12): Use EMULV.
72539 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
72540 that are not needed.
72541 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72543 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72544 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72548
72549 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
72550
72551 * math/s_nan.c: Undef __nan.
72552 * math/s_nanf.c: Undef __nanf.
72553 * math/s_nanl.c: Undef __nanl.
72554 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
72555 "math_private.h".
72556
72557 2011-10-22 Ulrich Drepper <drepper@gmail.com>
72558
72559 * math/s_catan.c: Add branch predictions.
72560 * math/s_catanf.c: Likewise.
72561 * math/s_catanh.c: Likewise.
72562 * math/s_catanhf.c: Likewise.
72563 * math/s_catanhl.c: Likewise.
72564 * math/s_catanl.c: Likewise.
72565 * math/s_cexp.c: Likewise.
72566 * math/s_cexpf.c: Likewise.
72567 * math/s_cexpl.c: Likewise.
72568 * math/s_clog.c: Likewise.
72569 * math/s_clog10.c: Likewise.
72570 * math/s_clog10f.c: Likewise.
72571 * math/s_clog10l.c: Likewise.
72572 * math/s_clogf.c: Likewise.
72573 * math/s_clogl.c: Likewise.
72574 * math/s_csqrt.c: Likewise.
72575 * math/s_csqrtf.c: Likewise.
72576 * math/s_csqrtl.c: Likewise.
72577 * math/s_ctanf.c: Likewise.
72578 * math/s_ctanh.c: Likewise.
72579 * math/s_ctanhf.c: Likewise.
72580 * math/s_ctanhl.c: Likewise.
72581 * math/s_ctanl.c: Likewise.
72582
72583 * math/math_private.h: Define __nan, __nanf, __nanl.
72584 * math/s_cacosh.c: Include <math_private.h>.
72585 * math/s_cacoshl.c: Likewise.
72586 * math/s_casinh.c: Likewise.
72587 * math/s_casinhf.c: Likewise.
72588 * math/s_casinhl.c: Likewise.
72589 * math/s_ccos.c: Rely entire on ccosh.
72590 * math/s_ccosf.c: Rely entire on ccoshf.
72591 * math/s_ccosl.c: Rely entirely on ccoshl.
72592 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
72593 Remove tests for FE_INVALID.
72594 * math/s_ccoshf.c: Likewise.
72595 * math/s_ccoshl.c: Likewise.
72596 * math/s_csin.c: Likewise.
72597 * math/s_csinf.c: Likewise.
72598 * math/s_csinh.c Likewise.
72599 * math/s_csinhf.c: Likewise.
72600 * math/s_csinhl.c: Likewise.
72601 * math/s_csinl.c: Likewise.
72602 * math/s_ctan.c: Likewise.
72603 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
72604 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
72605 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
72606
72607 2011-10-21 Ulrich Drepper <drepper@gmail.com>
72608
72609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
72610 compilation problems.
72611
72612 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
72613 __builtin_expect.
72614
72615 2011-10-20 Ulrich Drepper <drepper@gmail.com>
72616
72617 * sysdeps/i386/configure.in: Test for -mfma4 option.
72618 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
72619 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
72620 COMMON_CPUID_INDEX_80000001.
72621 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
72622 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
72623 use it if FMA3 is not supported.
72624 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
72625
72626 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
72627 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72628
72629 2011-10-20 Andreas Schwab <schwab@redhat.com>
72630
72631 [BZ #12892]
72632 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
72633 it would create a cycle with a link time dependency.
72634
72635 2011-10-19 Ulrich Drepper <drepper@gmail.com>
72636
72637 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
72638 instruction.
72639 * string/Makefile (strop-tests): Add rawmemchr.
72640 * string/test-rawmemchr.c: New file.
72641
72642 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
72643 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
72644 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
72645 when compiling str{,n}casecmp and when AVX is available. Hook up
72646 new optimized code in initializers.
72647
72648 2011-10-19 Andreas Schwab <schwab@redhat.com>
72649
72650 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
72651 __feraiseexcept instead of feraiseexcept.
72652
72653 2011-10-18 Ulrich Drepper <drepper@gmail.com>
72654
72655 * math/math_private.h: Define defaults for libc_fetestexcept and
72656 libc_feupdateenv.
72657 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
72658 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
72659 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
72660 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72661 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72662 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72663 libc_fetestexcept and libc_feupdateenv.
72664
72665 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
72666 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
72667 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
72668 * sysdeps/x86_64/fpu/math_private.h: Define special version of
72669 libc_feholdexcept_setround.
72670
72671 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
72672 Add s_nearbyint-c and s_nearbyintf-c.
72673 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
72674 nearbyintf inlines.
72675 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
72676 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
72677 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
72678 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
72679
72680 * math/math_private.h: Define defaults for libc_fegetround,
72681 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
72682 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
72683 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
72684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
72685 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
72686 standard functions.
72687 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
72688 Remove comments and hacks for old compiler versions.
72689 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
72690 libc_fegetround, libc_fesetround, libc_feholdexcept, and
72691 libc_feholdexceptl.
72692
72693 2011-10-18 Andreas Schwab <schwab@redhat.com>
72694
72695 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
72696 (__feraiseexcept_renamed): Add __NTH.
72697 (feraiseexcept): Add __NTH. Rename local variables to fix
72698 namespace violations.
72699
72700 2011-10-17 Ulrich Drepper <drepper@gmail.com>
72701
72702 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
72703
72704 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
72705
72706 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
72707 recently added interfaces.
72708 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
72709
72710 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
72711 about macro parameter expansion.
72712
72713 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
72714 __NO_MATH_INLINES is defined. Cleanups.
72715
72716 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
72717 and __floorf is target has SSE4.1.
72718 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
72719 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
72720 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
72721 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
72722
72723 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
72724 name.
72725 (floorf): Likewise.
72726
72727 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
72728
72729 2011-10-17 Andreas Schwab <schwab@redhat.com>
72730
72731 * misc/sys/cdefs.h: Fix last change.
72732
72733 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
72734 database lookup.
72735
72736 2011-10-16 Ulrich Drepper <drepper@gmail.com>
72737
72738 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
72739
72740 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
72741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72742 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72743 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72745 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72747 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72748 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72749 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
72750 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
72751 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
72752 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
72753 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
72754 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
72755 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
72756 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
72757 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
72758 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
72759 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
72760 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
72761 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
72762
72763 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
72764 ceil, ceilf, floor, floorf.
72765
72766 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
72767 Perform IRELATIVE relocations last.
72768
72769 * elf/do-rel.h: Add another parameter nrelative, replacing the
72770 local variable with the same name. Change name of the function
72771 to end in Rel or Rela (uppercase).
72772 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
72773 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
72774 elf_dynamic_do_##reloc function.
72775
72776 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72777
72778 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
72779 is sufficient, at least on modern CPUs.
72780
72781 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
72782
72783 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
72784 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
72785
72786 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
72787 __expl_finite.
72788 * math/bits/math-finite.h: Add entries for exp.
72789 * math/e_expl.c: Add __*_finite alias.
72790 * sysdeps/i386/fpu/e_exp.S: Likewise.
72791 * sysdeps/i386/fpu/e_expf.S: Likewise.
72792 * sysdeps/i386/fpu/e_expl.c: Likewise.
72793 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72794 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
72795 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
72796 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
72797 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
72798 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
72799 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
72800
72801 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
72802 is sufficient, at least on modern CPUs.
72803
72804 * ctype/ctype-info.c (__ctype_init): Define.
72805 * include/ctype.h (__ctype_init): Declare.
72806 (__ctype_b_loc): The variable is always initialized.
72807 (__ctype_toupper_loc): Likewise.
72808 (__ctype_tolower_loc): Likewise.
72809 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
72810 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
72811
72812 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
72813
72814 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
72815
72816 * configure.in: Also look in $cxxmachine/include for C++ system
72817 headers.
72818
72819 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72820
72821 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
72822 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
72823 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
72824 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
72825 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
72826 (USE_AS_WMEMCMP): New macro.
72827 Fixing indents.
72828 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
72829 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
72830 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
72831 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
72832 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72833 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
72834 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
72835 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
72836 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
72837 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
72838 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
72839 (USE_AS_WMEMCMP): New macro.
72840 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
72841 * sysdeps/string/test-memcmp.c: Update.
72842 Fix simple_wmemcmp.
72843 Add new tests.
72844 * wcsmbs/wmemcmp.c: Update.
72845 (WMEMCMP): New macro.
72846 Fix overflow bug.
72847
72848 2011-10-12 Andreas Jaeger <aj@suse.de>
72849
72850 [BZ #13268]
72851 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
72852
72853 2011-10-15 Ulrich Drepper <drepper@gmail.com>
72854
72855 * libio/iofwide.c (do_length): Avoid warning.
72856
72857 * ctype/ctype.h (__isctype_f): Add missing __THROW.
72858
72859 2011-10-14 Ulrich Drepper <drepper@gmail.com>
72860
72861 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
72862
72863 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
72864 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
72865 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
72866 * sysdeps/i386/i686/fpu/e_log.S: New file.
72867 * sysdeps/i386/i686/fpu/e_logf.S: New file.
72868 * sysdeps/i386/i686/fpu/e_logl.S: New file.
72869
72870 * ctype/ctype.h: Add support for inlined isXXX functions when
72871 compiling C++ code.
72872
72873 2011-10-14 Andreas Schwab <schwab@redhat.com>
72874
72875 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72876
72877 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
72878
72879 2011-10-13 Roland McGrath <roland@hack.frob.com>
72880
72881 [BZ #13291]
72882 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
72883
72884 2011-10-13 Andreas Schwab <schwab@redhat.com>
72885
72886 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
72887 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
72888 feraiseexcept.
72889
72890 * sysdeps/x86_64/memrchr.S: Check for zero size.
72891
72892 * string/stratcliff.c: Add memrchr tests.
72893
72894 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72895
72896 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72897 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
72898 rawmemchr-sse2 rawmemchr-sse2-bsf.
72899 * sysdeps/i386/i686/multiarch/memchr.S: New file.
72900 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
72901 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
72902 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
72903 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
72904 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
72905 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
72906 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
72907 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
72908 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
72909 * string/memrchr.c (MEMRCHR): New macro.
72910
72911 2011-10-12 Ulrich Drepper <drepper@gmail.com>
72912
72913 Add integration with gcc's -ffinite-math-only and optimize wrapper
72914 functions in libm.
72915 * Versions.def: Define GLIBC_2.15 version for libm.
72916 * math/Makefile (headers): Add bits/math-finite.h.
72917 * math/bits/math-finite.h: New file.
72918 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
72919 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
72920 * math/e_acoshl.c: Add __*_finite alias.
72921 * math/e_acosl.c: Likewise.
72922 * math/e_asinl.c: Likewise.
72923 * math/e_atan2l.c: Likewise.
72924 * math/e_atanhl.c: Likewise.
72925 * math/e_coshl.c: Likewise.
72926 * math/e_exp10.c: Likewise.
72927 * math/e_exp10f.c: Likewise.
72928 * math/e_exp10l.c: Likewise.
72929 * math/e_exp2l.c: Likewise.
72930 * math/e_fmodl.c: Likewise.
72931 * math/e_gammal_r.c: Likewise.
72932 * math/e_hypotl.c: Likewise.
72933 * math/e_j0l.c: Likewise.
72934 * math/e_j1l.c: Likewise.
72935 * math/e_jnl.c: Likewise.
72936 * math/e_lgammal_r.c: Likewise.
72937 * math/e_log10l.c: Likewise.
72938 * math/e_log2l.c: Likewise.
72939 * math/e_logl.c: Likewise.
72940 * math/e_powl.c: Likewise.
72941 * math/e_sinhl.c: Likewise.
72942 * math/e_sqrtl.c: Likewise.
72943 * math/e_scalb.c: Completely rewritten and optimized.
72944 * math/e_scalbf.c: Likewise.
72945 * math/e_scalbl.c: Likewise.
72946 * math/w_acos.c: Likewise.
72947 * math/w_acosf.c: Likewise.
72948 * math/w_acosl.c: Likewise.
72949 * math/w_acosh.c: Likewise.
72950 * math/w_acoshf.c: Likewise.
72951 * math/w_acoshl.c: Likewise.
72952 * math/w_asin.c: Likewise.
72953 * math/w_asinf.c: Likewise.
72954 * math/w_asinl.c: Likewise.
72955 * math/w_atan2.c: Likewise.
72956 * math/w_atan2f.c: Likewise.
72957 * math/w_atan2l.c: Likewise.
72958 * math/w_atanh.c: Likewise.
72959 * math/w_atanhf.c: Likewise.
72960 * math/w_atanhl.c: Likewise.
72961 * math/w_exp10.c: Likewise.
72962 * math/w_exp10f.c: Likewise.
72963 * math/w_exp10l.c: Likewise.
72964 * math/w_fmod.c: Likewise.
72965 * math/w_fmodf.c: Likewise.
72966 * math/w_fmodl.c: Likewise.
72967 * math/w_j0.c: Likewise.
72968 * math/w_j0f.c: Likewise.
72969 * math/w_j0l.c: Likewise.
72970 * math/w_j1.c: Likewise.
72971 * math/w_j1f.c: Likewise.
72972 * math/w_j1l.c: Likewise.
72973 * math/w_jn.c: Likewise.
72974 * math/w_jnf.c: Likewise.
72975 * math/w_log.c: Likewise.
72976 * math/w_logf.c: Likewise.
72977 * math/w_logl.c: Likewise.
72978 * math/w_log10.c: Likewise.
72979 * math/w_log10f.c: Likewise.
72980 * math/w_log10l.c: Likewise.
72981 * math/w_log2.c: Likewise.
72982 * math/w_log2f.c: Likewise.
72983 * math/w_log2l.c: Likewise.
72984 * math/w_pow.c: Likewise.
72985 * math/w_powf.c: Likewise.
72986 * math/w_powl.c: Likewise.
72987 * math/w_remainder.c: Likewise.
72988 * math/w_remainderf.c: Likewise.
72989 * math/w_remainderl.c: Likewise.
72990 * math/w_scalb.c: Likewise.
72991 * math/w_scalbf.c: Likewise.
72992 * math/w_scalbl.c: Likewise.
72993 * math/w_sqrt.c: Likewise.
72994 * math/w_sqrtf.c: Likewise.
72995 * math/w_sqrtl.c: Likewise.
72996 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
72997 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
72998 used.
72999 * math/math_private.h: Declare __kernel_standard_f.
73000 * math/w_cosh.c: Remove cruft and optimize a bit.
73001 * math/w_coshf.c: Likewise.
73002 * math/w_coshl.c: Likewise.
73003 * math/w_exp2.c: Likewise.
73004 * math/w_exp2f.c: Likewise.
73005 * math/w_exp2l.c: Likewise.
73006 * math/w_hypot.c: Likewise.
73007 * math/w_hypotf.c: Likewise.
73008 * math/w_hypotl.c: Likewise.
73009 * math/w_lgamma.c: Likewise.
73010 * math/w_lgamma_r.c: Likewise.
73011 * math/w_lgammaf.c: Likewise.
73012 * math/w_lgammaf_r.c: Likewise.
73013 * math/w_lgammal.c: Likewise.
73014 * math/w_lgammal_r.c: Likewise.
73015 * math/w_sinh.c: Likewise.
73016 * math/w_sinhf.c: Likewise.
73017 * math/w_sinhl.c: Likewise.
73018 * math/w_tgamma.c: Likewise.
73019 * math/w_tgammaf.c: Likewise.
73020 * math/w_tgammal.c: Likewise.
73021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73023 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73024 Minor optimizations. Pretty printing. Remove cruft.
73025 * sysdeps/i386/fpu/e_acosf.S: Likewise.
73026 * sysdeps/i386/fpu/e_acosh.S: Likewise.
73027 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73028 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73029 * sysdeps/i386/fpu/e_acosl.c: Likewise.
73030 * sysdeps/i386/fpu/e_asin.S: Likewise.
73031 * sysdeps/i386/fpu/e_asinf.S: Likewise.
73032 * sysdeps/i386/fpu/e_atan2.S: Likewise.
73033 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73034 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
73036 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73037 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73038 * sysdeps/i386/fpu/e_exp10.S: Likewise.
73039 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73040 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73041 * sysdeps/i386/fpu/e_exp2.S: Likewise.
73042 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73043 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73044 * sysdeps/i386/fpu/e_fmod.S: Likewise.
73045 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73046 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73047 * sysdeps/i386/fpu/e_hypot.S: Likewise.
73048 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73049 * sysdeps/i386/fpu/e_log.S: Likewise.
73050 * sysdeps/i386/fpu/e_log10.S: Likewise.
73051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
73052 * sysdeps/i386/fpu/e_log10l.S: Likewise.
73053 * sysdeps/i386/fpu/e_log2.S: Likewise.
73054 * sysdeps/i386/fpu/e_log2f.S: Likewise.
73055 * sysdeps/i386/fpu/e_log2l.S: Likewise.
73056 * sysdeps/i386/fpu/e_logf.S: Likewise.
73057 * sysdeps/i386/fpu/e_logl.S: Likewise.
73058 * sysdeps/i386/fpu/e_pow.S: Likewise.
73059 * sysdeps/i386/fpu/e_powf.S: Likewise.
73060 * sysdeps/i386/fpu/e_powl.S: Likewise.
73061 * sysdeps/i386/fpu/e_remainder.S: Likewise.
73062 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73063 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73064 * sysdeps/i386/fpu/e_scalb.S: Likewise.
73065 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73066 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73067 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73068 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73069 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73070 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73071 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73072 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73073 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73074 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73075 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73076 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73077 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73079 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73080 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73081 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73082 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73083 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73084 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73085 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73086 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73087 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73088 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73090 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73091 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73092 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73093 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73094 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73095 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73096 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73097 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73098 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73099 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73100 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73101 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73104 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73105 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73106 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73107 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73108 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73109 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73110 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73111 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73112 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73113 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73114 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73115 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73116 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73117 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73118 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73119 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73120 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73121 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73122 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73123 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73124 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73125 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73126 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73127 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73128 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73129 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73130 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73132 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73134 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73137 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73138 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73140 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73141 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73142 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73143 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73144 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73145 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73146 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73151 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73152 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73153 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73154 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73155 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73156 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73157 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73158 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73159 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73160 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73163 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73164 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73165 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73166 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73167 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73168 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73169 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73170 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73171 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73172 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73173 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73175 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73176 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73177 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73178 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73180 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
73181 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73182 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73183 (__isnanf): Likewise.
73184 (__isinf_ns): Likewise.
73185 (__isinf_nsf): Likewise.
73186 (__finite): Likewise.
73187 (__finitef): Likewise.
73188 (__ieee754_sqrt): Define as macro.
73189 (__ieee754_sqrtf): Define as macro.
73190 (__ieee754_sqrtl): Define as macro.
73191 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73192 inlined copy.
73193 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73194 __FINITE_MATH_ONLY__ consistent.
73195 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73196
73197 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
73198
73199 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73200 of rawmemchr.
73201
73202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73203
73204 2011-10-09 Ulrich Drepper <drepper@gmail.com>
73205
73206 * po/ja.po: Update from translation team.
73207
73208 2011-10-08 Roland McGrath <roland@hack.frob.com>
73209
73210 * locale/programs/locarchive.c (prepare_address_space): New function.
73211 (create_archive, enlarge_archive, open_archive): Use it.
73212
73213 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73214 inside [SHARED], where it is used.
73215
73216 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73217
73218 * nss/getent.c (netgroup_keys): Remove unused variable.
73219 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73220
73221 2011-10-08 Ulrich Drepper <drepper@gmail.com>
73222
73223 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73224 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73227 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73228 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73229 * math/Makefile (libm-calls): Add s_isinf_ns.
73230 * math/divtc3.c: Use __isinf_nsl instead of isinf.
73231 * math/multc3.c: Likewise.
73232 * math/s_casin.c: Likewise.
73233 * math/s_casinf.c: Likewise.
73234 * math/s_casinl.c: Likewise.
73235 * math/s_ccos.c: Likewise.
73236 * math/s_ccosf.c: Likewise.
73237 * math/s_ccosl.c: Likewise.
73238 * math/s_ctan.c: Likewise.
73239 * math/s_ctanf.c: Likewise.
73240 * math/s_ctanh.c: Likewise.
73241 * math/s_ctanhf.c: Likewise.
73242 * math/s_ctanhl.c: Likewise.
73243 * math/s_ctanl.c: Likewise.
73244 * math/w_fmod.c: Likewise.
73245 * math/w_fmodf.c: Likewise.
73246 * math/w_fmodl.c: Likewise.
73247 * math/w_remainder.c: Likewise.
73248 * math/w_remainderf.c: Likewise.
73249 * math/w_remainderl.c: Likewise.
73250 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73251 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73252 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73254 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73255 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73256 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73257 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73258
73259 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73260 of the number.
73261 * stdio-common/printf_fphex.c: Likewise.
73262 * stdio-common/printf_size.c: Likewise.
73263
73264 * math/e_exp10.c: Include math_private.h using <...> not "...".
73265 * math/e_exp10f.c: Likewise.
73266 * math/e_exp10l.c: Likewise.
73267 * math/e_exp2l.c: Likewise.
73268 * math/e_j0l.c: Likewise.
73269 * math/e_j1l.c: Likewise.
73270 * math/e_jnl.c: Likewise.
73271 * math/e_lgammal_r.c: Likewise.
73272 * math/e_rem_pio2l.c: Likewise.
73273 * math/e_scalb.c: Likewise.
73274 * math/e_scalbf.c: Likewise.
73275 * math/e_scalbl.c: Likewise.
73276 * math/k_cosl.c: Likewise.
73277 * math/k_sinl.c: Likewise.
73278 * math/k_tanl.c: Likewise.
73279 * math/s_cacoshf.c: Likewise.
73280 * math/s_catan.c: Likewise.
73281 * math/s_catanf.c: Likewise.
73282 * math/s_catanh.c: Likewise.
73283 * math/s_catanhf.c: Likewise.
73284 * math/s_catanhl.c: Likewise.
73285 * math/s_catanl.c: Likewise.
73286 * math/s_ccosh.c: Likewise.
73287 * math/s_ccoshf.c: Likewise.
73288 * math/s_ccoshl.c: Likewise.
73289 * math/s_cexp.c: Likewise.
73290 * math/s_cexpf.c: Likewise.
73291 * math/s_cexpl.c: Likewise.
73292 * math/s_clog.c: Likewise.
73293 * math/s_clog10.c: Likewise.
73294 * math/s_clog10f.c: Likewise.
73295 * math/s_clog10l.c: Likewise.
73296 * math/s_clogf.c: Likewise.
73297 * math/s_clogl.c: Likewise.
73298 * math/s_csin.c: Likewise.
73299 * math/s_csinf.c: Likewise.
73300 * math/s_csinh.c: Likewise.
73301 * math/s_csinhf.c: Likewise.
73302 * math/s_csinhl.c: Likewise.
73303 * math/s_csinl.c: Likewise.
73304 * math/s_csqrt.c: Likewise.
73305 * math/s_csqrtf.c: Likewise.
73306 * math/s_csqrtl.c: Likewise.
73307 * math/s_ctan.c: Likewise.
73308 * math/s_ctanf.c: Likewise.
73309 * math/s_ctanh.c: Likewise.
73310 * math/s_ctanhf.c: Likewise.
73311 * math/s_ctanhl.c: Likewise.
73312 * math/s_ctanl.c: Likewise.
73313 * math/s_ldexp.c: Likewise.
73314 * math/s_ldexpf.c: Likewise.
73315 * math/s_ldexpl.c: Likewise.
73316 * math/s_significand.c: Likewise.
73317 * math/s_significandf.c: Likewise.
73318 * math/s_significandl.c: Likewise.
73319 * math/w_acos.c: Likewise.
73320 * math/w_acosf.c: Likewise.
73321 * math/w_acosh.c: Likewise.
73322 * math/w_acoshf.c: Likewise.
73323 * math/w_acoshl.c: Likewise.
73324 * math/w_acosl.c: Likewise.
73325 * math/w_asin.c: Likewise.
73326 * math/w_asinf.c: Likewise.
73327 * math/w_asinl.c: Likewise.
73328 * math/w_atan2.c: Likewise.
73329 * math/w_atan2f.c: Likewise.
73330 * math/w_atan2l.c: Likewise.
73331 * math/w_atanh.c: Likewise.
73332 * math/w_atanhf.c: Likewise.
73333 * math/w_atanhl.c: Likewise.
73334 * math/w_cosh.c: Likewise.
73335 * math/w_coshf.c: Likewise.
73336 * math/w_coshl.c: Likewise.
73337 * math/w_dremf.c: Likewise.
73338 * math/w_exp10.c: Likewise.
73339 * math/w_exp10f.c: Likewise.
73340 * math/w_exp10l.c: Likewise.
73341 * math/w_exp2.c: Likewise.
73342 * math/w_exp2f.c: Likewise.
73343 * math/w_fmod.c: Likewise.
73344 * math/w_fmodf.c: Likewise.
73345 * math/w_fmodl.c: Likewise.
73346 * math/w_hypot.c: Likewise.
73347 * math/w_hypotf.c: Likewise.
73348 * math/w_hypotl.c: Likewise.
73349 * math/w_j0.c: Likewise.
73350 * math/w_j0f.c: Likewise.
73351 * math/w_j0l.c: Likewise.
73352 * math/w_j1.c: Likewise.
73353 * math/w_j1f.c: Likewise.
73354 * math/w_j1l.c: Likewise.
73355 * math/w_jn.c: Likewise.
73356 * math/w_jnf.c: Likewise.
73357 * math/w_jnl.c: Likewise.
73358 * math/w_lgamma.c: Likewise.
73359 * math/w_lgamma_r.c: Likewise.
73360 * math/w_lgammaf.c: Likewise.
73361 * math/w_lgammaf_r.c: Likewise.
73362 * math/w_lgammal.c: Likewise.
73363 * math/w_lgammal_r.c: Likewise.
73364 * math/w_log.c: Likewise.
73365 * math/w_log10.c: Likewise.
73366 * math/w_log10f.c: Likewise.
73367 * math/w_log10l.c: Likewise.
73368 * math/w_log2.c: Likewise.
73369 * math/w_log2f.c: Likewise.
73370 * math/w_log2l.c: Likewise.
73371 * math/w_logf.c: Likewise.
73372 * math/w_logl.c: Likewise.
73373 * math/w_pow.c: Likewise.
73374 * math/w_powf.c: Likewise.
73375 * math/w_powl.c: Likewise.
73376 * math/w_remainder.c: Likewise.
73377 * math/w_remainderf.c: Likewise.
73378 * math/w_remainderl.c: Likewise.
73379 * math/w_scalb.c: Likewise.
73380 * math/w_scalbf.c: Likewise.
73381 * math/w_scalbl.c: Likewise.
73382 * math/w_sinh.c: Likewise.
73383 * math/w_sinhf.c: Likewise.
73384 * math/w_sinhl.c: Likewise.
73385 * math/w_sqrt.c: Likewise.
73386 * math/w_sqrtf.c: Likewise.
73387 * math/w_sqrtl.c: Likewise.
73388 * math/w_tgamma.c: Likewise.
73389 * math/w_tgammaf.c: Likewise.
73390 * math/w_tgammal.c: Likewise.
73391
73392 * po/ja.po: Update from translation team.
73393
73394 2011-09-29 Andreas Jaeger <aj@suse.de>
73395
73396 [BZ #13179]
73397 * sunrpc/netname.c (netname2host): Fix logic.
73398
73399 [BZ #6779]
73400 [BZ #6783]
73401 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73402 correctly.
73403 * math/w_remainder.c (__remainder): Likewise.
73404 * math/w_remainderf.c (__remainderf): Likewise.
73405 * math/libm-test.inc (remainder_test): Add test cases.
73406
73407 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73408
73409 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
73410 sdiv_qrnnd.
73411
73412 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73413
73414 * string/test-memcmp.c: Avoid unncessary #defines.
73415 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73416
73417 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73418
73419 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73420 Use new sse2 version for core i3 - i7 as it's faster
73421 than sse42 version.
73422 (bit_Prefer_PMINUB_for_stringop): New.
73423 * sysdeps/x86_64/rawmemchr.S: Update.
73424 Replace with faster SSE2 version.
73425 * sysdeps/x86_64/memrchr.S: New file.
73426 * sysdeps/x86_64/memchr.S: Update.
73427 Replace with faster SSE2 version.
73428
73429 2011-09-12 Marek Polacek <mpolacek@redhat.com>
73430
73431 * elf/dl-load.c (lose): Add cast to avoid warning.
73432
73433 2011-10-07 Ulrich Drepper <drepper@gmail.com>
73434
73435 * po/ca.po: Update from translation team.
73436
73437 * inet/getnetgrent_r.c: Hook up nscd.
73438 * nscd/Makefile (routines): Add nscd_netgroup.
73439 (nscd-modules): Add netgroupcache.
73440 (CFLAGS-netgroupcache.c): Define.
73441 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73442 (cache_search): Add const to second parameter.
73443 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
73444 INNETGR.
73445 (dbs): Add netgrdb entry.
73446 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
73447 (verify_persistent_db): Handle netgrdb.
73448 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
73449 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
73450 GETFDNETGR.
73451 (netgroup_response_header): Define.
73452 (innetgroup_response_header): Define.
73453 (datahead): Add netgroup_response_header and innetgroup_response_header
73454 elements.
73455 * nscd/nscd.conf: Add entries for netgroup cache.
73456 * nscd/nscd.h (dbtype): Add netgrdb.
73457 (_PATH_NSCD_NETGROUP_DB): Define.
73458 (netgroup_iov_disabled): Declare.
73459 (xmalloc, xcalloc, xrealloc): Move declarations here.
73460 (cache_search): Adjust prototype.
73461 Add netgroup-related prototypes.
73462 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
73463 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
73464 (__nscd_innetgr): Declare.
73465 * nscd/selinux.c (perms): Use access_vector_t as element type and
73466 add netgroup-related initializers.
73467 * nscd/netgroupcache.c: New file.
73468 * nscd/nscd_netgroup.c: New file.
73469 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
73470 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
73471 For four parameters use innetgr.
73472 * nss/nss_files/files-init.c: Add definition and callback for netgr.
73473 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
73474 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
73475 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
73476
73477 * nscd/connections.c (register_traced_file): Don't register file
73478 for disabled databases.
73479
73480 2011-10-06 Ulrich Drepper <drepper@gmail.com>
73481
73482 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
73483
73484 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
73485 from tree and freeing node.
73486
73487 2011-09-25 Jiri Olsa <jolsa@redhat.com>
73488
73489 * nss/nsswitch.c (__nss_database_lookup): Handle
73490 nss_parse_service_list out of memory case.
73491
73492 2011-09-15 Jiri Olsa <jolsa@redhat.com>
73493
73494 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
73495 out of memory case.
73496
73497 2011-10-04 Andreas Schwab <schwab@redhat.com>
73498
73499 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
73500 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
73501 pass it down.
73502 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
73503 elf_machine_rela, elf_machine_lazy_rel.
73504 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
73505 (ELF_DYNAMIC_DO_REL): Likewise.
73506 (ELF_DYNAMIC_DO_RELA): Likewise.
73507 (ELF_DYNAMIC_RELOCATE): Likewise.
73508 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
73509 to ELF_DYNAMIC_DO_REL.
73510 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
73511 (dl_main): In trace mode always set __RTLD_NOIFUNC.
73512 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
73513 elf_machine_rela.
73514 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
73515 skip_ifunc, don't call ifunc function if non-zero.
73516 (elf_machine_rela): Likewise.
73517 (elf_machine_lazy_rel): Likewise.
73518 (elf_machine_lazy_rela): Likewise.
73519 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
73520 (elf_machine_lazy_rel): Likewise.
73521 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
73522 Likewise.
73523 (elf_machine_lazy_rel): Likewise.
73524 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73525 Likewise.
73526 (elf_machine_lazy_rel): Likewise.
73527 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
73528 (elf_machine_lazy_rel): Likewise.
73529 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
73530 (elf_machine_lazy_rel): Likewise.
73531 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
73532 (elf_machine_lazy_rel): Likewise.
73533 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
73534 (elf_machine_lazy_rel): Likewise.
73535 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
73536 (elf_machine_lazy_rel): Likewise.
73537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
73538 (elf_machine_lazy_rel): Likewise.
73539
73540 2011-09-28 Ulrich Drepper <drepper@gmail.com>
73541
73542 * nss/nss_files/files-init.c (_nss_files_init): Use static
73543 initialization for all the *_traced_file variables.
73544
73545 2011-09-28 Andreas Schwab <schwab@redhat.com>
73546
73547 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73548
73549 2011-09-27 Roland McGrath <roland@hack.frob.com>
73550
73551 [BZ #13226]
73552 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
73553
73554 2011-09-27 Andreas Schwab <schwab@redhat.com>
73555
73556 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73557 Reread the line before reparsing it.
73558
73559 2011-09-26 Andreas Schwab <schwab@redhat.com>
73560
73561 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
73562
73563 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
73564 Maxim Kuvyrkov <maxim@codesourcery.com>
73565 Joseph Myers <joseph@codesourcery.com>
73566
73567 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
73568 if needed for __stack_chk_guard.
73569
73570 2011-09-19 Roland McGrath <roland@hack.frob.com>
73571
73572 * sysdeps/posix/spawni.c (script_execute): Always define it.
73573 It will be optimized away if unused.
73574 (maybe_script_execute): New function.
73575 (__spawni): Call it.
73576
73577 * Makerules: Don't include tls.make.
73578 (config-tls): Always set to thread.
73579 * tls.make.c: File removed.
73580
73581 2011-09-19 Mike Frysinger <vapier@gentoo.org>
73582
73583 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
73584 * config.make.in (CPPFLAGS-config): New substituted variable.
73585
73586 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73587
73588 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
73589
73590 [BZ #13192]
73591 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
73592 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
73593
73594 2011-09-15 Roland McGrath <roland@hack.frob.com>
73595
73596 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
73597 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
73598 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
73599 (CALL_FAIL): Likewise.
73600 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
73601 (CALL_FAIL): Macro removed.
73602 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
73603
73604 2011-09-15 Ulrich Drepper <drepper@gmail.com>
73605
73606 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
73607 for __FINITE_MATH_ONLY__ == 1.
73608
73609 2011-09-15 Andreas Schwab <schwab@redhat.com>
73610
73611 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
73612 __ieee754_sqrt instead of sqrt.
73613 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
73614 __ieee754_sqrtf instead of sqrtf.
73615 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
73616 __floorf instead of floorf.
73617 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
73618 __floorf, __truncf instead of floorf, truncf.
73619
73620 2011-09-14 Ulrich Drepper <drepper@gmail.com>
73621
73622 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
73623
73624 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
73625 __extern_always_inline.
73626 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
73627 32-bit.
73628
73629 2011-09-14 Andreas Schwab <schwab@redhat.com>
73630
73631 * elf/rtld.c (dl_main): Also relocate in dependency order when
73632 doing symbol dependency testing.
73633
73634 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
73635
73636 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
73637 Always define `refsym'.
73638
73639 2011-09-13 Andreas Schwab <schwab@redhat.com>
73640
73641 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
73642 (__FD_ELT): Renamed from __FDELT.
73643 * misc/bits/select2.h (__FD_ELT): Likewise.
73644 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
73645 __FD_MASK instead of __FDELT, __FDMASK.
73646 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73647 Likewise.
73648 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
73649 Likewise.
73650
73651 * elf/Makefile (gen-ldd): Fix pattern.
73652
73653 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
73654 (init_tls): Likewise.
73655
73656 2011-09-12 Ulrich Drepper <drepper@gmail.com>
73657
73658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
73659
73660 2011-09-12 Andreas Schwab <schwab@redhat.com>
73661
73662 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
73663 `struct cmsghdr *' instead of `void *'.
73664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
73665 Likewise.
73666
73667 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
73668
73669 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
73670 if non-absolute.
73671 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
73672 ldd_rewrite_script.
73673
73674 2011-09-11 Ulrich Drepper <drepper@gmail.com>
73675
73676 * configure.in: Remove --with-tls option.
73677 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
73678 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
73679 out in case it is missing.
73680 * sysdeps/ia64/elf/configure.in: Likewise.
73681 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
73682 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
73683 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
73684 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
73685 * sysdeps/sh/elf/configure.in: Likewise.
73686 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
73687 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73688 * sysdeps/x86_64/elf/configure.in: Likewise.
73689 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
73690 * sysdeps/mach/hurd/tls.h: Likewise.
73691
73692 [BZ #13067]
73693 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
73694
73695 [BZ #13090]
73696 * configure.in: Fix use of AC_INIT.
73697
73698 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
73699
73700 2011-09-10 Ulrich Drepper <drepper@gmail.com>
73701
73702 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
73703 __set_errno.
73704 * malloc/hooks.c: Likewise.
73705
73706 [BZ #11929]
73707 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
73708 variables statically.
73709 (narenas): Initialize.
73710 (list_lock): Initialize.
73711 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
73712 initializtion of main_arena and list_lock. Small cleanups.
73713 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
73714 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
73715 Add initializers to main_arena and mp_.
73716 (malloc_state): Remove pagesize member. Change all users to use
73717 GLRO(dl_pagesize).
73718
73719 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
73720 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
73721 is always initialized.
73722
73723 * malloc/malloc.c: Removed unused configurations and dead code.
73724 * malloc/arena.c: Likewise.
73725 * malloc/hooks.c: Likewise.
73726 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
73727
73728 * include/tls.h: Removed. USE___THREAD must always be defined.
73729 * bits/libc-tsd.h: Don't handle !USE___THREAD.
73730 * elf/dl-libc.c: Likewise.
73731 * elf/dl-tsd.c: Likewise.
73732 * include/errno.h: Likewise.
73733 * include/netdb.h: Likewise.
73734 * include/resolv.h: Likewise.
73735 * inet/herrno-loc.c: Likewise.
73736 * inet/herrno.c: Likewise.
73737 * malloc/arena.c: Likewise.
73738 * malloc/hooks.c: Likewise.
73739 * malloc/malloc.c: Likewise.
73740 * resolv/res-state.c: Likewise.
73741 * resolv/res_libc.c: Likewise.
73742 * sysdeps/i386/dl-machine.h: Likewise.
73743 * sysdeps/ia64/dl-machine.h: Likewise.
73744 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
73745 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
73746 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
73747 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
73748 * sysdeps/sh/dl-machine.h: Likewise.
73749 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73751 * sysdeps/unix/i386/sysdep.S: Likewise.
73752 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
73753 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
73754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
73755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
73756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
73757 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
73758 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
73759 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73760 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
73762 * sysdeps/unix/x86_64/sysdep.S: Likewise.
73763 * sysdeps/x86_64/dl-machine.h: Likewise.
73764 * tls.make.c: Likewise.
73765
73766 * configure.in: Remove --with-__thread option. Make tests for
73767 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
73768 tls_model attribute fail if no support is available. Remove
73769 USE_IN_LIBIO.
73770 * Makeconfig: Adjust for dropped configure option. All features are
73771 now mandatory.
73772 * Makerules: Likewise.
73773 * Versions.def: Likewise.
73774 * argp/argp-fmtstream.c: Likewise.
73775 * argp/argp-fmtstream.h: Likewise.
73776 * argp/argp-help.c: Likewise.
73777 * assert/assert.c: Likewise.
73778 * config.h.in: Likewise.
73779 * config.make.in: Likewise.
73780 * configure: Likewise.
73781 * configure.in: Likewise.
73782 * csu/Versions: Likewise.
73783 * csu/init.c: Likewise.
73784 * elf/tst-audit2.c: Likewise.
73785 * elf/tst-tls10.c: Likewise.
73786 * elf/tst-tls10.h: Likewise.
73787 * elf/tst-tls11.c: Likewise.
73788 * elf/tst-tls12.c: Likewise.
73789 * elf/tst-tls14.c: Likewise.
73790 * elf/tst-tlsmod11.c: Likewise.
73791 * elf/tst-tlsmod12.c: Likewise.
73792 * elf/tst-tlsmod13.c: Likewise.
73793 * elf/tst-tlsmod13a.c: Likewise.
73794 * elf/tst-tlsmod14a.c: Likewise.
73795 * elf/tst-tlsmod15b.c: Likewise.
73796 * elf/tst-tlsmod16a.c: Likewise.
73797 * elf/tst-tlsmod16b.c: Likewise.
73798 * elf/tst-tlsmod7.c: Likewise.
73799 * elf/tst-tlsmod8.c: Likewise.
73800 * elf/tst-tlsmod9.c: Likewise.
73801 * gmon/gmon.c: Likewise.
73802 * grp/fgetgrent_r.c: Likewise.
73803 * grp/putgrent.c: Likewise.
73804 * hurd/fopenport.c: Likewise.
73805 * include/libc-symbols.h: Likewise.
73806 * include/tls.h: Likewise.
73807 * intl/gettextP.h: Likewise.
73808 * intl/loadinfo.h: Likewise.
73809 * locale/global-locale.c: Likewise.
73810 * locale/localeinfo.h: Likewise.
73811 * mach/devstream.c: Likewise.
73812 * malloc/arena.c: Likewise.
73813 * malloc/set-freeres.c: Likewise.
73814 * misc/err.c: Likewise.
73815 * misc/getttyent.c: Likewise.
73816 * misc/mntent_r.c: Likewise.
73817 * posix/getopt.c: Likewise.
73818 * posix/wordexp.c: Likewise.
73819 * pwd/fgetpwent_r.c: Likewise.
73820 * resolv/Versions: Likewise.
73821 * resolv/res_hconf.c: Likewise.
73822 * shadow/fgetspent_r.c: Likewise.
73823 * shadow/putspent.c: Likewise.
73824 * stdio-common/printf_fphex.c: Likewise.
73825 * stdio-common/tmpfile.c: Likewise.
73826 * stdlib/abort.c: Likewise.
73827 * stdlib/fmtmsg.c: Likewise.
73828 * sunrpc/auth_unix.c: Likewise.
73829 * sunrpc/clnt_perr.c: Likewise.
73830 * sunrpc/clnt_tcp.c: Likewise.
73831 * sunrpc/clnt_udp.c: Likewise.
73832 * sunrpc/clnt_unix.c: Likewise.
73833 * sunrpc/openchild.c: Likewise.
73834 * sunrpc/svc_simple.c: Likewise.
73835 * sunrpc/svc_tcp.c: Likewise.
73836 * sunrpc/svc_udp.c: Likewise.
73837 * sunrpc/svc_unix.c: Likewise.
73838 * sunrpc/xdr.c: Likewise.
73839 * sunrpc/xdr_array.c: Likewise.
73840 * sunrpc/xdr_rec.c: Likewise.
73841 * sunrpc/xdr_ref.c: Likewise.
73842 * sunrpc/xdr_stdio.c: Likewise.
73843
73844 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73845
73846 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73847
73848 2011-07-03 Andreas Jaeger <aj@suse.de>
73849
73850 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
73851 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
73852 regenerate with gen-libm-tests.pl.
73853
73854 2010-05-12 Petr Baudis <pasky@suse.cz>
73855
73856 [BZ #11589]
73857 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
73858 around j0() zero points by switching to j1().
73859 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73861 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73863
73864 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73865
73866 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
73867 instead of 0.
73868 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
73869 instead of 0.
73870 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73871 Patch in part by Pavel Roskin <proski@gnu.org>.
73872
73873 [BZ #13138]
73874 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
73875 realloc.
73876 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
73877 Free memory block if necessary.
73878
73879 [BZ #12847]
73880 * libio/genops.c (INTDEF): For string streams the _lock pointer can
73881 be NULL. Don't lock in this case.
73882
73883 2011-09-09 Roland McGrath <roland@hack.frob.com>
73884
73885 * elf/elf.h (ELFOSABI_GNU): New macro.
73886 (ELFOSABI_LINUX): Define to that.
73887
73888 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
73889
73890 * string/strncat.c (strncat): Undef the symbol in case it has been
73891 defined in bits/string.h.
73892
73893 2011-09-09 Ulrich Drepper <drepper@gmail.com>
73894
73895 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
73896
73897 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
73898 link map.
73899
73900 2011-08-17 Andreas Jaeger <aj@suse.de>
73901
73902 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
73903
73904 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
73905 Ian Lance Taylor <iant@google.com>
73906
73907 * math/libm-test.inc (lround_test): New testcase.
73908 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
73909
73910 2011-09-08 Ulrich Drepper <drepper@gmail.com>
73911
73912 * Makefile: Remove support for automatic cvs check-ins.
73913 * Makerules: Likewise.
73914 * config.make.in: Likewise.
73915 * configure.in: Likewise.
73916 * intl/Makefile: Likewise.
73917 * locale/Makefile: Likewise.
73918 * po/Makefile: Likewise.
73919 * posix/Makefile: Likewise.
73920 * sysdeps/gnu/Makefile: Likewise.
73921 * sysdeps/mach/hurd/Makefile: Likewise.
73922 * sysdeps/sparc/sparc32/Makefile: Likewise.
73923
73924 [BZ #13118]
73925 * posix/Makefile (bug-regex32-ENV): Define.
73926 Patch by John Stanley <jpsinthemix@verizon.net>.
73927
73928 * misc/Makefile (headers): Add bits/select2.h.
73929 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
73930 * misc/bits/select2.h: New file.
73931 * include/bits/select2.h: New file.
73932 * debug/Makefile (routines): Add fdelt_chk.
73933 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
73934 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
73935 FD_ISSET.
73936 * debug/fdelt_chk.c: New file.
73937
73938 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
73939 * wcsmbs/test-wmemcmp.c: Likewise.
73940 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
73941 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
73942
73943 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73944
73945 * string/Makefile (strop-tests): Add memcmp.
73946 * string/test-wmemcmp.c: New file.
73947 * string/test-memcmp.c: Add wmemcmp support.
73948
73949 2011-09-08 Roland McGrath <roland@hack.frob.com>
73950
73951 [BZ #13153]
73952 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
73953 2011-07-19 change.
73954
73955 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
73956 garbage value in a __mach_port_mod_refs call in the cases of the
73957 task-self and thread-self ports.
73958
73959 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
73960
73961 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
73962
73963 2011-09-08 Andreas Schwab <schwab@redhat.com>
73964
73965 * elf/dl-load.c (lose): Check for non-null L.
73966
73967 2011-09-07 Ulrich Drepper <drepper@gmail.com>
73968
73969 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
73970
73971 * elf/dl-libc.c (dlerror_run): Pass back error code from
73972 dl_catch_error.
73973
73974 [BZ #13123]
73975 * elf/dl-load.c (lose): Free l_origin if it is valid.
73976
73977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
73978 names.
73979 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
73980 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
73981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
73982 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
73983 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
73984 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
73985
73986 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73987
73988 * sysdeps/powerpc/fpu/e_hypot.c: New file.
73989 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
73990 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
73991 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
73992 * sysdeps/powerpc/fpu/k_cosf.c: New file.
73993 * sysdeps/powerpc/fpu/k_sinf.c: New file.
73994 * sysdeps/powerpc/fpu/s_cosf.c: New file.
73995 * sysdeps/powerpc/fpu/s_sinf.c: New file.
73996 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
73997 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
73998
73999 2011-08-15 Alan Modra <amodra@gmail.com>
74000
74001 [BZ #13092]
74002 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74003 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74004 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
74005 ppc_mcount to static-only-routines.
74006 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74007 __mcount_internal.
74008 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74009 __mcount_internal with usual JUMPTARGET. Remove useless nop.
74010
74011 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
74012
74013 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74014 for finite and infinity parameters.
74015
74016 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
74017
74018 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74019 and add nop instructions for throughput optimization.
74020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74021
74022 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
74023
74024 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74025 aligned copy for power7 with vector-scalar instructions.
74026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74027
74028 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
74029
74030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74031 AVX check.
74032
74033 2011-09-07 Andreas Schwab <schwab@redhat.com>
74034
74035 [BZ #13144]
74036 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74037 last change.
74038
74039 2011-09-07 Ulrich Drepper <drepper@gmail.com>
74040
74041 * sysdeps/unix/sysv/linux/x86_64/init-first.c
74042 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74043 syscall wrapper around clock_gettime in __vdso_clock_gettime.
74044 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74045 clock_gettime.
74046
74047 2011-09-06 Ulrich Drepper <drepper@gmail.com>
74048
74049 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74050 Forgot to demangle the pointer.
74051
74052 * sysdeps/i386/sysdep.h: Define atom_text_section.
74053 * sysdeps/x86_64/sysdep.h: Likewise.
74054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74055 section with atom_text_section.
74056 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74058 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74060 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74061
74062 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74064 already be defined. Change to take two parameters and don't assign
74065 result to variable. Adjust all users.
74066 Define INTERNAL_GETTIME if not already defined.
74067 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74068 call.
74069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74070 HAVE_CLOCK_GETTIME_VSYSCALL.
74071 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74072
74073 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74074 gettimeofday vsyscall, just use time.
74075
74076 2011-09-06 Andreas Schwab <schwab@redhat.com>
74077
74078 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74079 <errno.h>.
74080
74081 2011-09-06 Ulrich Drepper <drepper@gmail.com>
74082
74083 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74084 syscall on x86-64.
74085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74086 syscall.
74087 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74088 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74089 syscall if possible.
74090
74091 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74092
74093 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74094 e_ident. Don't pass to find_mapsXX.
74095 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74096
74097 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74098
74099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74100 strchr-sse2-no-bsf strrchr-sse2-no-bsf
74101 * sysdeps/x86_64/multiarch/strchr.S: Update.
74102 Check bit_slow_BSF bit.
74103 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74104 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74105 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74106
74107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74108
74109 [BZ #13134]
74110 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74111 before glibc 2.15.
74112 (tryshell): Define.
74113 (__spawni): Change last parameter to be flag. Test
74114 SPAWN_XFLAGS_USE_PATH flag to use path or not.
74115 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74116 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74117 * posix/spawni.c: Likewise.
74118 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74119 * posix/spawnp.c: Likewise. Change normal version to use
74120 SPAWN_XFLAGS_USE_PATH.
74121 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74122 SPAWN_XFLAGS_TRY_SHELL.
74123
74124 [BZ #13150]
74125 * posix/glob.h: Remove gcc 1.x support.
74126
74127 [BZ #13068]
74128 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74129
74130 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74131
74132 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74133 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74134 strrchr-sse2-bsf
74135 * sysdeps/i386/i686/multiarch/strchr.S: New file.
74136 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74137 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74138 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74139 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74140 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74141
74142 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74143
74144 * sysdeps/x86_64/wcscmp.S: New file.
74145
74146 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74147 wcscmp-c wcscmp-sse2
74148 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74149 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74150 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74151 * wcsmbs/wcscmp.c: Allow renaming.
74152
74153 2011-09-05 David S. Miller <davem@davemloft.net>
74154
74155 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74156 stack slot, rather than the struct return pointer slot.
74157 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74158 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74160 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74161
74162 2011-09-05 Ulrich Drepper <drepper@gmail.com>
74163
74164 * po/ja.po: Update from translation team.
74165
74166 [BZ #13144]
74167 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74168 kernel in 64-bit binaries.
74169
74170 2011-09-01 David S. Miller <davem@davemloft.net>
74171
74172 * elf/elf.h (HWCAP_SPARC_*): Move to..
74173 * sysdeps/sparc/sysdep.h: this new file and add new values.
74174 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74175 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74176 _DL_HWCAP_COUNT to 24.
74177 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74178 entries.
74179 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74180 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74181 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74182 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74183 instead of magic constants.
74184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74185
74186 2011-08-31 David S. Miller <davem@davemloft.net>
74187
74188 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74190 Reimplement to do errno handling inline.
74191 (SYSCALL_ERROR_HANDLER): New macro.
74192 (__SYSCALL_STRING): Do not do errno handling in asm.
74193 (__CLONE_SYSCALL_STRING): Delete.
74194 (__INTERNAL_SYSCALL_STRING): Delete.
74195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74196 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74197 (PSEUDO): Reimplement to do errno handling inline.
74198 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74199 (SYSCALL_ERROR_HANDLER): New macro.
74200 (__SYSCALL_STRING): Do not do errno handling in asm.
74201 (__CLONE_SYSCALL_STRING): Delete.
74202 (__INTERNAL_SYSCALL_STRING): Delete.
74203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74204 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74205 i386.
74206 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74207 (inline_syscall*): Add 'err' argument.
74208 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74209 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74210 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74211 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74212
74213 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74214 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74215
74216 2011-08-30 Andreas Schwab <schwab@redhat.com>
74217
74218 * elf/rtld.c (dl_main): Relocate objects in dependency order.
74219
74220 2011-08-29 Jiri Olsa <jolsa@redhat.com>
74221
74222 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74223 directive.
74224
74225 2011-08-24 David S. Miller <davem@davemloft.net>
74226
74227 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74228
74229 2011-08-24 Andreas Schwab <schwab@redhat.com>
74230
74231 * elf/Makefile: Add rules to build and run unload8 test.
74232 * elf/unload8.c: New file.
74233 * elf/unload8mod1.c: New file.
74234 * elf/unload8mod1x.c: New file.
74235 * elf/unload8mod2.c: New file.
74236 * elf/unload8mod3.c: New file.
74237
74238 * elf/dl-close.c (_dl_close_worker): Reset private search list if
74239 it wasn't used.
74240
74241 2011-08-23 David S. Miller <davem@davemloft.net>
74242
74243 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74244 subtract stack bias.
74245 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74246 %sp not %fp in calculations.
74247 (_JMPBUF_UNWINDS_ADJ): Likewise.
74248
74249 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74250 (aio_suspend): Call it to force an exception region around the
74251 AIO_MISC_WAIT() invocation.
74252
74253 2011-08-23 Andreas Schwab <schwab@redhat.com>
74254
74255 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74256 backslash.
74257
74258 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
74259
74260 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74261 protection macro.
74262 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74263 and <dl-machine.h>.
74264 (Elf64_FuncDesc): Remove.
74265
74266 2011-08-22 David S. Miller <davem@davemloft.net>
74267
74268 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74269 sigaltstack check, add missing cfi directives.
74270 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74271 missing cfi directives, and sigaltstack handling.
74272
74273 2011-08-16 Andreas Schwab <schwab@redhat.com>
74274
74275 [BZ #11724]
74276 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74277 object is seen twice.
74278 * elf/dl-fini.c (_dl_sort_fini): Likewise.
74279
74280 * elf/Makefile (distribute): Add tst-initorder2.c.
74281 (tests): Add tst-initorder2.
74282 (modules-names): Add tst-initorder2a tst-initorder2b
74283 tst-initorder2c tst-initorder2d. Add rules to build them.
74284 ($(objpfx)tst-initorder2.out): New rule.
74285 * elf/tst-initorder2.c: New file.
74286 * elf/tst-initorder2.exp: New file.
74287
74288 2011-08-22 Andreas Schwab <schwab@redhat.com>
74289
74290 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74291
74292 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74293 dependencies back to end of function.
74294
74295 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74296 $(elfobjdir)/ld.so.
74297
74298 2011-08-21 Ulrich Drepper <drepper@gmail.com>
74299
74300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74301 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74302 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74303 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74304 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74305 of __vdso_gettimeofday.
74306 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74307 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
74308 attribute_hidden.
74309 (_libc_vdso_platform_setup): Remove initialization of
74310 __vdso_gettimeofday and __vdso_time.
74311
74312 2011-08-20 Ulrich Drepper <drepper@gmail.com>
74313
74314 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74315 and fgetc_unlocked.
74316 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74317 getc_unlocked.
74318
74319 * elf/dl-open.c (add_to_global): Report additions to the global scope
74320 for LD_DEBUG=scopes.
74321 (dl_open_worker): Also print scope of newly loaded dependencies.
74322 (_dl_show_scope): Indicate if there is no scope.
74323
74324 [BZ #13114]
74325 * stdio-common/Makefile (tests): Add bug24.
74326 * stdio-common/bug24.c: New file.
74327
74328 2011-08-19 Andreas Jaeger <aj@suse.de>
74329
74330 [BZ #13114]
74331 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74332 non-existant file when using close-on-exec mode.
74333
74334 2011-08-20 Ulrich Drepper <drepper@gmail.com>
74335
74336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74337 the very first instruction.
74338
74339 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74340 the CFI state in the end.
74341 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74342 inclusion of dl-trampoline.h.
74343 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74344
74345 2011-08-19 Andreas Schwab <schwab@redhat.com>
74346
74347 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74348 expectations for long double.
74349
74350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74351 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74352
74353 2011-08-14 David S. Miller <davem@davemloft.net>
74354
74355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74356 artificual limit depends upon the system page size.
74357
74358 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74359
74360 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74361 * resolv/Makefile: Define CFLAGS-libresolv.
74362
74363 2011-08-17 Andreas Schwab <schwab@redhat.com>
74364
74365 * nss/makedb.c (compute_tables): Make variables used in nested
74366 function static.
74367
74368 2011-08-17 Ulrich Drepper <drepper@gmail.com>
74369
74370 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74371 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74372 if buffer was too small.
74373
74374 * elf/pldd.c (main): Attach to all threads in the process.
74375 Rewrite /proc handling to use *at functions.
74376
74377 2011-08-16 Ulrich Drepper <drepper@gmail.com>
74378
74379 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74380 specifies first scope to show.
74381 (dl_open_worker): Update callers. Move printing scope of new
74382 object to before the relocation.
74383 * elf/rtld.c (dl_main): Update _dl_show_scope call.
74384 * sysdeps/generic/ldsodefs.h: Update declaration.
74385
74386 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74387 string for the scope number.
74388
74389 2011-08-14 Ulrich Drepper <drepper@gmail.com>
74390
74391 * nscd/servicescache.c (cache_addserv): Make sure written is always
74392 initialized.
74393
74394 2011-08-14 Roland McGrath <roland@hack.frob.com>
74395
74396 * sysdeps/i386/i486/bits/atomic.h
74397 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74398 statement expression, so as to suppress "set but not used" warning.
74399 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74400
74401 * string/strncat.c (STRNCAT): Use prototype definition.
74402
74403 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74404 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74405 -Iprograms here.
74406 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74407 (localedef-modules): Add localedef.
74408 (locale-modules): Add locale.
74409
74410 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74411 * elf/rtld.c (dl_main): Invert order of assignment in last change,
74412 to avoid a warning.
74413
74414 2011-08-14 David S. Miller <davem@davemloft.net>
74415
74416 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74417 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74418
74419 2011-08-13 Ulrich Drepper <drepper@gmail.com>
74420
74421 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74422 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74423 * elf/rtld.c (dl_main): Set l_name of vDSO.
74424 Call _dl_show_scope when DL_DEBUG_SCOPES.
74425 (process_dl_debug): Recognize scopes flag and also set it for all.
74426 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74427 Declare _dl_show_scope.
74428
74429 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74430 (do_dlopen): Pass caller_dlopen to dl_open.
74431 (__libc_dlopen_mode): Initialize caller_dlopen.
74432
74433 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74434 of libc. Make tolower call locale-independent. Optimize a bit by
74435 using isdigit instead of isalnum.
74436 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74437
74438 2011-08-12 Ulrich Drepper <drepper@gmail.com>
74439
74440 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74441 was a dependency or dynamically loaded.
74442
74443 2011-08-11 Ulrich Drepper <drepper@gmail.com>
74444
74445 * intl/l10nflist.c: Allow architecture-specific pop function.
74446 * sysdeps/x86_64/l10nflist.c: New file.
74447
74448 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
74449 classification.
74450
74451 2011-08-10 Andreas Schwab <schwab@redhat.com>
74452
74453 * include/dirent.h: Add libc_hidden_proto for scandirat and
74454 scandirat64. Don't declare __scandirat64.
74455 * dirent/scandirat.c: Add libc_hidden_def.
74456 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
74457 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
74458
74459 2011-08-10 David S. Miller <davem@davemloft.net>
74460
74461 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
74462 enum.
74463 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74464 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74465 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74466
74467 2011-08-09 Ulrich Drepper <drepper@gmail.com>
74468
74469 * Versions.def [libc]: Add GLIBC_2.15.
74470 * dirent/Makefile (routines): Add scandirat and scandirat64.
74471 * dirent/Versions [libc]: Export scandirat and scandirat64 for
74472 GLIBC_2.15.
74473 * dirent/dirent.h: Declare scandirat and scandirat64.
74474 * dirent/scandirat.c: New file.
74475 * dirent/scandirat64.c: New file.
74476 * sysdeps/wordsize-64/scandirat.c: New file.
74477 * sysdeps/wordsize-64/scandirat64.c: New file.
74478 * dirent/opendir.c: Define opendirat.
74479 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
74480 using scandirat.
74481 * dirent/scandir64.c: Adjust for scandir.c change.
74482 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
74483 __scandirat64, and __scandir_cancel_handler.
74484 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
74485 additional parameter and use openat instead of open (outside of ld.so).
74486 Add new __opendir as wrapper around __opendirat.
74487 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
74488 here without requiring old scandirat implementation.
74489
74490 2011-08-08 Ulrich Drepper <drepper@gmail.com>
74491
74492 * dirent/scandir.c (cancel_handler): Renamed to
74493 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
74494 defined. Adjust users.
74495 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
74496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
74497
74498 2011-08-04 Ulrich Drepper <drepper@gmail.com>
74499
74500 * string/test-string.h (IMPL): Use __STRING to expand name and then
74501 stringify it.
74502
74503 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
74504 of cleanups.
74505
74506 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74507
74508 * string/Makefile: Update.
74509 (strop-tests): Append strncat.
74510 * string/test-wcscmp.c: New file.
74511 New comprehensive test for wcscmp.
74512 * string/test-strcmp.c: Update.
74513 (WIDE): New define.
74514
74515 2011-07-22 Andreas Schwab <schwab@redhat.com>
74516
74517 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
74518 line.
74519
74520 2011-07-26 Andreas Schwab <schwab@redhat.com>
74521
74522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74523 encoding to ACE if AI_IDN.
74524
74525 2011-08-01 Jakub Jelinek <jakub@redhat.com>
74526
74527 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
74528 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
74529
74530 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74531
74532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
74533 Fix overflow bug in strncat.
74534 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
74535
74536 * string/test-strncat.c: Update.
74537 Add new tests for checking overflow bugs.
74538
74539 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74540
74541 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74542 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
74543 * sysdeps/i386/i686/multiarch/strcat.S: New file.
74544 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
74545 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
74546 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
74547 * sysdeps/i386/i686/multiarch/strncat.S: New file.
74548 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
74549 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
74550
74551 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
74552 (USE_AS_STRCAT): Define.
74553 Add strcat and strncat support.
74554 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74555
74556 2011-07-25 Andreas Schwab <schwab@redhat.com>
74557
74558 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
74559 __n bigger than INT_MAX+1.
74560 (__strncmp_g): Likewise.
74561
74562 2011-07-23 Ulrich Drepper <drepper@gmail.com>
74563
74564 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
74565 * libio/stido.h: Likewise.
74566
74567 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
74568 (AF_NFC): Define.
74569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
74570 (AF_NFC): Define.
74571
74572 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
74573 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
74574 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
74575 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
74576 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
74577
74578 [BZ #13021]
74579 * scripts/test-installation.pl: Don't expect libnss_test1 to be
74580 installed.
74581
74582 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
74583 typo.
74584 (_dl_x86_64_save_sse): Likewise.
74585
74586 2011-07-22 Ulrich Drepper <drepper@gmail.com>
74587
74588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
74589 OSXSAVE.
74590 (_dl_x86_64_save_sse): Likewise.
74591
74592 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
74593
74594 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
74595
74596 2011-07-21 Andreas Schwab <schwab@redhat.com>
74597
74598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
74599 change.
74600 (_dl_x86_64_save_sse): Use correct AVX check.
74601
74602 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
74603
74604 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
74605 bug in strncpy/strncat.
74606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
74607
74608 2011-07-21 Ulrich Drepper <drepper@gmail.com>
74609
74610 * string/tester.c (test_strcat): Add tests for different alignments
74611 of source and destination.
74612 (test_strncat): Likewise.
74613
74614 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74615
74616 [BZ #12852]
74617 * posix/glob.c (glob): Check passed in values before using them in
74618 expressions to avoid some overflows.
74619 (glob_in_dir): Likewise.
74620
74621 [BZ #13007]
74622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
74623 check for AVX enablement so that we don't crash with old kernels and
74624 new hardware.
74625 * elf/tst-audit4.c: Add same checks here.
74626 * elf/tst-audit6.c: Likewise.
74627
74628 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
74629
74630 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
74631
74632 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
74633
74634 2011-07-20 Ulrich Drepper <drepper@gmail.com>
74635
74636 * po/cs.po: Update from translation team.
74637 * po/bg.po: Likewise.
74638
74639 2011-07-12 Marek Polacek <mpolacek@redhat.com>
74640
74641 * misc/sys/cdefs.h: Add support for const attribute.
74642 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
74643 to gnu_dev_{major,minor,makedev} functions.
74644
74645 2011-07-20 Marek Polacek <mpolacek@redhat.com>
74646
74647 * intl/dcigettext.c (get_output_charset): Add missing bracket.
74648
74649 2011-07-20 Andreas Schwab <schwab@redhat.com>
74650
74651 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
74652 strlen results.
74653
74654 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
74655
74656 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
74657 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
74658 register in order to avoid conflicts with the soft frame pointer
74659 being held in r11 when necessary.
74660 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
74661 (INTERNAL_VSYSCALL_NCS): Likewise.
74662
74663 2011-07-14 Marek Polacek <mpolacek@redhat.com>
74664
74665 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
74666 * elf/dl-fini.c (_dl_fini): Adjust caller.
74667 * elf/dl-close.c (_dl_close_worker): Likewise.
74668 * sysdeps/generic/ldsodefs.h: Adjust declaration.
74669
74670 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74671
74672 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
74673 "aux_cache->nlibs < 0".
74674
74675 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
74676 in the reload-count case.
74677
74678 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
74679
74680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74681 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
74682 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
74683 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
74684 * sysdeps/x86_64/multiarch/strcat.S: New file.
74685 * sysdeps/x86_64/multiarch/strncat.S: New file.
74686 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
74687 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
74688 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
74689 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
74690 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
74691 (USE_AS_STRCAT): Define.
74692 Add strcat and strncat support.
74693 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
74695 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
74696 * string/strncat.c: Update.
74697 (USE_AS_STRNCAT): Define.
74698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74699 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
74700 and i7.
74701 * sysdeps/x86_64/multiarch/init-arch.h
74702 (bit_Prefer_PMINUB_for_stringop): New.
74703 (index_Prefer_PMINUB_for_stringop): Likewise.
74704 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
74705 bit_Prefer_PMINUB_for_stringop.
74706
74707 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74708
74709 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
74710 buffer64.
74711 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
74712 of casting of buffer.
74713 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
74714 buffer32 and buffer64.
74715 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
74716 writes instead of casting of buffer.
74717 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
74718 buffer32.
74719 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
74720 casting of buffer.
74721
74722 2011-07-19 Andreas Schwab <schwab@redhat.com>
74723
74724 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
74725
74726 2011-07-19 Ulrich Drepper <drepper@gmail.com>
74727
74728 * nscd/nscd.c (termination_handler): Don't do anything for a database
74729 if it has not yet been initialized.
74730
74731 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74732
74733 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74734
74735 2011-07-15 Marek Polacek <mpolacek@redhat.com>
74736
74737 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
74738
74739 2011-07-18 Ulrich Drepper <drepper@gmail.com>
74740
74741 * po/nl.po: Update from translation team.
74742 * po/sv.po: Likewise.
74743
74744 2011-07-16 Roland McGrath <roland@hack.frob.com>
74745
74746 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
74747 now disallowed by GCC.
74748
74749 * configure.in (use-default-link): Default to yes if a test -shared
74750 link meets our qualifications.
74751 * configure: Regenerated.
74752
74753 * config.make.in (output-format): New variable.
74754 * configure.in: Check for ld --print-output-format support.
74755 * configure: Regenerated.
74756 * Makerules ($(common-objpfx)format.lds)
74757 [$(output-format) != unknown]: Just use $(output-format),
74758 instead of the linker-script munging.
74759
74760 2011-07-14 Roland McGrath <roland@hack.frob.com>
74761
74762 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
74763 of $(common-objpfx)shlib.lds.
74764 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
74765
74766 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
74767 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
74768
74769 * configure.in (-z relro check): Adjust test code to add a large
74770 writable data section after it.
74771 * configure: Regenerated.
74772
74773 2011-07-11 Roland McGrath <roland@hack.frob.com>
74774
74775 * configure.in (-z relro check): Fix test code to make the variable
74776 truly const.
74777 * configure: Regenerated.
74778
74779 2011-07-11 Ulrich Drepper <drepper@gmail.com>
74780
74781 * nscd/nscd.h (struct traced_file): Define.
74782 (struct database_dyn): Remove inotify_descr, reset_res, and filename
74783 elements. Add traced_files.
74784 (inotify_fd): Declare.
74785 (register_traced_file): Declare.
74786 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
74787 (inotify_fd): Export.
74788 (resolv_conf_descr): Remove.
74789 (nscd_init): Move inotify descriptor creation to main.
74790 Don't register files for notification here.
74791 (register_traced_file): New function.
74792 (invalidate_cache): Don't use reset_res to determine whether to call
74793 res_init, go through the list of registered files.
74794 (main_loop_poll): The inotify descriptors are now stored in the
74795 structures for the traced files.
74796 (main_loop_epoll): Likewise.
74797 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
74798 to __nss_disable_nscd.
74799 * nscd/cache.c (prune_cache): There is no single inotify descriptor
74800 for a database anymore. Check the records for all the registered
74801 files instead.
74802 * nss/Makefile (libnss_files-routines): Add files-init.
74803 (libnss_db-routines): Add db-init.
74804 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
74805 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
74806 * nss/nss_db/db-init.c: New file.
74807 * nss/nss_files/files-init.c: New file.
74808 * nss/nsswitch.c (nss_load_library): New function. Broken out of
74809 __nss_lookup_function.
74810 (__nss_lookup_function): Call nss_load_library.
74811 (nss_load_all_libraries): New function.
74812 (__nss_disable_nscd): Take parameter with callback function for files
74813 to register. Set is_nscd. Load all the DSOs for the NSS modules
74814 used for the cached services.
74815 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
74816 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
74817 options for features to all the files in nscd.
74818
74819 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
74820
74821 2011-07-10 Roland McGrath <roland@hack.frob.com>
74822
74823 * csu/elf-init.c (__libc_csu_init): Comment typo.
74824
74825 2011-07-09 Ulrich Drepper <drepper@gmail.com>
74826
74827 * po/pl.po: Update from translation team.
74828 * po/ja.po: Likewise.
74829 * po/ru.po: Likewise.
74830 * po/ko.po: Likewise.
74831 * po/fr.po: Likewise.
74832
74833 2011-07-09 Roland McGrath <roland@hack.frob.com>
74834
74835 * configure.in (.ctors/.dtors header and trailer check):
74836 Use an empirical test on a built program.
74837 * configure: Regenerated.
74838
74839 * configure.in (-z relro check): Use an empirical test on a built DSO.
74840 Detect, but do not require, on ia64.
74841 * configure: Regenerated.
74842
74843 * configure.in (READELF): Find it with AC_CHECK_TOOL.
74844 Update tests that use readelf to use $READELF instead.
74845 * configure: Regenerated.
74846
74847 2011-07-08 Ulrich Drepper <drepper@gmail.com>
74848
74849 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
74850 if the result is not used.
74851
74852 2011-07-05 Andreas Jaeger <aj@suse.de>
74853
74854 [BZ#9696]
74855 * stdlib/tst-strtod.c: Add testcase.
74856
74857 2011-07-07 Ulrich Drepper <drepper@gmail.com>
74858
74859 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
74860 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
74861 The latter has a higher limit. Take additional parameter to pass to
74862 the new function.
74863 (__pathconf): Pass file to __statfs_link_max.
74864 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
74865 __statfs_link_max.
74866 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
74867 __statfs_link_max.
74868
74869 [BZ #12868]
74870 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
74871 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74872 Handle Lustre.
74873 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
74874 (__statfs_filesize_max): Likewise.
74875 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
74876
74877 2011-07-05 Andreas Jaeger <aj@suse.de>
74878
74879 * resolv/res_comp.c (dn_skipname): Remove unused variable.
74880
74881 2011-07-06 Marek Polacek <mpolacek@redhat.com>
74882
74883 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
74884 `status' variable.
74885 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
74886 Likewise.
74887
74888 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
74889
74890 * Makefile (strop-tests): Add strncat.
74891 * string/test-strncat.c: New file.
74892
74893 2011-06-30 Marek Polacek <mpolacek@redhat.com>
74894
74895 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
74896
74897 2011-06-21 Andreas Jaeger <aj@suse.de>
74898
74899 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
74900 Copy rule from iconvdata/Makefile.
74901
74902 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74903
74904 [BZ #12922]
74905 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
74906 but no long options are defined, just return 'W'.
74907
74908 2011-06-22 Marek Polacek <mpolacek@redhat.com>
74909
74910 [BZ #9696]
74911 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
74912
74913 2011-07-06 Ulrich Drepper <drepper@gmail.com>
74914
74915 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
74916 netgroups to read.
74917 (innetgr): Likewise.
74918
74919 2011-07-05 Roland McGrath <roland@hack.frob.com>
74920
74921 * config.make.in (install_root): Default to $(DESTDIR).
74922
74923 2011-07-05 Ulrich Drepper <drepper@gmail.com>
74924
74925 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
74926
74927 2011-07-02 Roland McGrath <roland@hack.frob.com>
74928
74929 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
74930
74931 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
74932 containing directory rather than embedding absolute directory names.
74933
74934 * scripts/check-local-headers.sh: Rewritten using awk.
74935 Match by word, not by line. Print error messages for matches.
74936 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
74937
74938 * Makerules [shlib-lds-flags empty]:
74939 ($(common-objpfx)libc_pic.opts): New target.
74940 ($(common-objpfx)libc_pic.os.clean): New target.
74941 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
74942
74943 * config.make.in (OBJCOPY): New variable.
74944 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
74945 * configure: Regenerated.
74946
74947 * config.make.in (use-default-link): New variable.
74948 * configure.in (use_default_link): Grok --with-default-link to set it.
74949 * configure: Regenerated.
74950 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
74951 (shlib-lds, shlib-lds-flags): Define to empty.
74952
74953 * Makerules (shlib-lds): New variable.
74954 (shlib-lds-flags): New variable.
74955 (build-shlib, build-moduile, build-module-asneeded): Use it.
74956 ($(common-objpfx)libc.so): Use $(shlib-lds).
74957 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
74958 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
74959
74960 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
74961 DT_FLAGS/DT_FLAGS_1 with zero flags.
74962
74963 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
74964 linker script munging.
74965
74966 2011-07-02 Ulrich Drepper <drepper@gmail.com>
74967
74968 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
74969 as 128-bit value.
74970 * crypt/sha512.c (sha512_process_block): Perform total addition using
74971 128-bit if possible.
74972 (__sha512_finish_ctx): Likewise.
74973 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
74974 as 64-bit value.
74975 * crypt/sha256.c (SWAP64): Define.
74976 (sha256_process_block): Perform total addition using 64-bit if
74977 possible.
74978 (__sha256_finish_ctx): Likewise.
74979
74980 2011-07-01 Ulrich Drepper <drepper@gmail.com>
74981
74982 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
74983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74984 * nscd/hstcache.c (cache_addhst): Likewise.
74985 * nscd/grpcache.c (cache_addgr): Likewise.
74986 * nscd/aicache.c (addhstaiX): Likewise.
74987 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
74988
74989 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
74990
74991 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
74992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
74993 * nscd/hstcache.c (cache_addhst): Likewise.
74994 * nscd/grpcache.c (cache_addgr): Likewise.
74995 * nscd/aicache.c (addhstaiX): Likewise.
74996
74997 2011-07-01 Andreas Schwab <schwab@redhat.com>
74998
74999 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75000 domain only when needed.
75001
75002 2011-06-30 Andreas Schwab <schwab@redhat.com>
75003
75004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75005 is always restored.
75006
75007 2011-06-29 Ulrich Drepper <drepper@gmail.com>
75008
75009 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75010 are re-adding the entry.
75011 * nscd/servicescache.c (cache_addserv): Likewise.
75012
75013 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
75014
75015 * sysdeps/generic/dl-irel.h: fix protection against multiple
75016 inclusions.
75017 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75018
75019 2011-06-28 Ulrich Drepper <drepper@gmail.com>
75020
75021 [BZ #12935]
75022 * malloc/memusage.sh: Fix quoting in message.
75023 * debug/xtrace.sh: Likewise.
75024
75025 * configure.in: Remove support for --experimental-malloc option, make
75026 it the default.
75027 * config.make.in: Likewise.
75028 * malloc/Makefile: Likewise.
75029
75030 2011-06-27 Andreas Schwab <schwab@redhat.com>
75031
75032 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75033 two-byte characters.
75034
75035 2011-06-27 Roland McGrath <roland@hack.frob.com>
75036
75037 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75038 AC_CACHE_CHECK invocation.
75039 * configure: Regenerated.
75040
75041 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75042
75043 2011-06-27 Ulrich Drepper <drepper@gmail.com>
75044
75045 [BZ #12350]
75046 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
75047 bit from old_res_options.
75048
75049 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75050
75051 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75052 value type for setfct.
75053
75054 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
75055
75056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75057 __gettimeofday instead of gettimeofday.
75058
75059 2011-06-26 Ulrich Drepper <drepper@gmail.com>
75060
75061 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75062
75063 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
75064
75065 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75066
75067 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75068 info.
75069
75070 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
75071
75072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75073 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75074 strcpy-sse2-unaligned strncpy-sse2-unaligned
75075 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75076 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75077 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75078 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75079 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75080 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75081 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75082 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75083 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75084 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75085 (STRCPY): Support SSE2 and SSSE3 versions.
75086
75087 2011-06-24 Ulrich Drepper <drepper@gmail.com>
75088
75089 [BZ #12874]
75090 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75091 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75092 kernels which artificially limit size of requests.
75093
75094 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
75095
75096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75097 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75098 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75099 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75100 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75101 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75102 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75103 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75106 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75107 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75108 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75109 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75110 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75111 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75112 Enable unaligned load optimization for Intel Core i3, i5 and i7
75113 processors.
75114 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75115 Define.
75116 (index_Fast_Unaligned_Load): Define.
75117 (HAS_FAST_UNALIGNED_LOAD): Define.
75118
75119 2011-06-23 Marek Polacek <mpolacek@redhat.com>
75120
75121 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75122
75123 2011-06-22 Ulrich Drepper <drepper@gmail.com>
75124
75125 [BZ #12907]
75126 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75127 until it is clear that the information is realy needed.
75128 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75129
75130 2011-06-22 Andreas Schwab <schwab@redhat.com>
75131
75132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75133
75134 2011-06-22 Ulrich Drepper <drepper@gmail.com>
75135
75136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75137 /sys/devices/system/cpu/online if it is usable.
75138
75139 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75140 reading the information from the /proc filesystem to once a second.
75141
75142 2011-06-21 Andreas Jaeger <aj@suse.de>
75143
75144 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75145 NULL after inclusion of kernel headers.
75146
75147 2011-06-21 Ulrich Drepper <drepper@gmail.com>
75148
75149 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75150 calls to internal_setent.
75151
75152 [BZ #12885]
75153 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75154 addresses using gethostbyname4_r ignore IPv4 addresses.
75155
75156 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75157 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
75158
75159 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75160
75161 2011-06-20 David S. Miller <davem@davemloft.net>
75162
75163 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75164 inclusions.
75165 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75166
75167 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75168 (elf_irel): Use it.
75169 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75170 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75171 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75172 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75173 * sysdeps/x86_64/dl-irel.h: Likewise.
75174
75175 * elf/dl-runtime.c: Use elf_ifunc_invoke.
75176 * elf/dl-sym.c: Likewise.
75177
75178 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75179
75180 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
75181 need to dereference resplen2.
75182
75183 2011-06-14 Andreas Schwab <schwab@redhat.com>
75184
75185 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75186
75187 2011-06-15 Ulrich Drepper <drepper@gmail.com>
75188
75189 * Makeconfig: Define vardbdir and inst_vardbdir.
75190 * nss/Makefile: Add rules to install db-Makefile.
75191
75192 * nss/nss_db/db-XXX.c: Cleanup.
75193
75194 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75195 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75196 GLIBC_PRIVATE.
75197 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75198 * nss/makedb.c: Implement -g option to specify that value strings
75199 are generated and should not be added to table iterated over for
75200 get*ent calls.
75201 * nss/nss_db/db-initgroups.c: New file.
75202
75203 * nss/getent.c: Add support for initgroups lookups through getgrouplist
75204 interface.
75205
75206 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75207 (internal_getgrouplist): Adjust to name change.
75208 Update use_initgroups_entry if this is not the first call.
75209 * nss/databases.def: Add initgroups entry.
75210
75211 * nss/makedb.c (compute_tables): Check result of multiple hash table
75212 sizes to minimize maximum chain length.
75213
75214 2011-06-14 Ulrich Drepper <drepper@gmail.com>
75215
75216 * Versions.def: Add entry for libnss_db.
75217 * shlib-versions: Likewise.
75218 * nss/Makefile: Add rules to build libnss_db.
75219 * nss/Versions: Add libnss_db information. Organize libnss_files
75220 entries better.
75221 * nss/db-Makefile: Add gshadow support. Change rules for the new
75222 makedb progra. Some minor improvements to generate smaller files.
75223 * nss/nss_db/nss_db.h: Move NSS database header data structures to
75224 here from...
75225 * nss/makedb.c: ...here.
75226 Improve database format to be smaller and require less memory at
75227 runtime.
75228 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
75229 db anymore.
75230 * nss/nss_db/db-netgrp.c: Likewise.
75231 * nss/nss_db/db-open.c: Likewise.
75232 * nss/nss_files/flies-XXX.x: Adjust comments.
75233 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75234 * nss/nss_files/files-grp.c: Likewise.
75235 * nss/nss_files/files-hosts.c: Likewise.
75236 * nss/nss_files/files-network.c: Likewise.
75237 * nss/nss_files/files-proto.c: Likewise.
75238 * nss/nss_files/files-pwd.c: Likewise.
75239 * nss/nss_files/files-rpc.c: Likewise.
75240 * nss/nss_files/files-service.c: Likewise.
75241 * nss/nss_files/files-sgrp.c: Likewise.
75242 * nss/nss_files/files-spwd.c: Likewise.
75243 * nss/nss_db/db-alias.c: Removed.
75244 * nss/nss_db/dummy-db.h: Removed.
75245
75246 2011-06-02 Ulrich Drepper <drepper@gmail.com>
75247
75248 * nss/makedb.c: Rewritten to not use database library.
75249 * nss/Makefile: Update to build new makedb program.
75250
75251 2011-06-14 Andreas Jaeger <aj@suse.de>
75252
75253 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75254 memset declaration.
75255
75256 2011-06-10 Andreas Schwab <schwab@redhat.com>
75257
75258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75259 tmpbuf.
75260
75261 2011-06-10 Roland McGrath <roland@hack.frob.com>
75262
75263 * Makerules (shlib.lds): Fail if the linker script comes out empty.
75264 * elf/Makefile ($(objpfx)ld.so): Likewise.
75265
75266 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75267 Don't list ld.so twice in dependencies.
75268
75269 * posix/bug-regex31.c: Include <stdlib.h>.
75270
75271 * nscd/hstcache.c (cache_addhst): Remove unused variable.
75272
75273 * nis/nss_compat/compat-spwd.c
75274 (getspent_next_nss_netgr): Remove unused variable.
75275 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75276
75277 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75278 nonmembers" output to use the right array.
75279
75280 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75281
75282 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75283
75284 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75285 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75286 * catgets/gencat.c (read_input_file): Likewise.
75287 * locale/programs/locarchive.c (enlarge_archive): Likewise.
75288
75289 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75290 variable definition inside #if's controlling its use.
75291
75292 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75293
75294 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75295
75296 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75297
75298 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75299 unreachable code.
75300
75301 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75302
75303 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75304 * configure: Regenerated.
75305
75306 * Makerules: Revert last change.
75307 * elf/Makefile: Likewise.
75308
75309 2011-06-09 Roland McGrath <roland@hack.frob.com>
75310
75311 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75312 * elf/Makefile ($(objpfx)librtld.os): Likewise.
75313 (reloc-link): Likewise.
75314
75315 2011-06-09 Ulrich Drepper <drepper@gmail.com>
75316
75317 * elf/Makefile: Add rules to build pldd.
75318 * elf/pldd.c: New file.
75319 * elf/pldd-xx.c: New file.
75320
75321 2011-06-07 Ulrich Drepper <drepper@gmail.com>
75322
75323 * version.h: Update for 2.15 development version.
75324
75325 2011-06-07 David S. Miller <davem@davemloft.net>
75326
75327 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75328 ifuncs.
75329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75330 elf_machine_lazy_rel): Likewise.
75331 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75332 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75333 elf_machine_lazy_rel): Likewise.
75334 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75335 dl_hwcap via passed in argument.
75336 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75337 Likewise.
75338
75339 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
75340
75341 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
75342
75343 2011-06-06 Roland McGrath <roland@hack.frob.com>
75344
75345 [BZ #12849]
75346 * manual/fdl-1.1.texi: New file, verbatim from:
75347 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75348 * manual/lgpl-2.1.texi: New file, verbatim from:
75349 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75350 * manual/Makefile (licenses): New variable, list those new file names.
75351 (texis): Use it.
75352 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75353
75354 * manual/fdl.texi: File removed.
75355 * manual/lesser.texi: File removed.
75356 * manual/libc.texinfo (Copying, Documentation License):
75357 Use new @include file names, put @appendix directive before @include.
75358
75359 2011-06-04 Jakub Jelinek <jakub@redhat.com>
75360
75361 [BZ #12841]
75362 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75363 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75364 (mq_open): Add __NTH.
75365
75366 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
75367
75368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75369 Assume Intel Core i3/i5/i7 processor if AVX is available.
75370
75371 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75372
75373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75374 typo.
75375
75376 2011-05-31 Andreas Schwab <schwab@redhat.com>
75377
75378 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75379 memory. Use alloca_account. Fix memory leak when retrying.
75380
75381 2011-05-31 Ulrich Drepper <drepper@gmail.com>
75382
75383 * version.h (RELEASE): Bump for 2.14 release.
75384 * include/features.h (__GLIBC_MINOR__): Bump to 14.
75385
75386 * config.make.in (RANLIB): Remove entry.
75387
75388 2011-05-30 Ulrich Drepper <drepper@gmail.com>
75389
75390 * po/Makefile (po-sed-cmd): Add ksh to extensions.
75391 (libc.pot): Work around missing support for .ksh extension in xgettext.
75392
75393 [BZ #12684]
75394 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75395 if both request failed.
75396 (send_dg): In case of server errors clear resplen or *resplen2.
75397
75398 [BZ #12454]
75399 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75400 when there are multiple maps.
75401 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75402 (_dl_fini): Remove test here.
75403
75404 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75405
75406 2011-05-29 Ulrich Drepper <drepper@gmail.com>
75407
75408 [BZ #12350]
75409 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75410 bit from old_res_options.
75411 (gaih_inet): Likewise.
75412
75413 [BZ #11099]
75414 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75415 as signed.
75416
75417 * resolv/res_init.c (res_setoptions): Make the code more compact.
75418
75419 [BZ #11558]
75420 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75421 set RES_USEVC.
75422
75423 [BZ #11634]
75424 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75425
75426 * malloc/malloc.h: Mark malloc hook variables as deprecated.
75427
75428 [BZ #11781]
75429 * malloc/malloc.h: Declare malloc hook variables as volatile.
75430
75431 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75432 in last patch.
75433
75434 [BZ #11799]
75435 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75436 raise in the comment.
75437 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75438 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75439 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75440
75441 2011-05-28 Ulrich Drepper <drepper@gmail.com>
75442
75443 [BZ #12811]
75444 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
75445 grow the buffers more if it already has to be sufficient.
75446 (build_wcs_upper_buffer): Likewise.
75447 * posix/regexec.c (check_matching): Likewise.
75448 (clean_state_log_if_needed): Likewise.
75449 (extend_buffers): Don't enlarge buffers beyond size of the input
75450 buffer.
75451 Patches mostly by Emil Wojak <emil@wojak.eu>.
75452 * posix/bug-regex32.c: New file.
75453 * posix/Makefile (tests): Add bug-regex32.
75454
75455 * locale/findlocale.c (_nl_find_locale): Return right away if
75456 _nl_explode_name failed.
75457 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
75458
75459 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
75460
75461 * debug/xtrace.sh: Unify messages.
75462 * malloc/memusage.sh: Likewise.
75463
75464 [BZ #12813]
75465 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
75466 time symbol from vDSO. Substitute with vsyscall if not available.
75467 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
75468 __vdso_time.
75469
75470 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
75471 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
75472 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
75473 Add sendmmsg and internal_sendmmsg.
75474 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
75475 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
75476 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
75477
75478 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
75479 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
75480 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
75481
75482 2011-05-27 Ulrich Drepper <drepper@gmail.com>
75483
75484 [BZ #12813]
75485 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
75486 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
75487 available.
75488 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
75489 __vdso_getcpu.
75490
75491 [BZ #12814]
75492 * iconvdata/Makefile (tests): Add bug-iconv9.
75493 * iconvdata/bug-iconv9.c: New file.
75494
75495 2011-05-27 Andreas Schwab <schwab@redhat.com>
75496
75497 [BZ #12814]
75498 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
75499
75500 2011-05-25 Jakub Jelinek <jakub@redhat.com>
75501
75502 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75503 (struct user_regs_struct): Change intcs field back to cs.
75504
75505 2011-05-25 Ulrich Drepper <drepper@gmail.com>
75506
75507 * po/ja.po: Update from translation team.
75508
75509 2011-05-23 Ulrich Drepper <drepper@gmail.com>
75510
75511 [BZ #12795]
75512 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
75513 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
75514
75515 2011-05-20 Andreas Schwab <schwab@redhat.com>
75516
75517 * stdlib/longlong.h: Update from GCC.
75518
75519 2011-05-23 Andreas Schwab <schwab@redhat.com>
75520
75521 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
75522 parameter name.
75523 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
75524 Add parameter name.
75525 (__sysconf): Pass it down.
75526
75527 2011-05-22 Ulrich Drepper <drepper@gmail.com>
75528
75529 [BZ #12671]
75530 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
75531 some situations.
75532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
75533 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
75534 add in in __libc_use_alloca calls. Adjust callers.
75535 (glob): Use malloc in some situations.
75536
75537 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
75538 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
75539 pltexit.
75540
75541 2011-05-21 Ulrich Drepper <drepper@gmail.com>
75542
75543 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
75544 and CLOCK_BOOTTIME_ALARM.
75545
75546 [BZ #12782]
75547 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
75548 is returned.
75549
75550 * string/_strerror.c (__strerror_r): Print negative errors as signed
75551 numbers.
75552
75553 [BZ #12777]
75554 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
75555 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
75556 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
75557
75558 * configure.in: Fix typo in redirection and correct removal of test
75559 files in two cases.
75560
75561 [BZ #12788]
75562 * locale/setlocale.c (new_composite_name): Fix test to check for
75563 identical name of all categories.
75564
75565 [BZ #12792]
75566 * libio/filedoalloc.c (local_isatty): New function.
75567 (_IO_file_doallocate): Use local_isatty.
75568 * stdio-common/perror.c (perror): In case a new stream is used
75569 forward the stream error.
75570 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
75571 error flag.
75572
75573 2011-05-20 Ulrich Drepper <drepper@gmail.com>
75574
75575 [BZ #11884]
75576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
75577 alloca.
75578 * include/alloca.h (extend_alloca_account): Define.
75579
75580 [BZ #11857]
75581 * posix/regex.h: Fix comments with documentation of user-accessible
75582 fields after compilation and describe correct free'ing of pattern
75583 after re_compile_pattern.
75584 Patch by Reuben Thomas <rrt@sc3d.org>.
75585
75586 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
75587
75588 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
75589 and -mno-altivec to prevent the compiler from using Altivec and/or
75590 VSX instructions when the corresponding registers are not available.
75591
75592 2011-05-19 Andreas Schwab <schwab@redhat.com>
75593
75594 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
75595
75596 2011-05-19 Ulrich Drepper <drepper@gmail.com>
75597
75598 * libio/freopen.c (freopen): Use __dup2, not dup2.
75599 * libio/freopen64.c (freopen64): Likewise.
75600
75601 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
75602
75603 [BZ #12775]
75604 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
75605 * math/Makefile (tests): Add test-powl.
75606 (CFLAGS-test-powl.c): Define.
75607 * math/test-powl.c: New file.
75608
75609 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
75610
75611 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
75612
75613 2011-05-17 Ulrich Drepper <drepper@gmail.com>
75614
75615 [BZ #11837]
75616 * iconvdata/gb18030.c: Update to GB18020-2005.
75617
75618 2011-05-16 Ulrich Drepper <drepper@gmail.com>
75619
75620 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
75621 RE_SYNTAX_POSIX_AWK): Update to match recent development.
75622 Patch by Aharon Robbins <arnold@skeeve.com>.
75623
75624 [BZ #11892]
75625 * stdlib/putenv.c (putenv): Don't always create copy of the variable
75626 on the stack.
75627
75628 [BZ #11895]
75629 * misc/pselect.c (__pselect): Handle timeout value errors hidden
75630 through underflows.
75631
75632 [BZ #12766]
75633 * misc/error.c (error_at_line): Ensure file_name and old_file_name
75634 point to strings before performing equality test for error_one_per_line
75635 mode.
75636
75637 [BZ #11697]
75638 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
75639
75640 [BZ #11820]
75641 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
75642 (struct user_fpregs_struct): Avoid __uint*_t types.
75643
75644 [BZ #6420]
75645 * malloc/mtrace.c (tr_where): Add additional parameter to point to
75646 symbol info. Use it instead of calling _dl_addr locally.
75647 (lock_and_info): New function.
75648 (tr_freehook): Call lock_and_info and pass symbol info as additional
75649 parameter to tr_where.
75650 (tr_mallochook): Likewise.
75651 (tr_reallochook): Likewise.
75652 (tr_memalignhook): Likewise.
75653
75654 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
75655 used and couldn't be at all thread-safe.
75656
75657 2011-05-15 Ulrich Drepper <drepper@gmail.com>
75658
75659 * libio/freopen.c (freopen): Don't close old file descriptor
75660 before the new one is opened. Instead dup the new file descriptor
75661 to the old one after the new stream is created.
75662 * libio/freopen64.c (freopen64): Likewise.
75663 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
75664 * libio/fileops.c (_IO_new_file_close_it): Handle new
75665 _IO_FLAGS2_NOCLOSE flag.
75666 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
75667 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
75668 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
75669 _IO_FLAGS2_NOCLOSE flag.
75670 * include/unistd.h: Add hidden_proto for dup3.
75671 Define __have_dup3.
75672 * io/dup3.c: Define hidden symbol.
75673 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
75674
75675 [BZ #7101]
75676 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
75677 when an incomplete long option is used.
75678 * posix/tst-getopt_long1.c: New file.
75679 * posix/Makefile (tests): Add tst-getopt_long1.
75680
75681 [BZ #10138]
75682 * scripts/config.guess: Update from autoconf-2.68.
75683 * scripts/config.sub: Likewise.
75684
75685 [BZ #10157]
75686 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
75687 tests into ...
75688 (has_cpuclock): ...this. New function.
75689 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
75690 macro here based on has_cpuclock code.
75691
75692 [BZ #10149]
75693 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75694 First byte (not low byte) is now always NUL.
75695 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
75696
75697 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75698 Use non-cancelable interfaces.
75699
75700 [BZ #9809]
75701 * locale/iso-639.def: Add entry for Sorani.
75702
75703 [BZ #11901]
75704 * include/stdlib.h: Move include protection to the right place.
75705 Define abort_msg_s. Declare __abort_msg with it.
75706 * stdlib/abort.c (__abort_msg): Adjust type.
75707 * assert/assert.c (__assert_fail_base): New function. Majority
75708 of code from __assert_fail. Allocate memory for __abort_msg with
75709 mmap.
75710 (__assert_fail): Now call __assert_fail_base.
75711 * assert/assert-perr.c: Remove bulk of implementation. Use
75712 __assert_fail_base.
75713 * include/assert.hL Declare __assert_fail_base.
75714 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
75715 mmap.
75716 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
75717
75718 2011-05-14 Ulrich Drepper <drepper@gmail.com>
75719
75720 [BZ #11952]
75721 [BZ #12453]
75722 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
75723 until all modules are registered in the DTV.
75724 * elf/Makefile: Add rules to build and run tst-tls19.
75725 * elf/tst-tls19.c: New file.
75726 * elf/tst-tls19mod1.c: New file.
75727 * elf/tst-tls19mod2.c: New file.
75728 * elf/tst-tls19mod3.c: New file.
75729 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
75730
75731 [BZ #12083]
75732 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
75733 correctly.
75734
75735 [BZ #12601]
75736 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
75737 two-byte sequence errors.
75738 * iconvdata/Makefile (tests): Add bug-iconv8.
75739 * iconvdata/bug-iconv8.c: New file.
75740
75741 [BZ #12626]
75742 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
75743 buf2 definition.
75744
75745 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
75746
75747 [BZ #12432]
75748 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
75749 (dummy_getcfa): New function.
75750 (init): Get _Unwind_GetCFA address, use dummy if not found.
75751 (backtrace_helper): In recursion check, also check whether CFA changes.
75752 (__backtrace): Completely initialize arg.
75753
75754 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
75755 storing incomplete byte sequence in state object. Avoid testing for
75756 guaranteed too small input if we know there is enough data available.
75757
75758 2011-05-11 Andreas Schwab <schwab@redhat.com>
75759
75760 * Makeconfig (+link-pie): Indent.
75761 * Rules (binaries-pie): Define if $(have-fpie) and
75762 $(build-shared).
75763 (binaries-shared): Also filter out $(binaries-pie).
75764 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
75765 * nscd/Makefile (others-pie): Add nscd.
75766 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
75767 ($(objpfx)nscd): Remove command override.
75768 * login/Makefile (others-pie): Add pt_chown.
75769 ($(objpfx)pt_chown): Remove command override.
75770 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
75771 remove command overrides.
75772
75773 2011-05-13 Ulrich Drepper <drepper@gmail.com>
75774
75775 * libio/tst_putwc.c: Fix error messages.
75776
75777 [BZ #12724]
75778 * libio/fileops.c (_IO_new_file_close_it): Always flush when
75779 currently writing and seek to current position when not.
75780 * libio/Makefile (tests): Add bug-fclose1.
75781 * libio/bug-fclose1.c: New file.
75782
75783 2011-05-12 Ulrich Drepper <drepper@gmail.com>
75784
75785 [BZ #12511]
75786 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
75787 don't set DF_1_NODELETE here.
75788 (do_lookup_x): When entering new entry test for copy relocation
75789 and if necessary set DF_1_NODELETE flag.
75790 * elf/tst-unique4.cc: New file.
75791 * elf/tst-unique4.h: New file.
75792 * elf/tst-unique4lib.cc: New file.
75793 * elf/Makefile: Add rules to build and run tst-unique4.
75794 Patch by Piotr Bury <pbury@goahead.com>.
75795
75796 2011-05-11 Ulrich Drepper <drepper@gmail.com>
75797
75798 [BZ #12052]
75799 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
75800
75801 [BZ #12625]
75802 * misc/mntent_r.c (addmntent): Flush the stream after the output
75803
75804 [BZ #12393]
75805 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
75806 (is_trusted_path_normalize): Skip initial colon. Append slash
75807 to empty buffer. Duplicate is_trusted_path code but allow
75808 constructed patch to be prefix.
75809 (is_dst): Allow $ORIGIN followed by /.
75810 (_dl_dst_substitute): Correct clearing of check_for_trusted.
75811 Correct testing of result of is_trusted_path_normalize
75812 (decompose_rpath): Fix warning.
75813
75814 2011-05-10 Ulrich Drepper <drepper@gmail.com>
75815
75816 [BZ #11257]
75817 * grp/initgroups.c (internal_getgrouplist): When we found the service
75818 list through the initgroups entry in nsswitch.conf do not always
75819 continue on a successful lookup. Don't always use the
75820 __nss_group_database value if it is set.
75821 * nss/nsswitch.conf (initgroups): Change action for successful db
75822 lookup to continue for compatibility.
75823
75824 2011-05-09 Ulrich Drepper <drepper@gmail.com>
75825
75826 [BZ #11532]
75827 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
75828 and CP774 modules.
75829 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
75830 and CP774 modules.
75831 * iconvdata/tst-tables.sh: Likewise.
75832 * iconvdata/cp770.c: New file.
75833 * iconvdata/cp771.c: New file.
75834 * iconvdata/cp772.c: New file.
75835 * iconvdata/cp773.c: New file.
75836 * iconvdata/cp774.c: New file.
75837 * iconvdata/testdata/CP770: New file.
75838 * iconvdata/testdata/CP770..UTF8: New file.
75839 * iconvdata/testdata/CP771: New file.
75840 * iconvdata/testdata/CP771..UTF8: New file.
75841 * iconvdata/testdata/CP772: New file.
75842 * iconvdata/testdata/CP772..UTF8: New file.
75843 * iconvdata/testdata/CP773: New file.
75844 * iconvdata/testdata/CP773..UTF8: New file.
75845 * iconvdata/testdata/CP774: New file.
75846 * iconvdata/testdata/CP774..UTF8: New file.
75847
75848 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
75849 END CHARMAP line.
75850 * iconvdata/gen-8bit-gap.sh: Likewise.
75851 * iconvdata/gen-8bit.sh: Likewise.
75852
75853 * locale/iso-639.def: Add ary entry.
75854
75855 [BZ #11258]
75856 * locale/C-translit.h.in: Add U20A1 transliteration.
75857
75858 [BZ #12178]
75859 * locale/iso-639.def: Add wae entry.
75860 Patch by Kevin Bortis <bortis@translate-wae.ch>.
75861
75862 [BZ #12545]
75863 * locale/programs/localedef.c (construct_output_path): Use ssize_t
75864 for n.
75865
75866 [BZ #12711]
75867 * locale/C-translit.h.in: Add entry for U20B9.
75868 Patch by pravin.d.s@gmail.com.
75869
75870 2011-05-08 Ulrich Drepper <drepper@gmail.com>
75871
75872 [BZ #12713]
75873 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
75874 ENAMETOOLONG use generic getcwd.
75875 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
75876 in rtld. Use *stat64.
75877 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
75878 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
75879 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
75880 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
75881 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
75882 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
75883 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
75884 __fstatat64 macros.
75885 * include/dirent.h: Add libc_hidden_proto for rewinddir.
75886 * dirent/rewinddir.c: Add libc_hidden_def.
75887 * sysdeps/mach/hurd/rewinddir.c: Likewise.
75888 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
75889
75890 * include/dirent.h (__alloc_dir): Add flags parameter.
75891 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
75892 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
75893 __alloc_dir.
75894 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
75895 from fdopendir if O_CLOEXEC is already set.
75896
75897 2011-03-15 Alan Modra <amodra@gmail.com>
75898
75899 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
75900 l_tls_firstbyte_offset non-zero. Save padding offset in
75901 l_tls_firstbyte_offset for later use.
75902 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
75903 freeing static tls block.
75904
75905 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
75906
75907 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
75908 where #ifdef was intended. The intent is to prevent ARG_MAX from
75909 being defined by the kernel headers.
75910
75911 2011-05-07 Ulrich Drepper <drepper@gmail.com>
75912
75913 [BZ #12734]
75914 * resolv/resolv.h: Define RES_NOTLDQUERY.
75915 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
75916 no-tld-query and set RES_NOTLDQUERY.
75917 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
75918 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
75919 modern BIND to search name as TLD unless forbidden.
75920
75921 2011-05-07 Petr Baudis <pasky@suse.cz>
75922 Ulrich Drepper <drepper@gmail.com>
75923
75924 [BZ #12393]
75925 * elf/dl-load.c (fillin_rpath): Move trusted path check...
75926 (is_trusted_path): ...to here.
75927 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
75928 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
75929 using is_trusted_path_normalize() in setuid scripts.
75930
75931 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
75932
75933 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
75934 __BEGIN/__END_DECLS.
75935
75936 2011-05-06 Ulrich Drepper <drepper@gmail.com>
75937
75938 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
75939 NSS_STATUS_NOTFOUND if no record was found.
75940
75941 2011-05-05 Andreas Schwab <schwab@redhat.com>
75942
75943 * sunrpc/Makefile (headers): Add rpc/netdb.h.
75944 (headers-not-in-tirpc): Remove rpc/netdb.h
75945 * resolv/netdb.h: Revert last change.
75946
75947 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
75948
75949 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
75950 circular dependency between libgcc.a and libc.a.
75951
75952 2011-05-05 Andreas Schwab <schwab@redhat.com>
75953
75954 * resolv/netdb.h: Don't include <rpc/netdb.h>.
75955 * nis/Makefile: Don't install rpcsvc/*.
75956 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
75957 instead of <rpc/types.h>.
75958 (MAXHOSTNAMELEN): Define.
75959
75960 2011-05-03 Andreas Schwab <schwab@redhat.com>
75961
75962 * elf/ldconfig.c (add_dir): Don't crash on empty path.
75963
75964 2011-04-28 Maciej Babinski <mbabinski@google.com>
75965
75966 [BZ #12714]
75967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
75968 gethostbyname4_r when IPv6 results are possible.
75969
75970 2011-05-02 Ulrich Drepper <drepper@gmail.com>
75971
75972 [BZ #12723]
75973 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
75974 _PC_PIPE_BUF handling.
75975
75976 2011-04-30 Bruno Haible <bruno@clisp.org>
75977
75978 [BZ #12717]
75979 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
75980 * resolv/netdb.h (getnameinfo): Change type of flags parameter
75981 to 'int'.
75982 * inet/getnameinfo.c (getnameinfo): Likewise.
75983
75984 2011-04-29 Ulrich Drepper <drepper@gmail.com>
75985
75986 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
75987 to groups setting in database lookup.
75988 * nss/nsswitch.conf: Add initgroups entry.
75989
75990 2011-04-22 Ulrich Drepper <drepper@gmail.com>
75991
75992 [BZ #12685]
75993 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
75994 mode string.
75995 Patch by Eric Blake <eblake@redhat.com>.
75996
75997 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
75998
75999 * sunrpc/Makefile (need-export-routines): Add svc_run.
76000 (routines): Remove svc_run.
76001 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76002 * sunrpc/clnt_perr.c (clnt_perrno): Export.
76003 * sunrpc/svc_run.c (svc_run): Likewise.
76004 * sunrpc/svc_udp.c (svcudp_create): Likewise.
76005
76006 2011-04-21 Ulrich Drepper <drepper@gmail.com>
76007
76008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76009 problem in reallocation in last patch.
76010
76011 2011-04-20 Ulrich Drepper <drepper@gmail.com>
76012
76013 * sunrpc/Makefile: Move inclusion of Rules.
76014
76015 2011-04-19 Ulrich Drepper <drepper@gmail.com>
76016
76017 * nss/nss_files/files-initgroups.c: New file.
76018 * nss/Makefile (libnss_files-routines): Add files-initgroups.
76019 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76020 _nss_files_initgroups_dyn.
76021
76022 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
76023
76024 * elf/elf.h (R_ARM_IRELATIVE): Define.
76025
76026 2011-04-19 Ulrich Drepper <drepper@gmail.com>
76027
76028 * po/ru.po: Update from translation team.
76029
76030 2011-04-17 Ulrich Drepper <drepper@gmail.com>
76031
76032 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76033 dependencies.
76034
76035 2011-02-06 Mike Frysinger <vapier@gentoo.org>
76036
76037 [BZ #12653]
76038 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76039 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76040 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76041 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76042 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76043
76044 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
76045
76046 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76047 differing bytes.
76048 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76049 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76050 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76051
76052 2011-04-17 Ulrich Drepper <drepper@gmail.com>
76053
76054 [BZ #12420]
76055 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76056 storing it.
76057 * stdlib/bug-getcontext.c: New file.
76058 * stdlib/Makefile: Add rules to build and run bug-getcontext.
76059
76060 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76061
76062 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76063 instructions into .machine "z9-109".
76064 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76065 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76066
76067 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
76068
76069 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76070 between environment variables and auxiliary vector.
76071
76072 2011-04-16 Ulrich Drepper <drepper@gmail.com>
76073
76074 * Makefile: Add rules to build linkobj/libc.so.
76075 * include/libc-symbols.h: Define libc_hidden_nolink.
76076 * include/rpc/auth.h: Mark functions which are to be hidden.
76077 * include/rpc/auth_des.h: Likewise.
76078 * include/rpc/auth_unix.h: Likewise.
76079 * include/rpc/clnt.h: Likewise.
76080 * include/rpc/des_crypt.h: Likewise.
76081 * include/rpc/key_prot.h: Likewise.
76082 * include/rpc/pmap_clnt.h: Likewise.
76083 * include/rpc/pmap_prot.h: Likewise.
76084 * include/rpc/pmap_rmt.h: Likewise.
76085 * include/rpc/rpc_msg.h: Likewise.
76086 * include/rpc/svc.h: Likewise.
76087 * include/rpc/svc_auth.h: Likewise.
76088 * include/rpc/xdr.h: Likewise.
76089 * nis/Makefile: Link all DSOs against linkobj/libc.so.
76090 * nss/Makefile: Likewise.
76091 * sunrpc/Makefile: Don't install headers. Build library with normal
76092 entry points. Don't build rpcinfo. Link RPC tests appropriately.
76093 * sunrpc/auth_des.c: Hide exported symbols by default, export some
76094 for the compat linking library. Remove use of INTDEF/INTUSE.
76095 * sunrpc/auth_none.c: Likewise.
76096 * sunrpc/auth_unix.c: Likewise.
76097 * sunrpc/authdes_prot.c: Likewise.
76098 * sunrpc/authuxprot.c: Likewise.
76099 * sunrpc/clnt_gen.c: Likewise.
76100 * sunrpc/clnt_perr.c: Likewise.
76101 * sunrpc/clnt_raw.c: Likewise.
76102 * sunrpc/clnt_simp.c: Likewise.
76103 * sunrpc/clnt_tcp.c: Likewise.
76104 * sunrpc/clnt_udp.c: Likewise.
76105 * sunrpc/clnt_unix.c: Likewise.
76106 * sunrpc/des_crypt.c: Likewise.
76107 * sunrpc/des_soft.c: Likewise.
76108 * sunrpc/get_myaddr.c: Likewise.
76109 * sunrpc/key_call.c: Likewise.
76110 * sunrpc/key_prot.c: Likewise.
76111 * sunrpc/netname.c: Likewise.
76112 * sunrpc/pm_getmaps.c: Likewise.
76113 * sunrpc/pm_getport.c: Likewise.
76114 * sunrpc/pmap_clnt.c: Likewise.
76115 * sunrpc/pmap_prot.c: Likewise.
76116 * sunrpc/pmap_prot2.c: Likewise.
76117 * sunrpc/pmap_rmt.c: Likewise.
76118 * sunrpc/publickey.c: Likewise.
76119 * sunrpc/rpc_cmsg.c: Likewise.
76120 * sunrpc/rpc_common.c: Likewise.
76121 * sunrpc/rpc_dtable.c: Likewise.
76122 * sunrpc/rpc_prot.c: Likewise.
76123 * sunrpc/rpc_thread.c: Likewise.
76124 * sunrpc/rtime.c: Likewise.
76125 * sunrpc/svc.c: Likewise.
76126 * sunrpc/svc_auth.c: Likewise.
76127 * sunrpc/svc_authux.c: Likewise.
76128 * sunrpc/svc_raw.c: Likewise.
76129 * sunrpc/svc_run.c: Likewise.
76130 * sunrpc/svc_simple.c: Likewise.
76131 * sunrpc/svc_tcp.c: Likewise.
76132 * sunrpc/svc_udp.c: Likewise.
76133 * sunrpc/svc_unix.c: Likewise.
76134 * sunrpc/svcauth_des.c: Likewise.
76135 * sunrpc/xcrypt.c: Likewise.
76136 * sunrpc/xdr.c: Likewise.
76137 * sunrpc/xdr_array.c: Likewise.
76138 * sunrpc/xdr_float.c: Likewise.
76139 * sunrpc/xdr_intXX_t.c: Likewise.
76140 * sunrpc/xdr_mem.c: Likewise.
76141 * sunrpc/xdr_rec.c: Likewise.
76142 * sunrpc/xdr_ref.c: Likewise.
76143 * sunrpc/xdr_sizeof.c: Likewise.
76144 * sunrpc/xdr_stdio.c: Likewise.
76145
76146 2011-04-10 Ulrich Drepper <drepper@gmail.com>
76147
76148 [BZ #12650]
76149 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76150 * sysdeps/ia64/dl-tls.h: Likewise.
76151 * sysdeps/powerpc/dl-tls.h: Likewise.
76152 * sysdeps/s390/dl-tls.h: Likewise.
76153 * sysdeps/sh/dl-tls.h: Likewise.
76154 * sysdeps/sparc/dl-tls.h: Likewise.
76155 * sysdeps/x86_64/dl-tls.h: Likewise.
76156 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76157
76158 2011-03-14 Andreas Schwab <schwab@redhat.com>
76159
76160 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76161 rpath element also skip the following colon.
76162 (expand_dynamic_string_token): Add is_path parameter and pass
76163 down to DL_DST_REQUIRED and _dl_dst_substitute.
76164 (decompose_rpath): Call expand_dynamic_string_token with
76165 non-zero is_path. Ignore empty rpaths.
76166 (_dl_map_object_from_fd): Call expand_dynamic_string_token
76167 with zero is_path.
76168
76169 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
76170
76171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76172 Make cancelable.
76173
76174 2011-04-09 Ulrich Drepper <drepper@gmail.com>
76175
76176 [BZ #12655]
76177 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76178 Patch by Filipe David Manana <fdmanana@apache.org>.
76179
76180 2011-04-07 Andreas Schwab <schwab@redhat.com>
76181
76182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76183 Maintain aligned stack.
76184 (CHECK_RSP): Remove unused macro.
76185
76186 2011-04-03 Ulrich Drepper <drepper@gmail.com>
76187
76188 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76189 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76190
76191 2011-04-02 Ulrich Drepper <drepper@gmail.com>
76192
76193 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76194
76195 * include/features.h: Mention __USE_XOPEN2K8 in comment.
76196
76197 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
76198
76199 [BZ #12518]
76200 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76201 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76202 * sysdeps/x86_64/memmove.c: New file.
76203 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76204 (memcpy): Renamed to ...
76205 (__new_memcpy): This.
76206 (memcpy): Provide GLIBC_2_14 memcpy.
76207 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76208 (memcpy): Provide GLIBC_2_2_5 memcpy.
76209
76210 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76211
76212 [BZ #12631]
76213 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76214
76215 2011-03-30 Andreas Schwab <schwab@redhat.com>
76216
76217 * misc/syncfs.c: New file.
76218 * misc/Makefile (routines): Add syncfs.
76219 * posix/unistd.h: Declare syncfs.
76220 * sysdeps/unix/syscalls.list: Add syncfs.
76221
76222 2011-04-01 Andreas Schwab <schwab@redhat.com>
76223
76224 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76225 open_by_handle_at.
76226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76231 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76233
76234 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76235
76236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76238 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76243
76244 * io/Makefile: Compile fallocate.c, fallocate64.c, and
76245 sync_file_range.c with -fexceptions.
76246 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76247 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76248 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76249 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76250 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76252 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76253 sync_file_range as cancellation point
76254 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
76255 now a wrapper around __call_sync_file_range with cancellation handling.
76256 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76257 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
76258 function name to __call_sync_file_range.
76259 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76260 Add call_sync_file_range.
76261
76262 2011-04-01 Andreas Schwab <schwab@redhat.com>
76263
76264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76265 bits/timex.h.
76266
76267 2011-04-01 Ulrich Drepper <drepper@gmail.com>
76268
76269 * iconv/iconv.h: Fix typo in comment.
76270 * io/fcntl.h: Likewise.
76271 * libio/stdio.h: Likewise.
76272 * posix/spawn.h: Likewise.
76273 * posix/unistd.h: Likewise.
76274 * stdlib/stdlib.h: Likewise.
76275 * time/time.h: Likewise.
76276 * wcsmbs/wchar.h: Likewise.
76277
76278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76279 open_by_handle): Add.
76280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76281 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
76282 Augment a few comments.
76283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76285 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76288 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76289 open_by_handle.
76290
76291 * io/fcntl.h (AT_EMPTY_PATH): Define.
76292
76293 2011-03-30 Ulrich Drepper <drepper@gmail.com>
76294
76295 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76296 * sysdeps/unix/sysv/linux/bits/time.h: New file.
76297 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76298 to...
76299 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
76300 * Versions.def: Add GLIBC_2.14.
76301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76302 Export.
76303
76304 2011-03-22 Ulrich Drepper <drepper@gmail.com>
76305
76306 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76307 round counter.
76308 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76309
76310 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
76311
76312 [BZ #12597]
76313 * string/test-strncmp.c (do_page_test): New function.
76314 (check2): Likewise.
76315 (test_main): Call check2.
76316 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76317
76318 2011-03-20 Ulrich Drepper <drepper@gmail.com>
76319
76320 [BZ #12587]
76321 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76322 Handle cache information in CPU leaf 4.
76323 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76324
76325 2011-03-18 Ulrich Drepper <drepper@gmail.com>
76326
76327 [BZ #12583]
76328 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76329 character representation.
76330 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76331
76332 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
76333
76334 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76335 END(__isnan) to END(__isnanf) to match function entry point/label
76336 EALIGN(__isnanf,...).
76337
76338 2011-03-10 Jakub Jelinek <jakub@redhat.com>
76339
76340 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76341
76342 2011-03-10 Ulrich Drepper <drepper@gmail.com>
76343
76344 [BZ #12510]
76345 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76346 copy from the symbol referenced in the relocation to initialize the
76347 used variable.
76348 Patch by Piotr Bury <pbury@goahead.com>.
76349 * elf/Makefile: Add rules to build and tst-unique3.
76350 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76351 * elf/tst-unique3.cc: New file.
76352 * elf/tst-unique3.h: New file.
76353 * elf/tst-unique3lib.cc: New file.
76354 * elf/tst-unique3lib2.cc: New file.
76355
76356 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76357
76358 2011-03-10 Mike Frysinger <vapier@gentoo.org>
76359
76360 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76361 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
76362 to _start.
76363
76364 2011-03-06 Ulrich Drepper <drepper@gmail.com>
76365
76366 * elf/dl-load.c (_dl_map_object): If we are looking for the first
76367 to-be-loaded object along a path to loader is ld.so.
76368
76369 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76370 Ulrich Drepper <drepper@gmail.com>
76371
76372 * sysdeps/x86_64/memset.S: After aligning destination, code
76373 branches to different locations depending on the value of
76374 misalignment, when multiarch is enabled. Fix this.
76375
76376 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
76377
76378 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76379 Set _x86_64_preferred_memory_instruction for AMD processsors.
76380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76381 Set bit_Prefer_SSE_for_memop for AMD processors.
76382
76383 2011-03-04 Ulrich Drepper <drepper@gmail.com>
76384
76385 * libio/fmemopen.c (fmemopen): Optimize a bit.
76386
76387 2011-03-03 Andreas Schwab <schwab@redhat.com>
76388
76389 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76390
76391 2011-03-03 Roland McGrath <roland@redhat.com>
76392
76393 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76394
76395 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
76396
76397 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76398 __bzero_ultra1 instead of __memset_ultra1.
76399
76400 2011-02-23 Andreas Schwab <schwab@redhat.com>
76401 Ulrich Drepper <drepper@gmail.com>
76402
76403 [BZ #12509]
76404 * include/link.h (struct link_map): Add l_orig_initfini.
76405 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76406 returning unsuccessfully.
76407 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76408 close of a file loaded at startup, restore the original l_initfini
76409 list.
76410 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76411 list, store the pointer.
76412 * elf/Makefile ($(objpfx)noload-mem): New rule.
76413 (noload-ENV): Define.
76414 (tests): Add $(objpfx)noload-mem.
76415 * elf/noload.c: Include <memcheck.h>.
76416 (main): Call mtrace. Close all opened handles.
76417
76418 2011-02-17 Andreas Schwab <schwab@redhat.com>
76419
76420 [BZ #12454]
76421 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76422 dependencies are missing.
76423
76424 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
76425
76426 Fix __if_freereq crash: Unlike the generic version which uses free,
76427 Hurd needs munmap.
76428 * sysdeps/mach/hurd/ifreq.h: New file.
76429
76430 2011-01-27 Petr Baudis <pasky@suse.cz>
76431 Ulrich Drepper <drepper@gmail.com>
76432
76433 [BZ 12445]#
76434 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76435 to extend_alloca().
76436 * stdio-common/bug23.c: New file.
76437 * stdio-common/Makefile (tests): Add bug23.
76438
76439 2010-09-28 Andreas Schwab <schwab@redhat.com>
76440 Ulrich Drepper <drepper@gmail.com>
76441
76442 [BZ #12489]
76443 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
76444 before performing relro protection. At old place add assertion
76445 to make sure nothing changed.
76446
76447 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
76448 Glauber de Oliveira Costa <glommer@gmail.com>
76449
76450 * elf/elf.h: Add new ARM TLS relocs.
76451
76452 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
76453
76454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
76455 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
76456 cast from r3.
76457 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
76458 'tests' variable.
76459 * sysdeps/wordsize-64/tst-writev.c: New file.
76460
76461 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
76462
76463 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
76464 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
76465 insns in _dl_start to prevent a TOC reference before relocs are
76466 resolved.
76467
76468 2011-02-15 Ulrich Drepper <drepper@gmail.com>
76469
76470 [BZ #12469]
76471 * Makeconfig: Remove RANLIB definition.
76472 * Makerules: Don't use RANLIB.
76473 * aclocal.m4: Remove ranlib test.
76474 * configure.in: No need to check for ranlib.
76475 * elf/rtld-Rules: Don't use RANLIB.
76476
76477 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
76478
76479 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
76480 protection macro.
76481 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
76482 inclusion protection macro.
76483
76484 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
76485 SIGRTMIN and SIGRTMAX and print information in that case only when
76486 SIGRTMIN is defined.
76487
76488 2011-02-11 Jakub Jelinek <jakub@redhat.com>
76489
76490 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
76491 arginfo fn returning -1.
76492
76493 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
76494 and thousands string is zero terminated.
76495
76496 2011-02-03 Andreas Schwab <schwab@redhat.com>
76497
76498 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
76499 sysdeps/unix/sysv/linux/bits/socket.h.
76500
76501 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
76502
76503 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
76504 (__CPU_COUNT): Remove old macros.
76505 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
76506 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
76507 (__CPU_ALLOC, __CPU_FREE): Add macros.
76508 (__sched_cpualloc, __sched_cpufree): Add declarations.
76509
76510 2011-02-05 Ulrich Drepper <drepper@gmail.com>
76511
76512 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
76513 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
76514 * nscd/aicache.c (addhstaiX): Return timeout of added value.
76515 (readdhstai): Return value of addhstaiX call.
76516 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
76517 (addgrbyX): Return value returned by cache_addgr.
76518 (readdgrbyname): Return value returned by addgrbyX.
76519 (readdgrbygid): Likewise.
76520 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
76521 (addpwbyX): Return value returned by cache_addpw.
76522 (readdpwbyname): Return value returned by addhstbyX.
76523 (readdpwbyuid): Likewise.
76524 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
76525 (addservbyX): Return value returned by cache_addserv.
76526 (readdservbyname): Return value returned by addservbyX:
76527 (readdservbyport): Likewise.
76528 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
76529 (addhstbyX): Return value returned by cache_addhst.
76530 (readdhstbyname): Return value returned by addhstbyX.
76531 (readdhstbyaddr): Likewise.
76532 (readdhstbynamev6): Likewise.
76533 (readdhstbyaddrv6): Likewise.
76534 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
76535 (readdinitgroups): Return value returned by addinitgroupsX.
76536 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
76537 (prune_cache): Keep track of timeout value of re-added entries.
76538 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
76539 * nscd/nscd.h: Adjust prototypes of readd* functions.
76540
76541 2011-02-04 Roland McGrath <roland@redhat.com>
76542
76543 * nis/nis_server.c (nis_servstate): Use the right name for 0.
76544 (nis_stats): Likewise.
76545 * nis/nis_modify.c (nis_modify): Likewise.
76546 * nis/nis_remove.c (nis_remove): Likewise.
76547 * nis/nis_add.c (nis_add): Likewise.
76548
76549 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
76550
76551 * posix/fnmatch_loop.c: Add some consts.
76552
76553 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
76554
76555 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
76556
76557 [BZ #12460]
76558 * config.make.in (config-cflags-novzeroupper): Define.
76559 * configure.in: Substitute libc_cv_cc_novzeroupper.
76560 * elf/Makefile (AVX-CFLAGS): Define.
76561 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
76562 (CFLAGS-tst-auditmod4a.c): Likewise.
76563 (CFLAGS-tst-auditmod4b.c): Likewise.
76564 (CFLAGS-tst-auditmod6b.c): Likewise.
76565 (CFLAGS-tst-auditmod6c.c): Likewise.
76566 (CFLAGS-tst-auditmod7b.c): Likewise.
76567 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
76568
76569 2011-02-02 Ulrich Drepper <drepper@gmail.com>
76570
76571 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
76572 function to the callback.
76573 Patch partly by Jiri Olsa <jolsa@redhat.com>.
76574
76575 2011-02-02 Andreas Schwab <schwab@redhat.com>
76576
76577 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
76578 of errno.
76579
76580 2011-01-19 Ulrich Drepper <drepper@gmail.com>
76581
76582 [BZ #11724]
76583 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
76584 of constructors.
76585 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
76586 of destructors.
76587 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
76588
76589 [BZ #11724]
76590 * elf/Makefile: Add rules to build and run new test.
76591 * elf/tst-initorder.c: New file.
76592 * elf/tst-initorder.exp: New file.
76593 * elf/tst-initordera1.c: New file.
76594 * elf/tst-initordera2.c: New file.
76595 * elf/tst-initordera3.c: New file.
76596 * elf/tst-initordera4.c: New file.
76597 * elf/tst-initorderb1.c: New file.
76598 * elf/tst-initorderb2.c: New file.
76599 * elf/tst-order-a1.c: New file.
76600 * elf/tst-order-a2.c: New file.
76601 * elf/tst-order-a3.c: New file.
76602 * elf/tst-order-a4.c: New file.
76603 * elf/tst-order-b1.c: New file.
76604 * elf/tst-order-b2.c: New file.
76605 * elf/tst-order-main.c: New file.
76606 New test case by George Gensure <werkt0@gmail.com>.
76607
76608 2010-10-01 Andreas Schwab <schwab@redhat.com>
76609
76610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76611 decoding ACE if AI_CANONIDN.
76612
76613 2011-01-18 Ulrich Drepper <drepper@gmail.com>
76614
76615 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
76616
76617 2011-01-17 Ulrich Drepper <drepper@gmail.com>
76618
76619 * version.h (RELEASE): Bump for 2.13 release.
76620 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
76621
76622 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
76623
76624 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
76625 MADV_NOHUGEPAGE.
76626 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
76627 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
76628 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
76629 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
76630 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
76631 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76632
76633 * posix/getconf.c: Update copyright year.
76634 * catgets/gencat.c: Likewise.
76635 * csu/version.c: Likewise.
76636 * debug/catchsegv.sh: Likewise.
76637 * debug/xtrace.sh: Likewise.
76638 * elf/ldconfig.c: Likewise.
76639 * elf/ldd.bash.in: Likewise.
76640 * elf/sprof.c (print_version): Likewise.
76641 * iconv/iconv_prog.c: Likewise.
76642 * iconv/iconvconfig.c: Likewise.
76643 * locale/programs/locale.c: Likewise.
76644 * locale/programs/localedef.c: Likewise.
76645 * malloc/memusage.sh: Likewise.
76646 * malloc/mtrace.pl: Likewise.
76647 * nscd/nscd.c (print_version): Likewise.
76648 * nss/getent.c: Likewise.
76649
76650 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
76651 PF_CAIF, and PF_ALG.
76652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76653
76654 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
76655
76656 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
76657 (modules-names): Use them.
76658 (ifunc-test-modules, ifunc-pie-tests): Define.
76659 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
76660 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
76661 (test-extras): Likewise.
76662 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
76663 $(compile-command.c).
76664 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
76665 (all-built-dso): Define.
76666 (check-textrel.out, check-execstack.out): Depend on it.
76667
76668 * configure.in: Don't override --enable-multi-arch.
76669
76670 2011-01-15 Ulrich Drepper <drepper@gmail.com>
76671
76672 [BZ #6812]
76673 * nscd/hstcache.c (tryagain): Define.
76674 (cache_addhst): Return tryagain not notfound for temporary errors.
76675 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
76676 failed.
76677
76678 2011-01-14 Ulrich Drepper <drepper@gmail.com>
76679
76680 [BZ #10563]
76681 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
76682 to make the syscall.
76683 * sysdeps/unix/sysv/linux/setgroups.c: New file.
76684
76685 [BZ #12378]
76686 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
76687 and fall back to matching as normal character if the string ends before
76688 the matching ']' is found. This is what POSIX requires.
76689 * posix/testfnm.c: Adjust test result.
76690 * posix/globtest.sh: Adjust test result. Add new test.
76691 * posix/tst-fnmatch.input: Likewise.
76692 * posix/tst-fnmatch2.c: Add new test.
76693
76694 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
76695
76696 * elf/Makefile (check-execstack): Revert last change. Depend on
76697 check-execstack.h.
76698 (check-execstack.h): New target.
76699 (generated): Add check-execstack.h.
76700 * elf/check-execstack.c: Include "check-execstack.h".
76701 (main): Revert last change.
76702 (handle_file): Return zero if GNU_STACK is absent and
76703 DEFAULT_STACK_PERMS doesn't include PF_X.
76704
76705 2011-01-13 Ulrich Drepper <drepper@gmail.com>
76706
76707 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
76708 in child fails because the descriptor is already closed.
76709 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
76710 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
76711 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
76712
76713 [BZ #12397]
76714 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
76715 syscall.
76716
76717 [BZ #10484]
76718 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
76719 temporary buffer used to handle multi lookups locally.
76720 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
76721
76722 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76723
76724 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
76725 loader is ld.so.
76726
76727 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
76728
76729 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
76730 alignment for SSE2.
76731
76732 2011-01-12 Ulrich Drepper <drepper@gmail.com>
76733
76734 [BZ #12394]
76735 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
76736 characters. When rounding increased number of integer digits recompute
76737 number of groups.
76738 * stdio-common/tst-grouping.c: New file.
76739 * stdio-common/Makefile: Add rules to build and run tst-grouping.
76740
76741 2011-01-09 Ulrich Drepper <drepper@gmail.com>
76742
76743 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
76744 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
76745
76746 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
76747 void.
76748 * bits/select.h: Likewise.
76749
76750 2011-01-08 Ulrich Drepper <drepper@gmail.com>
76751
76752 * po/ja.po: Update from translation team.
76753
76754 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
76755
76756 [BZ #11155]
76757 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
76758 implementation just like for lxstat, fxstatat, et al.
76759
76760 2010-12-27 Jim Meyering <meyering@redhat.com>
76761
76762 [BZ #12348]
76763 * posix/regexec.c (build_trtable): Return failure indication upon
76764 calloc failure. Otherwise, re_search_internal could infloop on OOM.
76765
76766 2010-12-25 Ulrich Drepper <drepper@gmail.com>
76767
76768 [BZ #12201]
76769 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
76770 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
76771 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
76772 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
76773
76774 [BZ #12207]
76775 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
76776
76777 [BZ #12204]
76778 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
76779 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
76780
76781 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
76782
76783 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
76784 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
76785 script has SORT_BY_INIT_PRIORITY.
76786 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
76787 NO_CTORS_DTORS_SECTIONS is defined.
76788 * elf/soinit.c: Likewise.
76789 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
76790 NO_CTORS_DTORS_SECTIONS is defined.
76791 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
76792 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
76793 * sysdeps/sh/init-first.c: Likewise.
76794 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
76795
76796 2010-12-24 Ulrich Drepper <drepper@gmail.com>
76797
76798 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
76799 always use the slow path.
76800
76801 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
76802
76803 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
76804 similar rule which adds the sysdep directories to the header search in
76805 order to pick up the correct platform stackinfo.h.
76806 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
76807 perform test if it is, otherwise return successfully without testing.
76808 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
76809 DEFAULT_STACK_PERMS define in stackinfo.h.
76810 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
76811 defined in stackinfo.h.
76812 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
76813 DEFAULT_STACK_PERMS defined in stackinfo.h.
76814 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
76815 * sysdeps/ia64/stackinfo.h: Likewise.
76816 * sysdeps/s390/stackinfo.h: Likewise.
76817 * sysdeps/sh/stackinfo.h: Likewise.
76818 * sysdeps/sparc/stackinfo.h: Likewise.
76819 * sysdeps/x86_64/stackinfo.h: Likewise.
76820 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
76821 PF_X for powerpc64. Retain PF_X for powerpc32.
76822
76823 2010-12-19 Ulrich Drepper <drepper@gmail.com>
76824
76825 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
76826 accurately.
76827 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
76828 GETDENTS_64BIT_ALIGNED.
76829
76830 2010-12-14 Ulrich Drepper <dreper@gmail.com>
76831
76832 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
76833
76834 2010-12-10 Andreas Schwab <schwab@redhat.com>
76835
76836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
76837 _GNU_SOURCE.
76838
76839 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
76840 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
76841 Remove __restrict.
76842 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
76843 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
76844
76845 2010-12-09 Ulrich Drepper <drepper@gmail.com>
76846
76847 [BZ #11655]
76848 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
76849 are initialized.
76850
76851 2010-12-09 Jakub Jelinek <jakub@redhat.com>
76852
76853 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
76854
76855 2010-12-03 Ulrich Drepper <drepper@gmail.com>
76856
76857 * po/it.po: Update from translation team.
76858
76859 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
76860
76861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
76862 unused codes.
76863
76864 2010-11-30 Ulrich Drepper <drepper@gmail.com>
76865
76866 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
76867
76868 2010-11-24 Andreas Schwab <schwab@redhat.com>
76869
76870 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
76871 specially.
76872 (gaih_getanswer_slice): Likewise.
76873
76874 2010-10-20 Jakub Jelinek <jakub@redhat.com>
76875
76876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
76877
76878 2010-05-31 Petr Baudis <pasky@suse.cz>
76879
76880 [BZ #11149]
76881 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
76882 silently even in the chroot mode.
76883
76884 2010-11-22 Ulrich Drepper <drepper@gmail.com>
76885
76886 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
76887 last patch a bit. Pretty printing
76888
76889 2010-05-31 Petr Baudis <pasky@suse.cz>
76890
76891 [BZ #10085]
76892 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
76893 initialization of skip_initgroups_dyn.
76894
76895 2010-11-19 Ulrich Drepper <drepper@gmail.com>
76896
76897 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
76898 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
76899
76900 2010-11-16 Ulrich Drepper <drepper@gmail.com>
76901
76902 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
76903
76904 2010-11-11 Andreas Schwab <schwab@redhat.com>
76905
76906 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
76907 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
76908 (tst-fnmatch-ENV): Set MALLOC_TRACE.
76909 ($(objpfx)tst-fnmatch-mem): New rule.
76910 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
76911 * posix/tst-fnmatch.c (main): Call mtrace.
76912
76913 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
76914
76915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76916 Support Intel processor model 6 and model 0x2c.
76917
76918 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
76919
76920 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
76921 signed comparison.
76922
76923 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
76924
76925 [BZ #12205]
76926 * string/test-strncasecmp.c (check_result): New function.
76927 (do_one_test): Use it.
76928 (check1): New function.
76929 (test_main): Use it.
76930 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
76931 Support strcasecmp and strncasecmp.
76932
76933 2010-11-08 Ulrich Drepper <drepper@gmail.com>
76934
76935 [BZ #12194]
76936 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
76937 * sysdeps/x86_64/bits/byteswap.h: Likewise.
76938
76939 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
76940
76941 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
76942 IFUNC support.
76943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76944 memset-x86-64.
76945 * sysdeps/x86_64/multiarch/bzero.S: New file.
76946 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
76947 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
76948 * sysdeps/x86_64/multiarch/memset.S: New file.
76949 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
76950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76951 Set bit_Prefer_SSE_for_memop for Intel processors.
76952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
76953 Define.
76954 (index_Prefer_SSE_for_memop): Define.
76955 (HAS_PREFER_SSE_FOR_MEMOP): Define.
76956
76957 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
76958
76959 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
76960 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
76961
76962 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
76963
76964 [BZ #12191]
76965 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76966 (__x86_64_raw_data_cache_size_half): Likewise.
76967 (__x86_64_raw_shared_cache_size): Likewise.
76968 (__x86_64_raw_shared_cache_size_half): Likewise.
76969
76970 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
76971 (__x86_64_raw_data_cache_size_half): Likewise.
76972 (__x86_64_raw_shared_cache_size): Likewise.
76973 (__x86_64_raw_shared_cache_size_half): Likewise.
76974 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
76975 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
76976 and __x86_64_raw_shared_cache_size_half. Round
76977 __x86_64_data_cache_size_half, __x86_64_data_cache_size
76978 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
76979 to multiple of 256 bytes.
76980
76981 2010-11-03 Ulrich Drepper <drepper@gmail.com>
76982
76983 [BZ #12167]
76984 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
76985 of inacessible symlinks. Verify result of symlink before returning it.
76986 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
76987 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
76988
76989 2010-10-28 Erich Ritz <erichritz@gmail.com>
76990
76991 * math/math.h (isinf): Fix typo in comment.
76992
76993 2010-11-01 Ulrich Drepper <drepper@gmail.com>
76994
76995 * po/da.po: Update from translation team.
76996
76997 2010-10-26 Ulrich Drepper <drepper@gmail.com>
76998
76999 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77000 is added to the list.
77001
77002 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77003 Ulrich Drepper <drepper@gmail.com>
77004
77005 * elf/dl-object.c (_dl_new_object): Don't append the new object to
77006 the global list here. Move code to...
77007 (_dl_add_to_namespace_list): ...here. New function.
77008 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77009 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77010 * elf/dl-load.c (lose): Don't remove the element from the list.
77011 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77012 (_dl_map_object): Likewise.
77013
77014 2010-10-25 Ulrich Drepper <drepper@gmail.com>
77015
77016 [BZ #12159]
77017 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77018 into all bytes of SSE register.
77019 Patch by Richard Li <richardpku@gmail.com>.
77020
77021 2010-10-24 Ulrich Drepper <drepper@gmail.com>
77022
77023 [BZ #12140]
77024 * malloc/malloc.c (_int_free): Fill correct number of bytes when
77025 perturbing.
77026
77027 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
77028
77029 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77030 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77031 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77032 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77034 submachine.
77035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77036
77037 2010-10-22 Andreas Schwab <schwab@redhat.com>
77038
77039 * include/dlfcn.h (__RTLD_SECURE): Define.
77040 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
77041 mode & __RTLD_SECURE instead.
77042 (open_path): Rename preloaded parameter to secure.
77043 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77044 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77045 * elf/dl-deps.c (openaux): Likewise.
77046 * elf/rtld.c (struct map_args): Remove is_preloaded.
77047 (map_doit): Don't use it.
77048 (dl_main): Likewise.
77049 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77050 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77051
77052 2010-09-09 Andreas Schwab <schwab@redhat.com>
77053
77054 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77055 (sysd-rules-targets): Remove duplicates.
77056 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77057 rtld-%.$o dependency.
77058
77059 2010-10-18 Andreas Schwab <schwab@redhat.com>
77060
77061 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77062 _dl_map_object do it.
77063
77064 2010-10-19 Ulrich Drepper <drepper@gmail.com>
77065
77066 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77067 fast fma builtins, define the macros in the C99 standard.
77068 (FP_FAST_FMAF): Likewise.
77069 (FP_FAST_FMAL): Likewise.
77070 * sysdeps/x86_64/bits/mathdef.h: Likewise.
77071
77072 * bits/mathdef.h: Update copyright year.
77073 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77074
77075 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
77076
77077 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77078 builtins, define the macros in the C99 standard.
77079 (FP_FAST_FMAF): Likewise.
77080 (FP_FAST_FMAL): Likewise.
77081 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77082 multiply/add.
77083 (FP_FAST_FMAF): Likewise.
77084
77085 2010-10-15 Jakub Jelinek <jakub@redhat.com>
77086
77087 [BZ #3268]
77088 * math/libm-test.inc (fma_test): Some new testcases.
77089 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77090 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77091 y and infinite z. Do multiplication by C already in long double.
77092 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77093 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77094 y and infinite z. Do bitwise or of inexact bit into u.d.
77095 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77096 * sysdeps/i386/fpu/s_fmaf.S: Removed.
77097 * sysdeps/i386/fpu/s_fma.S: Removed.
77098 * sysdeps/i386/fpu/s_fmal.S: Removed.
77099
77100 2010-10-16 Jakub Jelinek <jakub@redhat.com>
77101
77102 [BZ #3268]
77103 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77105 computation is not scheduled after fetestexcept. Fix value
77106 of minimum denormal long double.
77107
77108 2010-10-14 Jakub Jelinek <jakub@redhat.com>
77109
77110 [BZ #3268]
77111 * math/libm-test.inc (fma_test): Add some more tests.
77112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77113 correctly.
77114
77115 2010-10-15 Andreas Schwab <schwab@redhat.com>
77116
77117 * scripts/data/localplt-s390-linux-gnu.data: New file.
77118 * scripts/data/localplt-s390x-linux-gnu.data: New file.
77119
77120 2010-10-13 Jakub Jelinek <jakub@redhat.com>
77121
77122 [BZ #3268]
77123 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77124 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77125 instead of dbl-64.
77126 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77127 inlines.
77128 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77129 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77130 if one of x and y is very large and the other is subnormal.
77131 * sysdeps/s390/fpu/s_fmaf.c: New file.
77132 * sysdeps/s390/fpu/s_fma.c: New file.
77133 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77134 * sysdeps/powerpc/fpu/s_fma.S: New file.
77135 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77136 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77137 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77138
77139 2010-10-12 Jakub Jelinek <jakub@redhat.com>
77140
77141 [BZ #3268]
77142 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77143 fma tests.
77144 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77145 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77146 * sysdeps/i386/i686/multiarch/s_fma.c: Include
77147 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77148 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77149 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77150 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77151
77152 2010-10-12 Ulrich Drepper <drepper@redhat.com>
77153
77154 [BZ #12078]
77155 * posix/regcomp.c (parse_branch): One more memory leak plugged.
77156 * posix/bug-regex31.input: Add test case.
77157
77158 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77159
77160 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77161 * posix/bug-regex31.input: New file.
77162
77163 [BZ #12078]
77164 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77165 (parse_sub_exp): Fix last change, use postorder.
77166
77167 * posix/bug-regex31.c: New file.
77168 * posix/Makefile: Add rules to build and run bug-regex31.
77169
77170 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77171
77172 [BZ #12078]
77173 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77174
77175 [BZ #12108]
77176 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77177 to have entries in sys_siglist.
77178
77179 [BZ #12093]
77180 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77181 be NULL.
77182
77183 2010-10-07 Jakub Jelinek <jakub@redhat.com>
77184
77185 [BZ #3268]
77186 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77187 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77188 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77189 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77190 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77191 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77192 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77193 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77194 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77195 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77196 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77197 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77198 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77199 * math/ftestexcept.c (fetestexcept): Likewise.
77200 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77201 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77202 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77203 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77204 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77205 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77207
77208 2010-10-11 Ulrich Drepper <drepper@gmail.com>
77209
77210 [BZ #12107]
77211 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77212 newline.
77213
77214 2010-10-06 Ulrich Drepper <drepper@gmail.com>
77215
77216 * string/bug-strstr1.c: New file.
77217 * string/Makefile: Add rules to build and run bug-strstr1.
77218
77219 2010-10-05 Eric Blake <eblake@redhat.com>
77220
77221 [BZ #12092]
77222 * string/str-two-way.h (two_way_long_needle): Always clear memory
77223 when skipping input due to the shift table.
77224
77225 2010-10-03 Ulrich Drepper <drepper@gmail.com>
77226
77227 [BZ #12005]
77228 * malloc/mcheck.c: Handle large requests.
77229
77230 [BZ #12077]
77231 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77232 for strncmp and strncasecmp.
77233 * string/stratcliff.c: Add tests for strcmp and strncmp.
77234 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77235
77236 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
77237
77238 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77239 __set_fpscr.
77240
77241 2010-09-30 Andreas Jaeger <aj@suse.de>
77242
77243 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77244 (CGROUP_SUPER_MAGIC): Define.
77245 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77246 Handle btrfs and cgroup file systems.
77247 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77248 Likewise.
77249
77250 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
77251
77252 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77253 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77254
77255 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
77256
77257 [BZ #12067]
77258 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77259 trying to locate the ELF header.
77260
77261 2010-09-27 Andreas Schwab <schwab@redhat.com>
77262
77263 [BZ #11611]
77264 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77265 Mask out sign-bit copies when constructing f_fsid.
77266
77267 2010-09-24 Petr Baudis <pasky@suse.cz>
77268
77269 * debug/stack_chk_fail_local.c: Add missing licence exception.
77270 * debug/warning-nop.c: Likewise.
77271
77272 2010-09-15 Joseph Myers <joseph@codesourcery.com>
77273
77274 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77275 implementing getdents64 using getdents syscall, set d_type if
77276 __ASSUME_GETDENTS32_D_TYPE.
77277
77278 2010-09-16 Andreas Schwab <schwab@redhat.com>
77279
77280 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77281 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77282
77283 2010-09-21 Ulrich Drepper <drepper@redhat.com>
77284
77285 [BZ #12037]
77286 * posix/unistd.h: Undo change of feature selection for ftruncate from
77287 2010-01-11.
77288
77289 2010-09-20 Ulrich Drepper <drepper@redhat.com>
77290
77291 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77292 detection.
77293
77294 2010-09-20 Andreas Schwab <schwab@redhat.com>
77295
77296 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77297 fanotify_mark.
77298 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77299
77300 2010-09-14 Andreas Schwab <schwab@redhat.com>
77301
77302 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77303 variables after CHECK_SP call.
77304 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77305
77306 2010-09-13 Andreas Schwab <schwab@redhat.com>
77307 Ulrich Drepper <drepper@redhat.com>
77308
77309 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77310 re-relocationg ld.so.
77311 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77312 _dl_init_paths call.
77313 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
77314 here anymore.
77315
77316 2010-09-14 Ulrich Drepper <drepper@redhat.com>
77317
77318 * resolv/res_init.c (__res_vinit): Count the default server we added.
77319
77320 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
77321 Ulrich Drepper <drepper@redhat.com>
77322
77323 [BZ #11968]
77324 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77325 (____longjmp_chk): Use %ebx for saving value across system call.
77326 Add unwind info.
77327
77328 2010-09-06 Andreas Schwab <schwab@redhat.com>
77329
77330 * manual/Makefile: Don't mix pattern rules with normal rules.
77331
77332 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
77333
77334 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77335 operation.
77336 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77337 * libio/iofopncook.c (_IO_cookie_init): Likewise.
77338 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77339 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77341 Likewise.
77342
77343 2010-09-04 Ulrich Drepper <drepper@redhat.com>
77344
77345 [BZ #11979]
77346 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77347 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77348
77349 2010-09-02 Ulrich Drepper <drepper@redhat.com>
77350
77351 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77352 * sysdeps/x86_64/addmul_1.S: Likewise.
77353 * sysdeps/x86_64/lshift.S: Likewise.
77354 * sysdeps/x86_64/mul_1.S: Likewise.
77355 * sysdeps/x86_64/rshift.S: Likewise.
77356 * sysdeps/x86_64/sub_n.S: Likewise.
77357 * sysdeps/x86_64/submul_1.S: Likewise.
77358
77359 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
77360
77361 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77362 Define __sched_param instead of SCHED_* and sched_param when
77363 <bits/sched.h> is included with __need_schedparam defined.
77364 * bits/sched.h [__need_schedparam]
77365 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77366 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77367 (__defined_schedparam): Define to 1.
77368 (__sched_param): New structure, identical to sched_param.
77369 (__need_schedparam): Undefine.
77370
77371 2010-08-31 Mike Frysinger <vapier@gentoo.org>
77372
77373 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77374 (epoll_create1): Declare.
77375
77376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77377
77378 2010-08-31 Andreas Schwab <schwab@redhat.com>
77379
77380 [BZ #7066]
77381 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77382 shifting retval into place.
77383
77384 2010-09-01 Ulrich Drepper <drepper@redhat.com>
77385
77386 * nis/rpcsvc/nis.h: Update copyright notice.
77387 * nis/rpcsvc/nis.x: Likewise.
77388 * nis/rpcsvc/nis_callback.h: Likewise.
77389 * nis/rpcsvc/nis_callback.x: Likewise.
77390 * nis/rpcsvc/nis_object.x: Likewise.
77391 * nis/rpcsvc/nis_tags.h: Likewise.
77392 * nis/rpcsvc/yp.h: Likewise.
77393 * nis/rpcsvc/yp.x: Likewise.
77394 * nis/rpcsvc/ypupd.h: Likewise.
77395 * nis/yp_xdr.c: Likewise.
77396 * nis/ypupdate_xdr.c: Likewise.
77397
77398 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
77399 mainly the body of pmap_getport. Add parameters to specify timeouts.
77400 (pmap_getport): Use __libc_rpc_getport.
77401 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77402 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77403 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77404
77405 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
77406
77407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77408 fanotify_mark.
77409
77410 2010-08-27 Roland McGrath <roland@redhat.com>
77411
77412 * sysdeps/i386/i686/multiarch/Makefile
77413 (CFLAGS-varshift.c): New variable.
77414
77415 2010-08-27 Ulrich Drepper <drepper@redhat.com>
77416
77417 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77418 * sysdeps/i386/i686/multiarch/varshift.c: New file.
77419
77420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77421
77422 * sysdeps/x86_64/strlen.S: Minimal code improvement.
77423
77424 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
77425
77426 * sysdeps/x86_64/strlen.S: Unroll the loop.
77427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77428 strlen-sse2 strlen-sse2-bsf.
77429 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77430 __strlen_no_bsf if bit_Slow_BSF is set.
77431 (__strlen_sse42): Removed.
77432 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77433 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77434
77435 2010-08-25 Roland McGrath <roland@redhat.com>
77436
77437 * sysdeps/x86_64/multiarch/varshift.S: File removed.
77438 * sysdeps/x86_64/multiarch/varshift.c: New file.
77439 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77440 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77441 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77442 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
77443
77444 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
77445
77446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77447 strlen-sse2 strlen-sse2-bsf.
77448 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
77449 __strlen_sse2_bsf if bit_Slow_BSF is unset.
77450 (__strlen_sse2): Removed.
77451 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
77452 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
77453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
77454 bit_Slow_BSF for Atom.
77455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
77456 (index_Slow_BSF): Define.
77457 (HAS_SLOW_BSF): Define.
77458
77459 2010-08-25 Ulrich Drepper <drepper@redhat.com>
77460
77461 [BZ #10851]
77462 * resolv/res_init.c (__res_vinit): When no server address at all
77463 is given default to loopback.
77464
77465 2010-08-24 Roland McGrath <roland@redhat.com>
77466
77467 * configure.in: Remove config-name.h generation.
77468 * configure: Regenerated.
77469 * config-name.in: File removed.
77470 * scripts/config-uname.sh: New file.
77471 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
77472 ($(objdir)config-name.h): New target.
77473
77474 * sunrpc/rpc_parse.h: Avoid nested comment.
77475
77476 2010-08-24 Richard Henderson <rth@redhat.com>
77477 Ulrich Drepper <drepper@redhat.com>
77478 H.J. Lu <hongjiu.lu@intel.com>
77479
77480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
77481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
77482 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
77483 Replace _mm_srli_si128 with __m128i_shift_right. Replace
77484 _mm_alignr_epi8 with _mm_loadu_si128.
77485 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
77486 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
77487 (__m128i_shift_right): Removed.
77488 * sysdeps/i386/i686/multiarch/varshift.h: New file.
77489 * sysdeps/i386/i686/multiarch/varshift.S: New file.
77490 * sysdeps/x86_64/multiarch/varshift.h: New file.
77491 * sysdeps/x86_64/multiarch/varshift.S: New file.
77492
77493 2010-08-21 Mike Frysinger <vapier@gentoo.org>
77494
77495 * configure.in: Move assembler checks to before sysdep dir checking.
77496
77497 2010-08-20 Petr Baudis <pasky@suse.cz>
77498
77499 * LICENSES: Sync the sunrpc license.
77500
77501 2010-08-19 Ulrich Drepper <drepper@redhat.com>
77502
77503 * sunrpc/auth_des.c: Update copyright notice once again.
77504 * sunrpc/auth_none.c: Likewise.
77505 * sunrpc/auth_unix.c: Likewise.
77506 * sunrpc/authdes_prot.c: Likewise.
77507 * sunrpc/authuxprot.c: Likewise.
77508 * sunrpc/bindrsvprt.c: Likewise.
77509 * sunrpc/clnt_gen.c: Likewise.
77510 * sunrpc/clnt_perr.c: Likewise.
77511 * sunrpc/clnt_raw.c: Likewise.
77512 * sunrpc/clnt_simp.c: Likewise.
77513 * sunrpc/clnt_tcp.c: Likewise.
77514 * sunrpc/clnt_udp.c: Likewise.
77515 * sunrpc/clnt_unix.c: Likewise.
77516 * sunrpc/des_crypt.c: Likewise.
77517 * sunrpc/des_soft.c: Likewise.
77518 * sunrpc/get_myaddr.c: Likewise.
77519 * sunrpc/getrpcport.c: Likewise.
77520 * sunrpc/key_call.c: Likewise.
77521 * sunrpc/key_prot.c: Likewise.
77522 * sunrpc/openchild.c: Likewise.
77523 * sunrpc/pm_getmaps.c: Likewise.
77524 * sunrpc/pm_getport.c: Likewise.
77525 * sunrpc/pmap_clnt.c: Likewise.
77526 * sunrpc/pmap_prot.c: Likewise.
77527 * sunrpc/pmap_prot2.c: Likewise.
77528 * sunrpc/pmap_rmt.c: Likewise.
77529 * sunrpc/rpc/auth.h: Likewise.
77530 * sunrpc/rpc/auth_unix.h: Likewise.
77531 * sunrpc/rpc/clnt.h: Likewise.
77532 * sunrpc/rpc/des_crypt.h: Likewise.
77533 * sunrpc/rpc/key_prot.h: Likewise.
77534 * sunrpc/rpc/netdb.h: Likewise.
77535 * sunrpc/rpc/pmap_clnt.h: Likewise.
77536 * sunrpc/rpc/pmap_prot.h: Likewise.
77537 * sunrpc/rpc/pmap_rmt.h: Likewise.
77538 * sunrpc/rpc/rpc.h: Likewise.
77539 * sunrpc/rpc/rpc_des.h: Likewise.
77540 * sunrpc/rpc/rpc_msg.h: Likewise.
77541 * sunrpc/rpc/svc.h: Likewise.
77542 * sunrpc/rpc/svc_auth.h: Likewise.
77543 * sunrpc/rpc/types.h: Likewise.
77544 * sunrpc/rpc/xdr.h: Likewise.
77545 * sunrpc/rpc_clntout.c: Likewise.
77546 * sunrpc/rpc_cmsg.c: Likewise.
77547 * sunrpc/rpc_common.c: Likewise.
77548 * sunrpc/rpc_cout.c: Likewise.
77549 * sunrpc/rpc_dtable.c: Likewise.
77550 * sunrpc/rpc_hout.c: Likewise.
77551 * sunrpc/rpc_main.c: Likewise.
77552 * sunrpc/rpc_parse.c: Likewise.
77553 * sunrpc/rpc_parse.h: Likewise.
77554 * sunrpc/rpc_prot.c: Likewise.
77555 * sunrpc/rpc_sample.c: Likewise.
77556 * sunrpc/rpc_scan.c: Likewise.
77557 * sunrpc/rpc_scan.h: Likewise.
77558 * sunrpc/rpc_svcout.c: Likewise.
77559 * sunrpc/rpc_tblout.c: Likewise.
77560 * sunrpc/rpc_util.c: Likewise.
77561 * sunrpc/rpc_util.h: Likewise.
77562 * sunrpc/rpcinfo.c: Likewise.
77563 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
77564 * sunrpc/rpcsvc/key_prot.x: Likewise.
77565 * sunrpc/rpcsvc/klm_prot.x: Likewise.
77566 * sunrpc/rpcsvc/mount.x: Likewise.
77567 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
77568 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
77569 * sunrpc/rpcsvc/rex.x: Likewise.
77570 * sunrpc/rpcsvc/rstat.x: Likewise.
77571 * sunrpc/rpcsvc/rusers.x: Likewise.
77572 * sunrpc/rpcsvc/sm_inter.x: Likewise.
77573 * sunrpc/rpcsvc/spray.x: Likewise.
77574 * sunrpc/rpcsvc/yppasswd.x: Likewise.
77575 * sunrpc/rtime.c: Likewise.
77576 * sunrpc/svc.c: Likewise.
77577 * sunrpc/svc_auth.c: Likewise.
77578 * sunrpc/svc_authux.c: Likewise.
77579 * sunrpc/svc_raw.c: Likewise.
77580 * sunrpc/svc_run.c: Likewise.
77581 * sunrpc/svc_simple.c: Likewise.
77582 * sunrpc/svc_tcp.c: Likewise.
77583 * sunrpc/svc_udp.c: Likewise.
77584 * sunrpc/svc_unix.c: Likewise.
77585 * sunrpc/svcauth_des.c: Likewise.
77586 * sunrpc/xcrypt.c: Likewise.
77587 * sunrpc/xdr.c: Likewise.
77588 * sunrpc/xdr_array.c: Likewise.
77589 * sunrpc/xdr_float.c: Likewise.
77590 * sunrpc/xdr_mem.c: Likewise.
77591 * sunrpc/xdr_rec.c: Likewise.
77592 * sunrpc/xdr_ref.c: Likewise.
77593 * sunrpc/xdr_sizeof.c: Likewise.
77594 * sunrpc/xdr_stdio.c: Likewise.
77595
77596 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
77597 handling.
77598
77599 2010-08-19 Andreas Schwab <schwab@redhat.com>
77600
77601 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
77602
77603 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
77604
77605 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
77606 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
77607 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
77608 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
77609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
77610 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
77611 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
77612 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
77613 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
77614 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
77615 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
77616 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
77617 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
77618 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
77619
77620 2010-07-26 Anton Blanchard <anton@samba.org>
77621
77622 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
77623 * malloc/arena.c (heap_trim): Likewise.
77624
77625 2010-08-16 Ulrich Drepper <drepper@redhat.com>
77626
77627 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
77628 here. Not...
77629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
77630 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
77631
77632 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
77633
77634 * sysdeps/i386/elf/Makefile: New file.
77635
77636 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77637
77638 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
77639 from fanotify_init.
77640 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
77641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77642
77643 2010-08-15 Ulrich Drepper <drepper@redhat.com>
77644
77645 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
77646 of strncasecmp_l.
77647 * sysdeps/multiarch/strcmp.S: Likewise.
77648
77649 2010-08-14 Ulrich Drepper <drepper@redhat.com>
77650
77651 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77652 strncase_l-nonascii.
77653 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77654 Add strncase_l-ssse3.
77655 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
77656 * sysdeps/x86_64/strcmp.S: Likewise.
77657 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
77658 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
77659 * sysdeps/x86_64/strncase.S: New file.
77660 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
77661 * sysdeps/x86_64/strncase_l.S: New file.
77662 * string/Makefile (strop-tests): Add strncasecmp.
77663 * string/test-strncasecmp.c: New file.
77664
77665 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
77666 warning.
77667
77668 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
77669 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
77670
77671 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
77672
77673 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
77674
77675 2010-08-12 Ulrich Drepper <drepper@redhat.com>
77676
77677 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
77678 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
77679 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
77680
77681 2010-05-01 Alan Modra <amodra@gmail.com>
77682
77683 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
77684 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
77685 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
77686 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
77687 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
77688 tidying. Don't tail-call __sigjmp_save for static lib.
77689 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
77690 save location.
77691 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
77692 (CALL_MCOUNT): Add eh info, and nop after bl.
77693 (TAIL_CALL_SYSCALL_ERROR): New macro.
77694 (PSEUDO_RET): Use it.
77695 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
77696 Correct save location of integer regs and cr.
77697 (_dl_profile_resolve): Correct cr save location. Delete nops
77698 after bl when SHARED. Reduce cfi size a little by better
77699 placement of cfi directives.
77700 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
77701 make a stack frame. Instead use parm save area as a temp.
77702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
77703 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
77704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
77705 Don't make a stack frame for parent, use parm save area.
77706 Increase child stack frame to 112 bytes. Don't save unused reg,
77707 and adjust reg usage. Set up cfi on error recovery and
77708 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
77709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
77710 (__makecontext): Add dummy nop after jump to exit.
77711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
77712 Use correct parm save area and cr save, reduce stack frame.
77713 Correct cfi for possible PSEUDO_RET frame setup.
77714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
77715 Branch to local label emitted by PSEUDO_RET rather than
77716 __syscall_error.
77717
77718 2010-08-12 Andreas Schwab <schwab@redhat.com>
77719
77720 [BZ #11904]
77721 * locale/programs/locale.c (print_assignment): New function.
77722 (show_locale_vars): Use it.
77723
77724 2010-08-11 Ulrich Drepper <drepper@redhat.com>
77725
77726 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
77727 field.
77728 (struct statfs64): Likewise.
77729 (_STATFS_F_FLAGS): Define.
77730 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
77731 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77732 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
77733 (ST_VALID): Define locally.
77734 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
77735 __statvfs_getflags, use the provided value.
77736 * sysdeps/unix/sysv/linux/kernel-features.h: Define
77737 __ASSUME_STATFS_F_FLAGS.
77738
77739 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
77740
77741 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
77742 Add sys/fanotify.h.
77743 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
77744 fanotify_mask for GLIBC_2.13.
77745 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
77746 fanotify_init and fanotify_mark.
77747 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
77748 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
77749
77750 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
77751 Add prlimit.
77752 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
77753 prlimit64 for GLIBC_2.13.
77754 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
77755 prlimit64.
77756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
77757 syscall.
77758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
77759 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77760 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
77761 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
77762 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
77763 add prlimit alias.
77764 * sysdeps/unix/sysv/linux/prlimit.c: New file.
77765
77766 [BZ #11903]
77767 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
77768 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
77769
77770 * nss/Makefile: Add rules to build and run tst-nss-test1.
77771 * shlib-versions: Add entry for libnss_test1.
77772 * nss/nss_test1.c: New file.
77773 * nss/tst-nss-test1.c: New file.
77774
77775 * nss/nsswitch.c (__nss_database_custom): Define new variable.
77776 (__nss_configure_lookup): Set appropriate entry in
77777 __nss_configure_lookup to true.
77778 * nss/nsswitch.h: Define enum with indeces of databases in
77779 databases and __nss_database_custom arrays. Declare
77780 __nss_database_custom.
77781 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
77782 to avoid using nscd when custom rules are installed.
77783 * nss/getXXbyYY_r.c: Likewise.
77784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
77785
77786 * nss/nss_files/files-parse.c: Whitespace fixes.
77787
77788 2010-08-09 Ulrich Drepper <drepper@redhat.com>
77789
77790 [BZ #11883]
77791 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
77792 * posix/fnmatch_loop.c: Likewise.
77793
77794 2010-07-17 Andi Kleen <ak@linux.intel.com>
77795
77796 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
77797 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
77798 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
77799 * Versions.def [GLIBC_2.13]: Add.
77800
77801 2010-08-06 Ulrich Drepper <drepper@redhat.com>
77802
77803 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
77804 Also fail if tpwd after pwuid call is NULL.
77805
77806 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
77807
77808 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
77809 when converting to ms.
77810
77811 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
77812
77813 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
77814 EOPNOTSUPP errors with ENOTTY.
77815 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
77816 EOPNOTSUPP errors with ENOTTY.
77817
77818 2010-07-31 Ulrich Drepper <drepper@redhat.com>
77819
77820 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
77821 Add strcasecmp_l-ssse3.
77822 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
77823 strcasecmp.
77824 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
77825 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
77826 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
77827
77828 2010-07-30 Ulrich Drepper <drepper@redhat.com>
77829
77830 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
77831
77832 * string/Makefile (strop-tests): Add strcasecmp.
77833 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
77834 strcasecmp_l-nonascii.
77835 (gen-as-const-headers): Add locale-defines.sym.
77836 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
77837 * sysdeps/x86_64/strcasecmp.S: New file.
77838 * sysdeps/x86_64/strcasecmp_l.S: New file.
77839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
77840 * sysdeps/x86_64/locale-defines.sym: New file.
77841 * string/test-strcasecmp.c: New file.
77842
77843 * string/test-strcasestr.c: Test both ends of the range of characters.
77844 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
77845
77846 2010-07-29 Roland McGrath <roland@redhat.com>
77847
77848 [BZ #11856]
77849 * manual/locale.texi (Yes-or-No Questions): Fix example code.
77850
77851 2010-07-27 Ulrich Drepper <drepper@redhat.com>
77852
77853 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
77854 for ld.so.
77855
77856 2010-07-27 Andreas Schwab <schwab@redhat.com>
77857
77858 * manual/memory.texi (Malloc Tunable Parameters): Document
77859 M_PERTURB.
77860
77861 2010-07-26 Roland McGrath <roland@redhat.com>
77862
77863 [BZ #11840]
77864 * configure.in (-fgnu89-inline check): Set and substitute
77865 gnu89_inline, not libc_cv_gnu89_inline.
77866 * configure: Regenerated.
77867 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
77868
77869 2010-07-26 Ulrich Drepper <drepper@redhat.com>
77870
77871 * string/test-strnlen.c: New file.
77872 * string/Makefile (strop-tests): Add strnlen.
77873 * string/tester.c (test_strnlen): Add a few more test cases.
77874 * string/tst-strlen.c: Better error reporting.
77875
77876 * sysdeps/x86_64/strnlen.S: New file.
77877
77878 2010-07-24 Ulrich Drepper <drepper@redhat.com>
77879
77880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
77881 lower-latency instructions.
77882
77883 2010-07-23 Ulrich Drepper <drepper@redhat.com>
77884
77885 * string/test-strcasestr.c: New file.
77886 * string/test-strstr.c: New file.
77887 * string/Makefile (strop-tests): Add strstr and strcasestr.
77888 * string/str-two-way.h: Don't undefine MAX.
77889 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
77890
77891 2010-07-21 Andreas Schwab <schwab@redhat.com>
77892
77893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77894 strcasestr-nonascii.
77895 (CFLAGS-strcasestr-nonascii.c): Define.
77896 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
77897 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
77898 Remove unused attribute.
77899
77900 2010-07-20 Roland McGrath <roland@redhat.com>
77901
77902 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
77903 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
77904 ld.so.cache was broken. With it, there is no way to disable dsocaps
77905 like LD_HWCAP_MASK can disable hwcaps.
77906
77907 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
77908
77909 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
77910
77911 2010-07-16 Ulrich Drepper <drepper@redhat.com>
77912
77913 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
77914 call in strcasestr.
77915 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
77916 __strcasestr_sse42_nonascii.
77917 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
77918 strcasestr-nonascii.c.
77919 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
77920
77921 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
77922
77923 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
77924 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
77925 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
77926 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
77927
77928 2010-07-09 Ulrich Drepper <drepper@redhat.com>
77929
77930 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
77931 fcntl.
77932
77933 2010-07-06 Andreas Schwab <schwab@redhat.com>
77934
77935 [BZ #11577]
77936 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
77937 dl_signal_cerror.
77938
77939 2010-07-06 Ulrich Drepper <drepper@redhat.com>
77940
77941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
77942 _PC_PIPE_BUF using F_GETPIPE_SZ.
77943
77944 2010-07-05 Roland McGrath <roland@redhat.com>
77945
77946 * manual/arith.texi (Rounding Functions): Fix rint description
77947 implicit in round description.
77948
77949 2010-07-02 Ulrich Drepper <drepper@redhat.com>
77950
77951 * elf/Makefile: Fix linking for a few tests to make recent linker
77952 happy.
77953
77954 2010-06-30 Andreas Schwab <schwab@redhat.com>
77955
77956 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77957 $(common-objpfx)libc_nonshared.a.
77958
77959 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
77960
77961 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
77962 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
77963 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77964 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77965 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
77966 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
77967 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77968 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
77970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
77971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
77972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
77973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
77974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
77975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
77976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
77977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
77978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
77979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
77980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
77981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
77982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
77983 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
77984 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
77985 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
77986 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
77987 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
77988 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
77989 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
77990 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
77991 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
77992 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
77993 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
77994 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
77995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
77996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
77997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
77998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
77999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78009
78010 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
78011
78012 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78013 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
78014 * string/memmove.c (memmove): Renamed to ...
78015 (MEMMOVE): ...this. Default to memmove.
78016 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78017 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78018 (END_CHK): Define.
78019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78020 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78021 mempcpy-ssse3-back memmove-ssse3-back.
78022 * sysdeps/x86_64/multiarch/bcopy.S: New file .
78023 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78024 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78025 * sysdeps/x86_64/multiarch/memcpy.S: New file.
78026 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78027 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78028 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78029 * sysdeps/x86_64/multiarch/memmove.c: New file.
78030 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78031 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78032 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78033 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78034 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78035 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78036 Define.
78037 (index_Fast_Copy_Backward): Define.
78038 (HAS_ARCH_FEATURE): Define.
78039 (HAS_FAST_REP_STRING): Define.
78040 (HAS_FAST_COPY_BACKWARD): Define.
78041
78042 2010-06-21 Andreas Schwab <schwab@redhat.com>
78043
78044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78045 Restore proper fallback handling.
78046
78047 2010-06-19 Ulrich Drepper <drepper@redhat.com>
78048
78049 [BZ #11701]
78050 * posix/group_member.c (__group_member): Correct checking loop.
78051
78052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78053 OOM in getpwuid_r correctly. Return error number when the caller
78054 should return, otherwise -1.
78055 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78056 call returning > 0 value.
78057 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78058
78059 2010-06-07 Andreas Schwab <schwab@redhat.com>
78060
78061 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78062 libc_nonshared.a from targets in modules-names.
78063
78064 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
78065
78066 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78067 requires it.
78068
78069 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
78070
78071 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78072 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78073 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78075
78076 2010-06-02 Andreas Schwab <schwab@redhat.com>
78077
78078 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78079
78080 2010-06-14 Ulrich Drepper <drepper@redhat.com>
78081
78082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78083 and F_GETPIPE_SZ.
78084 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78086 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78089 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78090
78091 2010-06-14 Roland McGrath <roland@redhat.com>
78092
78093 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78094
78095 2010-06-07 Jakub Jelinek <jakub@redhat.com>
78096
78097 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78098 __REDIRECT followed by __THROW.
78099 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78100 * posix/getopt.h (getopt): Likewise.
78101
78102 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
78103
78104 * hurd/lookup-at.c (__file_name_lookup_at): Accept
78105 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
78106 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78107 in AT_FLAGS.
78108 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78109 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78110
78111 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
78112
78113 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78114
78115 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
78116
78117 [BZ #11640]
78118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78119 Properly check family and model.
78120
78121 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
78122
78123 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78124
78125 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
78126
78127 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78128
78129 2010-05-21 Ulrich Drepper <drepper@redhat.com>
78130
78131 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78132 symbol reference.
78133
78134 2010-05-19 Andreas Schwab <schwab@redhat.com>
78135
78136 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78137 symbol reference.
78138
78139 2010-05-21 Andreas Schwab <schwab@redhat.com>
78140
78141 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78142 and internal_recvmmsg.
78143 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78144 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78145 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78146 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78147
78148 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78149 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78150 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78151
78152 2010-05-20 Andreas Schwab <schwab@redhat.com>
78153
78154 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78155
78156 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
78157
78158 POWER7 optimizations.
78159 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78160 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78161
78162 2010-05-19 Ulrich Drepper <drepper@redhat.com>
78163
78164 * version.h: Update for 2.13 development version.
78165
78166 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
78167
78168 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78169 exceptions. Return 0.
78170
78171 2010-05-07 Roland McGrath <roland@redhat.com>
78172
78173 * elf/ldconfig.c (main): Add a const.
78174
78175 2010-05-06 Ulrich Drepper <drepper@redhat.com>
78176
78177 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78178 (args_options): Add no-idn option.
78179 (ahosts_keys_int): Add idn_flags to ai_flags.
78180 (parse_option): Handle 'i' option to clear idn_flags.
78181
78182 * malloc/malloc.c (_int_free): Possible race in the most recently
78183 added check. Only act on the data if no current modification
78184 happened.
78185
78186 See ChangeLog.17 for earlier changes.