Make type for spec variable size as size_t
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         * posix/getconf.c (main): Use size_t for type of I.
4         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5         NSPEC.
6
7         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
8         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9         * posix/posix-envs.def: Likewise.
10         * sysdeps/posix/sysconf.c: Likewise.
11         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12         (specs): Remove array.
13         * scripts/gen-posix-conf-vars.awk: Support generation of specs
14         array.
15
16         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
17         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18         (__sysconf): Use CONF_IS_* macros.
19
20         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21         ($(objpfx)posix-conf-vars-def.h): New target.
22         * posix/posix-conf-vars.list: New file.
23         * posix/posix-conf-vars.h: New file.
24         * posix/confstr.c: Include posix-conf-vars.h.
25         (confstr): Use CONF_IS_* macros.
26         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27         CONF_IS_* macros.
28         * scripts/gen-posix-conf-vars.awk: New file.
29
30 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31
32         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
33         fegetround): Add no-op macros to avoid linknamespace issues.
34
35         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
37
38         * sysdeps/unix/sysv/linux/tile/sysdep.h
39         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
40         assembly-specific section to avoid a redefinition warning.
41
42         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
43         long before casting to pointer to avoid a cast warning.
44
45 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
46
47         * sysdeps/tile/tilegx/Implies: New file.
48
49 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
50
51         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
52
53 2014-12-23  Florian Weimer  <fweimer@redhat.com>
54
55         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
56
57 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
58
59         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
60         not define.
61         * sysdeps/unix/sysv/linux/utimes.c: Do not include
62         <kernel-features.h>.
63         (__utimes) [__NR_utimes]: Make code unconditional.
64         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
65         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
66         (__ASSUME_UTIMES): Do not undefine.
67         * sysdeps/unix/sysv/linux/tile/kernel-features.h
68         (__ASSUME_UTIMES): Likewise.
69         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
70         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
71         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
72         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
73
74 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
75
76         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
77
78 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
79
80         [BZ #17747]
81         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
82         alias to weak alias for j0l, y0l.
83         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
84         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
85
86         [BZ #17746]
87         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
88         conversion.
89
90 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
91
92         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
93         to zero if not already defined.
94
95 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
96
97         [BZ #17724]
98         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
99         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
100         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
101         (char *) casts added.
102         * sysdeps/ieee754/k_standardf.c: New file.
103         * sysdeps/ieee754/k_standardl.c: Likewise.
104         * math/Makefile (libm-support): Remove k_standard.
105         (libm-calls): Add k_standard.
106
107 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
108
109         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
110         Optimize to avoid an unnecessary FPCR read.
111
112 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
113
114         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
115         Optimize to reduce FPCR/FPSR accesses.
116
117 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
118
119         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
120         Call libc_fetestexcept_aarch64.
121
122 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
123
124         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
125         Call libc_fesetround_aarch64.
126
127 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
128
129         [BZ #17733]
130         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
131         (__bind): Do not define as weak alias.
132         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
133         define.
134         (__getsockname): Do not define as weak alias.
135
136 2014-12-22  Will Newton  <will.newton@linaro.org>
137
138         * manual/install.texi: Document that we require bison 2.7
139         or above.
140         * INSTALL: Regenerate.
141         * configure.ac: Use AC_CHECK_PROG_VER instead of
142         AC_PATH_PROG when checking for bison and check for
143         version 2.7 or above.
144         * configure: Regenerate.
145
146 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
147
148         [BZ #17745]
149         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
150         * sysdeps/tile/ffsll.c (ffsll): To here.
151
152         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
153
154 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
155
156         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
157         if not defined.
158         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
159         definition.
160         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
161         hidden ___tls_get_addr.
162         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
163         hidden __tls_get_addr.
164         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
165         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
166         Likewise.
167
168 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
169
170         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
171         _dl_init call.
172
173 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
174
175         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
176         from "call _dl_init@PLT".
177         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
178
179 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
180
181         * manual/search.texi: (Array Sort Function): Clarify stable sorting
182         guarantees.
183
184 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
185
186         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
187
188 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
189
190         [BZ #17744]
191         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
192         strnlen.
193
194 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
195
196         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
197         of multu on MIPSr6.
198         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
199         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
200         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
201         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
202         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
203
204 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
205
206         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
207         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
208         (PTR_SUBU): Use subu for mips32r6/mips64r6.
209         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
210         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
211         mips32r6/mips64r6.
212         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
213
214 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
215
216         * string/strncat.c (STRNCAT): Simplify implementation.
217
218 2014-12-19  David S. Miller  <davem@davemloft.net>
219
220         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
221         access the quad as both a long double and as a series of 4 words.
222
223         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
224         link_map->l_info array access.
225
226 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
227
228         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
229
230         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
231         * math/atest-exp2.c (TIMEOUT): Likewise.
232         * math/atest-sincos.c (TIMEOUT): Likewise.
233
234 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
235
236         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
237         -Wno-error with -fno-builtin-lround.
238
239 2014-12-19  Torvald Riegel  <triegel@redhat.com>
240
241         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
242         Contains futex constants and functions moved over from ...
243         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
244         <lowlevellock-futex.h>.
245         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
246         (lll_timedwait_tid): Add comments and parentheses around macro
247         arguments.
248
249 2014-12-19  Torvald Riegel  <triegel@redhat.com>
250
251         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
252         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
253         (__lll_private_flag): Remove.
254         (lll_futex_wait): Likewise.
255         (lll_futex_timed_wait): Likewise.
256         (lll_futex_wake): Likewise.
257         (lll_futex_requeue): Likewise.
258         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
259         (__lll_timedwait_tid): Spell out argument names.
260         (lll_timedwait_tid): Add comments and parentheses around macro
261         arguments.
262         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
263         LLL_SHARED and LLL_PRIVATE usable from assembly code.
264
265 2014-12-19  Torvald Riegel  <triegel@redhat.com>
266
267         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
268         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
270         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
271         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
272         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
273         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
274         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
275         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
276         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
277         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
278         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
279         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
280         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
281         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
282         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
283         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
284         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
285         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
286
287 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
288
289         * sysdeps/x86_64/x32/Makefile: New file.
290
291 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
292
293         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
294         1L with (mp_limb_t) 1.
295
296 2014-12-17  Roland McGrath  <roland@hack.frob.com>
297
298         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
299         * nptl/libc_pthread_init.c: ... here.
300         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
301         * nptl/register-atfork.c: ... here.
302
303         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
304         Use pthread_sigmask rather than INTERNAL_SYSCALL.
305         Use assert_perror to check its return value.
306         (__gai_create_helper_thread): Likewise.
307
308         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
309
310         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
311
312 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
313
314         [BZ #17725]
315         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
316         __profil_counter.
317         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
318         Likewise.
319         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
320         Likewise.
321         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
322         Likewise.
323         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
324         (profil_counter): Likewise.
325         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
326         (profil_counter): Likewise.
327         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
328         Likewise.
329         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
330         Likewise.
331         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
332         (profil_counter): Likewise.
333         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
334         Likewise.
335         [!__profil_counter] (profil_counter): Define as weak alias of
336         __profil_counter.
337         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
338         (profil_counter): Rename to __profil_counter.
339         [!__profil_counter] (profil_counter): Define as weak alias of
340         __profil_counter.
341         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
342         (profil_counter): Rename to __profil_counter.
343         [!__profil_counter] (profil_counter): Define as weak alias of
344         __profil_counter.
345         * sysdeps/posix/profil.c: Update comment referring to
346         profil_counter.
347         (__profil): Use __profil_counter instead of profil_counter.
348         * sysdeps/posix/sprofil.c (profil_counter): Rename to
349         __profil_counter.  Use __profil_counter_ushort and
350         __profil_counter_uint in definitions.
351         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
352         instead of profil_counter_uint and profil_counter_ushort.
353
354         [BZ #17722]
355         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
356         define as weak alias of __inet_makeaddr.
357         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
358         as weak alias of __inet_addr.
359         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
360         as weak alias of __inet_pton.  Use libc_hidden_weak.
361         * include/arpa/inet.h (__inet_pton): Declare.  Use
362         libc_hidden_proto.
363         (inet_makeaddr): Don't use libc_hidden_proto.
364         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
365         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
366         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
367         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
368         Remove variable.
369         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
370         (test-xfail-POSIX/time.h/linknamespace): Likewise.
371
372 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
373
374         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
375
376 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
377
378         * stdio-common/bug-vfprintf-nargs.c (do_test):
379         Cast value to intptr_t to avoid format warning
380         for usage with PRIdPTR printing macro.
381
382 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
383
384         * libio/tst-widetext.c (do_test):
385         Use format type %td instead of %Zd for ptrdiff_t
386         in order to avoid format warning.
387
388 2014-12-17  Andreas Schwab  <schwab@suse.de>
389
390         * nscd/mem.c (gc): Add size_t cast to match printf format.
391
392 2014-12-16  Roland McGrath  <roland@hack.frob.com>
393
394         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
395         (init): Apply PTR_MANGLE to pointers before storing them.
396         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
397         before using them.
398
399 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
400
401         [BZ #17719]
402         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
403         define as weak alias of __memrchr.
404         (__memrchr): Do not define as strong alias of memrchr.
405         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
406         Remove variable.
407         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
408         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
409         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
410
411         [BZ #17717]
412         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
413         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
414         (if_indextoname): Rename to __if_indextoname and define as weak
415         alias of __if_indextoname.  Use libc_hidden_weak.
416         (if_freenameindex): Rename to __if_freenameindex and define as
417         weak alias of __if_freenameindex.
418         (if_nameindex): Rename to __if_nameindex and define as weak alias
419         of __if_nameindex.
420         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
421         __if_nametoindex and define as weak alias of __if_nametoindex.
422         Use libc_hidden_weak.
423         (if_freenameindex): Rename to __if_freenameindex and define as
424         weak alias of __if_freenameindex.
425         (if_nameindex): Rename to __if_nameindex and define as weak alias
426         of __if_nameindex.
427         (if_indextoname): Rename to __if_indextoname and define as weak
428         alias of __if_indextoname.  Use libc_hidden_weak.
429         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
430         __if_nametoindex and define as weak alias of __if_nametoindex.
431         Use libc_hidden_weak.
432         (if_freenameindex): Rename to __if_freenameindex and define as
433         weak alias of __if_freenameindex.  Use libc_hidden_weak.
434         (if_nameindex_netlink): Use __if_freenameindex instead of
435         if_freenameindex.
436         (if_nameindex): Rename to __if_nameindex and define as weak alias
437         of __if_nameindex.  Use libc_hidden_weak.
438         (if_indextoname): Rename to __if_indextoname and define as weak
439         alias of __if_indextoname.  Use libc_hidden_weak.
440         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
441         libc_hidden_proto.
442         [!_ISOMAC] (__if_freenameindex): Likewise.
443         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
444         if_nametoindex.
445         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
446         variable.
447         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
448         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
449         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
450         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
451         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
452         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
453         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
454
455         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
456         Remove variable.
457         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
458         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
459
460 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
461
462         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
463         subscript above bounds'
464
465         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
466         bounds.
467
468 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
469
470         * libio/tst-fopenloc.c: Use test-skeleton.c.
471
472         * stdlib/tst-bsearch.c: Use test-skeleton.c.
473         (entry): Rename to ITEM.
474         (do_test, comp): Adjust.
475
476         * stdio-common/tst-fseek.c: Use test-skeleton.c.
477
478 2014-12-16  Torvald Riegel  <triegel@redhat.com>
479
480         * string/tester.c: Include <libc-internal.h>.
481         (test_memset): Ignore -Wmemset-transposed-args.
482
483 2014-12-16  Torvald Riegel  <triegel@redhat.com>
484
485         * misc/tst-mntent2.c (do_test): Fix warning.
486
487 2014-12-16  Torvald Riegel  <triegel@redhat.com>
488
489         * elf/tst-unique4lib.cc(a): Mark as used.
490
491 2014-12-16  Florian Weimer  <fweimer@redhat.com>
492
493         [BZ #17630]
494         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
495         names.
496
497 2014-12-16  Allan McRae  <allan@archlinux.org>
498
499         * stdio-common/Makefile (tests): Re-add bug26.
500
501 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
502
503         [BZ #17657]
504         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
505         static array.
506
507 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
508
509         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
510         (__lll_lock_wait): Likewise.
511         (__lll_timedlock_wait): Likewise.
512         (__lll_timedwait_tid): Likewise.
513         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
514         (__lll_robust_timedlock_wait): Likewise.
515         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
516         (lll_cond_trylock): Likewise.
517         (__lll_lock): Likewise.
518         (__lll_robust_lock): Likewise.
519         (__lll_cond_lock): Likewise.
520         (lll_robust_cond_lock): Likewise.
521         (__lll_timedlock): Likewise.
522         (__lll_robust_timedlock): Likewise.
523         (__lll_unlock): Likewise.
524         (__lll_robust_unlock): Likewise.
525         (lll_wait_tid): Likewise.
526         (lll_timedwait_tid): Likewise.
527
528 2014-12-15  Torvald Riegel  <triegel@redhat.com>
529
530         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
531
532 2014-12-15  Torvald Riegel  <triegel@redhat.com>
533
534         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
535
536 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
537
538         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
539         * stdio-common/tst-sprintf.c: Likewise.
540
541 2014-12-15  Torvald Riegel  <triegel@redhat.com>
542
543         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
544
545 2014-12-15  Jeff Law  <law@redhat.com>
546
547         [BZ #16617]
548         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
549         on the heap.  (CVE-2012-3406)
550         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
551         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
552         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
553
554 2014-12-15  Will Newton  <will.newton@linaro.org>
555
556         * manual/install.texi: Bump required version of texinfo
557         to 4.7 from 4.5.
558         * INSTALL: Regenerated.
559         * configure.ac: Check for makeinfo version 4.7 and above.
560         * configure: Regenerated.
561
562 2014-12-12  Roland McGrath  <roland@hack.frob.com>
563
564         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
565         PREFIX, string constant to insert between directory and name.
566         * sysdeps/posix/shm_open.c: Update caller.
567         * sysdeps/posix/shm_unlink.c: Likewise.
568         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
569         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
570         (SEM_SHM_PREFIX): New macro.
571         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
572         [$(have-thread-library) = no].
573         * nptl/Makefile (libpthread-routines): Add shm-directory.
574         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
575         * sysdeps/nptl/shm-directory.h: New file.
576         * sysdeps/posix/shm-directory.c
577         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
578         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
579         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
580         INTERNAL_SYSCALL.
581         (__where_is_shmfs): Function removed.
582         (mountpoint, defaultmount, defaultdir, __namedsem_once):
583         Variables removed.
584         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
585         Use SHM_GET_NAME.
586         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
587
588         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
589         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
590         unconditional for use inside libpthread.
591         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
592
593 2014-12-12  Roland McGrath  <roland@hack.frob.com>
594
595         * nptl/pthread_getaffinity.c: New file.
596         * nptl/pthread_setaffinity.c: New file.
597         * nptl/pthread_getname.c: New file.
598         * nptl/pthread_setname.c: New file.
599
600         * nptl/pthread_create.c (START_THREAD_DEFN)
601         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
602
603 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
604             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
605
606         * resolv/res_send.c (send_vc): Disable warning resplen may
607         be used uninitialized.
608
609 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
610
611         * nptl/tst-mutex6.c
612         (ATTR_NULL): New define checks ATTR against NULL.
613         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
614         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
615
616 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
617
618         [BZ #17581]
619         * malloc/hooks.c
620         (mem2mem_check): Revert my previous change.
621         (malloc_check_get_size): Revert my previous change.
622         (mem2chunk_check): Revert my previous change.
623
624 2014-12-11  Roland McGrath  <roland@hack.frob.com>
625
626         * sysdeps/posix/shm-directory.c: New file.
627         * sysdeps/posix/shm-directory.h: New file.
628         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
629         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
630         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
631         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
632         Transmute EPERM to EACCES.
633         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
634         from ...
635         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
636         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
637
638 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
639
640         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
641         pointer and cast to uintptr_t.
642         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
643         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
644         Add cast to avoid warning.
645         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
646
647 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
648
649         * nptl/semaphore.h: Move to ...
650         * sysdeps/pthread/semaphore.h: ... here.
651         * Makefile (installed-headers): Change nptl/semaphore.h to
652         sysdeps/pthread/semaphore.h.
653
654 2014-12-11  Roland McGrath  <roland@hack.frob.com>
655
656         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
657         generated error format strings.
658
659         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
660         -Wformat-extra-args warnings for scanf formats.
661         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
662         test of zero-length format (duh).
663         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
664         corner-case scanf format test.
665         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
666         generated fprintf format string.
667         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
668         corner-case sprintf format tests.
669         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
670         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
671         -Wformat-extra-args warnings throughout.
672         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
673         (CFLAGS-scanf4.c): Likewise.
674         (CFLAGS-scanf7.c): Likewise.
675         (CFLAGS-tst-sprintf.c): Likewise.
676         (CFLAGS-tst-printf.c): Likewise.
677         (CFLAGS-tst-printfsz.c): Likewise.
678
679 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
680
681         * include/cpio.h: New file.
682         * include/fmtmsg.h: Likewise.
683
684         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
685         corresponding format argument to size_t.
686         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
687         arguments.
688         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
689         corresponding format argument to size_t.
690         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
691         arguments.
692         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
693         corresponding format argument to size_t.
694         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
695         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
696         (CFLAGS-tst-mbswcs2.c): Likewise.
697         (CFLAGS-tst-mbswcs3.c): Likewise.
698         (CFLAGS-tst-mbswcs4.c): Likewise.
699         (CFLAGS-tst-mbswcs5.c): Likewise.
700         (CFLAGS-tst-trans.c): Likewise
701
702 2014-12-11  Roland McGrath  <roland@hack.frob.com>
703
704         * posix/regexbug1.c (main): Use "%s" format with regerror results,
705         rather than assuming they won't contain any '%'s.
706
707 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
708
709         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
710         inhibit_loop_to_libcall to avoid recursive calls.
711         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
712         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
713
714 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
715
716         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
717         prototype.
718
719 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
720
721         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
722         integer value instead of boolean.
723
724 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
725
726         * malloc/malloc.c: Fix powerof2 check.
727
728 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
729
730         * locale/programs/locfile.h (maybe_swap_uint32):
731         Remove inline and add unused attribute.
732
733 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
734
735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
736         Truncating assembler expression to a .long expression.
737
738 2014-12-11  Andreas Schwab  <schwab@suse.de>
739
740         * elf/rtld.c (struct map_args): Constify str member.
741         (do_preload): Constify fname argument.
742
743 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
744
745         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
746         constants definition.
747
748 2014-12-11  Andreas Schwab  <schwab@suse.de>
749
750         [BZ #16657]
751         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
752         FORCE_ELISION instead of DO_ELISION.
753         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
754         Remove.
755         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
756         Likewise.
757
758         * iconvdata/gconv-modules: Remove duplicate entry.
759
760 2014-12-11  Will Newton  <will.newton@linaro.org>
761
762         Merge gettext 0.19.3 into intl/.
763
764         This involves a number of cosmetic changes to comments
765         and ANSI function definitions and prototypes throughout
766         all the files. The gettext copyright header is used but
767         with the date ranges taken from the glibc copy.
768
769         * NEWS: Add gettext merge to 2.21.
770         * intl/bindtextdom.c: Switch to gettext copyright.
771         Use ANSI definitions and prototypes.
772         Use gl_* locking primitives rather than __libc_* ones.
773         Use __builtin_expect rather than __glibc_likely/unlikely.
774         * intl/dcgettext.c: Switch to gettext copyright.
775         Use ANSI definitions and prototypes.
776         * intl/dcigettext.c: Switch to gettext copyright.
777         Use ANSI definitions and prototypes.
778         (INTDIV0_RAISES_SIGFPE): New define.
779         Use gl_* locking primitives rather than __libc_* ones.
780         Include eval-plural.h instead of plural-eval.c.
781         Use __builtin_expect rather than __glibc_likely/unlikely.
782         * intl/dcngettext.c: Switch to gettext copyright.
783         Use ANSI definitions and prototypes.
784         * intl/dgettext.c: Likewise.
785         * intl/dngettext.c: Likewise.
786         * intl/plural-eval.c: Renamed to...
787         * intl/eval-plural.h: ...this.
788         * intl/explodename.c: Switch to gettext copyright.
789         Use ANSI definitions and prototypes.
790         (_nl_explode_name): Use strchr instead of __rawmemchr.
791         * intl/finddomain.c: Switch to gettext copyright.
792         Use ANSI definitions and prototypes.
793         Use gl_* locking primitives rather than __libc_* ones.
794         (_nl_find_domain): Use malloc rather than alloca for
795         allocation of temporary locale name.
796         * intl/gettext.c: Switch to gettext copyright.
797         Use ANSI definitions and prototypes.
798         * intl/gettextP.h: Switch to gettext copyright.
799         Use ANSI definitions and prototypes.
800         Use gl_* locking primitives rather than __libc_* ones.
801         * intl/gmo.h: Switch to gettext copyright.
802         (struct sysdep_string): Move struct segment_pair outside of
803         struct definition.
804         * intl/hash-string.c: Use ANSI definitions and prototypes.
805         * intl/hash-string.h: Switch to gettext copyright.
806         Use ANSI definitions and prototypes.
807         * intl/l10nflist.c: Switch to gettext copyright.
808         Use ANSI definitions and prototypes.
809         (_nl_normalize_codeset): Avoid integer overflow.
810         * intl/loadinfo.h: Switch to gettext copyright.
811         Use ANSI definitions and prototypes.
812         (LIBINTL_DLL_EXPORTED): New define.
813         (PATH_SEPARATOR): New define.
814         * intl/loadmsgcat.c: Switch to gettext copyright.
815         * intl/localealias.c: Switch to gettext copyright.
816         Use ANSI definitions and prototypes.
817         (_nl_expand_alias): Use PATH_SEPARATOR.
818         * intl/ngettext.c: Switch to gettext copyright.
819         Use ANSI definitions and prototypes.
820         * intl/plural-exp.c: Likewise.
821         * intl/plural-exp.h: Switch to gettext copyright.
822         Use ANSI definitions and prototypes.
823         (struct expression): Move definition of enum operator outside
824         of struct definition.
825         * intl/plural.c: Regenerate.
826         * intl/plural.y: Switch to gettext copyright.
827         Use ANSI definitions and prototypes.
828         Port to bison 3.0.
829         * intl/textdomain.c: Switch to gettext copyright.
830         Use ANSI definitions and prototypes.
831         Use gl_* locking primitives rather than __libc_* ones.
832
833 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
834
835         * debug/warning-nop.c: Add used atrribute.
836
837 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
838
839         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
840
841         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
842         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
843         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
844
845 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
847
848         [BZ #17634]
849         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
850         Undefine after defining function.  Define as weak alias of
851         __wcschr.  Use libc_hidden_weak.
852         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
853         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
854         (libc_hidden_def): Also define __GI___wcschr alias.
855         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
856         __wcschr and define as weak alias of __wcschr.
857         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
858         __wcschr.
859         [!WCSCHR] (DEFAULT_WCSCHR): Define.
860         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
861         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
862         libc_hidden_weak.  Do not use libc_hidden_def.
863         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
864         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
865         __GI___wcschr alias.
866         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
867         [IS_IN (libc)] (wcschr): Define as macro expanding to
868         __redirect_wcschr.
869         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
870         [IS_IN (libc)] (__wcschr_power6): Likewise.
871         [IS_IN (libc)] (__wcschr_power7): Likewise.
872         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
873         instead of wcschr.
874         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
875         __libc_wcschr.
876         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
877         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
878         __wcschr and define as weak alias of __wcschr.  Use
879         libc_hidden_builtin_def.
880         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
881         as weak alias of __wcschr.  Use libc_hidden_weak.
882         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
883         wcschr.
884         * time/era.c (_nl_init_era_entries): Likewise.
885         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
886         variable.
887         (test-xfail-XPG3/time.h/linknamespace): Likewise.
888         (test-xfail-XPG4/time.h/linknamespace): Likewise.
889
890 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
891
892         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
893         format for long int variable.
894
895 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
896
897         [BZ #10672]
898         * manual/search.texi: (Array Sort Function): Remove claim how to make
899         qsort stable.
900
901 2014-12-10  Andreas Schwab  <schwab@suse.de>
902
903         [BZ #12847]
904         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
905         user-controlled locks.
906
907 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
908
909         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
910         register.
911
912 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
913
914         * configure.ac (--disable-werror): New configure option.
915         (enable_werror): New AC_SUBST.
916         * configure: Regenerated.
917         * config.make.in (enable-werror): New variable.
918         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
919         -Wno-error=undef.
920         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
921         * manual/install.texi (Configuring and compiling): Document
922         --disable-werror.
923         * INSTALL: Regenerated.
924         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
925         (CFLAGS-tst-chk2.c): Likewise.
926         (CFLAGS-tst-chk3.c): Likewise.
927         (CFLAGS-tst-chk4.cc): Likewise.
928         (CFLAGS-tst-chk5.cc): Likewise.
929         (CFLAGS-tst-chk6.cc): Likewise.
930         (CFLAGS-tst-lfschk1.c): Likewise.
931         (CFLAGS-tst-lfschk2.c): Likewise.
932         (CFLAGS-tst-lfschk3.c): Likewise.
933         (CFLAGS-tst-lfschk4.cc): Likewise.
934         (CFLAGS-tst-lfschk5.cc): Likewise.
935         (CFLAGS-tst-lfschk6.cc): Likewise.
936
937         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
938         (main): Disable -Wdeprecated-declarations around calls to
939         register_printf_function.
940
941         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
942         (do_test): Disable -Wdiv-by-zero around some calls to
943         fwrite_unlocked and fread_unlocked.
944
945         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
946         (DIAG_POP_NEEDS_COMMENT): Likewise.
947         (_DIAG_STR1): Likewise.
948         (_DIAG_STR): Likewise.
949         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
950         * stdio-common/bug21.c: Include <libc-internal.h>.
951         (do_test): Disable -Wformat around call to sscanf.
952         * stdio-common/scanf14.c: Include <libc-internal.h>.
953         (main): Disable -Wformat around some calls to scanf functions.
954
955 2014-12-09  Torvald Riegel  <triegel@redhat.com>
956
957         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
958
959 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
960
961         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
962         stack variable alignment.
963
964 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
965
966         [BZ #17682]
967         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
968         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
969         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
970         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
971         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
972         __getrlimit instead of getrlimit.
973         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
974         __gettimeofday instead of gettimeofday.
975         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
976         Likewise.
977         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
978         Likewise.
979         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
980         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
981         Remove variable.
982         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
983         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
984
985 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
986
987         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
988         for wide-character tests.
989
990 2014-12-04  Roland McGrath  <roland@hack.frob.com>
991
992         * io/openat64.c: #include <libc-internal.h>
993         (__openat64): Prototypify.  Use ignore_value on MODE.
994         * io/openat.c: Likewise.
995         * misc/reboot.c: #include <libc-internal.h>
996         (reboot): Prototypify.  Use ignore_value on HOWTO.
997         * misc/ptrace.c: #include <libc-internal.h>
998         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
999
1000 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1001
1002         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1003         XPG4, UNIX98 and XOPEN2K.
1004         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1005         Remove variable.
1006         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1007
1008 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1009
1010         * libio/fileops.c: Use ISO C style for function definitions.
1011         * libio/iofopen.c: Likewise.
1012         * libio/wfileops.c: Likewise.
1013
1014         [BZ #17653]
1015         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1016         offset on EOF.
1017         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1018         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1019         (fgets_func): Function pointer to fgets and fgetws.
1020         (do_ftell_test): Add test to verify ftell value after read
1021         EOF.
1022         (do_test): Set fgets_func.
1023
1024         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1025         O_TRUNC flag for w and w+ modes.
1026         (do_rewind_test): Likewise.
1027         (do_ftell_test): Likewise.
1028         (do_write_test): Likewise.
1029
1030         [BZ #17647]
1031         * libio/fileops.c (do_ftell): Seek only when there are
1032         unflushed writes.
1033         * libio/wfileops.c (do_ftell_wide): Likewise.
1034         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1035         test case.
1036         (do_one_test): Call it.
1037
1038 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1039
1040         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1041         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1042         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1043         Remove variable.
1044         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1045         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1046         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1047
1048 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1049
1050         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1051         Remove variable.
1052         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1053
1054         [BZ #17668]
1055         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1056         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1057         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1058         __freeifaddrs.  Use libc_hidden_weak.
1059         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1060         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1061         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1062         __freeifaddrs.  Use libc_hidden_weak.
1063         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1064         __getifaddrs and define as weak alias of __getifaddrs.  Use
1065         libc_hidden_weak.
1066         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1067         __freeifaddrs.  Use libc_hidden_weak.
1068         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1069         Remove variable.
1070         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1071         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1072
1073 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1074
1075         [BZ #17601]
1076         * sysdeps/mips/start.S (__start): Use indirect jump to call
1077         __libc_start_main.
1078
1079 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1080
1081         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1082
1083         * nptl/tst-mutex1.c: Include <stdbool.h>.
1084         [!ATTR] (ATTR_NULL): New macro.
1085         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1086         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1087         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1088
1089         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1090         to char *.
1091
1092         [BZ #17665]
1093         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1094         Change conditional to [__USE_MISC].
1095
1096         [BZ #17664]
1097         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1098         fgets_unlocked.
1099         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1100         __fgets_unlocked.
1101         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1102         fgets_unlocked.
1103         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1104         Remove variable.
1105         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1106         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1107         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1108         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1109         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1110         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1111         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1112         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1113         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1114
1115         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1116
1117 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1118
1119         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1120         Remove strpbrk objects.
1121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1122         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1123         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1124         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1125         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1126         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1127
1128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1129         Remove strcspn objects.
1130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1131         (__libc_ifunc_impl_list): Remove strcspn implementation.
1132         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1133         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1134         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1135         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1136
1137         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1138         Remove strspn objetcs.
1139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1140         (__libc_ifunc_impl_list): Remove strspn implementation.
1141         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1142         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1143         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1144         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1145
1146 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1147
1148         [BZ #17581]
1149         * malloc/hooks.c
1150         (mem2mem_check): Add a terminator to the chain of checking blocks.
1151         (malloc_check_get_size): Use it here.
1152         (mem2chunk_check): Ditto.
1153
1154 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1155
1156         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1157         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1158
1159 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1160
1161         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1162
1163         * nptl/nptl-init.c: Include libc-internal.h.
1164         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1165
1166         * elf/ldconfig.c (search_dir): Expand comment.
1167
1168 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1169
1170         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1171         variable.
1172         (linknamespace-symlist-stdlibs-tests): Likewise.
1173         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1174         instead of $(objpfx)symlist-stdlibs.
1175         (linknamespace-libs-isoc): New variable.
1176         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1177         (linknamespace-libs-ISO): New variable.
1178         (linknamespace-libs-ISO99): Likewise.
1179         (linknamespace-libs-ISO11): Likewise.
1180         (linknamespace-libs-XPG3): Likewise.
1181         (linknamespace-libs-XPG4): Likewise.
1182         (linknamespace-libs-POSIX): Likewise.
1183         (linknamespace-libs-UNIX98): Likewise.
1184         (linknamespace-libs-XOPEN2K): Likewise.
1185         (linknamespace-libs-POSIX2008): Likewise.
1186         (linknamespace-libs-XOPEN2K8): Likewise.
1187         ($(objpfx)symlist-stdlibs): Replace by
1188         $(linknamespace-symlist-stdlibs-tests).  Use
1189         $(linknamespace-libs-$*) as set of libraries.
1190         ($(linknamespace-header-tests)): Update dependencies.  Use
1191         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1192         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1193         * conform/linknamespace.pl: Remove comment about considering
1194         definitions of symbols from irrelevant libraries.
1195
1196 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1197
1198         [BZ #13862]
1199         * elf/dl-tls.c: Include <atomic.h>.
1200         (oom): Remove #ifdef SHARED/#endif.
1201         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1202         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1203         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1204         big enough.
1205         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1206         * nptl/Makefile (tests): Add tst-stack4.
1207         (modules-names): Add tst-stack4mod.
1208         ($(objpfx)tst-stack4): New.
1209         (tst-stack4mod.sos): Likewise.
1210         ($(objpfx)tst-stack4.out): Likewise.
1211         ($(tst-stack4mod.sos)): Likewise.
1212         (clean): Likewise.
1213         * nptl/tst-stack4.c: New file.
1214         * nptl/tst-stack4mod.c: Likewise.
1215
1216 2014-11-27  J. Brown  <jb999@gmx.de>
1217
1218         * sysdeps/x86/bits/string.h: Add recent CPUs.
1219
1220 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1221
1222         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1223         sigblock.
1224
1225         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1226         feof.
1227
1228         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1229         variable.
1230
1231 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1232
1233         * nscd/connections.c: Include libc-internal.h because of macro
1234         usage ignore_value.
1235
1236 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1237
1238         * string/bits/string3.h (__warn_memset_zero_len): Don't
1239         declare for gcc newer than 5.0.
1240         (memset): Don't test for zero-length __LEN for gcc newer than
1241         5.0.
1242
1243 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1244
1245         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1246         size_t for %zu format.
1247
1248         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1249         difference, not %ju.
1250
1251 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1252
1253         * include/libc-internal.h (ignore_value): New macro.
1254         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1255         with ignore_value.
1256
1257         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1258         definition.
1259
1260         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1261         pthread_cleanup_push to void *.
1262
1263         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1264         Undefine.
1265
1266         [BZ #16619]
1267         [BZ #16740]
1268         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1269         instead of 1L << 52.
1270
1271         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1272         * libio/bug-rewind2.c (do_test): Likewise.
1273
1274         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1275         * debug/test-strcpy_chk-ifunc.c: Likewise.
1276         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1277         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1278         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1279         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1280         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1281         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1282         * Rules [$(multi-arch) = no] (tests): Do not filter out
1283         $(tests-ifunc).
1284         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1285         * debug/Makefile (tests-ifunc): Remove variable.
1286         (tests): Do not add $(tests-ifunc).
1287         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1288         (tests): Do not add $(tests-ifunc).
1289         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1290         [TEST_IFUNC]: Remove conditionals.
1291         * string/test-string.h (TEST_IFUNC): Remove macro.
1292         [TEST_IFUNC]: Remove conditionals.
1293
1294         * string/test-strchr.c [!WIDE] (L): New macro.
1295         [WIDE] (L): Likewise.
1296         (check1): Use CHAR instead of char.  Use L on string and character
1297         constants.
1298
1299 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1300
1301         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1302         tests.
1303         * sysdeps/powerpc/bits/atomic.h
1304         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1305         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1306         (atomic_exchange_and_add_acq): Likewise.
1307         (atomic_exchange_and_add_rel): Likewise.
1308         * sysdeps/powerpc/powerpc32/bits/atomic.h
1309         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1310         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1311         * sysdeps/powerpc/powerpc64/bits/atomic.h
1312         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1313         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1314
1315 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1316
1317         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1318         Change synchronization of __sched_fifo_min_prio and
1319         __sched_fifo_max_prio.
1320         * nptl/pthread_mutexattr_getprioceiling.c
1321         (pthread_mutexattr_getprioceiling): Likewise.
1322         * nptl/pthread_mutexattr_setprioceiling.c
1323         (pthread_mutexattr_setprioceiling): Likewise.
1324         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1325         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1326         Likewise.
1327
1328 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1329
1330         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1331         void.
1332
1333 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1334
1335         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1336         third argument const.
1337
1338 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1339
1340         fnmatch: work around GCC compiler warning bug with uninit var
1341         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1342         This works around a bug with x86-64 GCC 4.9.2 and earlier
1343         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1344         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1345         used uninitialized in this function [-Wmaybe-uninitialized]".
1346
1347 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1348
1349         * posix/bug-regex31.c (main): Return RES not 0.
1350
1351 2014-11-25  Anton Blanchard <anton@samba.org>
1352
1353         * sysdeps/powerpc/bits/atomic.h
1354         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1355
1356 2014-11-24  Sterling Augustine  <saugustine@google.com>
1357
1358         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1359
1360 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1361
1362         [BZ #17608]
1363         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1364
1365 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1366
1367         [BZ #17633]
1368         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1369         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1370         variable.
1371         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1372         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1373
1374 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1375
1376         * string/strncpy.c (strncpy): Improve performance by using memset.
1377
1378 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1379
1380         * string/strcpy.c (strcpy):
1381         Improve performance by using strlen and memcpy.
1382
1383 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1384
1385         * string/strcoll_l.c (get_next_seq): __always_inline.
1386         * string/strcoll_l.c (do_compare): __always_inline.
1387
1388 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1389
1390         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1391         defined.
1392         * include/mqueue.h: Likewise.
1393         * include/stdlib.h: Likewise.
1394
1395         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1396         (get_null_defines): Adjust.
1397         * sunrpc/Makefile: Adjust comment.
1398         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1399         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1400         (CFLAGS-interp.c): Likewise.
1401         (CFLAGS-ldconfig.c): Likewise.
1402         (CPPFLAGS-.os): Likewise.
1403         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1404         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1405         * extra-modules.mk (extra-modules.mk): Likewise.
1406         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1407         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1408         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1409         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1410         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1411         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1412         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1413         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1414         * iconvdata/Makefile (CPPFLAGS): Likewise.
1415         (cpp-srcs-left): Add libof for all iconvdata routines.
1416         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1417         * include/assert.h: Likewise.
1418         * include/ctype.h: Likewise.
1419         * include/errno.h: Likewise.
1420         * include/libc-symbols.h: Likewise.
1421         * include/math.h: Likewise.
1422         * include/netdb.h: Likewise.
1423         * include/resolv.h: Likewise.
1424         * include/stdio.h: Likewise.
1425         * include/stdlib.h: Likewise.
1426         * include/string.h: Likewise.
1427         * include/sys/stat.h: Likewise.
1428         * include/wctype.h: Likewise.
1429         * intl/l10nflist.c: Likewise.
1430         * libidn/idn-stub.c: Likewise.
1431         * libio/libioP.h: Likewise.
1432         * nptl/libc_multiple_threads.c: Likewise.
1433         * nptl/pthreadP.h: Likewise.
1434         * posix/regex_internal.h: Likewise.
1435         * resolv/res_hconf.c: Likewise.
1436         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1437         * sysdeps/arm/memmove.S: Likewise.
1438         * sysdeps/arm/sysdep.h: Likewise.
1439         * sysdeps/generic/_itoa.h: Likewise.
1440         * sysdeps/generic/symbol-hacks.h: Likewise.
1441         * sysdeps/gnu/errlist.awk: Likewise.
1442         * sysdeps/gnu/errlist.c: Likewise.
1443         * sysdeps/i386/i586/memcpy.S: Likewise.
1444         * sysdeps/i386/i586/memset.S: Likewise.
1445         * sysdeps/i386/i686/memcpy.S: Likewise.
1446         * sysdeps/i386/i686/memmove.S: Likewise.
1447         * sysdeps/i386/i686/mempcpy.S: Likewise.
1448         * sysdeps/i386/i686/memset.S: Likewise.
1449         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1450         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1451         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1452         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1453         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1454         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1455         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1456         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1457         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1458         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1459         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1460         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1461         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1462         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1463         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1464         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1465         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1466         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1467         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1468         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1469         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1470         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1471         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1472         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1473         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1474         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1475         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1476         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1477         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1478         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1479         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1480         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1482         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1483         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1484         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1485         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1486         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1487         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1488         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1489         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1490         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1491         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1492         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1493         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1494         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1495         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1496         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1497         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1498         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1499         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1500         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1501         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1502         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1503         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1504         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1505         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1508         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1509         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1510         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1511         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1512         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1513         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1514         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1515         * sysdeps/posix/closedir.c: Likewise.
1516         * sysdeps/posix/opendir.c: Likewise.
1517         * sysdeps/posix/readdir.c: Likewise.
1518         * sysdeps/posix/rewinddir.c: Likewise.
1519         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1520         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1521         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1522         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1523         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1525         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1527         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1528         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1529         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1530         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1531         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1532         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1533         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1534         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1535         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1536         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1537         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1539         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1540         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1541         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1542         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1543         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1544         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1545         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1546         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1547         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1548         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1552         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1554         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1555         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1556         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1557         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1558         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1559         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1560         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1561         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1562         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1563         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1564         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1565         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1566         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1567         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1568         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1569         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1570         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1571         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1572         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1573         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1575         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1576         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1577         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1578         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1579         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1580         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1581         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1582         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1583         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1584         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1585         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1586         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1587         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1588         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1589         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1590         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1591         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1592         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1593         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1594         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1595         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1596         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1597         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1599         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1600         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1601         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1603         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1604         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1605         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1606         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1607         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1608         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1609         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1610         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1611         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1612         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1613         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1614         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1615         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1617         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1618         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1619         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1620         * sysdeps/unix/alpha/sysdep.S: Likewise.
1621         * sysdeps/unix/alpha/sysdep.h: Likewise.
1622         * sysdeps/unix/make-syscalls.sh: Likewise.
1623         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1625         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1626         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1627         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1628         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1629         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1630         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1631         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1632         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1633         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1634         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1636         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1637         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1638         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1639         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1640         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1641         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1642         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1643         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1644         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1645         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1646         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1647         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1648         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1649         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1652         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1653         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1654         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1657         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1659         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1661         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1662         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1663         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1664         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1665         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1666         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1667         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1669         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1670         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1671         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1672         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1673         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1676         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1677         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1679         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1681         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1682         * sysdeps/x86_64/memcpy.S: Likewise.
1683         * sysdeps/x86_64/memmove.c: Likewise.
1684         * sysdeps/x86_64/memset.S: Likewise.
1685         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1686         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1687         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1688         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1689         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1690         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1691         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1692         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1694         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1695         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1696         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1697         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1698         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1699         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1700         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1701         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1702         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1703         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1704         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1705         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1706         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1707         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1708         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1709         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1710         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1711         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1712         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1713         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1714         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1715         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1716         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1717         * sysdeps/x86_64/strcmp.S: Likewise.
1718
1719         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1720
1721         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1722         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1723         * elf/rtld-Rules: Likewise.
1724         * elf/setup-vdso.h: Likewise.
1725         * include/assert.h: Likewise.
1726         * include/bits/stdlib-float.h: Likewise.
1727         * include/errno.h: Likewise.
1728         * include/sys/stat.h: Likewise.
1729         * include/unistd.h: Likewise.
1730         * sysdeps/aarch64/setjmp.S: Likewise.
1731         * sysdeps/alpha/setjmp.S: Likewise.
1732         * sysdeps/arm/__longjmp.S: Likewise.
1733         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1734         * sysdeps/arm/setjmp.S: Likewise.
1735         * sysdeps/arm/sysdep.h: Likewise.
1736         * sysdeps/generic/_itoa.h: Likewise.
1737         * sysdeps/generic/dl-sysdep.h: Likewise.
1738         * sysdeps/generic/ldsodefs.h: Likewise.
1739         * sysdeps/i386/dl-tls.h: Likewise.
1740         * sysdeps/i386/setjmp.S: Likewise.
1741         * sysdeps/m68k/setjmp.c: Likewise.
1742         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1743         * sysdeps/mach/hurd/opendir.c: Likewise.
1744         * sysdeps/posix/getcwd.c: Likewise.
1745         * sysdeps/posix/opendir.c: Likewise.
1746         * sysdeps/posix/profil.c: Likewise.
1747         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1748         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1749         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1750         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1751         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1752         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1753         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1754         * sysdeps/s390/dl-tls.h: Likewise.
1755         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1756         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1757         * sysdeps/sh/sh3/setjmp.S: Likewise.
1758         * sysdeps/sh/sh4/setjmp.S: Likewise.
1759         * sysdeps/unix/alpha/sysdep.h: Likewise.
1760         * sysdeps/unix/arm/sysdep.S: Likewise.
1761         * sysdeps/unix/i386/sysdep.S: Likewise.
1762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1763         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1764         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1766         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1767         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1768         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1769         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1770         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1771         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1772         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1773         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1777         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1778         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1779         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1780         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1781         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1782         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1785         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1786         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1787         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1789         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1790         * sysdeps/x86_64/setjmp.S: Likewise.
1791
1792         * include/math.h: Use IS_IN instead of IS_IN_libm.
1793         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1794         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1795         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1796         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1797         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1798         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1799         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1800         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1801         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1802         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1803         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1804         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1805         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1806         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1807         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1808         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1809         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1810         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1811         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1812         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1813         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1814         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1815         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1816         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1817         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1818         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1819         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1820         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1821         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1822         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1823         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1824         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1825         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1827         Likewise.
1828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1829         Likewise.
1830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1831         Likewise.
1832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1833         Likewise.
1834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1835         Likewise.
1836         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1837         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1838         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1839         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1840         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1841         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1847         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1848         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1849         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1850         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1851         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1852         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1853         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1854         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1855         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1856         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1857         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1859         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1860         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1862         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1863
1864         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1865         * nptl/pthreadP.h: Likewise.
1866         * nptl_db/structs.def: Likewise.
1867         * sysdeps/arm/sysdep.h: Likewise.
1868         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1869         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1870         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1871         * sysdeps/unix/alpha/sysdep.h: Likewise.
1872         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1874         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1875         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1876         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1877         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1878         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1879         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1880         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1881         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1882         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1883         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1884         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1885         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1890         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1893         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1894         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1895         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1896         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1897         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1898
1899         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1900         * nptl/pthreadP.h: Likewise.
1901         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1902         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1903         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1904         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1905         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1906         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1907         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1908         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1909         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1910         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1911         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1912         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1914         Likewise.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1916         Likewise.
1917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1919         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1920         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1921         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1922         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1923         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1924         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1925
1926         * dlfcn/dladdr.c: Use IS_IN.
1927         * dlfcn/dladdr1.c: Likewise.
1928         * dlfcn/dlclose.c: Likewise.
1929         * dlfcn/dlerror.c: Likewise.
1930         * dlfcn/dlinfo.c: Likewise.
1931         * dlfcn/dlmopen.c: Likewise.
1932         * dlfcn/dlopen.c: Likewise.
1933         * dlfcn/dlsym.c: Likewise.
1934         * dlfcn/dlvsym.c: Likewise.
1935
1936         * include/ifaddrs.h: Use IS_IN.
1937         * inet/check_pf.c: Likewise.
1938         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1939         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1940
1941         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1942         IS_IN_ldconfig.
1943         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1944         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1945
1946         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1947         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1948         IS_IN (libc).
1949
1950         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1951
1952         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1953         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1954         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1955         * include/libc-symbols.h (IS_IN_LIB): New macro.
1956         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1957         * include/netdb.h: Likewise.
1958         * include/stap-probe.h: Remove all uses of IN_LIB.
1959
1960         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1961         instead of IN_MODULE.
1962         * include/libc-symbols.h (IN_MODULE): Define using
1963         MODULE_NAME.
1964         (PASTE_NAME, PASTE_NAME1): New macros.
1965         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1966         of IN_LIB.
1967         (STAP_PROBE_ASM): Likewise.
1968
1969 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1970
1971         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1972         __mach_init in dlopened libc.
1973
1974 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1975
1976         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1977         * sysdeps/arm/preconfigure: Regenerate.
1978
1979 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1980
1981         * nptl/pthread_create.c (__pthread_create_2_1): Set
1982         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1983         when copying values from IATTR into PD.
1984
1985 2014-11-21  Will Newton  <will.newton@linaro.org>
1986             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1987
1988         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1989         Refactor inline-asm.  Also add comment.
1990
1991         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1992         ElfW macro instead of hardcoded Elf64 types.
1993         (la_aarch64_gnu_pltenter): Likewise.
1994         * sysdeps/aarch64/dl-machine.h
1995         (elf_machine_runtime_setup): Use ElfW(Addr).
1996
1997         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1998         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1999         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2000         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2001         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2002         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2003         (R_AARCH64_TLS_DTPMOD): This.
2004         (R_AARCH64_TLS_DTPREL64): Rename to ...
2005         (R_AARCH64_TLS_DTPREL): This.
2006         (R_AARCH64_TLS_TPREL64): Rename to ...
2007         (R_AARCH64_TLS_TPREL): This.
2008         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2009         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2010         R_AARCH64_TLS_TPREL64.
2011         (elf_machine_rela): Likewise.
2012
2013 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2014
2015         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2016         by setting it to 0.  64b atomics are not supported currently.
2017
2018 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2019
2020         [BZ #16469]
2021         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2022         search domain names.
2023
2024 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2025
2026         [BZ #16469]
2027         * NEWS: Update.
2028         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2029         trailing dot.
2030         * posix/tst-getaddrinfo5.c: New.
2031         * posix/Makefile (tests): Add it.
2032
2033 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2034
2035         [BZ #14498]
2036         * NEWS: Fixed.
2037         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2038         after parsing line but before break_if_match.
2039         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2040         if there is a protocol mismatch.
2041
2042 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2043
2044         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2045         because the potential race is on the user-supplied stream.
2046
2047 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2048
2049         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2050         string literal if not passed a buffer.
2051         * manual/job.texi (ctermid): Update reasoning, note deviation
2052         from posix, suggest mtasurace when not passed a buffer, for
2053         future non-preliminary safety notes.
2054
2055 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2056
2057         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2058         of not passing it a buffer.
2059         Reported by Peng Haitao.
2060
2061 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2062
2063         * manual/Makefile ($(objpfx)stamp-summary): Require
2064         check-safety.sh to pass.
2065         * manual/check-safety.sh: Wish for verification that every
2066         @deftypefn and @deftypefun is followed by a @safety remark.
2067
2068 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2069
2070         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2071
2072         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2073         PTHREAD_CANCEL_ASYNCHRONOUS.
2074         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2075         send SIGCANCEL.
2076
2077         * nptl/default-sched.h: New file.
2078         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2079         * nptl/pthread_create.c: Include it.
2080         (__pthread_create_2_1): Use collect_default_sched instead of making
2081         Linux syscalls here directly.
2082
2083 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2084
2085         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2086         __pthread_once): Use C11 atomics.
2087
2088 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2089
2090         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2091
2092 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2093
2094         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2095         atomic_thread_fence_acquire, atomic_thread_fence_release,
2096         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2097         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2098         atomic_compare_exchange_weak_relaxed,
2099         atomic_compare_exchange_weak_acquire,
2100         atomic_compare_exchange_weak_release,
2101         atomic_exchange_acquire, atomic_exchange_release,
2102         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2103         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2104         atomic_fetch_and_acquire,
2105         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2106
2107 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2108
2109         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2110         USE_ATOMIC_COMPILER_BUILTINS): Define.
2111         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2112         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2113         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2114         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2115         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2116         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2117         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2118         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2119         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2120         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2121         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2122         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2123         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2124         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2125         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2126         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2127         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2128         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2129         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2130         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2131         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2132         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2133         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2134         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2135         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2136         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2137         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2138         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2139         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2140         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2141         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2142         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2143         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2144         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2145         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2146         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2147         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2148         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2149         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2150         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2151
2152 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2153
2154         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2155         the sched_priority value here.  It was already checked when the user
2156         called pthread_attr_setschedparam.
2157
2158         * nptl/tst-bad-schedattr.c: New file.
2159         * nptl/Makefile (tests): Add it.
2160
2161 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2162             Florian Weimer  <fweimer@redhat.com>
2163             Joseph Myers  <joseph@codesourcery.com>
2164             Adam Conrad  <adconrad@0c3.net>
2165             Andreas Schwab  <schwab@suse.de>
2166             Brooks  <bmoses@google.com>
2167
2168         [BZ #17625]
2169         * wordexp-test.c (__dso_handle): Add prototype.
2170         (__register_atfork): Likewise.
2171         (__app_register_atfork): New function.
2172         (registered_forks): New global.
2173         (register_fork): New function.
2174         (test_case): Add 3 new tests for WRDE_CMDSUB.
2175         (main): Call __app_register_atfork.
2176         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2177         fork count is non-zero fail the test.
2178         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2179         is set.
2180         (parse_dollars): Remove check for WRDE_NOCMD.
2181         (parse_dquote): Likewise.
2182
2183 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2184
2185         * Makeconfig (built-modules): List non-library modules to be
2186         built.
2187         (module-cppflags): Include libc-modules.h for
2188         everything except shlib-versions.v.i.
2189         (CPPFLAGS): Use it.
2190         (before-compile): Add libc-modules.h.
2191         ($(common-objpfx)libc-modules.h,
2192         $(common-objpfx)libc-modules.stmp): New targets.
2193         (common-generated): Add libc-modules.h and libc-modules.stmp.
2194         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2195         * include/libc-symbols.h: Don't include libc-modules.h.
2196         * include/libc-modules.h: Remove file.
2197         * scripts/gen-libc-modules.awk: New script to generate
2198         libc-modules.h.
2199         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2200         Depend on libc-modules.stmp.
2201
2202         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2203
2204         * Makeconfig (in-module): Get value of libof set for the
2205         translation unit.
2206         (CPPFLAGS): Use $(in-module).
2207         * Makerules: Don't suffix routine names for nonlib.
2208         * include/libc-modules.h: New file.
2209         * include/libc-symbols.h: Include libc-modules.h
2210         (IS_IN): New macro to replace IS_IN_* macros.
2211         * elf/Makefile: Set libof-* for each routine.
2212         * elf/rtld-Rules: Likewise.
2213         * extra-modules.mk: Likewise.
2214         * iconv/Makefile: Likewise.
2215         * iconvdata/Makefile: Likewise.
2216         * locale/Makefile: Likewise.
2217         * malloc/Makefile: Likewise.
2218         * nss/Makefile: Likewise.
2219         * sysdeps/gnu/Makefile: Likewise.
2220         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2221         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2222         * sysdeps/s390/s390-64/Makefile: Likewise.
2223         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2224         CPPFLAGS for nscd instead of nonlib.
2225
2226 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2227
2228         * nptl/createthread.c: New file.
2229
2230         * nptl/createthread.c: Moved ...
2231         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2232
2233         * nptl/createthread.c: Add proper top-line comment.
2234         (do_clone): Folded into ...
2235         (create_thread): ... here.  Take new arguments STOPPED_START and
2236         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2237         increment __nptl_threads, do event-reporting logic, do
2238         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2239         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2240         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2241         just send SIGCANCEL.
2242         * nptl/pthread_create.c: Forward-declare create_thread before
2243         including createthread.c.
2244         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2245         declaration, and new macro START_THREAD_SELF to replace argument.
2246         Remove return statement.
2247         (report_thread_creation): New function.
2248         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2249         synchronization logic, and __nptl_nthreads increment here, around
2250         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2251         PD->parent_cancelhandling here, before create_thread.  When
2252         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2253         __deallocate_stack, and ENOMEM translation here.
2254
2255 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2256
2257         [BZ #17616]
2258         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2259         (mptwo): Rename to __mptwo.
2260         (__inv): Use __mptwo instead of mptwo.
2261         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2262         (mptwo): Rename to __mptwo.
2263         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2264         of mpone and __mptwo instead of mptwo.
2265         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2266         instead of mpone.
2267         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2268         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2269         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2270         of mpone and __mptwo instead of mptwo.
2271         (__mpranred): Use __mpone instead of mpone.
2272         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2273         variable.
2274         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2275         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2276         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2277         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2278         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2279         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2280         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2281         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2282         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2283         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2284         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2285         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2286         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2287         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2288         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2289         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2290         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2291         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2292         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2293
2294 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2295
2296         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2297         replace BSD Handler xref with BSD Signal Handling.
2298
2299 2014-11-17  Richard Henderson  <rth@redhat.com>
2300
2301         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2302         (_FP_PACK_RAW_2): Remove.
2303         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2304         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2305         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2306         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2307         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2308         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2309         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2310         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2311         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2312         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2313         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2314         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2315         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2316         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2317         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2318         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2319
2320 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2321
2322         * signal/signal.h [__USE_MISC]
2323         (struct sigvec): Remove type.
2324         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2325         (sigvec): Remove declaration.
2326         * sysdeps/posix/sigvec.c: Moved ...
2327         * signal/sigvec.c: ... here, replacing old file.
2328         (struct sigvec): New type, copied from old signal.h definition.
2329         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2330         (__sigvec): Convert definition to prototype.
2331         (sigvec): Replace weak_alias with compat_symbol.
2332         * signal/Versions (libc: GLIBC_2.21): New version set.
2333         * include/signal.h: Remove __sigvec declaration.
2334         * sysdeps/unix/bsd/sigvec.c: Remove file.
2335         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2336         * manual/signal.texi (BSD Handler): Remove subsection.
2337         Move siginterrupt up to ...
2338         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2339         (Blocking in BSD): Fold subsection into its parent.
2340         * NEWS: Mention sigvec removal.
2341
2342 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2343
2344         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2345         (DLA_FMS): Make definition conditional only on [__FMA4__].
2346         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2347         definition.
2348
2349         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2350         Make definition conditional only on [PROF].
2351         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2352         definition.
2353         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2354         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2355
2356         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2357         !__GNUC__].
2358         * include/signal.h (__sigpause): Move declaration above call to
2359         libc_hidden_proto.
2360         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2361         variable.
2362         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2363         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2364
2365 2014-11-14  David S. Miller  <davem@davemloft.net>
2366
2367         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2368         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2369
2370 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2371
2372         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2373         * configure: Regenerated.
2374         * manual/install.texi (Tools for Compilation): Document a
2375         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2376         compiler verified to work.
2377         * INSTALL: Regenerated.
2378
2379         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2380         redeclare with asm name.
2381         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2382         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2383         including <string.h>.
2384         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2385         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2386         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2387         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2388         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2389         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2390         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2391
2392 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2393
2394         * stdlib/strtol.c (__strtol): Use prototype definition.
2395
2396         [BZ #17594]
2397         * stdlib/strtol.c (SYM__): New macro.
2398         (SYM__1): Likewise.
2399         (__strtol): Likewise.
2400         (strtol): Rename to __strtol and define as weak alias of
2401         __strtol.  Use libc_hidden_weak.
2402
2403 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2404
2405         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2406         Use numbered labels in inline assembly.
2407
2408 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2409
2410         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2411         Add setjmp LIBC_PROBE.
2412         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2413         Likewise.
2414         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2415         Add longjmp, longjmp_target LIBC_PROBE.
2416         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2417         Likewise.
2418
2419 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2420
2421         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2422         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2423         to get rid of unused variable warning.
2424
2425 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2426
2427         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2428         Check for unwind_backtrace ==  NULL only in SHARED case.
2429         (__backchain_backtrace): Compile only in SHARED case.
2430         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2431         Likewise.
2432         (__backchain_backtrace): Declare as static.
2433
2434 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2435
2436         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2437         (__libc_multiple_threads_ptr): Variable moved ...
2438         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2439
2440 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2441
2442         * conform/GlibcConform.pm: New file.
2443         * conform/conformtest.pl: Use GlibcConform module.
2444         * conform/linknamespace.pl: New file.
2445         * conform/list-header-symbols.pl: Likewise.
2446         * conform/Makefile (linknamespace-symlists-base): New variable.
2447         (linknamespace-symlists-tests): Likewise.
2448         (linknamespace-header-base): Likewise.
2449         (linknamespace-header-tests): Likewise.
2450         (tests-special): Add new tests.
2451         ($(linknamespace-symlists-tests)): New rule.
2452         (linknamespace-libs): New variable.
2453         ($(objpfx)symlist-stdlibs): New rule.
2454         ($(linknamespace-header-tests)): Likewise.
2455         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2456         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2457         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2458         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2459         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2460         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2461         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2462         (test-xfail-ISO/math.h/linknamespace): Likewise.
2463         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2464         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2465         (test-xfail-ISO/time.h/linknamespace): Likewise.
2466         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2467         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2468         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2469         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2470         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2471         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2472         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2473         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2474         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2475         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2476         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2477         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2478         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2479         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2480         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2481         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2482         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2483         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2484         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2485         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2486         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2487         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2488         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2489         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2490         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2491         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2492         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2493         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2494         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2495         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2496         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2497         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2498         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2499         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2500         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2501         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2502         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2503         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2504         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2505         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2506         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2507         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2508         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2509         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2510         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2511         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2512         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2513         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2514         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2515         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2516         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2517         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2518         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2519         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2520         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2521         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2522         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2523         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2524         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2525         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2526         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2527         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2528         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2529         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2530         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2531         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2532         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2533         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2534         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2535         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2536         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2537         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2538         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2539         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2540         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2541         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2542         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2543         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2544         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2545         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2546         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2547         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2548         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2549         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2550         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2551         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2552         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2553         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2554         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2555         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2556         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2557         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2558         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2559         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2560         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2561         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2562         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2563         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2564         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2565         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2566         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2567         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2568         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2569         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2570         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2571         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2572         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2573         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2574         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2575         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2576         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2577         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2578         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2579         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2580         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2581         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2582         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2583         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2584         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2585         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2586         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2587         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2588         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2589         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2590         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2591         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2592         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2593         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2594         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2595         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2596         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2597         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2598         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2599         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2600         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2601         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2602         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2603         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2604         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2605         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2606         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2607         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2608         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2609         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2610         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2611         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2612         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2613         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2614         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2615         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2616
2617         [BZ #17589]
2618         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2619         of fgets_unlocked.
2620
2621         [BZ #17585]
2622         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2623         (memmem): Rename to __memmem and define as weak alias of
2624         __memmem.  Use libc_hidden_weak.
2625         (__memmem): Use libc_hidden_def.
2626         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2627         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2628         memmem.
2629
2630         [BZ #17582]
2631         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2632         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2633         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2634         and define as weak alias of __fgets_unlocked.  Use
2635         libc_hidden_weak.
2636         (__fgets_unlocked): Use libc_hidden_def.
2637         * include/stdio.h (__fgets_unlocked): Declare.  Use
2638         libc_hidden_proto.
2639         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2640         __fgets_unlocked instead of fgets_unlocked.
2641         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2642         (GET_NPROCS_CONF_PARSER): Likewise.
2643         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2644         (GET_NPROCS_CONF_PARSER): Likewise.
2645
2646         [BZ #17574]
2647         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2648         weak alias of __wmemset.  Use libc_hidden_weak.
2649         (__wmemset): Use libc_hidden_def.
2650         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2651         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2652         of wmemset.
2653
2654         [BZ #17573]
2655         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2656         with asm name __mempcpy.
2657         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2658
2659         [BZ #17572]
2660         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2661         and define as weak alias of __rawmemchr.
2662         (__rawmemchr): Do not define as strong alias of rawmemchr.
2663
2664         [BZ #17571]
2665         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2666         alias of __qsort_r.
2667         (qsort): Call __qsort_r instead of qsort_r.
2668         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2669         (__qsort_r): Declare.  Call libc_hidden_proto.
2670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2671         instead of qsort_r.
2672         * nscd/gai.c (__qsort_r): Define to qsort_r.
2673         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2674         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2675         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2676
2677         [BZ #17570]
2678         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2679         define as weak alias of __malloc_info.
2680
2681         [BZ #17584]
2682         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2683         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2684         (__rewinddir): Use libc_hidden_def.
2685         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2686         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2687         (__rewinddir): Use libc_hidden_def.
2688         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2689         weak alias of __rewinddir.  Don't use libc_hidden_def.
2690         (__rewinddir): Use libc_hidden_def.
2691         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2692         (__rewinddir): Use libc_hidden_proto.
2693         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2694         rewinddir.
2695         (__getcwd): Use __rewinddir instead of rewinddir.
2696
2697         [BZ #17583]
2698         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2699         alias of __fileno.  Use libc_hidden_weak.
2700         (__fileno): Use libc_hidden_def.
2701         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2702         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2703         alias of __ftello.
2704         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2705         __ftello.
2706         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2707         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2708         libc_hidden_def.
2709         (fread_unlocked): Don't use libc_hidden_ver.
2710         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2711         and define as weak alias of __fread_unlocked.  Don't use
2712         libc_hidden_def.
2713         (__fread_unlocked): Use libc_hidden_def.
2714         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2715         (ftello): Don't use libc_hidden_proto.
2716         (__ftello): Declare.  Use libc_hidden_proto.
2717         (fread_unlocked): Don't use libc_hidden_proto.
2718         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2719         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2720         and __ftello instead of fileno, fread_unlocked and ftello.
2721
2722 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2723
2724         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2725         GOT12.
2726         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2727         Likewise.
2728         (_dl_start_user): Likewise.
2729         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2730
2731 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2732             Siddhesh Poyarekar  <siddhesh@redhat.com>
2733
2734         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2735         Move argv and envp down instead of moving argc up.
2736         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2737
2738 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2739
2740         [BZ #17506]
2741         * test-skeleton.c (main): Return successful if one of
2742         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2743         * string/tst-strcoll-overflow.c: Define expected status.
2744
2745 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2746
2747         [BZ #17475]
2748         * locale/iso-639.def: Define Bhili and Tulu language codes.
2749
2750 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2751
2752         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2753
2754 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2755
2756         [BZ #17555]
2757         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2758
2759 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2760
2761         * configure.ac: Updated check of minimal required version to
2762         2.22.
2763         * manual/install.texi (Tools for Compilation): Updated version
2764         number.
2765         * configure: Regenerated.
2766         * INSTALL: Likewise.
2767
2768 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2769
2770         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2771         __tls_get_addr.
2772
2773 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2774
2775         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2776         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2777         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2778         libc_hidden_weak.
2779         (waitpid): Define as alias of __waitpid.
2780         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2781         __waitpid.
2782         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2783         libc_hidden_weak.
2784         (waitpid): Define as alias of __waitpid.
2785         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2786         __libc_waitpid alias.
2787         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2788         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2789         Likewise.
2790         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2791         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2792         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2793         alias.
2794         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2795         __waitpid.
2796         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2797         libc_hidden_weak.
2798         (waitpid): Define as alias of __waitpid.
2799
2800 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2801
2802         * manual/llio.texi: Add comment that write safety has been
2803         fixed in Linux.
2804
2805         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2806         (localplt-build-dso): Add elf/ld.so.
2807         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2808         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2809         and free for ld.so.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2811         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2813         Likewise.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2815         Likewise.
2816         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2817         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2818         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2819         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2820         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2821         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2822         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2823         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2824         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2825         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2826         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2827
2828 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2829
2830         [BZ #14132]
2831         * include/libc-symbols.h (INTUSE): Remove macro.
2832         (INTDEF): Likewise.
2833         (INTVARDEF): Likewise.
2834         (_INTVARDEF): Likewise.
2835         (INTDEF2): Likewise.
2836         (INTVARDEF2): Likewise.
2837         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2838         rtld_hidden_def instead of INTVARDEF.
2839         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2840         (_dl_starting_up_internal): Remove declaration.
2841         (_dl_starting_up): Use rtld_hidden_proto.
2842         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2843         declaration.
2844         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2845         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2846         _dl_starting_up.
2847         * elf/dl-writev.h (_dl_writev): Likewise.
2848         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2849         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2850         _dl_starting_up_internal.
2851
2852 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2853
2854         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2855         test-skeleton.c.
2856
2857 2014-11-05  Will Newton  <will.newton@linaro.org>
2858
2859         * benchtests/Makefile: (bench-malloc): Add malloc thread
2860         scalability benchmark.
2861         * benchtests/bench-malloc-threads.c: New file.
2862
2863 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2864
2865         * sysdeps/aarch64/strchrnul.S: New file.
2866
2867 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2868
2869         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2870         definition.
2871         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2872         Likwise.
2873         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2874         Likewise.
2875         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2876         Likewise.
2877         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2878         Likewise.
2879         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2880         Likewise.
2881
2882 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2883
2884         * catgets/test-gencat.c: Use test-skeleton.c.
2885         * catgets/tst-catgets.c: Likewise.
2886         * csu/tst-empty.c: Likewise.
2887         * elf/tst-audit2.c: Likewise.
2888         * elf/tst-global1.c: Likewise.
2889         * elf/tst-pathopt.c: Likewise.
2890         * elf/tst-piemod1.c: Likewise.
2891         * elf/tst-tls10.c: Likewise.
2892         * elf/tst-tls11.c: Likewise.
2893         * elf/tst-tls12.c: Likewise.
2894         * gnulib/tst-gcc.c: Likewise.
2895         * iconvdata/tst-e2big.c: Likewise.
2896         * iconvdata/tst-loading.c: Likewise.
2897         * iconv/tst-iconv1.c: Likewise.
2898         * iconv/tst-iconv2.c: Likewise.
2899         * inet/test-inet6_opt.c: Likewise.
2900         * inet/tst-gethnm.c: Likewise.
2901         * inet/tst-network.c: Likewise.
2902         * inet/tst-ntoa.c: Likewise.
2903         * intl/tst-codeset.c: Likewise.
2904         * intl/tst-gettext2.c: Likewise.
2905         * intl/tst-gettext3.c: Likewise.
2906         * intl/tst-ngettext.c: Likewise.
2907         * intl/tst-translit.c: Likewise.
2908         * io/test-stat.c: Likewise.
2909         * libio/test-fmemopen.c: Likewise.
2910         * libio/tst-freopen.c: Likewise.
2911         * libio/tst-sscanf.c: Likewise.
2912         * libio/tst-ungetwc1.c: Likewise.
2913         * libio/tst-ungetwc2.c: Likewise.
2914         * libio/tst-widetext.c: Likewise.
2915         * localedata/tst-ctype.c: Likewise.
2916         * localedata/tst-digits.c: Likewise.
2917         * localedata/tst-leaks.c: Likewise.
2918         * localedata/tst-mbswcs1.c: Likewise.
2919         * localedata/tst-mbswcs2.c: Likewise.
2920         * localedata/tst-mbswcs3.c: Likewise.
2921         * localedata/tst-mbswcs4.c: Likewise.
2922         * localedata/tst-mbswcs5.c: Likewise.
2923         * localedata/tst-setlocale.c: Likewise.
2924         * localedata/tst-trans.c: Likewise.
2925         * localedata/tst-wctype.c: Likewise.
2926         * localedata/tst-xlocale1.c: Likewise.
2927         * login/tst-grantpt.c: Likewise.
2928         * malloc/tst-calloc.c: Likewise.
2929         * malloc/tst-malloc.c: Likewise.
2930         * malloc/tst-mallocstate.c: Likewise.
2931         * malloc/tst-mcheck.c: Likewise.
2932         * malloc/tst-mtrace.c: Likewise.
2933         * malloc/tst-obstack.c: Likewise.
2934         * math/atest-exp2.c: Likewise.
2935         * math/atest-exp.c: Likewise.
2936         * math/atest-sincos.c: Likewise.
2937         * math/test-matherr.c: Likewise.
2938         * math/test-misc.c: Likewise.
2939         * math/test-powl.c: Likewise.
2940         * math/tst-definitions.c: Likewise.
2941         * misc/tst-dirname.c: Likewise.
2942         * misc/tst-efgcvt.c: Likewise.
2943         * misc/tst-fdset.c: Likewise.
2944         * misc/tst-hsearch.c: Likewise.
2945         * misc/tst-mntent2.c: Likewise.
2946         * nptl/tst-sem7.c: Likewise.
2947         * nptl/tst-sem8.c: Likewise.
2948         * nptl/tst-sem9.c: Likewise.
2949         * nss/test-netdb.c: Likewise.
2950         * posix/tst-fnmatch.c: Likewise.
2951         * posix/tst-getlogin.c: Likewise.
2952         * posix/tst-gnuglob.c: Likewise.
2953         * posix/tst-mmap.c: Likewise.
2954         * pwd/tst-getpw.c: Likewise.
2955         * resolv/tst-inet_ntop.c: Likewise.
2956         * rt/tst-timer.c: Likewise.
2957         * stdio-common/test-fseek.c: Likewise.
2958         * stdio-common/test-popen.c: Likewise.
2959         * stdio-common/test-vfprintf.c: Likewise.
2960         * stdio-common/tst-cookie.c: Likewise.
2961         * stdio-common/tst-fileno.c: Likewise.
2962         * stdio-common/tst-gets.c: Likewise.
2963         * stdio-common/tst-obprintf.c: Likewise.
2964         * stdio-common/tst-perror.c: Likewise.
2965         * stdio-common/tst-sprintf2.c: Likewise.
2966         * stdio-common/tst-sprintf3.c: Likewise.
2967         * stdio-common/tst-sprintf.c: Likewise.
2968         * stdio-common/tst-swprintf.c: Likewise.
2969         * stdio-common/tst-tmpnam.c: Likewise.
2970         * stdio-common/tst-unbputc.c: Likewise.
2971         * stdio-common/tst-wc-printf.c: Likewise.
2972         * stdlib/tst-environ.c: Likewise.
2973         * stdlib/tst-fmtmsg.c: Likewise.
2974         * stdlib/tst-limits.c: Likewise.
2975         * stdlib/tst-rand48-2.c: Likewise.
2976         * stdlib/tst-rand48.c: Likewise.
2977         * stdlib/tst-random2.c: Likewise.
2978         * stdlib/tst-random.c: Likewise.
2979         * stdlib/tst-strtol.c: Likewise.
2980         * stdlib/tst-strtoll.c: Likewise.
2981         * stdlib/tst-tls-atexit.c: Likewise.
2982         * stdlib/tst-xpg-basename.c: Likewise.
2983         * string/test-ffs.c: Likewise.
2984         * string/tst-bswap.c: Likewise.
2985         * string/tst-inlcall.c: Likewise.
2986         * string/tst-strtok.c: Likewise.
2987         * string/tst-strxfrm.c: Likewise.
2988         * sysdeps/x86_64/tst-audit10.c: Likewise.
2989         * sysdeps/x86_64/tst-audit3.c: Likewise.
2990         * sysdeps/x86_64/tst-audit4.c: Likewise.
2991         * sysdeps/x86_64/tst-audit5.c: Likewise.
2992         * time/tst-ftime_l.c: Likewise.
2993         * time/tst-getdate.c: Likewise.
2994         * time/tst-mktime3.c: Likewise.
2995         * time/tst-mktime.c: Likewise.
2996         * time/tst-posixtz.c: Likewise.
2997         * time/tst-strptime2.c: Likewise.
2998         * time/tst-strptime3.c: Likewise.
2999         * wcsmbs/tst-btowc.c: Likewise.
3000         * wcsmbs/tst-mbrtowc.c: Likewise.
3001         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3002         * wcsmbs/tst-wchar-h.c: Likewise.
3003         * wcsmbs/tst-wcpncpy.c: Likewise.
3004         * wcsmbs/tst-wcrtomb.c: Likewise.
3005         * wcsmbs/tst-wcsnlen.c: Likewise.
3006         * wcsmbs/tst-wcstof.c: Likewise.
3007
3008 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3009
3010         [BZ #14132]
3011         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3012         INTDEF.
3013         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3014         declaration.
3015         (_dl_mcount): Use rtld_hidden_proto.
3016         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3017         _dl_mcount.
3018         * elf/rtld.c (_rtld_global_ro): Likewise.
3019
3020         [BZ #14132]
3021         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3022         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3023         of _dl_init_internal.
3024         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3025         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3026         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3027         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3028         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3029         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3030         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3031         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3032         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3033         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3034         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3035         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3036         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3037         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3038         * sysdeps/tile/dl-start.S (_start): Likewise.
3039         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3040         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3041
3042         [BZ #14132]
3043         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3044         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3045         (rtld_progname): Make macro definition unconditional.
3046         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3047         INTDEF.
3048         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3049         (dl_main): Likewise.
3050         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3051         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3052         instead of _dl_argv_internal.
3053         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3054         __GI__dl_argv instead of INTUSE(_dl_argv).
3055         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3056         __GI__dl_argv instead of _dl_argv_internal.
3057
3058         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3059         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3060         macro.
3061         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3062         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3063         New macro.
3064         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3065         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3066         macro.
3067         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3068         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3069
3070 2014-11-04  Andreas Schwab  <schwab@suse.de>
3071
3072         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3073
3074 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3075
3076         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3077         mtvsrd instruction in binary form.
3078
3079 2014-11-03  Andreas Schwab  <schwab@suse.de>
3080
3081         [BZ #17522]
3082         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3083         for less than MB_LEN_MAX use a local buffer of that size.
3084         * libio/tst-fputws.c: New file.
3085         * libio/Makefile (tests): Add tst-fputws.
3086
3087 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3088
3089         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3090         the size of the fpu_fr.fpu_dregs[] array.
3091
3092 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3093
3094         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3095         (__nanosleep): Do not define as alias.
3096         (nanosleep): Define as alias of __nanosleep.
3097         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3098         __libc_nanosleep name.
3099
3100 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3101
3102         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3103         install.texi in comment.
3104
3105 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3106
3107         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3108         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3109         ... add here and use lwsync or sync ...
3110         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3111         ... and add here using lwsync.
3112
3113 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3114
3115         * elf/dl-machine-reject-phdr.h: New file.
3116         * elf/dl-load.c: #include that.
3117         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3118         if that returned true.
3119
3120 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3121
3122         [BZ #17496]
3123         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3124         gen-as-const-headers chunk.  Add a big scare comment after the last
3125         safe place to touch before-compile.
3126
3127 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3128
3129         * manual/install.texi (Tools for Compilation): Update autoconf
3130         version requirements.
3131         * INSTALL: Regenerated.
3132
3133         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3134         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3135         (__libc_pselect): Likewise.
3136
3137         [BZ #14138]
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3142
3143 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3144
3145         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3146         correct barrier instruction.
3147         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3148         Likewise.
3149         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3150         Likewise.
3151
3152 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3153
3154         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3155         after defining inlines.  Instead, just use parens to defeat macro
3156         expansion of __isctype in its declaration.
3157
3158 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3159
3160         * include/sys/uio.h (__libc_readv): Remove declaration.
3161         (__libc_writev): Likewise.
3162         * misc/readv.c (__libc_readv): Rename to __readv.
3163         (__readv): Do not define as alias.
3164         (readv): Define as alias of __readv.
3165         * misc/writev.c (__libc_writev): Rename to __writev.
3166         (__writev): Do not define as alias.
3167         (writev): Define as alias of __writev.
3168         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3169         (__readv): Do not define as alias.
3170         (readv): Define unconditionally as alias of __readv.
3171         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3172         (__writev): Do not define as alias.
3173         (writev): Define unconditionally as alias of __writev.
3174         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3175         name.
3176         (writev): Do not define __libc_writev name.
3177
3178 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3179
3180         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3181         (convert_charseq): New function, broken out of ...
3182         (use_from_charmap): ... here.  Call it.
3183         (use_to_charmap): Use convert_charseq and free instead of duplicating
3184         its code with a variable-length stack struct.
3185
3186 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3187
3188         * include/fcntl.h (__libc_creat): Remove declaration.
3189         * io/creat.c (__libc_creat): Rename to creat.
3190         (creat): Do not define as alias.
3191         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3192         of creat instead of __libc_creat.
3193         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3194         to creat.
3195         (creat): Do not define as alias.
3196         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3197         __libc_creat.
3198         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3199         __libc_creat name.
3200         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3201         Likewise.
3202
3203 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3204
3205         * manual/llio.texi: Add comments discussing why write() may be
3206         considered MT-unsafe on Linux.
3207
3208 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3209
3210         * dl-load.c (local_strdup): Remove.
3211         (expand_dynamic_string_token): Use __strdup.
3212         (decompose_rpath): Likewise.
3213         (_dl_map_object): Likewise.
3214
3215 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3216
3217         [BZ #14132]
3218         * sysdeps/generic/unwind-dw2-fde.c
3219         (__register_frame_info_bases_internal): Do not declare.
3220         (__register_frame_info_table_bases_internal): Likewise.
3221         (__deregister_frame_info_bases_internal): Likewise.
3222         (__register_frame_info_bases): Declare and use hidden_proto before
3223         definition.  Use hidden_def instead of INTDEF.
3224         (__register_frame_info_table_bases): Likewise.
3225         (__deregister_frame_info_bases): Likewise.
3226         (__register_frame_info): Do not use INTUSE.
3227         (__register_frame): Likewise.
3228         (__register_frame_info_table): Likewise.
3229         (__register_frame_table): Likewise.
3230         (__deregister_frame_info): Likewise.
3231         (__deregister_frame): Likewise.
3232
3233 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3234
3235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3236         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3237         not undefine.
3238         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3239         Likewise.
3240         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3241         Likewise.
3242
3243 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3244
3245         [BZ #14138]
3246         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3247         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3248         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3249         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3250         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3251         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3252         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3253         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3254         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3255         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3256         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3257         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3258         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3259         syscall.
3260         (setfsuid): Likewise.
3261         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3262         (setfsuid): Likewise.
3263         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3264         (setfsuid): Likewise.
3265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3266         Likewise.
3267         (setfsuid): Likewise.
3268         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3269         (setfsuid): Likewise.
3270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3271         Likewise.
3272         (setfsuid): Likewise.
3273
3274 2014-10-27  Andreas Schwab  <schwab@suse.de>
3275
3276         [BZ #17501]
3277         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3278         check for Slow_SSE4_2 feature bit.
3279         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3280         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3281         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3282         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3283
3284 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3285
3286         * configure.ac: Validate compiler version with a empirical test of
3287         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3288         $CC -v output.
3289         * configure: Regenerated.
3290
3291         * inet/htons.c (htons): Prototypify.
3292         * inet/htonl.c (htonl): Likewise.
3293
3294 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3295
3296         * string/strncat.c (strncat): Improve performance by using strlen.
3297
3298 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3299
3300         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3301
3302 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3303
3304         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3305         Call libc_fetestexcept_aarch64.
3306
3307 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3308
3309         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3310         Call libc_feholdexcept_aarch64.
3311
3312 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3313
3314         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3315         Call get_rounding_mode.
3316
3317 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3318
3319         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3320         Simplify logic.
3321
3322 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3323
3324         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3325         Simplify logic.
3326
3327 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3328
3329         [BZ #14138]
3330         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3331         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3332         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3333         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3334         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3335         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3336         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3337         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3338         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3339         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3340         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3341         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3342         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3343         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3344         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3345         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3346         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3347         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3348         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3349         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3350         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3351         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3352         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3353         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3354         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3355         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3356         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3357         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3358         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3359         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3360         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3361         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3362         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3363         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3364         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3365         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3366         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3367         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3368         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3369         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3370         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3371         syscall.
3372         (geteuid): Likewise.
3373         (getgid): Likewise.
3374         (getuid): Likewise.
3375         (getresgid): Likewise.
3376         (getresuid): Likewise.
3377         (getgroups): Likewise.
3378         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3379         (geteuid): Likewise.
3380         (getgid): Likewise.
3381         (getuid): Likewise.
3382         (getresgid): Likewise.
3383         (getresuid): Likewise.
3384         (getgroups): Likewise.
3385         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3386         (geteuid): Likewise.
3387         (getgid): Likewise.
3388         (getuid): Likewise.
3389         (getresgid): Likewise.
3390         (getresuid): Likewise.
3391         (getgroups): Likewise.
3392         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3393         Likewise.
3394         (geteuid): Likewise.
3395         (getgid): Likewise.
3396         (getuid): Likewise.
3397         (getresgid): Likewise.
3398         (getresuid): Likewise.
3399         (getgroups): Likewise.
3400         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3401         (geteuid): Likewise.
3402         (getgid): Likewise.
3403         (getuid): Likewise.
3404         (getresgid): Likewise.
3405         (getresuid): Likewise.
3406         (getgroups): Likewise.
3407         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3408         Likewise.
3409         (geteuid): Likewise.
3410         (getgid): Likewise.
3411         (getuid): Likewise.
3412         (getgroups): Likewise.
3413
3414         [BZ #14138]
3415         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3416         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3417         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3418         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3419         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3420         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3421         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3422         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3423         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3424         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3425         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3426         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3427         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3428         __chown.
3429         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3430         (lchown): Likewise.
3431         (fchown): Likewise.
3432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3433         Likewise.
3434         (lchown): Likewise.
3435         (fchown): Likewise.
3436         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3437         (lchown): Likewise.
3438         (fchown): Likewise.
3439         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3440         Likewise.
3441         (lchown): Likewise.
3442         (fchown): Likewise.
3443
3444 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3445
3446         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3447         Simplify logic.
3448
3449 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3450
3451         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3452         Cleanup logic.
3453
3454 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3455
3456         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3457         Remove unused include.
3458
3459 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3460
3461         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3462         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3463         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3464         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3465
3466 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3467             Helge Deller <deller@gmx.de>
3468
3469         [BZ #17508]
3470         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3471         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3472         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3473
3474 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3475
3476         [BZ #14132]
3477         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3478         Remove macro definition.
3479         (__ashrdi3_v_glibc20): Likewise.
3480         (__lshrdi3_v_glibc20): Likewise.
3481         (__cmpdi2_v_glibc20): Likewise.
3482         (__ucmpdi2_v_glibc20): Likewise.
3483         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3484         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3485         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3486         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3487         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3488         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3489
3490 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3491
3492         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3493         old GNU extension [0] syntax.
3494         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3495         alloca rather than an array member with variable length.
3496         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3497         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3498         (parse_opt): ... here.  Likewise use alloca there.
3499         Validate the -i argument before checking for rootness.
3500         (send_shutdown): New function, broken out of ...
3501         (parse_opt): ... here.
3502
3503 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3504
3505         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3506         macro to get at the _rt_local_ro field.
3507         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3508         ([PIC] case) or _dl_hwcap ([!PIC] case).
3509         * sysdeps/arm/setjmp.S: Likewise.
3510
3511         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3512         * sysdeps/arm/configure.ac: New check to define it.
3513         * sysdeps/arm/configure: Regenerated.
3514         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3515         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3516         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3517         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3518         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3519         Use move/movt pair instead of a load.
3520         (LDST_GLOBAL): Macro removed.
3521         (LDR_GLOBAL): New macro replaces it.
3522         (LDR_HIDDEN): New macro.
3523         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3524         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3525
3526         * setjmp/tst-setjmp-static.c: New file.
3527         * setjmp/Makefile (tests): Add it.
3528         (tests-static): New variable.
3529
3530 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3531
3532         [BZ #17485]
3533         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3534
3535 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3536
3537         [BZ #14132]
3538         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3539
3540 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3541
3542         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3543
3544 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3545
3546         * io/fts.c (dirent_not_directory): New function.
3547         (fts_build): Call it.
3548
3549 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3550
3551         * nptl/version.c (__nptl_main): Use normal __write rather than
3552         INTERNAL_SYSCALL.
3553         (banner): Update copyright years.
3554
3555         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3556         gettimeofday.
3557         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3558         * nptl/pthread_cond_timedwait.c: Likewise.
3559         * nptl/pthread_mutex_timedlock.c: Likewise.
3560         * nptl/sem_timedwait.c: Likewise.
3561
3562         * sysdeps/nptl/bits/libc-lock.h
3563         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3564         (__libc_lock_init_recursive): Return void, not 0.
3565         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3566         (__libc_rwlock_init): Likewise.
3567         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3568
3569 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3570
3571         [BZ #15215]
3572         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3573         (__pthread_once_slow): ... here.
3574         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3575         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3576
3577 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3578
3579         [BZ #15215]
3580         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3581         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3582         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3583         * nptl/pthread_once.c (__pthread_once): Likewise.
3584         Update comments.
3585
3586 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3587
3588         [BZ #14138]
3589         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3590         name.
3591         (writev): Use __libc_writev as strong name.
3592         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3593         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3594
3595 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3596
3597         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3598
3599         * sysdeps/i386/nptl/tls.h
3600         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3601         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3602         New macros.
3603         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3604         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3605         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3606         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3607         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3608         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3609
3610         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3611         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3612         on [__NR_futex].
3613         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3614         broken out of ...
3615         (__pthread_mutex_init): ... here.  Call it.
3616         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3617         Conditionalize PI cases on [__NR_futex].
3618         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3619         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3620         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3621
3622         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3623         conditional on [SIGSETXID].
3624         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3625         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3626         is defined.  Likewise for SIGSETXID.
3627         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3628         Conditionalize definitions on [SIGSETXID].
3629         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3630         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3631         unblocking on [SIGCANCEL].
3632
3633         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3634         [__NR_set_robust_list].
3635
3636 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3637
3638         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3639         (do_compare): Likewise.
3640
3641 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3642
3643         [BZ #15884]
3644         * string/strcoll_l.c: Don't include stdio.h.
3645         (coll_seq): Remove members idxarr and rulearr.
3646         (get_next_seq_cached): Remove function.
3647         (get_next_seq): Likewise.
3648         (get_next_seq_nocache): Rename to get_next_seq.
3649         (do_compare): Remove function.
3650         (do_compare_nocache): Rename to do_compare.
3651         (STRCOLL): Remove weight and rules cache.
3652
3653 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3654
3655         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3656         * sysdeps/arm/sfp-machine.h: ... to here.
3657         * sysdeps/arm/Implies: Remove arm/soft-fp.
3658
3659 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3660
3661         * conform/data/sys/utsname.h-data (*_t): Allow.
3662         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3663         [POSIX] (WEXITED): Do not expect constant.
3664         [POSIX] (WSTOPPED): Likewise.
3665         [POSIX] (WNOHANG): Likewise.
3666         [POSIX] (WNOWAIT): Likewise.
3667         [POSIX] (siginfo_t): Do not expect type or elements.
3668         [POSIX] (pid_t): Do not expect type.
3669         [POSIX] (signal.h): Do not allow header.
3670         [POSIX] (sys/resource.h): Likewise.
3671         [POSIX] (si_*): Do not allow pattern.
3672         [POSIX] (W*): Likewise.
3673         [POSIX] (P_*): Likewise.
3674         [POSIX] (BUS_*): Likewise.
3675         [POSIX] (CLD_*): Likewise.
3676         [POSIX] (FPE_*): Likewise.
3677         [POSIX] (ILL_*): Likewise.
3678         [POSIX] (POLL_*): Likewise.
3679         [POSIX] (SEGV_*): Likewise.
3680         [POSIX] (SI_*): Likewise.
3681         [POSIX] (TRAP_*): Likewise.
3682         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3683         variable.
3684
3685 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3686
3687         [BZ #12926]
3688         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3689         infinite loop when __recvmsg returns 0.
3690
3691 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3692
3693         * CANCEL-FCT-WAIVE: Remove file.
3694         * CANCEL-FILE-WAIVE: Likewise.
3695
3696         [BZ #14132]
3697         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3698         instead of INTVARDEF.
3699         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3700         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3701         rtld_hidden_data_def instead of INTVARDEF.
3702         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3703         * elf/dl-deps.c (expand_dst): Likewise.
3704         * elf/dl-load.c (_dl_dst_count): Likewise.
3705         (_dl_dst_substitute): Likewise.
3706         (decompose_rpath): Likewise.
3707         (_dl_init_paths): Likewise.
3708         (open_path): Likewise.
3709         (_dl_map_object): Likewise.
3710         * elf/rtld.c (dl_main): Likewise.
3711         (process_dl_audit): Likewise.
3712         (process_envvars): Likewise.
3713         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3714         Remove declaration.
3715         (__libc_enable_secure): Use rtld_hidden_proto.
3716
3717 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3718
3719         * elf/dl-load.c
3720         (add_path): New function broken out of _dl_rtld_di_serinfo.
3721         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3722
3723 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3724
3725         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3726         parentheses around macro arguments.
3727         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3728         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3729         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3730         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3731         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3732         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3733         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3734         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3735         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3736         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3737         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3738         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3739         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3740         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3741         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3742         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3743         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3744         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3745         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3746         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3747         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3748         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3749         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3750         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3751         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3752         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3753         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3754         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3755         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3756         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3757         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3758         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3759         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3760         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3761         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3762         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3763         Likewise.
3764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3766         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3770         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3771         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3772         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3774         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3775         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3776         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3778         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3779         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3781         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3782         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3783         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3785         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3786         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3787         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3788         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3789         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3790         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3791         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3792         (_FP_FRAC_SRS_1): Likewise.
3793         (_FP_FRAC_CLZ_1): Likewise.
3794         (_FP_MUL_MEAT_1_imm): Likewise.
3795         (_FP_MUL_MEAT_1_wide): Likewise.
3796         (_FP_MUL_MEAT_1_hard): Likewise.
3797         (_FP_SQRT_MEAT_1): Likewise.
3798         (_FP_FRAC_ASSEMBLE_1): Likewise.
3799         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3800         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3801         (__FP_CLZ_2): Likewise.
3802         (_FP_MUL_MEAT_2_wide): Likewise.
3803         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3804         (_FP_MUL_MEAT_2_gmp): Likewise.
3805         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3806         (_FP_SQRT_MEAT_2): Likewise.
3807         (_FP_FRAC_ASSEMBLE_2): Likewise.
3808         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3809         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3810         (_FP_FRAC_CLZ_4): Likewise.
3811         (_FP_MUL_MEAT_4_wide): Likewise.
3812         (_FP_MUL_MEAT_4_gmp): Likewise.
3813         (_FP_SQRT_MEAT_4): Likewise.
3814         (_FP_FRAC_ASSEMBLE_4): Likewise.
3815         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3816         * soft-fp/op-common.h (_FP_CMP): Likewise.
3817         (_FP_CMP_EQ): Likewise.
3818         (_FP_CMP_UNORD): Likewise.
3819         (_FP_TO_INT): Likewise.
3820         (_FP_FROM_INT): Likewise.
3821         [!__FP_CLZ] (__FP_CLZ): Likewise.
3822         (_FP_DIV_HELP_imm): Likewise.
3823         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3824         Likewise.
3825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3831         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3835         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3836         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3839         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3840         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3841         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3845         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3849         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3853         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3854         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3857         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3858         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3859         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3860         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3861         (FP_UNPACK_RAW_SP): Likewise.
3862         (FP_PACK_RAW_S): Likewise.
3863         (FP_PACK_RAW_SP): Likewise.
3864         (FP_UNPACK_S): Likewise.
3865         (FP_UNPACK_SP): Likewise.
3866         (FP_UNPACK_SEMIRAW_S): Likewise.
3867         (FP_UNPACK_SEMIRAW_SP): Likewise.
3868         (FP_PACK_S): Likewise.
3869         (FP_PACK_SP): Likewise.
3870         (FP_PACK_SEMIRAW_S): Likewise.
3871         (FP_PACK_SEMIRAW_SP): Likewise.
3872         (_FP_SQRT_MEAT_S): Likewise.
3873         (FP_CMP_S): Likewise.
3874         (FP_CMP_EQ_S): Likewise.
3875         (FP_CMP_UNORD_S): Likewise.
3876         (FP_TO_INT_S): Likewise.
3877         (FP_FROM_INT_S): Likewise.
3878
3879         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3880
3881         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3882         (FP_EX_INVALID_IMZ): Likewise.
3883         (FP_EX_INVALID_IMZ_FMA): Likewise.
3884         (FP_EX_INVALID_ISI): Likewise.
3885         (FP_EX_INVALID_ZDZ): Likewise.
3886         (FP_EX_INVALID_IDI): Likewise.
3887         (FP_EX_INVALID_SQRT): Likewise.
3888         (FP_EX_INVALID_CVI): Likewise.
3889         (FP_EX_INVALID_VC): Likewise.
3890         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3891         "invalid" exceptions.
3892         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3893         (_FP_ADD_INTERNAL): Likewise.
3894         (_FP_MUL): Likewise.
3895         (_FP_FMA): Likewise.
3896         (_FP_DIV): Likewise.
3897         (_FP_CMP_CHECK_NAN): Likewise.
3898         (_FP_SQRT): Likewise.
3899         (_FP_TO_INT): Likewise.
3900         (FP_EXTEND): Likewise.
3901
3902 2014-10-09  Allan McRae  <allan@archlinux.org>
3903
3904         * po/fr.po: Update French translation from translation project.
3905
3906 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3907
3908         [BZ #14132]
3909         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3910         of INTDEF.
3911         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3912         (__cxa_atexit): Use libc_hidden_proto.
3913         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3914
3915         [BZ #14132]
3916         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3917         declaration.
3918         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3919         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3920         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3921         [!_ISOMAC] (__iswctype_internal): Likewise.
3922         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3923         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3924         alias.
3925         (fcntl): Remove __fcntl_internal alias.
3926         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3927         __connect_internal alias.
3928         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3929         Likewise.
3930
3931         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3932         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3933         FP_DENORM_ZERO.
3934         (_FP_CHECK_FLUSH_ZERO): New macro.
3935         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3936         (_FP_CMP): Likewise.
3937         (_FP_CMP_EQ): Likewise.
3938         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3939         FP_DENORM_ZERO.
3940         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3941         (FP_TRUNC): Likewise.
3942
3943         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3944         treated as invalid conversion, not as normal exponent.
3945
3946         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3947         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3948         (_FP_CMP_EQ): Likewise.
3949         (_FP_CMP_UNORD): Likewise.
3950         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3951         (FP_CMP_EQ_D): Likewise.
3952         (FP_CMP_UNORD_D): Likewise.
3953         * soft-fp/extended.h (FP_CMP_E): Likewise.
3954         (FP_CMP_EQ_E): Likewise.
3955         (FP_CMP_UNORD_E): Likewise.
3956         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3957         (FP_CMP_EQ_Q): Likewise.
3958         (FP_CMP_UNORD_Q): Likewise.
3959         * soft-fp/single.h (FP_CMP_S): Likewise.
3960         (FP_CMP_EQ_S): Likewise.
3961         (FP_CMP_UNORD_S): Likewise.
3962         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3963         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3964         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3965         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3966         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3967         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3968         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3969         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3970         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3971         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3972         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3973         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3974         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3975         to FP_CMP_Q.
3976         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3977         FP_CMP_Q.
3978         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3979         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3980         FP_CMP_EQ_Q.
3981         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3982         FP_CMP_Q.
3983         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3984         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3985         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3986         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3987         FP_CMP_EQ_Q.
3988         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3989         FP_CMP_Q.
3990         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3991         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3992         FP_CMP_EQ_Q.
3993         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3994         FP_CMP_Q.
3995         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3996         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3997         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3998         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3999         FP_CMP_EQ_Q.
4000
4001         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4002         a subnormal result, set the underflow exception if trapping on
4003         underflow is enabled.
4004         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4005         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4006         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4007         redefine to 0.
4008         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4009         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4010         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4011         * soft-fp/extendxftf2.c (__extendxftf2): Use
4012         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4013
4014         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4015         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4016         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4017         FP_HANDLE_EXCEPTIONS.
4018         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4019         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4020         FP_HANDLE_EXCEPTIONS.
4021         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4022         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4023         FP_HANDLE_EXCEPTIONS.
4024         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4025         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4026         FP_HANDLE_EXCEPTIONS.
4027
4028 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4029
4030         [BZ #14132]
4031         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4032         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4033         use INTUSE.
4034         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4035         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4036         Remove alias.
4037         (__adjtimex): Define using libc_hidden_ver.
4038         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4039         Remove declaration.
4040         (ntp_gettime): Call __adjtimex directly.
4041         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4042         Remove declaration.
4043         (ntp_gettimex): Call __adjtimex directly.
4044         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4045         __adjtimex_internal alias.
4046
4047 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4048
4049         [BZ #17460]
4050         * nscd/nscd.c (more_help): Rewrite list of tables collection
4051         using xstrdup and asprintf.
4052
4053         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4054
4055 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4056             Roland McGrath  <roland@hack.frob.com>
4057
4058         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4059         (do_lookup_unique): ... local function 'enter' here; update callers.
4060
4061 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4062
4063         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4064         compat_symbol calls on [SHARED].
4065         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4066         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4067         Remove.
4068         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4069         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4070         (oldsetrlimit): Remove.
4071         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4073         (lchown): New syscall entry.
4074         (oldsetrlimit): Remove.
4075         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4076         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4077         (oldsetrlimit): Remove.
4078         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4079
4080         [BZ #14138]
4081         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4082         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4083         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4084         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4085         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4086         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4087         (fchown): Likewise.
4088         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4089         (fchown): Likewise.
4090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4091         Likewise.
4092
4093 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4094
4095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4096         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4097         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4098         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4099         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4100         Likewise.
4101         (__old_sem_post): Likewise.
4102
4103 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4104
4105         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4106         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4107         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4108         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4109         Use INLINE_VSYSCALL macro.
4110         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4111         __vdso_clock_gettime.
4112         * sysdeps/unix/sysv/linux/tile/init-first.c
4113         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4114         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4115         __vdso_clock_gettime.
4116
4117         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4118         to set up frame more cleanly.
4119
4120         * sysdeps/tile/memcmp.c: New file.
4121
4122         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4123
4124         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4125         * sysdeps/tile/tilegx/strcasestr.c: New file.
4126         * sysdeps/tile/tilegx/strnlen.c: New file.
4127         * sysdeps/tile/tilegx/strstr.c: New file.
4128
4129         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4130
4131 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4132
4133         * nptl/tst-setuid3.c: Write errors to stdout.
4134
4135 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4136
4137         * elf/dl-deps.c
4138         (preload): New functions broken out of _dl_map_object_deps.
4139         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4140
4141 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4142
4143         [BZ #14138]
4144         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4145         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4146
4147 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4148
4149         * sysdeps/mips/strcmp.S: New.
4150
4151 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4152
4153         [BZ #14138]
4154         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4155         (linkat): Likewise.
4156         (mkdirat): Likewise.
4157         (readlinkat): Likewise.
4158         (renameat): Likewise.
4159         (symlinkat): Likewise.
4160         (unlinkat): Likewise.
4161         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4162         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4163         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4164         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4165         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4166         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4167         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4168
4169 2014-09-30  Will Newton  <will.newton@linaro.org>
4170
4171         * math/math.h: Define long double math functions if
4172         _LIBC_TEST is defined.
4173         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4174
4175         * localedata/Makefile: Move assignment to tests-special
4176         into an ifdef testing run-built-tests.
4177         * timezone/Makefile: Likewise.
4178
4179 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4180
4181         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4182         with $(BASH) not $(SHELL).
4183
4184 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4185             Matthew LeGendre  <legendre1@llnl.gov>
4186
4187         [BZ #17411]
4188         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4189         l_reloc_result.
4190
4191 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4192
4193         * stdio-common/printf_fp.c
4194         (hack_digit): New function, broken out of ...
4195         (__printf_fp): ... local function here.  Update call sites.
4196         hack_digit now takes an additional parameter that is a pointer
4197         to a struct of the referenced locals.  Those locals moved inside
4198         the struct and references updated.
4199
4200 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4201
4202         * aclocal.m4: Require autoconf 2.69.
4203         * configure: Regenerated.
4204         * sysdeps/aarch64/configure: Likewise.
4205         * sysdeps/alpha/configure: Likewise.
4206         * sysdeps/arm/armv7/configure: Likewise.
4207         * sysdeps/arm/configure: Likewise.
4208         * sysdeps/ia64/configure: Likewise.
4209         * sysdeps/mach/configure: Likewise.
4210         * sysdeps/mips/configure: Likewise.
4211         * sysdeps/s390/configure: Likewise.
4212         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4214
4215         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4216         file.
4217         * sysdeps/ia64/configure.ac: Likewise.
4218
4219 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4220
4221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4222         specify symbol version for ld.so.  Do not include entry for
4223         libpthread.
4224         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4225         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4226         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4227
4228         [BZ #14171]
4229         * Makeconfig [$(build-shared) = yes]
4230         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4231         makefiles.
4232         [$(build-shared) = yes && $(soversions.mk-done) = t]
4233         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4234         [$(build-shared) = yes && $(soversions.mk-done) = t]
4235         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4236         to Makerules.
4237         [$(build-shared) = yes && $(soversions.mk-done) = t]
4238         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4239         here.
4240         [$(build-shared) = yes && $(soversions.mk-done) = t]
4241         (common-generated): Don't append gnu/lib-names.h and
4242         gnu/lib-names.stmp here.
4243         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4244         (lib-names-h-abi): New variable.
4245         [$(build-shared) = yes && $(soversions.mk-done) = t]
4246         (lib-names-stmp-abi): Likewise.
4247         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4248         abi-variants] (before-compile): Append
4249         $(common-objpfx)$(lib-names-h-abi).
4250         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4251         abi-variants] (common-generated): Append gnu/lib-names.h.
4252         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4253         abi-variants] (install-others-nosubdir): Depend on
4254         $(inst_includedir)/$(lib-names-h-abi).
4255         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4256         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4257         [$(build-shared) = yes && $(soversions.mk-done) = t]
4258         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4259         [$(build-shared) = yes && $(soversions.mk-done) = t]
4260         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4261         [$(build-shared) = yes && $(soversions.mk-done) = t]
4262         (common-generated): Append $(lib-names-h-abi) and
4263         $(lib-names-stmp-abi).
4264         * scripts/lib-names.awk: Do not handle multi being set.
4265         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4266         Remove variable.
4267         (abi-lp64_be-ld-soname): Likewise.
4268         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4269         Likewise.
4270         (abi-hard-ld-soname): Likewise.
4271         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4272         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4273         Remove variable.
4274         (abi-o32_hard-ld-soname): Likewise.
4275         (abi-o32_soft_2008-ld-soname): Likewise.
4276         (abi-o32_hard_2008-ld-soname): Likewise.
4277         (abi-n32_soft-ld-soname): Likewise.
4278         (abi-n32_hard-ld-soname): Likewise.
4279         (abi-n32_soft_2008-ld-soname): Likewise.
4280         (abi-n32_hard_2008-ld-soname): Likewise.
4281         (abi-n64_soft-ld-soname): Likewise.
4282         (abi-n64_hard-ld-soname): Likewise.
4283         (abi-n64_soft_2008-ld-soname): Likewise.
4284         (abi-n64_hard_2008-ld-soname): Likewise.
4285         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4286         Likewise.
4287         (abi-64-v2-ld-soname): Likewise.
4288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4289         ld.so entries.
4290         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4291         variable.
4292         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4293         entry.
4294         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4295         variable.
4296         (abi-64-ld-soname): Likewise.
4297         (abi-x32-ld-soname): Likewise.
4298         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4299         entry.
4300         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4301
4302 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4303
4304         [BZ #14138]
4305         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4306         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4307         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4308         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4309         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4310         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4311         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4312         syscall entry for GLIBC_2.2 symbol version.
4313         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4314         Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4316         (setrlimit): Likewise.
4317         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4318         Likewise.
4319
4320 2014-09-23  Will Newton  <will.newton@linaro.org>
4321
4322         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4323         _LINUX_ARM_SYSDEP_H include guard too.
4324         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4325         define.
4326
4327 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4328
4329         * sysdeps/unix/sysv/linux/eventfd.c:
4330         Make first argument unsigned.
4331         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4332         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4333
4334 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4335
4336         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4337         * socket/sys/socket.h: Likewise
4338         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4339
4340 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4341
4342         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4343
4344 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4345
4346         * time/tst-ftime.c: New test.
4347         * time/Makefile (tests): Add tst-ftime.
4348
4349 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4350
4351         * soft-fp/extended.h: Fix comment formatting.
4352         * soft-fp/op-1.h: Likewise.
4353         * soft-fp/op-2.h: Likewise.
4354         * soft-fp/op-4.h: Likewise.
4355         * soft-fp/op-8.h: Likewise.
4356         * soft-fp/op-common.h: Likewise.
4357         * soft-fp/soft-fp.h: Likewise.
4358
4359         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4360
4361 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4362
4363         [BZ #6652]
4364         * Makeconfig (soversions-default-setname): Remove variable.
4365         ($(common-objpfx)soversions.i): Don't pass default_setname to
4366         soversions.awk.
4367         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4368         oldest_abi to abi-versions.awk.
4369         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4370         * config.make.in (oldest-abi): Remove variable.
4371         * configure.ac (--enable-oldest-abi): Remove configure option.
4372         * configure: Regenerated.
4373         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4374         text.
4375         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4376         * scripts/soversions.awk: Do not handle default_setname variable.
4377         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4378         variable.
4379         * sysdeps/mach/hurd/configure: Regenerated.
4380         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4381         variable.
4382         * sysdeps/unix/sysv/linux/configure: Regenerated.
4383
4384 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4385
4386         * elf/Makefile (CFLAGS-interp.c): Remove.
4387         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4388         path string.
4389         * elf/interp.c: Include generated runtime-linker.h
4390
4391         * Makerules (lib%.so): Don't include $(+interp) in
4392         prerequisites.
4393         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4394         * dlfcn/eval.c: Remove file.
4395
4396         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4397         macros.
4398
4399         [BZ #17266]
4400         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4401         4.2 and newer.
4402
4403         [BZ #17370]
4404         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4405
4406 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4407             Jakub Jelinek  <jakub@redhat.com>
4408
4409         [BZ #17266]
4410         * libio/stdio.h: Check definition of __fortify_function
4411         instead of __extern_always_inline to include bits/stdio2.h.
4412         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4413         check if __extern_always_inline is defined.
4414         [__USE_MISC || __USE_XOPEN]: Likewise.
4415         [__USE_ISOC99] Likewise.
4416         * misc/sys/cdefs.h (__fortify_function): Define only if
4417         __extern_always_inline is defined.
4418         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4419         __extern_always_inline and __extern_inline only for g++-4.3
4420         and newer or a compatible gcc.
4421
4422 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4423
4424         [BZ #17371]
4425         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4426         last change to handle zero prefix length.
4427
4428 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4429
4430         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4431         _SC_REGEX_VERSION.
4432
4433         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4434         _POSIX_RAW_SOCKETS.
4435
4436 2014-09-13  Allan McRae  <allan@archlinux.org>
4437
4438         * po/ru.po: Update Russian translation from translation project.
4439
4440 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4441
4442         * locale/programs/locale.c (show_locale_vars): Inline local function
4443         into its sole call site.  Clean up some style nits.
4444         (print_item): New function, broken out of ...
4445         (show_info): ... local function here.  Clean up style nits.
4446
4447         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4448         out of ...
4449         (set_class_defaults): ... local function set_default here.
4450         Define set_default as a macro locally to pass constant parameters.
4451         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4452         rather than a shared local.
4453
4454         * stdlib/rpmatch.c (try): New function, broken out of ...
4455         (rpmatch): ... local function here.  Also, prototypify definition.
4456
4457 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4458
4459         * scripts/soversions.awk: Do not handle configuration names.
4460         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4461         vendor and os variables to soversions.awk.
4462         * configure.ac: Do not modify gnu-* host_os.
4463         * configure: Regenerated
4464         * shlib-versions: Remove first column with configuration names.
4465         * nptl/shlib-versions: Likewise.
4466         * nptl_db/shlib-versions: Likewise.
4467         * sysdeps/hppa/shlib-versions: Likewise.
4468         * sysdeps/m68k/shlib-versions: Likewise.
4469         * sysdeps/mach/hurd/shlib-versions: Likewise.
4470         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4471         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4472         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4473         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4474         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4475         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4476         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4477         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4479         Likewise.
4480         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4481         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4482         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4483         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4484         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4485         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4486         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4487         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4488
4489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4490         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4492         Regenerated.
4493         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4495         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4496
4497         * shlib-versions: Remove OS-specific entries.  Moved to files in
4498         sysdeps.
4499         * sysdeps/mach/hurd/shlib-versions: New file.
4500         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4501
4502         * nptl/shlib-versions: Remove architecture-specific entries.
4503         Moved to files in sysdeps.
4504         * shlib-versions: Likewise.
4505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4506         file.
4507         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4508         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4511
4512         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4513         (UDP_NO_CHECK6_RX): Likewise.
4514
4515 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4516
4517         * sysdeps/posix/sysconf.c (__sysconf): Spell
4518         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4519
4520 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4521
4522         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4523         loading.
4524         * iconv/Versions (__gconv_transliterate): Export for use from
4525         gconv modules.
4526         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4527         (struct __gconv_trans_data, __gconv_trans_fct,
4528         __gconv_trans_context_fct, __gconv_trans_query_fct,
4529         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4530         definitions.
4531         (struct __gconv_step_data): Remove __trans member.
4532         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4533         longer hidden.  Remove unused trans_data argument.
4534         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4535         (__gconv_translit_find): Remove declaration.
4536         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4537         prototype.
4538         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4539         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4540         trans_data argument.  Add hidden definition.
4541         (__gconv_translit_find): Remove.
4542         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4543         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4544         * iconv/skeleton.c: Remove transliteration initialization.
4545         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4546         __gconv_step_data initialization.
4547         * libio/iofwide.c (__libio_translit_): Remove.
4548         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4549         * wcsmbs/btowc.c (__btowc): Likewise.
4550         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4551         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4552         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4553         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4554         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4555         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4556         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4557         * wcsmbs/wctob.c (wctob): Likewise.
4558
4559 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4560
4561         [BZ #16194]
4562         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4563         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4564         register usage.
4565         * sysdeps/x86/Makefile: Adjust.
4566
4567 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4568             Roland McGrath  <roland@hack.frob.com>
4569
4570         * locale/weight.h: Add include guard.
4571         (findidx): Make static rather than auto; take new parameters
4572         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4573         * locale/weightwc.h: Likewise.
4574         * posix/fnmatch_loop.c
4575         (FCT): Change type of EXTRA from int32_t to wint_t.
4576         Don't include either header inside the function.
4577         Call FINDIDX rather than findidx, and pass new arguments.
4578         #undef FINDIDX at the end of the file.
4579         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4580         FINDIDX before including fnmatch_loop.c for the non-wide version.
4581         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4582         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4583         for the wide version.
4584         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4585         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4586         Pass new arguments to findidx.
4587         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4588         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4589         Don't #include it inside the function.  Pass new arguments to findidx.
4590         * posix/regex_internal.h
4591         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4592         (re_string_elem_size_at): Don't #include it inside the function.
4593         Pass new arguments to findidx.
4594         * string/strcoll_l.c: #include WEIGHT_H at top level.
4595         (get_next_seq): Don't #include it inside the function.
4596         Pass new arguments to findidx.
4597         (get_next_seq_nocache): Likewise.
4598         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4599         (STRXFRM): Don't #include it inside the function.
4600         Pass new arguments to findidx.
4601
4602 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4603
4604         [BZ #17344]
4605         * malloc/malloc.c (unlink): Turn asserts into a call to
4606         malloc_printerr.
4607
4608 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4609
4610         [BZ #17370]
4611         * libio/wfileops (do_ftell_wide): Free OUT.
4612
4613 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4614
4615         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4616
4617 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4618
4619         [BZ #17363]
4620         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4621         group if the current group is empty.
4622
4623 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4624
4625         * benchtests/bench-memset.c (test_main): Add more test from size
4626         from 32 to 512 bytes.
4627         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4628         Add POWER8 memset object.
4629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4630         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4631         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4632         implementation.
4633         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4634         Likewise.
4635         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4636         multiarch POWER8 memset optimization.
4637         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4638         POWER8 memset optimization.
4639
4640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4641         Remove bzero multiarch objects.
4642         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4643         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4644         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4645         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4646         Remove define.
4647         [__bzero]: Redefine to specific name.
4648         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4649         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4650         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4651         define.
4652         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4653         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4654
4655 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4656
4657         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4658         warnings into errors.
4659
4660         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4661         __cxa_thread_atexit_impl prototype.
4662
4663 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4664
4665         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4666         Fix capitalization of error message.
4667
4668 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4669
4670         * sysdeps/mips/preconfigure: Modify ABI tests.
4671
4672 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4673
4674         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4675
4676 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4677             Carlos O'Donell  <carlos@systemhalted.org>
4678
4679         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4680         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4681         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4682         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4683         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4684         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4685         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4686         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4687         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4688         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4689         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4690         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4691         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4692         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4693         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4694         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4695         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4696         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4697         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4698         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4699         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4700         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4701         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4702         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4703         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4704         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4705         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4706         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4707         Deconditionalize the code that was previously under [RESET_PID].
4708         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4709         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4710         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4711         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4712         include sysdep.h.
4713
4714 2014-09-08  Allan McRae  <allan@archlinux.org>
4715
4716         * version.h (RELEASE): Set to "development".
4717         (VERSION): Set to "2.20.90"
4718
4719 2014-09-07  Allan McRae  <allan@archlinux.org
4720
4721         * version.h (RELEASE): Set to "stable".
4722         (VERSION): Set to "2.20"
4723         * include/features.h (__GLIBC_MINOR__): Set to 20.
4724
4725         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4726         Liebler.
4727
4728         * po/ko.po: Update Korean translation from translation project.
4729
4730 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4731
4732         [BZ #17354]
4733         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4734         macro for handling signed relocations.
4735
4736 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4737
4738         [BZ #17325]
4739         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4740         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4741         assert.
4742         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4743         * iconvdata/ibm935.c (BODY): Likewise.
4744         * iconvdata/ibm937.c (BODY): Likewise.
4745         * iconvdata/ibm939.c (BODY): Likewise.
4746         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4747         assert.
4748         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4749         script.
4750         * iconvdata/run-iconv-test.sh: New test loop for checking for
4751         decoder crashers.
4752
4753 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4754
4755         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4756         libm_hidden_ver.
4757
4758 2014-09-01  Allan McRae  <allan@archlinux.org>
4759
4760         * po/eo.po: Update Esperanto translation from translation project.
4761
4762         * po/ca.po: Update Catalan translation from translation project.
4763
4764 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4765
4766         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4767         __proc_dostop call.
4768
4769 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4770
4771         [BZ #17319]
4772         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4773         to call set_thread_area instead of hand written asm.
4774         (__NR_set_thread_area): Removed define.
4775         (TLS_FLAG_WRITABLE): Likewise.
4776         (__ASSUME_SET_THREAD_AREA): Remove check.
4777         (TLS_EBX_ARG): Remove define.
4778         (TLS_LOAD_EBX): Likewise.
4779
4780 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4781
4782         Simplify atomicity of socket creation in bind.
4783
4784         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4785         looking up the name after linking the file.
4786
4787 2014-08-27  Allan McRae  <allan@archlinux.org>
4788
4789         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4790
4791 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4792
4793         [BZ #17187]
4794         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4795         trans_compare, open_translit, __gconv_translit_find):
4796         Remove module loading code.
4797
4798 2014-08-26  Allan McRae  <allan@archlinux.org>
4799
4800         * po/vi.po: Update Vietnamese translation from translation project.
4801
4802         * po/uk.po: Update Ukrainian translation from translation project.
4803
4804         * po/fr.po: Update French translation from translation project.
4805
4806         * po/ru.po: Update Russian translation from translation project.
4807
4808         * po/pl.po: Update Polish translation from translation project.
4809
4810         * po/cs.po: Update Czech translation from translation project.
4811
4812         * po/de.po: Update German translation from translation project.
4813
4814         * po/bg.po: Update Bulgarian translation from translation project.
4815
4816         * po/sv.po: Update Sweedish translation from translation project.
4817
4818         * po/nl.po: Update Dutch translation from translation project.
4819
4820         * po/es.po: Update Spanish translation from translation project.
4821
4822 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4823
4824         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4825
4826         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4827         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4828         (CPPFLAGS-iconvconfig): Likewise.
4829         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4830
4831         * include/libc-symbols.h: Remove unnecessary check for
4832         NOT_IN_libc.
4833         * nptl/pthreadP.h: Likewise.
4834         * sysdeps/aarch64/setjmp.S: Likewise.
4835         * sysdeps/alpha/setjmp.S: Likewise.
4836         * sysdeps/arm/sysdep.h: Likewise.
4837         * sysdeps/i386/setjmp.S: Likewise.
4838         * sysdeps/m68k/setjmp.c: Likewise.
4839         * sysdeps/posix/getcwd.c: Likewise.
4840         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4841         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4842         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4843         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4844         * sysdeps/sh/sh3/setjmp.S: Likewise.
4845         * sysdeps/sh/sh4/setjmp.S: Likewise.
4846         * sysdeps/unix/alpha/sysdep.h: Likewise.
4847         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4848         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4849         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4850         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4855         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4858         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4859         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4860         * sysdeps/x86_64/setjmp.S: Likewise.
4861
4862 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4863
4864         [BZ #17263]
4865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4866         <stdint.h>.
4867         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4868         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4869
4870 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4871
4872         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4873
4874         [BZ #17262]
4875         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4876         and __x86_64__ when disabling x87 inline functions.
4877
4878 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4879
4880         [BZ #17259]
4881         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4882         asm statement with __cpuid_count.
4883
4884 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4885
4886         * configure.ac: Change __ehdr_start code to dereference the struct.
4887         Run readelf on the output to look for relocations.
4888         * configure: Regenerated.
4889
4890 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4891
4892         [BZ #17261]
4893         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4894         value to 0.
4895         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4896
4897 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4898
4899         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4900
4901 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4902
4903         [BZ #16892]
4904         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4905         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4906
4907 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4908
4909         * malloc/malloc.c: Fix typo in comment.
4910
4911 2014-08-09  Allan McRae  <allan@archlinux.org>
4912
4913         * Regenerate libc.po.
4914
4915 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4916
4917         * intl/tst-gettext2.sh: Check every lang file for creation.
4918
4919 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4920
4921         * sysdeps/aarch64/fpu/math_private.h
4922         (libc_feholdsetround_noex_aarch64_ctx): New function.
4923
4924 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4925
4926         * sysdeps/arm/armv6/strcpy.S (strcpy):
4927         Fix performance issue in misaligned cases.
4928
4929 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4930
4931         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4932         Move definition from termios.h.
4933         (struct termio): Likewise.
4934         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4935         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4936         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4937         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4938         Likewise.
4939         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4940         Move definition to ioctl-types.h
4941         (struct termio): Likewise.
4942         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4943         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4944         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4945         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4946         Likewise.
4947
4948 2014-08-05  Richard Henderson  <rth@redhat.com>
4949
4950         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4951         exceptions.
4952         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4953         Add fraiseexcpt.
4954         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4955         Use __feraiseexcept.
4956         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4957         Protect libm symbols with IS_IN_libm.
4958
4959         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4960
4961 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4962
4963         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4964
4965 2014-08-04  Will Newton  <will.newton@linaro.org>
4966
4967         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4968         file.
4969
4970 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4971
4972         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4973         variants for each function.
4974
4975 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4976
4977         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4978         appended ...
4979         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4980         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4981         appended ...
4982         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4983         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4984         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4985         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4986         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4987         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4988         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4989         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4990         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4991         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4992         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4993         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4994         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4995         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4996         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4997         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4998         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4999         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5000         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5001         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5002         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5003         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5004         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5005         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5006         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5007         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5008         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5009         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5010         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5011         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5012         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5013         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5014         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5015         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5016         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5017         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5018         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5019         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5020         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5021         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5022         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5023         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5024         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5026         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5028         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5029         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5030         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5032         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5033         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5034         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5035         Update #include.
5036         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5037         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5038
5039 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5040
5041         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5042         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5043         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5044         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5045         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5046         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5047
5048 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5049
5050         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5051         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5052         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5053         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5054
5055 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5056
5057         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5058         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5059         (__libc_vfork): Define function under this name.
5060         (__vfork): Define as an alias.
5061         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5062         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5063
5064 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5065
5066         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5067         that was previously under [RESET_PID].
5068         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5069
5070 2014-08-04  Andreas Schwab  <schwab@suse.de>
5071
5072         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5073
5074 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5075
5076         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5077         (main): Likewise.
5078
5079 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5080
5081         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5082
5083 2014-08-01  Richard Henderon  <rth@redhat.com>
5084
5085         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5086         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5087         typo in exact zero test.
5088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5089         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5090         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5091
5092 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5093
5094         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5095         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5096         * sysdeps/arm/sysdep.h: ... here.
5097         [!__ASSEMBLER__]: Include <stdint.h>.
5098
5099 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5100
5101         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5102         (HAVE_WCTYPE_H): Likewise.
5103         (HAVE_ISWCTYPE): Likewise.
5104         (ENABLE_NLS): Likewise.
5105         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5106         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5107
5108         * posix/regex_internal.c: Check if DEBUG is defined and is
5109         set.
5110
5111         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5112         (HAVE_MBSRTOWCS): Likewise.
5113         * posix/fnmatch.c: Include string.h unconditionally.
5114
5115 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5116
5117         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5118         reversal.
5119
5120 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5121
5122         * sysdeps/generic/safe-fatal.h: New file.
5123         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5124         * nptl/forward.c: Include it.
5125         (__pthread_unwind): Use __safe_fatal as default action, rather
5126         than a bogus use of INTERNAL_SYSCALL that could never work.
5127
5128         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5129         * configure.ac (libc_cv_builtin_trap): New test.
5130         * configure: Regenerated.
5131         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5132         (ABORT_INSTRUCTION): Define using __builtin_trap.
5133
5134         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5135         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5136         * sysdeps/nptl/nptl-signals.h: New file.
5137         * nptl/pthreadP.h: Include <nptl-signals.h>.
5138
5139 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5140
5141         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5142         (ONE_DIRECTION): Define.
5143         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5144         (ONE_DIRECTION): Define.
5145         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5146         (ONE_DIRECTION): Define.
5147
5148 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5149
5150         * sysdeps/s390/Makefile: Delete file.
5151         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5152         * sysdeps/s390/__longjmp.c: Delete file.
5153         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5154         Remove fields __flags and __reserved.
5155         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5156         and add versioning.
5157         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5158         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5159         * sysdeps/s390/rtld-setjmp.S: Likewise.
5160         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5161         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5162         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5163         * sysdeps/s390/s390-32/setjmp.S: ... here.
5164         Add versioning.
5165         (__sigsetjmp): Remove setting __flags field.
5166         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5167         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5168         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5169         * sysdeps/s390/s390-64/setjmp.S: ... here.
5170         Add versioning.
5171         (__sigsetjmp): Remove setting __flags field.
5172         * sysdeps/s390/setjmp.S: Delete file.
5173         * sysdeps/s390/sigjmp.c: Likewise.
5174         * sysdeps/s390/v1-longjmp.c: Likewise.
5175         * sysdeps/s390/v1-setjmp.h: Likewise.
5176         * sysdeps/s390/v1-sigjmp.c: Likewise.
5177         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5178         Remove v1-longjmp_chk.
5179         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5180         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5181         Include debug/longjmp_chk.c and add versioning.
5182         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5183         Include nptl/pt-longjmp.c and add versioning.
5184         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5185         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5186         Include __longjmp.c.
5187         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5188         Move to ...
5189         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5190         (__getcontext): Remove setting __flags field.
5191         Add versioning.
5192         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5193         Don't restore upper high grps.
5194         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5195         Likewise.
5196         (__swapcontext): Remove setting uc_flags field.
5197         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5198         Delete file.
5199         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5200         Include __longjmp.c.
5201         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5202         Move to ...
5203         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5204         (__getcontext): Remove setting __flags field.
5205         Add versioning.
5206         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5207         (__swapcontext): Remove setting uc_flags field.
5208         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5209         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5210         Remove fields uc_high_gprs and __reserved.
5211         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5212         New file with reverted content.
5213         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5214         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5215         Regenerated.
5216         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5217         Regenerated.
5218
5219 2014-07-31  Andreas Schwab  <schwab@suse.de>
5220
5221         * config.h.in (HAVE_IFUNC): Define to 0.
5222         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5223         definedness.
5224
5225 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5226
5227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5228         memmove-avx-unaligned, memcpy-avx-unaligned and
5229         mempcpy-avx-unaligned.
5230         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5231         Add tests for AVX memcpy functions.
5232         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5233         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5234         memcpy_chk.
5235         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5236         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5237         memmove_chk.
5238         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5239         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5240         mempcpy_chk.
5241         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5242         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5243         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5244
5245 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5246
5247         [BZ #17213]
5248         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5249         powerpc64le.
5250
5251 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5252
5253         [BZ #16839]
5254         * manual/llio.texi: Add section about open file description locks.
5255         * manual/examples/ofdlocks.c: Example of open file description
5256         lock usage.
5257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5258         F_OFD_SETLK, and F_OFD_SETLKW.
5259
5260 2014-07-23  Allan McRae  <allan@archlinux.org>
5261
5262         * po/es.po: Update Spanish translation from translation project.
5263
5264 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5265
5266         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5267
5268 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5269
5270         [BZ #17078]
5271         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5272         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5273         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5274
5275 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5276
5277         [BZ #17088]
5278         * math/fesetenv.c (__fesetenv)
5279         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5280         * math/feupdateenv.c (__feupdateenv)
5281         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5282
5283         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5284         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5285         (__ASSUME_SOCKETCALL): Do not define.
5286
5287         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5288         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5289         (__ASSUME_SOCKETCALL): Do not define.
5290         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5291         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5292         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5293         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5294         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5295         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5296         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5297         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5298
5299         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5300         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5301         (__ASSUME_SOCKETCALL): Do not define.
5302         (__ASSUME_IPC64): Define unconditionally.
5303         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5304         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5305         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5307         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5308         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5309         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5310         Likewise.
5311
5312         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5313         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5314         (__ASSUME_SOCKETCALL): Do not define.
5315         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5316         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5317         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5318         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5319         (__ASSUME_REQUEUE_PI): Define unconditionally.
5320         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5321         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5322         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5323         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5324         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5325         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5326
5327         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5328         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5329         (__ASSUME_SOCKETCALL): Do not define.
5330         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5331         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5332         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5333         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5334         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5335         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5336
5337         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5338         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5339         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5340         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5341         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5342         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5344         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5345         (__ASSUME_GETCPU_SYSCALL): Likewise.
5346
5347         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5348         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5349         cases for individual architectures.
5350         * sysdeps/gnu/configure: Regenerated.
5351         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5352         LIBC_SLIBDIR_RTLDDIR.
5353         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5354         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5355         LIBC_SLIBDIR_RTLDDIR.
5356         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5358         LIBC_SLIBDIR_RTLDDIR.
5359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5360         Regenerated.
5361         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5362         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5363         file.
5364         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5365         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5366         file.
5367         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5368         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5369         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5370         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5371
5372         * sysdeps/aarch64/shlib-versions: Move to ...
5373         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5374         * sysdeps/alpha/shlib-versions: Move to ...
5375         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5376         * sysdeps/arm/shlib-versions: Move to ...
5377         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5378         * sysdeps/hppa/shlib-versions: Move all contents except for
5379         libgcc_s entry to ...
5380         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5381         entry from ...
5382         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5383         * sysdeps/ia64/shlib-versions: Move to ...
5384         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5385         entry from ...
5386         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5387         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5388         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5389         * sysdeps/microblaze/shlib-versions: Move to ...
5390         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5391         * sysdeps/mips/shlib-versions: Move to ...
5392         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5393         entry from ...
5394         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5395         * sysdeps/tile/shlib-versions: Move to ...
5396         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5397         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5398         from ...
5399         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5400         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5401         entry from ...
5402         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5403
5404 2014-07-17  Will Newton  <will.newton@linaro.org>
5405
5406         * sysdeps/arm/bits/atomic.h
5407         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5408         (__arch_compare_and_exchange_bool_16_int): Likewise.
5409         (__arch_compare_and_exchange_bool_64_int): Likewise.
5410
5411         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5412         into an #else block.
5413
5414 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5415
5416         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5417         just Linux configurations.  Test empirically that the compiler sets
5418         __ARM_EABI__, rather than using the tuple to decide.
5419         * sysdeps/arm/preconfigure: Regenerated.
5420         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5421         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5422         contents appended ...
5423         * sysdeps/arm/configure.ac: ... here.
5424         * sysdeps/arm/configure: Regenerated.
5425
5426 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5427
5428         * nptl/pthread_kill.c: New file.
5429         * nptl/pthread_sigmask.c: New file.
5430         * nptl/pthread_sigqueue.c: New file.
5431
5432         * sysdeps/nptl/lowlevellock.h: New file.
5433         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5434         * sysdeps/nptl/lowlevellock-futex.h: New file.
5435
5436         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5437         Remove dead declarations.
5438
5439 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5440
5441         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5442         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5443         config-cflags-avx2.
5444         * sysdeps/x86_64/configure.ac: Likewise.
5445         * sysdeps/i386/configure: Regenerated.
5446         * sysdeps/x86_64/configure: Likewise.
5447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5448         memset-avx2 only if config-cflags-avx2 is yes.
5449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5450         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5451         defined.
5452         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5453         only if HAVE_AVX2_SUPPORT is defined.
5454         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5455
5456 2014-07-14  Alan Modra  <amodra@gmail.com>
5457
5458         [BZ #17153]
5459         * elf/elf.h (DT_PPC64_NUM): Correct value.
5460         * NEWS: Add to fixed bug list.
5461
5462 2014-07-13  Jim Meyering  <meyering@fb.com>
5463
5464         [BZ 17150]
5465         regex: don't deref NULL upon heap allocation failure
5466         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5467         failure in one more place.
5468         To trigger the segfault, configure grep -with-included-regex,
5469         build it, and run these commands:
5470         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5471
5472 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5473
5474         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5475
5476 2014-07-11  Richard Henderson  <rth@redhat.com>
5477
5478         * sysdeps/aarch64/libm-test-ulps: Update.
5479
5480 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5481
5482         [BZ #17135]
5483         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5484         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5485         (__nptl_setxid): Initialize error member.  Call
5486         __nptl_setxid_error.
5487         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5488         * nptl/descr.h (struct xid_command): Add error member.
5489         * nptl/tst-setuid3.c: New file.
5490         * nptl/Makefile (tests): Add it.
5491
5492 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5493
5494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5495         New define.
5496         (__lll_trylock): Use __lll_base_trylock.
5497         (__lll_cond_trylock): Likewise.
5498
5499 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5500
5501         * nptl/pthread_create.c (start_thread): Use atomic_or and
5502         lll_futex_wake directly rather than lll_robust_dead.
5503         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5504         (lll_robust_dead): Macro removed.
5505         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5506         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5507         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5508         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5509         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5510         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5511         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5512         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5513         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5515         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5516         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5517         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5518         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5520
5521         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5522         Use atomic_compare_and_exchange_val_acq directly rather than
5523         lll_robust_trylock.
5524         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5525         (__lll_robust_trylock, lll_robust_trylock): Removed.
5526         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5527         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5528         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5529         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5530         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5531         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5532         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5533         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5534         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5535         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5536         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5537         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5538         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5540
5541 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5542
5543         * manual/locale.texi (Locale Names): New section documenting
5544         locale name syntax.  Adjust menu and node chaining accordingly.
5545         (Choosing Locale): Reference Locale Names, Locale Categories.
5546         Mention setting LC_ALL=C.  Reflect that name syntax is now
5547         documented.
5548         (Locale Categories): New section title.  Reference Locale Names.
5549         LC_ALL is an environment variable, but not a category.
5550         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5551         description, now in Locale Name.  Reference that section.  Locale
5552         name syntax is now documented.
5553
5554 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5555
5556         [BZ #17137]
5557         * locale/findlocale.c (name_present, valid_locale_name): New
5558         functions.
5559         (_nl_find_locale): Use the loc_name variable to store name
5560         candidates.  Call name_present and valid_locale_name to check and
5561         validate locale names.  Return an error if the locale is invalid.
5562
5563 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5564
5565         * locale/setlocale.c (setlocale): Use strdup for allocating
5566         composite name copy.
5567
5568 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5569
5570         Sync up with gnulib.
5571         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5572         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5573         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5574         and _GL_ARG_NONNULL.
5575         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5576         [!_LIBC]: Include code for Windows and Cygwin.
5577         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5578         Include prototype for int strerror_r.
5579         [!_LIBC] (is_open): New function.
5580         (flush_stdout): New function.
5581         (print_errno_message): Use it.
5582         (error): Likewise.
5583         (error_at_line): Likewise.
5584         (error_tail) Add function attribute macros.  Use
5585         __builtin_expect.
5586
5587         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5588
5589         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5590
5591         * io/ftw.c: Include sys/param.h unconditionally.
5592
5593         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5594
5595         [BZ #17125]
5596         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5597         libc_freeres_ptr.
5598         (freecache): New function to free CACHE on exit.
5599
5600         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5601         initialization.
5602
5603 2014-07-09  David S. Miller  <davem@davemloft.net>
5604
5605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5606
5607         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5608         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5609         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5610         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5611         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5612         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5613         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5614         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5615         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5616         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5617         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5618         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5619         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5620
5621 2014-07-09  Andreas Schwab  <schwab@suse.de>
5622
5623         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5624         output.
5625         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5626         (do_test): Likewise.
5627
5628         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5629
5630 2014-07-09  Will Newton  <will.newton@linaro.org>
5631
5632         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5633         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5634         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5635         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5636         * sysdeps/hppa/start.S (_start): Likewise.
5637
5638 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5639
5640         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5641
5642         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5643         defined.
5644
5645 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5646
5647         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5648         after checking that it is non-NULL.
5649
5650         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5651
5652 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5653
5654         * sysdeps/powerpc/memmove.c: Remove file.
5655         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5656         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5657         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5658         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5659         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5660         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5661         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5662         string memmove instead of removed powerpc one.
5663
5664         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5665         [weak_alias]: Fix compiler warning due trailing data.
5666         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5667         [weak_alias]: Likewise.
5668         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5669         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5670
5671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5672         (__libc_ifunc_impl_list): Add memmove functions.
5673
5674 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5675
5676         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5677         Remove code.
5678         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5679         Likewise
5680         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5681         Likewise
5682         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5683         Likewise
5684         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5685         Likewise
5686         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5687         Likewise
5688         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5689         Likewise
5690         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5691         Likewise
5692         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5693         Likewise
5694         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5695         Likewise
5696         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5697         Likewise
5698         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5699         Likewise
5700         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5701         Likewise
5702         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5703         Likewise
5704         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5705         Likewise
5706         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5707         Likewise
5708         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5709         Likewise
5710
5711 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5712
5713         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5714         to avoid alignment traps in non-cacheable memory.
5715         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5716
5717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5718         multiarch objects.
5719         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5720         file: multiarch power7 memmove.
5721         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5722         multiarch default memmove.
5723         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5724         multiarch memove for powerpc32/power4.
5725
5726         * string/bcopy.c: Use full path to include memmove.c.
5727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5728         multiarch objects.
5729         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5730         bcopy for powerpc64.
5731         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5732         bcopy for powerpc64.
5733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5734         and memmove implementations.
5735         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5736         optimized multiarch memmove for POWER7/powerpc64.
5737         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5738         default multiarch memmove for powerpc64.
5739         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5740         multiarch for powerpc64.
5741         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5742         for POWER7/powerpc64.
5743         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5744         memmove for POWER7/powerpc64.
5745
5746         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5747         glibc default one.
5748
5749         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5750         __ELF_NATIVE_CLASS equal to 64.
5751
5752 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5753
5754         * sysdeps/nptl/lowlevellock.h: File removed.
5755
5756         * NEWS: NPTL is no longer an add-on!
5757         * nptl/internaltypes.h: Moved ...
5758         * sysdeps/nptl/internaltypes.h: ... here.
5759         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5760         * sysdeps/nptl/fork.c: Likewise.
5761         * sysdeps/nptl/gai_misc.h: Likewise.
5762         * sysdeps/nptl/librt-cancellation.c: Likewise.
5763         * sysdeps/nptl/jmp-unwind.c: Likewise.
5764         * sysdeps/nptl/setxid.h: Likewise.
5765         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5766         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5767         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5768         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5769         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5770         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5771         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5772         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5773         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5774         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5775         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5776         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5777         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5778         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5779         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5780         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5781         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5782         * nptl/Makeconfig: Moved ...
5783         * sysdeps/nptl/Makeconfig: ... here.
5784         * nptl/configure: File removed.
5785         * nptl/ANNOUNCE: File removed.
5786         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5787         * sysdeps/unix/sysv/linux/configure: Regenerated.
5788
5789         * nptl/Makefile (routines): Add libc_pthread_init,
5790         libc_multiple_threads, register-atfork and unregister-atfork.
5791         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5792         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5793         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5794         pthread-pi-defines.sym, structsem.sym.
5795         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5796         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5797         [$(subdir) = nptl] (tests): Add tst-setgetname.
5798         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5799         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5800         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5801         [!LIBC_SIGACTION]: Remove aliases.
5802         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5803         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5804         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5805         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5806         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5807         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5808         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5809         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5810         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5811         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5812         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5813         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5814         __libc_allocate_rtsig_private.
5815         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5816         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5817         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5818         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5819         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5820         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5821         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5822         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5823         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5824         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5825         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5826         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5827         * nptl/internaltypes.h: ... here.
5828         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5829         * sysdeps/nptl/jmp-unwind.c: ... here.
5830         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5831         * nptl/libc-lowlevellock.c: ... here.
5832         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5833         * nptl/libc_multiple_threads.c: ... here.
5834         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5835         * nptl/libc_pthread_init.c: ... here.
5836         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5837         * nptl/lowlevelbarrier.sym: ... here.
5838         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5839         * nptl/lowlevelcond.sym: ... here.
5840         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5841         * nptl/lowlevellock.c: ... here.
5842         * nptl/lowlevellock.h: Moved ...
5843         * sysdeps/nptl/lowlevellock.h: ... here.
5844         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5845         * nptl/lowlevelrobustlock.c: ... here.
5846         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5847         * nptl/lowlevelrobustlock.sym: ... here.
5848         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5849         * nptl/lowlevelrwlock.sym: ... here.
5850         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5851         * nptl/pt-fork.c: ... here.
5852         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5853         * nptl/pthread-pi-defines.sym: ... here.
5854         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5855         * nptl/pthread_attr_getaffinity.c: ... here.
5856         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5857         * nptl/pthread_attr_setaffinity.c: ... here.
5858         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5859         * nptl/pthread_mutex_cond_lock.c: ... here.
5860         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5861         Update #include.
5862         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5863         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5864         * nptl/pthread_once.c: ... here, replacing old file.
5865         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5866         * nptl/pthread_yield.c: ... here.
5867         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5868         * nptl/register-atfork.c: ... here.
5869         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5870         * nptl/sem_post.c: ... here.
5871         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5872         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5873         * nptl/sem_timedwait.c: ... here.
5874         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5875         * nptl/sem_trywait.c: ... here.
5876         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5877         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5878         * nptl/sem_wait.c: ... here.
5879         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5880         * nptl/structsem.sym: ... here.
5881         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5882         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5883         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5884         * nptl/unregister-atfork.c: ... here.
5885         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5886         * nptl/unwindbuf.sym: ... here.
5887         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5888         * sysdeps/nptl/fork.c: ... here.
5889         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5890         * sysdeps/nptl/fork.h: ... here.
5891         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5892         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5893         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5894         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5895         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5896         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5897         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5898         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5899         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5900         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5901         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5902         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5903         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5904         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5905         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5906         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5907         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5908         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5909         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5910         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5911         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5912         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5913         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5914         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5915         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5916         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5917         * sysdeps/unix/sysv/linux/raise.c: ... here.
5918         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5919         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5920         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5921         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5922         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5923         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5924         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5925         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5926         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5927         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5928         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5929         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5930         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5931         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5932         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5933
5934 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5935
5936         * sysdeps/generic/memcopy.h: Add comment for
5937         MEMCPY_OK_FOR_FWD_MEMMOVE.
5938
5939 2014-07-04  Will Newton  <will.newton@linaro.org>
5940
5941         * string/memchr.c: Merge from gnulib.
5942         [_LIBC]: Remove conditionals.
5943         (__ptr_t): Remove define.
5944         (LONG_MAX_32_BITS): Likewise.
5945         (LONG_MAX): Likewise.
5946         (MEMCHR): Use ANSI prototype and optimize algorithm.
5947
5948         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5949
5950 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5951
5952         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5953         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5954
5955         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5956         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5957         in a bare environment with no <stdlib.h> installed.
5958         * sysdeps/nptl/configure: Regenerated.
5959
5960         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5961
5962         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5963         AC_EGREP_CPP for kernel header checks, so they only succeed if
5964         including <linux/version.h> actually works right.
5965         * sysdeps/unix/sysv/linux/configure: Regenerated.
5966
5967         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5968         value so it's not diagnosed as unused.
5969
5970         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5971         thing) with "ifeq ($(subdir),rt)".
5972
5973 2014-07-03  Richard Henderson  <rth@redhat.com>
5974
5975         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5976         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5977         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5978
5979         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5980         (math_force_eval): New.
5981
5982         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5983         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5984
5985         * sysdeps/alpha/fpu/s_round.c: Remove file.
5986         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5987
5988         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5989         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5990         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5991         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5992         (_dl_start, print_statistics): Likewise.
5993         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5994         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5995
5996         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5997         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5998         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5999         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6000         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6001         (HP_SMALL_TIMING_AVAIL): Define.
6002         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6003         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6004         (HP_SMALL_TIMING_AVAIL): Define.
6005         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6006         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6007
6008         * sysdeps/aarch64/hp-timing.h: New file.
6009
6010         * sysdeps/generic/hp-timing.h: Remove dead comment.
6011         * sysdeps/generic/hp-timing-common.h: New file.
6012         * sysdeps/alpha/hp-timing.h: Include it.
6013         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6014         * sysdeps/i386/i686/hp-timing.h: Likewise.
6015         * sysdeps/ia64/hp-timing.h: Likewise.
6016         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6017         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6018         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6019         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6020         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6021         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6022         (hp_timing_t): New.
6023
6024         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6025         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6026         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6027         * elf/rtld.c (_dl_start_final): Likewise.
6028         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6029         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6030         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6031         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6032         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6033         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6034         (HP_TIMING_DIFF_INIT): Remove.
6035         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6036         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6037         (HP_TIMING_DIFF_INIT): Remove.
6038         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6039         * sysdeps/i386/i686/hp-timing.c: Remove file.
6040         * sysdeps/x86_64/hp-timing.c: Remove file.
6041         * sysdeps/ia64/hp-timing.c: Remove file.
6042         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6043         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6044         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6045         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6046
6047         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6048         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6049         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6050         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6051         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6052         (HP_TIMING_ACCUM): Remove.
6053         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6054         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6055         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6056
6057         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6058         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6059         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6060         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6061         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6062         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6063         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6064         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6065
6066         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6067
6068 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6069
6070         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6071
6072 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6073
6074         Sync up with gettext.
6075         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6076         [_MSC_VER]: Include malloc.h
6077         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6078         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6079         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6080         TEMP_FAILURE_RETRY.  Cast return of alloca.
6081         [!_LIBC] Call gl_rwlock_init.
6082         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6083
6084 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6085
6086         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6087         before checking its value.
6088
6089 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6090
6091         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6092
6093         * debug/memcpy_chk.c: Don't include pagecopy.h.
6094         * debug/mempcpy_chk.c: Likewise.
6095         * string/memcpy.c: Likewise.
6096         * string/memmove.c: Likewise.
6097         * sysdeps/powerpc/memmove.c: Likewise.
6098         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6099         definition of PAGE_COPY_FWD_MAYBE here...
6100         * sysdeps/generic/pagecopy.h: ... from here.
6101         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6102
6103 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6104             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6105
6106         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6108         optimizations.
6109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6110         (__libc_ifunc_impl_list): Likewise.
6111         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6112         multiarch strcat for PPC64.
6113         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6114         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6115
6116 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6117
6118         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6119
6120 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6121
6122         * intl/loadmsgcat.c: Remove declaration of
6123         get_sysdep_segment_value.
6124         (get_sysdep_segment_value): Use ISO C style.
6125         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6126         semicolon.  Fix typo and formatting in comment.
6127         (_nl_unload_domain): Use ISO C style.
6128
6129         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6130
6131 2014-07-02  Will Newton  <will.newton@linaro.org>
6132
6133         * malloc/obstack.c: Merge from gnulib master.
6134         [HAVE_CONFIG_H]: Remove conditional code.
6135         [!_LIBC]: Include config.h.
6136         [!ELIDE_CODE]: Don't include inttypes.h, include
6137         stdint.h unconditionally.
6138         (print_and_abort): Mark as _Noreturn.
6139         (_obstack_allocated_p): Mark as __attribute_pure__.
6140         (obstack_free): Rename to __obstack_free.
6141         [!__attribute__]: Remove conditional code.
6142         * malloc/obstack.h: Merge from gnulib master.
6143         [__cplusplus]: Move conditional down.
6144         [!__attribute_pure__]: Define __attribute_pure__ here
6145         if it is not already defined.
6146         (_obstack_memory_used): Mark as __attribute_pure__.
6147         [!__obstack_free]: Define as obstack_free.
6148         [__GNUC__]: Remove check for ancient NeXT gcc.
6149
6150 2014-07-02  Will Newton  <will.newton@linaro.org>
6151             Paul Eggert  <eggert@cs.ucla.edu>
6152
6153         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6154
6155 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6156
6157         * resolv/gethnamaddr.c: Add comment warning that the file is
6158         not maintained.
6159
6160 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6161
6162         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6163         entries.
6164
6165         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6166         entry for aio_cancel and aio_cancel64.
6167         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6168         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6169         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6170         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6171         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6172         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6173         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6174         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6175         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6176         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6177         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6178         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6179         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6180
6181 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6182
6183         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6184         * nptl/pthread_mutex_lock.c: Likewise.
6185         * nptl/pthread_mutex_timedlock.c: Likewise.
6186         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6187
6188 2014-07-01  Richard henderson  <rth@redhat.com>
6189
6190         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6191         (__isnan, __isnanl): Remove.
6192         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6193
6194         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6195
6196 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6197
6198         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6199
6200 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6201
6202         * resolv/nss_dns/dns-host.c (getanswer_r)
6203         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6204
6205 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6206
6207         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6208         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6209         undefine.
6210         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6211         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6212
6213 2014-07-01  Roland McGrath <roland@hack.frob.com>
6214
6215         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6216         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6217
6218         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6219         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6220
6221         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6222         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6223         ... here.
6224         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6225         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6226
6227         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6228         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6229         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6230         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6231
6232         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6233         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6234         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6235         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6236         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6237         Moved ...
6238         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6239         ... here.
6240         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6241         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6242         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6243         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6245         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6246         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6247         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6248         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6249         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6251         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6252         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6253         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6254         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6255         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6256         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6257         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6258         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6259         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6260         ... here.
6261         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6262         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6263         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6264         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6265         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6266         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6267         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6268         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6269
6270 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6271
6272         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6273         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6274         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6275         Add sysdep.
6276
6277 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6278
6279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6280
6281 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6282
6283         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6284         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6285
6286         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6287
6288         * sysdeps/arm/libm-test-ulps: Regenerated.
6289
6290 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6291             Roland McGrath <roland@hack.frob.com>
6292
6293         * test-skeleton.c (signal_handler): Kill the whole process group
6294         before killing the child individually.
6295         (main): Report any failure on `setpgid'.
6296
6297 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6298
6299         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6300         from _TLS_H to _ARM_NPTL_TLS_H.
6301         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6302         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6303
6304 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6305
6306         [BZ #16539]
6307         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6308         (__expm1l): Return argument unchanged when small but not
6309         subnormal.
6310
6311         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6312         include macro name.
6313         (_FP_UNPACK_RAW_1_P): Likewise.
6314         (_FP_PACK_RAW_1): Likewise.
6315         (_FP_PACK_RAW_1_P): Likewise.
6316         (_FP_MUL_MEAT_1_wide): Likewise.
6317         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6318         (_FP_MUL_MEAT_1_hard): Likewise.
6319         (_FP_DIV_MEAT_1_imm): Likewise.
6320         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6321         (_FP_DIV_MEAT_1_udiv): Likewise.
6322         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6323         (_FP_UNPACK_RAW_2): Likewise.
6324         (_FP_UNPACK_RAW_2_P): Likewise.
6325         (_FP_PACK_RAW_2): Likewise.
6326         (_FP_PACK_RAW_2_P): Likewise.
6327         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6328         (_FP_MUL_MEAT_2_wide): Likewise.
6329         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6330         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6331         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6332         (_FP_MUL_MEAT_2_gmp): Likewise.
6333         (_FP_DIV_MEAT_2_udiv): Likewise.
6334         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6335         (_FP_FRAC_SRL_4): Likewise.
6336         (_FP_FRAC_SRST_4): Likewise.
6337         (_FP_FRAC_SRS_4): Likewise.
6338         (_FP_UNPACK_RAW_4): Likewise.
6339         (_FP_UNPACK_RAW_4_P): Likewise.
6340         (_FP_PACK_RAW_4): Likewise.
6341         (_FP_PACK_RAW_4_P): Likewise.
6342         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6343         (_FP_MUL_MEAT_4_wide): Likewise.
6344         (_FP_MUL_MEAT_4_gmp): Likewise.
6345         (umul_ppppmnnn): Likewise.
6346         (_FP_DIV_MEAT_4_udiv): Likewise.
6347         (__FP_FRAC_ADD_4): Likewise.
6348         (__FP_FRAC_SUB_3): Likewise.
6349         (__FP_FRAC_SUB_4): Likewise.
6350         (__FP_FRAC_DEC_3): Likewise.
6351         (__FP_FRAC_DEC_4): Likewise.
6352         (__FP_FRAC_ADDI_4): Likewise.
6353         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6354         (_FP_FRAC_SRL_8): Likewise.
6355         (_FP_FRAC_SRS_8): Likewise.
6356
6357         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6358         include macro name.
6359         (FP_UNPACK_RAW_EP): Likewise.
6360         (FP_PACK_RAW_E): Likewise.
6361         (FP_PACK_RAW_EP): Likewise.
6362         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6363         (_FP_ISSIGNAN): Likewise.
6364         (_FP_ADD_INTERNAL): Likewise.
6365         (_FP_FMA): Likewise.
6366         (_FP_CMP): Likewise.
6367         (_FP_SQRT): Likewise.
6368         (_FP_TO_INT): Likewise.
6369         (_FP_FROM_INT): Likewise.
6370         (FP_EXTEND): Likewise.
6371         (_FP_DIV_MEAT_N_loop): Likewise.
6372
6373 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6374
6375         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6376         throughout.
6377
6378 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6379
6380         [BZ #17097]
6381         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6382         result with correct sign in case of exponents that produce
6383         overflow except for X very close to 1.
6384
6385 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6386
6387         mktime: merge #if/#ifdef usage from glibc
6388         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6389         as that works with both Glibc's and Gnulib's style.
6390         See thread starting at Siddhesh Poyarekar's bug report at:
6391         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6392
6393 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6394
6395         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6396         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6397         * sysdeps/tile/tilegx/memmove.c: Remove file.
6398
6399 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6400
6401         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6402         abi-name definition.
6403         * scripts/soversions.awk: Do not handle or generate ABI lines.
6404         * shlib-versions: Remove ABI entries.
6405         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6406         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6407
6408 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6409
6410         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6411         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6412         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6413         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6414         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6415         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6416         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6419         ... here.
6420         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6421         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6422         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6423         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6424         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6426         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6427         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6428         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6429         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6430         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6431         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6432         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6433         Moved ...
6434         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6435         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6436         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6437         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6438         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6439         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6440         Moved ...
6441         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6442         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6443         Moved ...
6444         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6445         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6446         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6447         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6448         Moved ...
6449         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6450         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6451         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6452         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6453         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6455         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6456         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6457         Moved ...
6458         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6462         Moved ...
6463         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6465         Moved ...
6466         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6467         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6468         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6470         Moved ...
6471         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6472         ... here.
6473         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6474         Identical file removed.
6475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6476         Moved ...
6477         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6479         Identical file removed.
6480         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6481         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6482         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6483         Moved ...
6484         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6485         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6486         Identical file removed.
6487         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6490         Identical file removed.
6491         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6492         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6494         Identical file removed.
6495         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6496         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6497         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6498         Identical file removed.
6499         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6500         Moved ...
6501         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6503         Identical file removed.
6504         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6505         Moved ...
6506         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6507         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6508         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6509         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6510         Identical file removed.
6511         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6512         Moved ...
6513         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6514         ... here.
6515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6516         Identical file removed.
6517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6518         Moved ...
6519         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6521         Identical file removed.
6522         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6523         Moved ...
6524         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6525         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6526         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6527         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6528         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6530         Moved ...
6531         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6532         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6533         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6534
6535         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6536         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6537         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6538         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6539         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6540
6541 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6542
6543         [BZ #17092]
6544         * nscd/nscd.c (monitor_child): Return exit status of child
6545         instead of return value from wait syscall.
6546
6547 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6548
6549         * configure.ac (libc_commonpagesize): Remove variable.
6550         (libc_relro_required): Likewise.
6551         (libc_cv_z_relro): Remove configure test.
6552         * configure: Regenerated.
6553         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6554         variable.
6555         (libc_relro_required): Likewise.
6556         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6557         (libc_relro_required): Likewise.
6558         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6559         (libc_relro_required): Likewise.
6560         * sysdeps/arm/preconfigure: Regenerated.
6561         * sysdeps/ia64/preconfigure: Remove file.
6562         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6563         variable.
6564         (libc_relro_required): Likewise.
6565
6566         [BZ #16561]
6567         [BZ #16562]
6568         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6569         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6570         recompute overflowing results in original rounding mode.
6571         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6572         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6573         recompute overflowing results in original rounding mode.
6574         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6575         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6576         recompute overflowing results in original rounding mode.
6577         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6578         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6579         recompute overflowing results in original rounding mode.
6580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6581         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6582         recompute overflowing results in original rounding mode.
6583         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6584         (libc_feholdsetround_ctx): New macro.
6585         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6586         * sysdeps/i386/fpu/libm-test-ulps: Update.
6587         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6588
6589 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6590
6591         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6592         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6593         corresponding .cpsetup call.
6594
6595 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6596
6597         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6598         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6599         * sysdeps/arm/Makefile [$(subdir) = csu]
6600         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6601         (static-only-routines): Add aeabi_read_tp here.
6602         (shared-only-routines): Add libc-aeabi_read_tp here.
6603         (CFLAGS-libc-start.c): Add -fexceptions here.
6604         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6605         (sysdep_routines, static-only-routines, shared-only-routines):
6606         Don't add to these here.
6607         (CFLAGS-libc-start.c): Likewise.
6608
6609         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6610         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6611         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6612         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6613         * sysdeps/arm/Makefile [$(subdir) = rt]
6614         (librt-sysdep_routines, librt-shared-only-routines):
6615         Append rt-aeabi_unwind_cpp_pr1 here.
6616         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6617         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6618         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6619         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6620         Append nptl-aeabi_unwind_cpp_pr1 here.
6621         (tests): Filter out tst-cleanupx4 here.
6622         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6623         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6624         Don't do those here.
6625
6626 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6627
6628         * scripts/list-sources.sh: Do not handle ports specially.
6629
6630 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6631
6632         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6633         * sysdeps/arm/feupdateenv.c: Likewise.
6634
6635         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6636
6637 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6638
6639         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6640         trailing whitespace removed.
6641         * scripts/config.guess: Update to version 2014-03-23.
6642         * scripts/config.sub: Update to version 2014-05-01
6643         * scripts/install-sh: Update to version 2013-12-25.23.
6644         * scripts/move-if-change: Update from gnulib.
6645
6646 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6647
6648         * debug/memmove_chk.c: Remove pagecopy.h include.
6649
6650 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6651
6652         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6653         identical to gnulib mktime.
6654
6655 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6656
6657         * configure.ac: Do not test for machine being rs6000.  Do not test
6658         for powerpc*-*soft.
6659         * configure: Regenerated.
6660
6661         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6662         test.
6663         * configure: Regenerated.
6664         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6665         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6666         Remove configure test.
6667         * sysdeps/arm/configure: Regenerated.
6668         * sysdeps/nptl/configure.ac: Do not check
6669         libc_cv_asm_cfi_directives.
6670         * sysdeps/nptl/configure: Regenerated.
6671         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6672         * sysdeps/x86_64/nptl/configure: Remove generated file.
6673         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6674         unconditional.
6675         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6676
6677 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6678
6679         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6680         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6681         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6682         it is defined.
6683
6684         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6685         instead of whether it is defined.
6686         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6687         * sysdeps/hppa/dl-machine.h: Likewise.
6688         * sysdeps/ia64/dl-machine.h: Likewise.
6689         * sysdeps/m68k/dl-machine.h: Likewise.
6690         * sysdeps/microblaze/dl-machine.h: Likewise.
6691         * sysdeps/mips/dl-machine.: Likewise.
6692         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6693         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6694         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6695         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6696         * sysdeps/sh/dl-machine.h: Likewise.
6697         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6698         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6699         * sysdeps/tile/dl-machine.h: Likewise.
6700         * sysdeps/x86_64/dl-machine.h: Likewise.
6701
6702         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6703         code.
6704         (verify_persistent_db): Likewise.
6705
6706 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6707
6708         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6709         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6711         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6713         Moved ...
6714         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6715         ... here.
6716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6717         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6719         Identical file removed.
6720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6721         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6723         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6725         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6729         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6731         Moved ...
6732         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6734         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6736         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6738         Moved ...
6739         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6741         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6743         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6745         Identical file removed.
6746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6747         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6749         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6751         Moved ...
6752         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6753         ... here.
6754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6755         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6757         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6759         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6761         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6763         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6765         Moved ...
6766         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6768         Moved ...
6769         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6771         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6773         Moved ...
6774         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6775         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6776         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6777
6778         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6779         folded into ...
6780         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6781         * sysdeps/unix/sysv/linux/s390/Versions
6782         (libpthread: GLIBC_2.19): New version set.
6783         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6784         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6785         (librt: GLIBC_2.3.3): New version set.
6786         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6787         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6788         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6789         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6790         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6791         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6792         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6793         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6794         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6795         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6796         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6797         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6798         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6799         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6800         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6801         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6802         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6803         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6804         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6805         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6806         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6807         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6808         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6809         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6810         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6811         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6812         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6813         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6814         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6815         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6816         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6817         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6819         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6821         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6822         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6823         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6824         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6826         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6827         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6828         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6829         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6830         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6831
6832         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6833         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6834         (__libc_vfork): Define the function under this name.
6835         [!NOT_IN_libc] (__vfork): Make this an alias.
6836         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6837         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6838         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6839         (__libc_vfork): Define the function under this name.
6840         [!NOT_IN_libc] (__vfork): Make this an alias.
6841         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6842         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6843         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6844         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6845         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6846         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6847
6848         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6849         code that was previously under [RESET_PID].
6850         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6851         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6852         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6853
6854         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6855         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6856         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6857         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6858         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6859         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6860         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6861         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6862         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6865         Moved ...
6866         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6867         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6868         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6869         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6870         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6871         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6872         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6873         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6874         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6875         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6876         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6877         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6878         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6879         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6880         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6881         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6882         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6883         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6884         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6885         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6886         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6887         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6888         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6890         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6891         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6892         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6894         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6895
6896 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6897
6898         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6899         that was previously under [RESET_PID].
6900         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6901
6902 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6903
6904         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6905         not undefine and redefine.
6906         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6907         [O_CLOEXEC]: Make code unconditional.
6908         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6909         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6910         <kernel-features.h>.
6911         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6912         conditional variable definition.
6913         (shm_open) [O_CLOEXEC]: Make code unconditional.
6914         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6915         code.
6916
6917         * configure.ac (USE_REGPARMS): Don't define here.
6918         * configure: Regenerated.
6919         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6920         * sysdeps/i386/configure: Regenerated.
6921
6922         * nptl/createthread.c: Don't include kernel-features.h.
6923         * nptl/pthread_cancel.c: Likewise.
6924         * nptl/pthread_condattr_setclock.c: Likewise.
6925         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6926         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6927         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6928         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6929         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6930         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6931         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6934         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6935         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6936         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6937         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6938         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6939         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6940         * nscd/gai.c: Likewise.
6941         * nss/nss_db/db-open.c: Likewise.
6942         * sysdeps/generic/ldsodefs.h: Likewise.
6943         * sysdeps/sh/nptl/tls.h: Likewise.
6944         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6945         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6946         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6947         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6948         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6949         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6950         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6951         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6952         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6953         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6954         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6955         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6956         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6957         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6958         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6959         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6960         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6961         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6962         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6963         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6966         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6967         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6968         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6969         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6970         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6971         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6972         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6973         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6974         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6975         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6976         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6977         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6978         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6979         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6980         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6981         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6982         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6983         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6984         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6985         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6986         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6987         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6988         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6989         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6990         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6991         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6992         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6993         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6994         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6995         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6996         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6997         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6998         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6999         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7024         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7025         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7026         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7027         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7028         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7029         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7030         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7031         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7032         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7033         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7034         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7035         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7036         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7037         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7038         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7039         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7040         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7041         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7042         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7043         * sysdeps/unix/sysv/linux/system.c: Likewise.
7044         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7045         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7046         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7047         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7048         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7049         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7050         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7051
7052         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7053         * configure: Regenerated.
7054         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7055
7056         * configure.ac (base_machine): Do not set specially for particular
7057         machines here.
7058         * configure: Regenerated.
7059         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7060         settings from configure.ac.
7061         * sysdeps/i386/preconfigure: New file.
7062         * sysdeps/s390/preconfigure: Likewise.
7063         * sysdeps/sh/preconfigure: Likewise.
7064         * sysdeps/sparc/preconfigure: Likewise.
7065
7066 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7067
7068         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7069         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7070         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7071         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7072         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7073         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7074         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7075         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7076         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7077         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7078         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7079         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7080         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7081         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7082         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7083         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7084         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7085         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7086         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7087
7088         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7089         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7090         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7091         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7092         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7093         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7094         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7095         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7096         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7097         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7098         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7099         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7100         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7101         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7102         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7103         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7104         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7105         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7106         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7107         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7109         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7110         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7111         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7112         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7113         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7114         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7115         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7117         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7118         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7119         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7121         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7122         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7123         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7125         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7126
7127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7128         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7130         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7132         Moved ...
7133         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7134         ... here.
7135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7136         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7138         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7140         Moved ...
7141         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7143         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7145         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7147         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7149         Moved ...
7150         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7152         Moved ...
7153         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7155         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7157         Moved ...
7158         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7160         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7162         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7164         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7166         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7168         Moved ...
7169         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7170         ... here.
7171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7172         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7176         Moved ...
7177         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7179         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7181         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7183         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7185         Moved ...
7186         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7188         Moved ...
7189         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7191         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7192         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7193         Moved ...
7194         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7196         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7198         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7199
7200 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7201
7202         * timezone/checktab.awk: Update from tzcode 2014e.
7203         * timezone/private.h: Likewise.
7204         * timezone/tzfile.h: Likewise.
7205         * timezone/zdump.c: Likewise.
7206         * timezone/zic.c: Likewise.
7207
7208         * sysdeps/unix/sysv/linux/kernel-features.h
7209         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7210         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7211         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7212         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7213         Remove conditional code.
7214
7215 2014-06-25  Will Newton  <will.newton@linaro.org>
7216
7217         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7218         (_dl_arm_cap_flags): Add HWCAP2 values.
7219         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7220         (_DL_HWCAP_COUNT): Increase to 37.
7221         (_DL_HWCAP_LAST): New define.
7222         (_DL_HWCAP2_LAST): New define.
7223         (_dl_procinfo): Add support for printing
7224         AT_HWCAP2 entries.
7225         (_dl_string_hwcap): Use _dl_hwcap_string.
7226
7227 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7228
7229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7230
7231 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7232
7233         * README: Do not mention ports directory.
7234
7235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7236         Remove macro.
7237         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7238         <kernel-features.h>.
7239         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7240         conditional variable definition.
7241         (__futimes): Update comment.
7242         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7243         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7244
7245         [BZ #16560]
7246         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7247         arguments close to 0.
7248         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7249         Likewise.
7250         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7251         Likewise.
7252         * math/auto-libm-test-in: Add more tests of exp10.
7253         * math/auto-libm-test-out: Regenerated.
7254         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7255
7256         * sysdeps/unix/sysv/linux/kernel-features.h
7257         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7258         * sysdeps/unix/sysv/linux/readv.c: Do not include
7259         <kernel-features.h>.
7260         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7261         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7262         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7263         unconditional.
7264         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7265         conditional code.
7266         * sysdeps/unix/sysv/linux/writev.c: Do not include
7267         <kernel-features.h>.
7268         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7269         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7270         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7271         unconditional.
7272         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7273         conditional code.
7274
7275 2014-06-25  Will Newton  <will.newton@linaro.org>
7276
7277         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7278         comment changes throughout the file.  Remove checks
7279         for HAVE_*_H definitions that are not required.
7280         (__gen_tempname): Call abort if an unknown kind value is
7281         passed.
7282
7283 2014-06-25  Andreas Schwab  <schwab@suse.de>
7284
7285         [BZ #17086]
7286         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7287         scalbln, scalblnf, scalblnl in libc.
7288
7289 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7290
7291         [BZ #17086]
7292         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7293         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7294         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7295
7296 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7297
7298         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7299         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7300         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7301         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7302         Update #include.
7303         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7304         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7305         Update #include.
7306         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7307         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7308         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7309         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7310         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7311         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7312         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7313         * sysdeps/x86/bits/semaphore.h: ... here.
7314         * sysdeps/x86/nptl/elide.h: Moved ...
7315         * sysdeps/x86/elide.h: ... here.
7316         * sysdeps/x86_64/nptl/Implies: File removed.
7317         * sysdeps/i386/nptl/Implies: File removed.
7318
7319 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7320
7321         [BZ #16539]
7322         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7323         return the argument for normal arguments with exponent below -64.
7324         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7325         Likewise.
7326         * math/auto-libm-test-in: Add another test of expm1.
7327         * math/auto-libm-test-out: Regenerated.
7328
7329         [BZ #16287]
7330         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7331         calling __erfcl for arguments at least 16.
7332         * math/auto-libm-test-in: Add more tests of erf.
7333         * math/auto-libm-test-out: Regenerated.
7334
7335         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7336         individual architectures.
7337         * sysdeps/unix/sysv/linux/configure: Regenerated.
7338         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7339         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7340         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7341         (ldd_rewrite_script): Define variable.
7342         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7344         file.
7345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7346         generated file.
7347         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7348         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7349         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7350         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7351         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7352         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7353         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7354         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7355
7356 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7357
7358         [BZ #17084]
7359         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7360         Rename member __data.d to __data.__elision_data.
7361
7362 2014-06-24  Wilco  <wdijkstr@arm.com>
7363
7364         * NEWS: Add 16918 to fixed bug list.
7365
7366 2014-06-24  Wilco  <wdijkstr@arm.com>
7367
7368         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7369
7370 2014-06-24  Wilco  <wdijkstr@arm.com>
7371
7372         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7373         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7374         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7375         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7376         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7377         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7378         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7379         Use _FPU_MASK_RM.
7380
7381 2014-06-24  Wilco  <wdijkstr@arm.com>
7382
7383         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7384
7385 2014-06-24  Wilco  <wdijkstr@arm.com>
7386
7387         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7388         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7389         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7390         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7391
7392 2014-06-24  Wilco  <wdijkstr@arm.com>
7393
7394         [BZ #16918]
7395         * sysdeps/arm/feupdateenv.c (feupdateenv):
7396         Rewrite to reduce FPSCR accesses and fix return value.
7397
7398 2014-06-24  Wilco  <wdijkstr@arm.com>
7399
7400         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7401         Optimize to avoid unnecessary FPSCR writes.
7402         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7403         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7404         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7405         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7406
7407 2014-06-24  Wilco  <wdijkstr@arm.com>
7408
7409         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7410         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7411         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7412         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7413         Call libc_fetestexcept_vfp.
7414         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7415         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7416         __SOFTFP__ ifdef so that they can be built for softfp.
7417
7418 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7419
7420         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7421         argument type signed char.
7422
7423         * Makerules (check-abi): Dump diff of symlist if the test
7424         fails.
7425
7426 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7427
7428         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7429         using abort.
7430
7431         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7432         Remove unused variable ST.
7433
7434 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7435
7436         [BZ #16354]
7437         [BZ #17061]
7438         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7439         small arguments before calling __expm1.
7440         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7441         small arguments before calling __expm1f.
7442         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7443         small arguments before calling __expm1l.
7444         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7445         Likewise.
7446         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7447         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7448         spurious underflow for some cosh tests.
7449         * math/auto-libm-test-out: Regenerated.
7450         * sysdeps/i386/fpu/libm-test-ulps: Update.
7451
7452         [BZ #17050]
7453         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7454         (__ieee754_y1): Set errno if return value overflows.
7455         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7456         (__ieee754_y1f): Set errno if return value overflows.
7457         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7458         (__ieee754_y1l): Set errno if return value overflows.
7459         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7460         (__ieee754_y1l): Set errno if return value overflows.
7461         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7462         * math/auto-libm-test-out: Regenerated.
7463
7464         * math/gen-auto-libm-tests.c: Document use of
7465         ignore-zero-inf-sign.
7466         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7467         (input_flags): Add ignore-zero-inf-sign.
7468         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7469         * math/gen-libm-test.pl (generate_testfile): Handle
7470         ignore-zero-inf-sign.
7471         * math/auto-libm-test-in: Mark some cpow tests with
7472         ignore-zero-inf-sign and some with xfail-rounding.
7473         * math/auto-libm-test-out: Regenerated.
7474         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7475         * sysdeps/i386/fpu/libm-test-ulps: Update.
7476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7477
7478         [BZ #16315]
7479         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7480         overflowing or underflowing operations take place with sign of
7481         result.
7482         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7483         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7484         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7485         (__ieee754_pow): Recompute overflowing and underflowing results in
7486         original rounding mode.
7487         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7488         (__powl_helper): Allow negative argument X and scale negated value
7489         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7490         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7491         overflowing or underflowing operations take place with sign of
7492         result.
7493         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7494         Include <math.h>.
7495         * math/auto-libm-test-in: Add more tests of pow.
7496         * math/auto-libm-test-out: Regenerated.
7497         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7498         (pow_tonearest_test_data): Remove.
7499         (pow_test_tonearest): Likewise.
7500         (pow_towardzero_test_data): Likewise.
7501         (pow_test_towardzero): Likewise.
7502         (pow_downward_test_data): Likewise.
7503         (pow_test_downward): Likewise.
7504         (pow_upward_test_data): Likewise.
7505         (pow_test_upward): Likewise.
7506         (main): Don't call removed functions.
7507         * sysdeps/i386/fpu/libm-test-ulps: Update.
7508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7509
7510 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7511
7512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7513         Moved ...
7514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7516         Moved ...
7517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7519         Moved ...
7520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7522         Moved ...
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7525         File removed.
7526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7527         File removed.
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7529         File removed.
7530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7531         File removed.
7532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7533         File removed.
7534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7535         File removed.
7536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7537         File removed.
7538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7539         File removed.
7540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7541         File removed.
7542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7543         File removed.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7545         File removed.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7547         File removed.
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7549         Moved ...
7550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7552         Moved ...
7553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7554         ... here.
7555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7556         Moved ...
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7559         Moved ...
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7562         Moved ...
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7568         Moved ...
7569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7571         Moved ...
7572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7574         Moved ...
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7578         ... here.
7579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7580         Moved ...
7581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7583         Moved ...
7584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7585         ... here.
7586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7587         Moved ...
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7589         ... here.
7590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7591         Moved ...
7592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7593         ... here.
7594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7595         Moved ...
7596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7598         Moved ...
7599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7605         ... here.
7606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7607         Moved ...
7608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7609         ... here.
7610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7611         Moved ...
7612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7623         Moved ...
7624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7625         ... here.
7626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7627         Moved ...
7628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7630         Moved ...
7631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7633         Moved ...
7634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7636         Moved ...
7637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7641         Moved ...
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7644         Moved ...
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7647         Moved ...
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7649         ... here.
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7651         Moved ...
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7653         ... here.
7654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7655         Moved ...
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7657         ... here.
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7659         Moved ...
7660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7662         Moved ...
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7665         Moved ...
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7668         Moved ...
7669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7670         ... here.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7672         Moved ...
7673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7674         ... here.
7675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7676         Moved ...
7677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7678         ... here.
7679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7680         Moved ...
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7683         Moved ...
7684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7685
7686 2014-06-23  Will Newton  <will.newton@linaro.org>
7687             Wilco  <wdijkstr@arm.com>
7688
7689         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7690         implementation.  Include get-rounding-mode.h.
7691         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7692         [!libc_feholdsetround_noex_ctx]: Define
7693         libc_feholdsetround_noex_ctx.
7694         [!libc_feholdsetround_noexf_ctx]: Define
7695         libc_feholdsetround_noexf_ctx.
7696         [!libc_feholdsetround_noexl_ctx]: Define
7697         libc_feholdsetround_noexl_ctx.
7698         (libc_feholdsetround_ctx): New function.
7699         (libc_feresetround_ctx): New function.
7700         (libc_feholdsetround_noex_ctx): New function.
7701         (libc_feresetround_noex_ctx): New function.
7702
7703 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7704
7705         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7706         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7707         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7708         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7709         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7710         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7711
7712         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7713         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7714         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7715         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7716         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7717         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7718         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7719         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7720         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7721         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7722         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7723         Moved ...
7724         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7725         ... here.
7726         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7727         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7728         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7729         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7730         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7731         Moved ...
7732         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7733         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7734         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7735         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7736         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7737         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7738         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7739         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7740         Moved ...
7741         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7742         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7743         Moved ...
7744         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7745         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7746         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7747         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7748         Moved ...
7749         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7750         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7751         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7752         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7753         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7754         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7755         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7756         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7757         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7758         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7759         Moved ...
7760         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7761         ... here.
7762         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7763         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7764         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7765         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7766         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7767         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7768         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7769         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7770         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7771         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7772         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7773         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7774         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7775         Moved ...
7776         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7777         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7778         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7779         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7780         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7781         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7782         Moved ...
7783         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7784         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7785         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7786         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7787         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7788
7789         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7790         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7791         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7792         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7793         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7794         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7795         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7796         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7797         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7798         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7799         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7800         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7801         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7802         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7803         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7804         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7806         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7807         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7808         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7809         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7810         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7811         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7812         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7813         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7814         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7815         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7816         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7817
7818 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7819
7820         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7821         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7822         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7823         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7824         (IPV6_PMTUDISC_INTERFACE): Likewise.
7825         (IPV6_PMTUDISC_OMIT): Likewise.
7826
7827 2014-06-23  Andreas Schwab  <schwab@suse.de>
7828
7829         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7830         Remove unused errout label.
7831
7832 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7833
7834         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7835         macro: hardware supports Vector Crypto instructions.
7836
7837 2014-06-23  Will Newton  <will.newton@linaro.org>
7838
7839         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7840         rather than __builtin_expect.
7841
7842         * elf/dl-lookup.c (undefined_msg): Remove variable.
7843         (_dl_lookup_symbol_x): Replace undefined_msg with string
7844         literal.
7845
7846         * elf/dl-lookup.c (do_lookup_unique): New function.
7847         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7848         to a separate function.
7849
7850 2014-06-23  Andreas Schwab  <schwab@suse.de>
7851
7852         [BZ #17079]
7853         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7854         before reading the next line.
7855
7856 2014-06-23  Will Newton  <will.newton@linaro.org>
7857
7858         * test-skeleton.c (signal_handler): Use printf and %m
7859         rather than perror.  Use printf rather than fprintf to
7860         stderr.  Use puts rather than fputs to stderr.
7861         (main): Likewise.
7862
7863 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7864
7865         * nscd/nscd.c (thread_info_t): Remove typedef.
7866         (thread_info): Remove variable.
7867
7868 2014-06-21  Allan McRae  <allan@archlinux.org>
7869
7870         * NEWS: Mention CVE-2014-4043.
7871
7872 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7873
7874         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7875         * nptl/smp.h: ... here.
7876
7877         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7878
7879         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7880         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7881         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7882         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7883
7884         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7885         * nptl/stack-aliasing.h: New file.
7886         * sysdeps/i386/i686/stack-aliasing.h: New file.
7887         * sysdeps/i386/i686/nptl/Makefile: File removed.
7888         * sysdeps/x86_64/stack-aliasing.h: New file.
7889         * sysdeps/x86_64/nptl/Makefile
7890         (CFLAGS-pthread_create.c): Variable removed.
7891
7892         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7893         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7894         old file.
7895         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7896         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7897         old file.
7898
7899 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7900
7901         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7902         (__ASSUME_SIGFRAME_V2): Remove macro.
7903         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7904         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7905         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7906         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7907         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7908         Declare as function.  Remove conditional macro definitions.
7909         (__default_rt_sa_restorer): Likewise.
7910         (__default_sa_restorer_v1): Remove declaration.
7911         (__default_sa_restorer_v2): Likewise.
7912         (__default_rt_sa_restorer_v1): Likewise.
7913         (__default_rt_sa_restorer_v2): Likewise.
7914         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7915         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7916         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7917
7918 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7919
7920         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7921         (libpthread-routines): Add sysdep.
7922         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7923         * sysdeps/unix/sysv/linux/sparc/Versions
7924         (libpthread: GLIBC_2.3.3): New version set.
7925         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7926         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7927         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7928         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7929         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7930         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7931         Moved ...
7932         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7934         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7936         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7937         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7938         * sysdeps/sparc/nptl/sem_init.c: ... here.
7939         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7940         * sysdeps/sparc/nptl/sem_post.c: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7942         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7943         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7944         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7945         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7946         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7947         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7948         (libpthread-routines): Add cpu_relax.
7949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7950         File removed.
7951         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7952         (librt: GLIBC_2.3.3): New version set.
7953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7954         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7955         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7956         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7958         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7959         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7960         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7961         Moved ...
7962         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7964         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7966         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7968         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7970         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7972         Moved ...
7973         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7974         Update #include.
7975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7976         Moved ...
7977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7978         Update #include.
7979         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7980         Moved ...
7981         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7982         Update #include.
7983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7984         Moved ...
7985         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7986         Update #include.
7987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7988         Moved ...
7989         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7990         Update #include.
7991         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7992         Moved ...
7993         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7994         Update #include.
7995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7996         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7998         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8002         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8004         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8006         Moved ...
8007         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8009         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8011         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8012
8013 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8014
8015         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8016         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8017         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8018         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8019         * nscd/nscd.c: Likewise.
8020         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8021         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8022         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8023         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8024
8025         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8026         <kernel-features.h>.
8027         (init_mq_netlink): Remove conditional have_sock_cloexec
8028         definitions.  Remove code conditional on have_sock_cloexec < 0.
8029         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8030         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8031         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8032         <kernel-features.h>.
8033         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8034         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8035
8036 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8037
8038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8039         Add tests for memset_chk and memset.
8040
8041         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8042         with AVX2_Usable.
8043
8044 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8045
8046         [BZ #16046]
8047         * elf/tst-dl-iter-static.c: New file.
8048         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8049
8050         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8051         error.
8052
8053 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8054
8055         * sysdeps/unix/sysv/linux/kernel-features.h
8056         (__ASSUME_F_GETOWN_EX): Remove macro.
8057         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8058         <kernel-features.h>.
8059         (miss_F_GETOWN_EX): Remove variable or macro.
8060         (do_fcntl): Do not check miss_F_GETOWN_EX.
8061         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8062
8063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8064         Remove macro.
8065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8066         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8067         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8068
8069         * sysdeps/unix/sysv/linux/kernel-features.h
8070         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8071         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8072         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8073         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8074
8075 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8076
8077         [BZ #17075]
8078         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8079         Fix calculation of the symbol's value.
8080         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8081         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8082         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8083         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8084         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8085         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8086         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8087         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8088         (modules-names): Add `tst-armtlsdescmod',
8089         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8090         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8091         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8092         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8093         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8094         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8095         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8096         ($(objpfx)tst-armtlsdescloc): New dependency.
8097         ($(objpfx)tst-armtlsdescextnow): Likewise.
8098         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8099         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8100         TLS scheme support.
8101         * sysdeps/arm/configure: Regenerate.
8102
8103 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8104
8105         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8106         (__atfct_seterrno_2): Likewise.
8107         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8108         <kernel-features.h>.
8109         (__ASSUME_ATFCTS): Do not undefine and redefine.
8110         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8111         (__have_atfcts): Remove conditional definition.
8112         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8113         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8114         unreachable if [__ASSUME_ATFCTS].
8115         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8116         not undefine and redefine.
8117         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8118         <kernel-features.h>.
8119         (faccessat) [__NR_faccessat]: Make code unconditional.
8120         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8121         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8122         <kernel-features.h>.
8123         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8124         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8125         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8126         <kernel-features.h>.
8127         (fchownat) [__NR_fchownat]: Make code unconditional.
8128         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8129         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8130         <kernel-features.h>.
8131         (futimesat) [__NR_futimesat]: Make code unconditional.
8132         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8133         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8134         <kernel-features.h>.
8135         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8136         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8137         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8138         <kernel-features.h>.
8139         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8140         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8141         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8142         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8143         <kernel-features.h>.
8144         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8145         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8146         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8147         <kernel-features.h>.
8148         (linkat) [__NR_linkat]: Make code unconditional.
8149         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8150         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8151         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8152         <kernel-features.h>.
8153         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8154         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8155         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8156         <kernel-features.h>.
8157         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8158         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8159         * sysdeps/unix/sysv/linux/openat.c: Do not include
8160         <kernel-features.h>.
8161         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8162         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8163         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8164         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8165         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8166         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8167         <kernel-features.h>.
8168         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8169         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8170         result of INLINE_SYSCALL directly, not via int variable.
8171         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8172         <kernel-features.h>.
8173         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8174         (renameat) [__NR_renameat]: Make code unconditional.
8175         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8176         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8177         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8178         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8179         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8180         (__ASSUME_ATFCTS): Do not undefine and redefine.
8181         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8182         <kernel-features.h>.
8183         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8184         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8185         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8186         <kernel-features.h>.
8187         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8188         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8189         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8190         (__ASSUME_ATFCTS): Do not undefine and redefine.
8191         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8192         <kernel-features.h>.
8193         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8194         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8195         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8196         <kernel-features.h>.
8197         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8198         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8199
8200 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8201
8202         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8203
8204 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8205
8206         [BZ #17069]
8207         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8208         constructed tree before returning error.
8209         * posix/bug-regexp36.c: Expand test case.
8210
8211 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8212
8213         [BZ #6803]
8214         * math/libm-test.inc (scalbln_test_date):
8215         Add errno expectations.
8216         * math/w_scalblnf.c: New File.
8217         Add wrapper which checks for setting errno to ERANGE.
8218         Add weak_alias for corresponding scalbln function.
8219         * math/w_scalbln.c: Likewise.
8220         * math/w_scalblnl.c: Likewise.
8221         * math/Makefile (libm-calls): Add w_scalbln.
8222         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8223         Remove weak_alias for corresponding scalbln function.
8224         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8226         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8227         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8228         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8229         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8230         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8231         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8232         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8233         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8234         Remove long_double_symbol for scalblnl function in libm, libc.
8235         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8236         Add wrapper which checks for setting errno to ERANGE.
8237         Add long_double_symbol for scalblnl function in libm, libc.
8238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8239         Remove long_double_symbol for scalblnl in libm.
8240         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8241         Add wrapper which checks for setting errno to ERANGE.
8242         Add long_double_symbol for scalblnl function in libm.
8243         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8244         Do not use wrapper because of own implementation.
8245
8246 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8247
8248         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8249         3 bytes for __pad1 for x32.
8250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8251
8252 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8253             H.J. Lu  <hongjiu.lu@intel.com>
8254
8255         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8256         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8257         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8259         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8260
8261 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8262
8263         [BZ #17069]
8264         * posix/regcomp.c (parse_expression): Deallocate partially
8265         constructed tree before returning error.
8266         * posix/Makefile.c (tests): Add bug-regex36.
8267         (generated): Add bug-regex36.mtrace.
8268         (tests-special): Add $(objpfx)bug-regex36-mem.out
8269         (bug-regex36-ENV): New variable.
8270         ($(objpfx)bug-regex36-mem.out): New rule.
8271         * posix/bug-regex36.c: New file.
8272
8273 2014-06-19  Will Newton  <will.newton@linaro.org>
8274
8275         * malloc/malloc.c (systrim): If extra is zero then return
8276         early.
8277
8278 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8279
8280         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8281
8282 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8283
8284         * sysdeps/aarch64/strchr.S: New file.
8285
8286 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8287
8288         [BZ #17022]
8289         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8290         from arguments -2 or below.
8291         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8292         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8293
8294 2014-06-18  Andreas Schwab  <schwab@suse.de>
8295
8296         [BZ #17062]
8297         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8298         of a bracket expr not to run off the end of the string.
8299         * posix/Makefile (tests): Add tst-fnmatch3.
8300         * posix/tst-fnmatch3.c: New file.
8301
8302 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8303
8304         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8305         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8306         [$(cross-compiling) = no]: Likewise.
8307         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8308         [$(cross-compiling) = no]: Likewise.
8309
8310 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8311
8312         [BZ #17031]
8313         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8314         double, adjusted for any remainder from the high double.
8315         * math/libm-test.inc (nearbyint): Add tests.
8316         (rint): Likewise.
8317
8318 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8319
8320         * nptl/sysdeps/powerpc/Makefile: Moved ...
8321         * sysdeps/powerpc/nptl/Makefile: ... here.
8322         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8323         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8324         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8325         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8326         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8327         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8328         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8329         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8330         * nptl/sysdeps/powerpc/tls.h: Moved ...
8331         * sysdeps/powerpc/nptl/tls.h: ... here.
8332
8333 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8334
8335         [BZ #16681]
8336         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8337         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8338         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8339         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8340         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8341         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8342         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8343         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8344         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8345
8346 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8347
8348         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8349
8350 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8351
8352         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8353         defined operator.
8354
8355         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8356         $TIMEOUTFACTOR.
8357
8358 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8359
8360         [BZ #17058]
8361         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8362         non-executed part of the test.
8363
8364 2014-06-16  Andreas Schwab  <schwab@suse.de>
8365
8366         * string/bits/string2.h (strdup, strndup): Update feature guard.
8367
8368 2014-06-14  David S. Miller  <davem@davemloft.net>
8369
8370         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8371
8372 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8373
8374         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8375         that was previously under [RESET_PID].
8376         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8377
8378         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8379         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8380         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8381         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8382         (__libc_vfork): New strong alias.
8383         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8384
8385 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8386
8387         * sysdeps/generic/elide.h: New file.
8388
8389 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8390
8391         * Makefile (installed-headers): Adjust path of pthread.h header.
8392
8393 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8394
8395         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8396         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8397         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8398         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8399
8400         * nptl/sysdeps/s390/Makefile: Moved ...
8401         * sysdeps/s390/nptl/Makefile: ... here.
8402         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8403         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8404         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8405         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8406         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8407         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8408         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8409         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8410         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8411         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8412         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8413         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8414         * nptl/sysdeps/s390/tls.h: Moved ...
8415         * sysdeps/s390/nptl/tls.h: ... here.
8416
8417         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8418         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8419
8420 2014-06-13  David S. Miller  <davem@davemloft.net>
8421
8422         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8425         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8429         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8430         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8431         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8432         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8433         Remove RESET_PID cpp guards.
8434         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8435         Remove RESET_PID cpp guards.
8436         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8437
8438 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8439
8440         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8441         __sp to uintptr_t.
8442
8443 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8444
8445         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8447         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8448         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8449         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8451         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8452         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8453         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8454         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8455         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8456         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8457         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8459         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8460         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8461         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8462         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8463         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8464         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8465
8466         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8467         (pthread_rwlock_rdlock): Add elision.
8468         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8469         (pthread_rwlock_wrlock): Add elision.
8470         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8471         (pthread_rwlock_trywrlock): Add elision.
8472         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8473         (pthread_rwlock_tryrdlock): Add elision.
8474         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8475         (pthread_rwlock_tryrdlock): Add elision unlock.
8476         * nptl/sysdeps/pthread/pthread.h:
8477         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8478         (PTHREAD_RWLOCK_INITIALIZER,
8479         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8480         Handle new elision field.
8481         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8482         * sysdeps/arm/nptl/bits/pthreadtypes.h
8483         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8484         * sysdeps/sh/nptl/bits/pthreadtypes.h
8485         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8486         * sysdeps/tile/nptl/bits/pthreadtypes.h
8487         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8488         * sysdeps/a/nptl/bits/pthreadtypes.h
8489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8490         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8491         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8492         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8493         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8494         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8495         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8496         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8497         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8498         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8499         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8500         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8501         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8502         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8503         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8504         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8505         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8506         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8507         (elision_init): Set try_xbegin to zero when no RTM.
8508         * sysdeps/x86/nptl/bits/pthreadtypes.h
8509         (pthread_rwlock_t): Change __pad1 to __rwelision.
8510         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8511
8512 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8513
8514         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8515         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8516         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8517         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8518
8519 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8520
8521         [BZ #16996]
8522         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8523         that the cached result has been set before returning it.
8524
8525 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8526
8527         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8528         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8529         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8530         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8532         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8533
8534         * nptl/sysdeps/sparc/Makefile: Moved ...
8535         * sysdeps/sparc/nptl/Makefile: ... here.
8536         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8537         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8538         * nptl/sysdeps/sparc/tls.h: Moved ...
8539         * sysdeps/sparc/nptl/tls.h: ... here.
8540         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8541         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8542         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8543         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8544         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8545         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8546         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8547         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8548         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8549         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8550         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8551         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8552         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8553         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8554         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8555         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8556         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8557         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8558         Update #include.
8559         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8560         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8561         Update #include.
8562         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8563         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8564         Update #include.
8565         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8566         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8567         Update #include.
8568
8569         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8570
8571         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8572         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8573
8574         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8575         (struct list_links): Type removed.
8576         (struct thread_node, struct timer_node): Replace struct list_links
8577         with struct list_head.
8578         (list_unlink_ip): Likewise.
8579         * sysdeps/pthread/timer_routines.c
8580         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8581         (list_append, list_insbefore): Likewise.
8582         (list_init): Function removed.
8583         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8584         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8585         * sysdeps/pthread/Makefile: ... here, new file.
8586
8587         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8588         * sysdeps/nptl/Implies: ... here.
8589         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8590         * nptl/sysdeps/pthread/list.h: Moved ...
8591         * include/list.h: ... here.
8592         * nptl/sysdeps/pthread/createthread.c: Moved ...
8593         * nptl/createthread.c: ... here.
8594         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8595         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8596         * nptl/pt-longjmp.c: ... here.
8597         * nptl/sysdeps/pthread/Makefile: Moved ...
8598         * sysdeps/nptl/Makefile: ... here.
8599         * nptl/sysdeps/pthread/Subdirs: Moved ...
8600         * sysdeps/nptl/Subdirs: ... here.
8601         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8602         * sysdeps/nptl/aio_misc.h: ... here.
8603         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8604         * sysdeps/nptl/bits/libc-lock.h: ... here.
8605         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8606         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8607         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8608         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8609         * nptl/sysdeps/pthread/configure: Moved ...
8610         * sysdeps/nptl/configure: ... here.
8611         * nptl/sysdeps/pthread/configure.ac: Moved ...
8612         * sysdeps/nptl/configure.ac: ... here.
8613         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8614         * sysdeps/nptl/gai_misc.h: ... here.
8615         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8616         * sysdeps/nptl/librt-cancellation.c: ... here.
8617         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8618         * sysdeps/nptl/malloc-machine.h: ... here.
8619         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8620         * sysdeps/nptl/pthread-functions.h: ... here.
8621         * nptl/sysdeps/pthread/pthread.h: Moved ...
8622         * sysdeps/nptl/pthread.h: ... here.
8623         * nptl/sysdeps/pthread/setxid.h: Moved ...
8624         * sysdeps/nptl/setxid.h: ... here.
8625         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8626         * sysdeps/nptl/sigfillset.c: ... here.
8627         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8628         * sysdeps/nptl/tcb-offsets.h: ... here.
8629         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8630         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8631         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8632         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8633         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8634         * sysdeps/pthread/allocalim.h: ... here.
8635         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8636         * sysdeps/pthread/bits/sigthread.h: ... here.
8637         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8638         * sysdeps/pthread/flockfile.c: ... here.
8639         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8640         * sysdeps/pthread/ftrylockfile.c: ... here.
8641         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8642         * sysdeps/pthread/funlockfile.c: ... here.
8643         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8644         * sysdeps/pthread/posix-timer.h: ... here.
8645         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8646         * sysdeps/pthread/timer_create.c: ... here.
8647         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8648         * sysdeps/pthread/timer_delete.c: ... here.
8649         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8650         * sysdeps/pthread/timer_getoverr.c: ... here.
8651         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8652         * sysdeps/pthread/timer_gettime.c: ... here.
8653         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8654         * sysdeps/pthread/timer_routines.c: ... here.
8655         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8656         * sysdeps/pthread/timer_settime.c: ... here.
8657         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8658         * sysdeps/pthread/tst-timer.c: ... here.
8659         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8660         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8661
8662         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8663         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8664
8665         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8666         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8667         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8668         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8669         Update #include target.
8670         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8671         * sysdeps/i386/i686/nptl/Makefile: ... here.
8672         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8673         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8674         Update #include target.
8675         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8676         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8677         * nptl/sysdeps/i386/Makefile: Moved ...
8678         * sysdeps/i386/nptl/Makefile: ... here.
8679         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8680         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8681         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8682         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8683         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8684         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8685         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8686         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8687         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8688         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8689         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8690         * nptl/sysdeps/i386/tls.h: Moved ...
8691         * sysdeps/i386/nptl/tls.h: ... here.
8692
8693         * sysdeps/sh/Makefile [$(subdir) = csu]
8694         (gen-as-const-headers): Add tcb-offsets.sym.
8695         * nptl/sysdeps/sh/Makefile: File removed.
8696         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8697         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8698         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8699         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8700         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8701         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8702         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8703         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8704         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8705         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8706         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8707         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8708         * nptl/sysdeps/sh/tls.h: Moved ...
8709         * sysdeps/sh/nptl/tls.h: ... here.
8710         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8711         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8712         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8713         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8714         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8715         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8716         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8717         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8718         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8719         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8720         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8721         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8722         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8723         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8724         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8725         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8726         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8727         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8728         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8729         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8730         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8731         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8732         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8733         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8734         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8735         Moved ...
8736         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8737         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8738         Moved ...
8739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8740         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8741         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8742         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8743         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8744         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8745         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8746         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8747         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8748         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8749         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8750         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8751         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8752         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8753         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8754         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8755         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8756         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8757         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8758
8759 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8760
8761         * posix/spawn_faction_addopen.c: Include string.h.
8762
8763 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8764
8765         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8766         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8767         * nptl/sysdeps/x86_64/Makefile: Moved ...
8768         * sysdeps/x86_64/nptl/Makefile: ... here.
8769         * nptl/sysdeps/x86_64/configure: Moved ...
8770         * sysdeps/x86_64/nptl/configure: ... here.
8771         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8772         * sysdeps/x86_64/nptl/configure.ac: ... here.
8773         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8774         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8775         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8776         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8777         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8778         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8779         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8780         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8781         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8782         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8783         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8784         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8785         * nptl/sysdeps/x86_64/tls.h: Moved ...
8786         * sysdeps/x86_64/nptl/tls.h: ... here.
8787         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8788         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8789         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8790         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8791
8792         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8793
8794 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8795
8796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8797
8798 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8799
8800         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8801         type.
8802         [POSIX] (off_t): Likewise.
8803         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8804         [POSIX] (S_ISBLK): Require macro.
8805         [POSIX] (S_ISCHR): Likewise.
8806         [POSIX] (S_ISDIR): Likewise.
8807         [POSIX] (S_ISFIFO): Likewise.
8808         [POSIX] (S_ISREG): Likewise.
8809         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8810         optional-macro.
8811         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8812         type.
8813         [POSIX] (time_t): Likewise.
8814         [POSIX] (timer_t): Likewise.
8815
8816 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8817
8818         [BZ #17048]
8819         * posix/spawn_int.h (struct __spawn_action): Make the path string
8820         non-const to support deallocation.
8821         * posix/spawn_faction_addopen.c
8822         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8823         * posix/spawn_faction_destroy.c
8824         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8825         path in all spawn_do_open actions.
8826         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8827         posix_spawn_file_actions_addopen.
8828
8829 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8830
8831         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8832         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8833         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8834         conditional code always true.
8835         (__libc_vfork): New alias.
8836
8837 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8838
8839         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8840         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8841
8842         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8843
8844         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8845         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8846
8847         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8848         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8849
8850         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8851         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8852
8853 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8854
8855         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8856         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8857         multiarch strcmp for PPC64.
8858         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8859         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8861         multiarch optimizations.
8862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8863         (__libc_ifunc_impl_list): Likewise.
8864
8865 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8866
8867         * benchtests/scripts/validate_benchout.py: New script.
8868         * benchtests/Makefile (bench-func): Call it.
8869         * benchtests/scripts/benchout.schema.json: New file.
8870
8871 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8872
8873         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8874         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8875         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8876         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8877         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8878         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8879         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8880         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8881         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8882         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8883         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8884         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8885         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8886         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8887         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8888         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8890         Moved ...
8891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8892         ... here.
8893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8894         Moved ...
8895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8897         Moved ...
8898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8899         ... here.
8900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8901         Moved ...
8902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8903         ... here.
8904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8905         Moved ...
8906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8908         Moved ...
8909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8910         ... here.
8911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8912         Moved ...
8913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8914         ... here.
8915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8916         Moved ...
8917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8919         Moved ...
8920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8921         ... here.
8922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8923         Moved ...
8924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8925         ... here.
8926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8927         Moved ...
8928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8929         ... here.
8930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8931         Moved ...
8932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8934         Moved ...
8935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8936         ... here.
8937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8938         Moved ...
8939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8940         ... here.
8941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8942         Moved ...
8943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8944         ... here.
8945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8946         Moved ...
8947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8949         Moved ...
8950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8951         ... here.
8952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8953         Moved ...
8954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8955         ... here.
8956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8957         Moved ...
8958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8960         Moved ...
8961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8962         ... here.
8963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8964         Moved ...
8965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8967         Moved ...
8968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8970         Moved ...
8971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8972         ... here.
8973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8974         Moved ...
8975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8976         ... here.
8977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8978         Moved ...
8979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8980         ... here.
8981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8982         Moved ...
8983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8985         Moved ...
8986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8987         ... here.
8988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8989         Moved ...
8990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8991         ... here.
8992         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8993         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8994         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8995         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8996         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8997         Moved ...
8998         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8999         ... here.
9000         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9001         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9002         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9003         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9004         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9005         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9006         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9007         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9008         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9010         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9011         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9012         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9013         Moved ...
9014         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9015         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9016         Moved ...
9017         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9018         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9019         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9020         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9021         Moved ...
9022         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9023         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9024         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9025         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9026         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9027         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9028         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9029
9030 2014-06-10  Wilco  <wdijkstr@arm.com>
9031
9032         * math/test-fenv-return.c: New file.
9033         * math/Makefile: Add new test test-fenv-return.
9034
9035 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9036
9037         [BZ #17042]
9038         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9039         when x - 1 is zero.
9040         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9041         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9042         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9043         0.0L for an argument of 1.0L.
9044         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9045         Likewise.
9046         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9047         value when x - 1 is zero.
9048         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9049         * sysdeps/i386/fpu/libm-test-ulps: Update.
9050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9051
9052 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9053
9054         [BZ #15119]
9055         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9056
9057 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9058
9059         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9060         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9061
9062 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9063
9064         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9065         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9066
9067         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9068         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9069
9070         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9071         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9072
9073         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9074         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9075
9076         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9077         if not already defined.
9078         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9079         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9080         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9081         (TLS_INIT_TP): Use it.
9082         (TLS_DEFINE_INIT_TP): New macro.
9083         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9084
9085 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9086
9087         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9088         constant.
9089         [POSIX] (IXANY): Likewise.
9090         [POSIX] (OLCUC): Likewise.
9091         [POSIX || POSIX2008] (CBAUD): Do not allow.
9092         [POSIX || POSIX2008] (DEFECHO): Likewise.
9093         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9094         [POSIX || POSIX2008] (ECHOKE): Likewise.
9095         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9096         [POSIX || POSIX2008] (EXTA): Likewise.
9097         [POSIX || POSIX2008] (EXTB): Likewise.
9098         [POSIX || POSIX2008] (FLUSHO): Likewise.
9099         [POSIX || POSIX2008] (LOBLK): Likewise.
9100         [POSIX || POSIX2008] (PENDIN): Likewise.
9101         [POSIX || POSIX2008] (SWTCH): Likewise.
9102         [POSIX || POSIX2008] (VDISCARD): Likewise.
9103         [POSIX || POSIX2008] (VDSUSP): Likewise.
9104         [POSIX || POSIX2008] (VLNEXT): Likewise.
9105         [POSIX || POSIX2008] (VREPRINT): Likewise.
9106         [POSIX || POSIX2008] (VSTATUS): Likewise.
9107         [POSIX || POSIX2008] (VWERASE): Likewise.
9108         (B*): Change to B[0123456789]*.
9109         * conform/data/time.h-data [POSIX || UNIX98]
9110         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9111         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9112         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9113         [POSIX] (tm_*): Do not allow.
9114
9115 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9116
9117         * Makefile (install): Don't set LANGUAGE.
9118         * Makefile.in (install): Likewise.
9119         * assert/Makefile (test-assert-ENV): Remove variable.
9120         (test-assert-perr-ENV): Likewise.
9121         * elf/Makefile (neededtest4-ENV): Likewise.
9122         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9123         [$(cross-compiling) = no]: Don't set LANGUAGE.
9124         * io/ftwtest-sh (LANG): Remove variable.
9125         * libio/Makefile (tst-widetext-ENV): Likewise.
9126         * manual/install.texi (Running make install): Don't refer to
9127         environment settings for make install.
9128         * INSTALL: Regenerated.
9129         * nptl/tst-tls6.sh: Don't set LANG.
9130         * posix/globtest.sh (LANG): Remove variable.
9131         * string/Makefile (tester-ENV): Likewise.
9132         (inl-tester-ENV): Likewise.
9133         (noinl-tester-ENV): Likewise.
9134         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9135         [$(cross-compiling) = no]: Don't set LANGUAGE.
9136         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9137         without explicit environment settings.
9138
9139 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9140
9141         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9142         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9143         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9144         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9145
9146 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9147
9148         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9149         other files in the crypt directory.
9150         * crypt/crypt.c: Remove duplicate includes.
9151         * crypt/crypt-entry.c: Likewise.
9152         * crypt/crypt_util.c: Likewise.
9153
9154 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9155
9156         * Makeconfig (run-program-env): New variable.
9157         (run-program-prefix-before-env): Likewise.
9158         (run-program-prefix-after-env): Likewise.
9159         (run-program-prefix): Define in terms of new variables.
9160         (built-program-cmd-before-env): New variable.
9161         (built-program-cmd-after-env): Likewise.
9162         (built-program-cmd): Define in terms of new variables.
9163         (test-program-prefix-before-env): New variable.
9164         (test-program-prefix-after-env): Likewise.
9165         (test-program-prefix): Define in terms of new variables.
9166         (test-program-cmd-before-env): New variable.
9167         (test-program-cmd-after-env): Likewise.
9168         (test-program-cmd): Define in terms of new variables.
9169         * Rules (make-test-out): Use $(run-program-env).
9170         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9171         (help): Do not mention environment variables.  Mention
9172         --timeoutfactor option.
9173         (timeoutfactor): New variable.
9174         (blacklist_exports): Remove function.
9175         (exports): Remove variable.
9176         (command): Do not include ${exports}.
9177         * manual/install.texi (Configuring and compiling): Do not mention
9178         test wrappers preserving environment variables.  Mention that last
9179         assignment to a variable must take precedence.
9180         * INSTALL: Regenerated.
9181         * benchtests/Makefile (run-bench): Use $(run-program-env).
9182         * catgets/Makefile ($(objpfx)test1.cat): Use
9183         $(built-program-cmd-before-env), $(run-program-env) and
9184         $(built-program-cmd-after-env).
9185         ($(objpfx)test2.cat): Do not specify environment variables
9186         explicitly.
9187         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9188         $(run-program-env) and $(built-program-cmd-after-env).
9189         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9190         $(run-program-env) and $(test-program-cmd-after-env).
9191         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9192         explicitly.
9193         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9194         run_program_env and test_program_cmd_after_env arguments.
9195         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9196         * elf/tst-pathopt.sh: Use run_program_env argument.
9197         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9198         $(test-wrapper-env) and $(run-program-env).
9199         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9200         run_program_env arguments.
9201         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9202         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9203         $(test-program-prefix-before-env), $(run-program-env) and
9204         $(test-program-prefix-after-env).
9205         ($(objpfx)tst-gettext2.out): Likewise.
9206         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9207         run_program_env and test_program_prefix_after_env arguments.
9208         * intl/tst-gettext2.sh: Likewise.
9209         * intl/tst-gettext4.sh: Do not set environment variables
9210         explicitly.
9211         * intl/tst-gettext6.sh: Likewise.
9212         * intl/tst-translit.sh: Likewise.
9213         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9214         $(test-program-prefix-before-env), $(run-program-env) and
9215         $(test-program-prefix-after-env).
9216         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9217         run_program_env and test_program_prefix_after_env arguments.
9218         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9219         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9220         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9221         explicitly with each use of ${test_wrapper_env}.
9222         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9223         $(test-program-prefix-before-env), $(run-program-env) and
9224         $(test-program-prefix-after-env).
9225         * posix/tst-getconf.sh: Do not set environment variables
9226         explicitly.
9227         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9228         run_program_env and test_program_prefix_after_env arguments.
9229         * stdio-common/tst-printf.sh: Do not set environment variables
9230         explicitly.
9231         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9232         $(test-program-prefix-before-env), $(run-program-env) and
9233         $(test-program-prefix-after-env).
9234         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9235         run_program_env and test_program_prefix_after_env arguments.
9236         Split $test calls into $test_pre and $test.
9237         * timezone/Makefile (build-testdata): Use
9238         $(built-program-cmd-before-env), $(run-program-env) and
9239         $(built-program-cmd-after-env).
9240
9241 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9242
9243         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9244         strlen for non SHARED builds.
9245
9246 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9247
9248         * nptl/allocatestack.c (check_list): Inlined function...
9249         (__reclaim_stacks): ... here.
9250
9251 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9252
9253         [BZ #15698]
9254         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9255         memory overrun.
9256
9257 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9258
9259         * Rules (make-test-out): Include
9260         LOCPATH=$(common-objpfx)localedata in default environment.
9261         * debug/Makefile (tst-chk1-ENV): Remove variable.
9262         (tst-chk2-ENV): Likewise.
9263         (tst-chk3-ENV): Likewise.
9264         (tst-chk4-ENV): Likewise.
9265         (tst-chk5-ENV): Likewise.
9266         (tst-chk6-ENV): Likewise.
9267         (tst-lfschk1-ENV): Likewise.
9268         (tst-lfschk2-ENV): Likewise.
9269         (tst-lfschk3-ENV): Likewise.
9270         (tst-lfschk4-ENV): Likewise.
9271         (tst-lfschk5-ENV): Likewise.
9272         (tst-lfschk6-ENV): Likewise.
9273         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9274         (tst-iconv7-ENV): Likewise.
9275         * intl/Makefile (LOCPATH-ENV): Likewise.
9276         (tst-codeset-ENV): Likewise.
9277         (tst-gettext3-ENV): Likewise.
9278         (tst-gettext5-ENV): Likewise.
9279         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9280         (tst-fopenloc-ENV): Likewise.
9281         (tst-fgetws-ENV): Remove variable.
9282         (tst-ungetwc1-ENV): Likewise.
9283         (tst-ungetwc2-ENV): Likewise.
9284         (bug-ungetwc2-ENV): Likewise.
9285         (tst-swscanf-ENV): Likewise.
9286         (bug-ftell-ENV): Likewise.
9287         (tst-fgetwc-ENV): Likewise.
9288         (tst-fseek-ENV): Likewise.
9289         (tst-ftell-partial-wide-ENV): Likewise.
9290         (tst-ftell-active-handler-ENV): Likewise.
9291         (tst-ftell-append-ENV): Likewise.
9292         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9293         (tst-regexloc-ENV): Likewise.
9294         (bug-regex1-ENV): Likewise.
9295         (tst-regex-ENV): Likewise.
9296         (tst-regex2-ENV): Likewise.
9297         (bug-regex5-ENV): Likewise.
9298         (bug-regex6-ENV): Likewise.
9299         (bug-regex17-ENV): Likewise.
9300         (bug-regex18-ENV): Likewise.
9301         (bug-regex19-ENV): Likewise.
9302         (bug-regex20-ENV): Likewise.
9303         (bug-regex22-ENV): Likewise.
9304         (bug-regex23-ENV): Likewise.
9305         (bug-regex25-ENV): Likewise.
9306         (bug-regex26-ENV): Likewise.
9307         (bug-regex30-ENV): Likewise.
9308         (bug-regex32-ENV): Likewise.
9309         (bug-regex33-ENV): Likewise.
9310         (bug-regex34-ENV): Likewise.
9311         (bug-regex35-ENV): Likewise.
9312         (tst-rxspencer-ENV): Likewise.
9313         (tst-rxspencer-no-utf8-ENV): Likewise.
9314         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9315         (tst-sscanf-ENV): Likewise.
9316         (tst-swprintf-ENV): Likewise.
9317         (tst-swscanf-ENV): Likewise.
9318         (test-vfprintf-ENV): Likewise.
9319         (scanf13-ENV): Likewise.
9320         (bug14-ENV): Likewise.
9321         (tst-grouping-ENV): Likewise.
9322         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9323         (tst-strtod3-ENV): Likewise.
9324         (tst-strtod4-ENV): Likewise.
9325         (tst-strtod5-ENV): Likewise.
9326         (testmb2-ENV): Likewise./
9327         * string/Makefile (tst-strxfrm-ENV): Likewise.
9328         (tst-strxfrm2-ENV): Likewise.
9329         (bug-strcoll1-ENV): Likewise.
9330         (test-strcasecmp-ENV): Likewise.
9331         (test-strncasecmp-ENV): Likewise.
9332         * time/Makefile (tst-strptime-ENV): Likewise.
9333         (tst-ftime_l-ENV): Likewise.
9334         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9335         (tst-mbrtowc-ENV): Likewise.
9336         (tst-wcrtomb-ENV): Likewise.
9337         (tst-mbrtowc2-ENV): Likewise.
9338         (tst-c16c32-1-ENV): Likewise.
9339         (tst-mbsnrtowcs-ENV): Likewise.
9340
9341 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9342
9343         * manual/resource.texi (How to get information about the memory
9344         subsystem?): Fix typo.
9345         Reported by Peon de la Parra Ivan <peon@keba.com>
9346
9347 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9348
9349         [BZ #16882]
9350         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9351         (pthread_spin_lock): Branch out of spin loop to proper location.
9352         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9353         (pthread_spin_lock): Likewise.
9354
9355         * nptl/tst-spin4.c: New test.
9356         * nptl/Makefile (tests): Add tst-spin4.
9357
9358 2014-06-03  Andreas Schwab  <schwab@suse.de>
9359
9360         [BZ #15946]
9361         * resolv/res_send.c (send_dg): Reload file descriptor after
9362         calling reopen.
9363
9364 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9365
9366         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9367
9368 2014-06-03  Richard Henderson  <rth@redhat.com>
9369
9370         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9371         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9372         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9373         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9374         in the SAVE_PID block.
9375         (__libc_vfork): New alias.
9376         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9377
9378         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9379         child in registers, not on the stack.  Remove RESET_PID conditionals.
9380         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9381
9382 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9383
9384         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9385
9386 2014-06-03  Wilco  <wdijkstr@arm.com>
9387
9388         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9389         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9390         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9391         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9392         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9393         Likewise.
9394
9395 2014-06-03  Wilco  <wdijkstr@arm.com>
9396
9397         * sysdeps/aarch64/fpu/math_private.h
9398         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9399         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9400         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9401         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9402         Fix declarations.
9403
9404 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9405
9406         * crypt/crypt-private.h: Include ufc-crypt.h.
9407         (__b64_from_24bit): Declare extern.
9408         * crypt/crypt_util.c(__b64_from_24bit): New function.
9409         (b64t): New static const variable.
9410         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9411         (b64t): Remove variable.
9412         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9413         * crypt/sha256-crypt.c: Include crypt-private.h.
9414         (b64t): Remove variable.
9415         (__sha256_crypt_r): Remove b64_from_24bit and replace
9416         with __b64_from_24bit.
9417         * crypt/sha512-crypt.c: Likewise.
9418
9419 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9420
9421         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9422         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9423         Label the code __libc_vfork rather than __vfork.
9424         [!NOT_IN_libc] (vfork): Define as weak alias.
9425         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9426         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9427         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9428
9429 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9430
9431         * malloc/malloc.c (malloc_info): Fix format specifier for
9432         n_mmaps.
9433
9434 2014-06-02  Wilco  <wdijkstr@arm.com>
9435
9436         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9437         FPCR write.
9438
9439 2014-06-02  Wilco  <wdijkstr@arm.com>
9440
9441         [BZ #17009]
9442         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9443         Rewrite to reduce FPCR/FPSR accesses.
9444
9445 2014-06-01  David S. Miller  <davem@davemloft.net>
9446
9447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9448
9449 2014-05-31  David S. Miller  <davem@davemloft.net>
9450
9451         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9452         to occur in round to nearest mode when |x| >= 2.0
9453
9454 2014-05-30  Richard Henderson  <rth@twiddle.net>
9455
9456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9457         (PSEUDO_RET_NOERRNO): Remove.
9458         (ret): Don't redefine.
9459         (ret_NOERRNO): Define in terms of ret.
9460         (ret_ERRVAL): Likewise.
9461
9462         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9463         use of PSEUDO_RET; perform the error check directly.
9464
9465 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9466
9467         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9468         with __int128_t.
9469
9470 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9471
9472         * malloc/malloc (malloc_info): Fix formatting.
9473
9474 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9475             Roland McGrath  <roland@hack.frob.com>
9476
9477         * malloc/malloc (malloc_info): Also print mmapped statistics.
9478
9479 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9480
9481         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9482         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9483
9484 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9485
9486         * malloc/malloc.c (malloc_info): Inline mi_arena.
9487
9488 2014-05-29  Richard Henderson  <rth@twiddle.net>
9489
9490         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9491         Remove comma before expanding ASM_ARGS_##nr.
9492         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9493         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9494         of ASM_ARGS_##nr.
9495         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9496         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9497         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9498         (ASM_ARGS_1): Add leading comma.
9499
9500         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9501         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9502         to __errno_location.
9503         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9504         Remove the expected plt for __errno_location.
9505
9506         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9507         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9508         call to __read_tp.
9509
9510         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9511         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9512         it and break it down.
9513         (DOCARGS_0, DOCARGS_1): Do nothing.
9514         (DOCARGS_2): Update to store into the new stack frame.
9515         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9516         (UNDOCARGS_1): Update to restore from the new stack frame.
9517         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9518         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9519
9520         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9521         (SINGLE_THREAD_P): New parameter for result regno.
9522         (PSEUDO): Update to match; use cbz instead of beq.
9523
9524         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9525         Use ENTRY to define the _nocancel entry point.  Share the syscall
9526         and syscall error check paths with the cancel path.
9527         (PSEUDO_END): New.
9528
9529         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9530         whitespace; tabs before and after asm mnemonics.
9531
9532 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9533
9534         [BZ #15132]
9535         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9536         Call fstat64 or stat64 internally, depending on arguments passed.
9537         Replace stat buffer argument with file descriptor argument.
9538         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9539         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9540         Pass fd to __internal_statvfs instead of calling fstat64.
9541         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9542         Pass fd to __internal_statvfs64 instead of calling fstat64.
9543         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9544         Pass -1 to __internal_statvfs instead of calling stat64.
9545         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9546         Pass -1 to __internal_statvfs64 instead of calling stat64.
9547
9548 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9549
9550         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9551         that was previously under [RESET_PID].
9552         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9553
9554         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9555         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9556
9557 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9558
9559         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9560
9561         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9562         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9563
9564 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9565
9566         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9567
9568 2014-05-27  Andreas Schwab  <schwab@suse.de>
9569
9570         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9571         TLS_INIT_TP macro.
9572         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9573         * elf/rtld.c (init_tls, dl_main): Likewise.
9574         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9575         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9576         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9577         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9578         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9579         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9580         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9581         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9582         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9583         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9584         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9585         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9586         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9587         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9588         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9589         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9590         * sysdeps/generic/tls.h: Update description.
9591
9592 2014-05-27  Will Newton  <will.newton@linaro.org>
9593
9594         [BZ #16990]
9595         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9596         and restore r2 rather than just restoring.
9597
9598 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9599
9600         [BZ #16724]
9601         * libio/tst-ftell-append.c: New test case.
9602         * libio/Makefile (tests): Add test case.
9603         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9604         append mode.
9605         * libio/wfileops.c (do_ftell_wide): Likewise.
9606
9607 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9608
9609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9610
9611         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9612         ...
9613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9615         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9616         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9617         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9618         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9619         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9620         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9621         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9624         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9625         Moved ...
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9627         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9628         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9629         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9630         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9631         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9632         ...
9633         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9634         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9635         Moved ...
9636         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9637         here.
9638         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9639         ...
9640         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9641         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9642         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9643
9644         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9645         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9646         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9647         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9648
9649         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9650         merge into ...
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9652         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9653         ...
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9655         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9656         ...
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9658         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9659         Moved ...
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9661         here.
9662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9663         Moved ...
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9665         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9666         Moved ...
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9668
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9670         conditional [RESET_PID].
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9673         removed.
9674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9675         removed.
9676
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9678         <tcb-offsets.h>.
9679         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9680         (__libc_vfork): New strong alias.
9681         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9682         removed.
9683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9684         Removed.
9685
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9687         <tcb-offsets.h>.
9688         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9689         (__libc_vfork): New strong alias.
9690         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9691         removed.
9692         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9693         removed.
9694
9695 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9696
9697         * malloc/malloc.c (mi_arena): New function.
9698         (malloc_info): Remove nested function mi_arena. Call non-nosted
9699         function mi_arena.
9700
9701 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9702
9703         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9704         by insrwi.
9705         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9706         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9707         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9708         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9709         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9710         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9711         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9712
9713 2014-05-26  Andreas Schwab  <schwab@suse.de>
9714
9715         [BZ #16984]
9716         * locale/programs/repertoire.c (repertoire_read): Add slash
9717         between I18NPATH element and file name.
9718         * locale/programs/locfile.c (locfile_read): Likewise.
9719
9720 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9721
9722         * nptl/pthread_mutexattr_settype.c
9723         (__pthread_mutexattr_settype):
9724         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9725
9726 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9727
9728         * nptl/tst-mutex5 (do_test):
9729         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9730
9731 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9732
9733         * benchtests/README: Document 'init' directive.
9734         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9735         BENCH_INIT.
9736         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9737         (parse_file): Recognize 'init' directive.
9738
9739 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9740
9741         [BZ #16796]
9742         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9743         alignment of struct pthread.
9744
9745 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9746
9747         [BZ #16878]
9748         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9749         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9750         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9751         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9752
9753 2014-05-25  Richard Henderson  <rth@twiddle.net>
9754
9755         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9756         (SINGLE_THREAD_P_PIC): Remove.
9757         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9758         (SINGLE_THREAD_P_PIC): Remove.
9759
9760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9761         branch to syscall error ...
9762         (PSEUDO): ... here.
9763         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9764         from __local_syscall_error to .Lsyscall_error.
9765         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9766         (SYSCALL_ERROR): Update label name.
9767
9768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9769         Do not use DOARGS/UNDOARGS.
9770         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9771         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9772         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9773         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9774         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9775
9776         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9777         block comment.
9778
9779         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9780         define if !NOT_IN_libc.
9781         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9782         define with non-default symbol versions.
9783
9784 2014-05-23  Richard Henderson  <rth@twiddle.net>
9785
9786         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9787         (vfork, __vfork): Define via compat_symbol.
9788
9789         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9790         [!HAVE_IFUNC] (vfork_compat): Remove.
9791         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9792
9793 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9794
9795         [BZ #16978]
9796         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9797         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9798         variable.
9799
9800 2014-05-23  Richard Henderson  <rth@twiddle.net>
9801
9802         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9803         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9804         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9805         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9806
9807         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9808         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9809         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9810         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9811         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9812         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9813         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9814         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9815         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9816         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9817         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9818         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9819         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9820         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9821         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9822         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9823         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9824         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9825         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9826         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9827         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9828         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9830         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9833         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9834         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9835         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9836         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9838         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9840         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9841         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9842         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9843         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9844         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9845         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9846         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9847         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9848         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9849         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9850         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9851         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9852         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9853         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9854         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9855         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9856         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9857         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9858         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9860         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9862         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9863
9864         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9865         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9866         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9867         before exiting on error.
9868         (__libc_vfork): New strong alias.
9869         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9870         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9871
9872         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9873         that was previously under [RESET_PID].
9874         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9875
9876         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9877
9878 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9879
9880         [BZ #16977]
9881         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9882         value when x - 1 is zero.
9883         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9884         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9885         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9886         0.0L for an argument of 1.0L.
9887         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9888         Likewise.
9889         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9890         value when x - 1 is zero.
9891         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9892         * sysdeps/i386/fpu/libm-test-ulps: Update.
9893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894
9895 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9896
9897         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9898         alphasort and versionsort.
9899
9900 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9901
9902         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9903         macro.
9904         [copysignf]: Likewise.
9905
9906 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9907
9908         * crypt/md5-crypt.c: Fix formatting.
9909
9910 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9911
9912         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9913         (b64_from_24bit): New function.
9914
9915 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9916
9917         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9918         libc_hidden_builtin_def to ifunc.
9919         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9920         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9921
9922 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9923
9924         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9925         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9926
9927 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9928
9929         * nscd/Depend (linuxthreads): Remove.
9930         (nptl): Add.
9931         * resolv/Depend (linuxthreads): Remove.
9932         * rt/Depend (linuxthreads): Remove.
9933
9934         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9935         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9936         $(common-objpfx)elf/.
9937         (link-libc-before-gnulib): Likewise.
9938         (elfobjdir): Remove variable.
9939         * Makefile (install): Use $(elf-objpfx) instead of
9940         $(common-objpfx)elf/.
9941         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9942         $(elfobjdir)/.
9943         (link-libc-deps): Likewise.
9944         ($(common-objpfx)libc.so): Likewise.
9945         ($(common-objpfx)linkobj/libc.so): Likewise.
9946         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9947         instead of $(common-objpfx)elf/.
9948         (symbolic-link-list): Likewise.
9949         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9950         [$(cross-compiling) = no]: Likewise.
9951         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9952         $(elfobjdir)/.
9953         (static-gnulib-arch): Likewise.
9954         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9955         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9956         $(common-objpfx)elf/.
9957
9958 2014-05-21  Richard Henderson  <rth@redhat.com>
9959
9960         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9961         (SINGLE_THREAD_P): Use the correct width load.  Fold
9962         into the ldr offset.
9963
9964         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9965         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9966
9967 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9968
9969         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9970         (libgcc_s_resume): Use __attribute_used__.
9971         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9972         Likewise.
9973
9974 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9975
9976         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9977         optimization when used with float constants.
9978
9979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9980
9981 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9982
9983         [BZ #16915]
9984         * locale/nl_langinfo_l.c: Make direct reference to every
9985         _nl_current_CATEGORY symbol.
9986         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9987         (tests-static): Add tst-langinfo-static.
9988         (tests-special): Add tst-langinfo-static.out.
9989         ($(objpfx)tst-langinfo.out): Redirect output.
9990         ($(objpfx)tst-langinfo-static.out): New.
9991         * localedata/tst-langinfo.sh: Send output to stdout.
9992         * localedata/tst-langinfo-static.c: New file.
9993
9994         [BZ #16965]
9995         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9996         when the shift amount is modulo the limb size.
9997
9998 2014-05-20  Richard Henderson  <rth@redhat.com>
9999
10000         [BZ #16967]
10001         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10002         Change type of sa_flags from unsigned int to int.
10003
10004         [BZ #16966]
10005         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10006
10007         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10008
10009 2014-05-20  Will Newton  <will.newton@linaro.org>
10010
10011         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10012         Test the return value of the system call in the nocancel case.
10013
10014 2014-05-20  Will Newton  <will.newton@linaro.org>
10015             Yvan Roux  <yvan.roux@linaro.org>
10016
10017         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10018         #include of asm/ptrace.h.
10019         (PTRACE_GET_THREAD_AREA): Remove #undef.
10020         (PTRACE_GETHBPREGS): Likewise.
10021         (PTRACE_SETHBPREGS): Likewise.
10022         (struct user_regs_struct): New structure.
10023         (struct user_fpsimd_struct): New structure.
10024         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10025         #include of asm/ptrace.h and second #include of sys/user.h.
10026         (PTRACE_GET_THREAD_AREA): Remove #undef.
10027         (PTRACE_GETHBPREGS): Likewise.
10028         (PTRACE_SETHBPREGS): Likewise.
10029         (ELF_NGREG): Use new struct user_regs_struct.
10030         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10031
10032 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10033
10034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10036
10037 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10038
10039         [BZ #16958]
10040         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10041         membar to avoid block loads/stores to overlap previous stores.
10042
10043 2014-05-17  Richard Henderson  <rth@redhat.com>
10044
10045         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10046         Create the __##syscall_name##_nocancel entry point.
10047         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10048         Remove; let the sysdep-cancel.h code create it.
10049
10050 2014-05-17  David S. Miller  <davem@davemloft.net>
10051
10052         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10053         Protect with __USE_GNU.
10054         (TIOCSET_TEMPT): Likewise.
10055         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10056         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10057         these are already provided in bits/ioctl-types.h
10058
10059 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10060
10061         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10062         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10063
10064         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10065         Use wait4 regardless of [__NR_waitpid].
10066
10067 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10068
10069         PR libgcc/60166
10070         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10071         (_FP_NANSIGN_Q): Set the quiet bit.
10072
10073 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10074
10075         * benchtests/Makefile
10076         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10077         not $(common-objpfx)math/libm.so.
10078         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10079         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10080         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10081         $(common-objpfx)dlfcn/libdl.so.
10082         ($(objpfx)tst-audit8): Depend on $(libm), not
10083         $(common-objpfx)math/libm.so.
10084         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10085         not $(common-objpfx)dlfcn/libdl.so.
10086         * math/Makefile
10087         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10088         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10089         [$(build-shared) = yes].
10090         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10091         $(common-objpfx)nptl/libpthread.so.
10092         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10093         $(common-objpfx)math/libm.so$(libm.so-version) or
10094         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10095         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10096         $(common-objpfx)dlfcn/libdl.so.
10097         * setjmp/Makefile (link-libm): Remove variable.
10098         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10099         * stdio-common/Makefile (link-libm): Remove variable.
10100         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10101         * stdlib/Makefile (link-libm): Remove variable.
10102         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10103         ($(objpfx)tst-strtod-round): Likewise.
10104         ($(objpfx)tst-tininess): Likewise.
10105         ($(objpfx)tst-strtod-underflow): Likewise.
10106         ($(objpfx)tst-strtod6): Likewise.
10107         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10108         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10109         $(common-objpfx)dlfcn/libdl.so.
10110
10111 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10112
10113         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10114         BSD terminal modes definitions.
10115
10116 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10117
10118         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10119         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10120
10121         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10122         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10123         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10124         Don't do #include_next.
10125         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10126         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10127         Don't do #include_next.
10128         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10129         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10130         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10131         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10132
10133 2014-05-16  Allan McRae  <allan@archlinux.org>
10134
10135         * po/sv.po: Update Swedish translation from translation project.
10136
10137         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10138         in sed expression.
10139
10140 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10141
10142         [BZ #16917]
10143         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10144         errno if the TIOCGPTN ioctl fails with an error different than
10145         EINVAL.
10146         * login/tst-ptsname.c: New file.
10147         * login/Makefile (tests): Add tst-ptsname.
10148
10149         [BZ #16943]
10150         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10151         and prlimit64.
10152
10153 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10154
10155         [BZ #16849]
10156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10157         herrno to return EAI_AGAIN.
10158
10159 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10160
10161         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10162         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10163         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10164         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10165         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10166         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10167         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10168         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10169         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10170         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10171         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10172         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10173         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10174         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10175         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10176         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10177         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10178         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10179         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10180         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10181         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10182         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10183         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10184         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10185         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10186         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10187         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10188         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10189         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10190         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10192         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10194         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10196         Moved ...
10197         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10199         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10201         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10203         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10205         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10207         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10209         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10211         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10213         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10215         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10217         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10219         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10221         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10222         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10223         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10224         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10227         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10228         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10230         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10232         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10234         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10236         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10238         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10240         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10242         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10244         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10246         Moved ...
10247         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10248         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10249         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10250
10251         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10252         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10253         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10254         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10255         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10257         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10259         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10260         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10261         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10262         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10263         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10264         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10265         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10266         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10267         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10269         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10270         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10271         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10272         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10273         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10274         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10275         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10277         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10279         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10281         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10282
10283         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10284         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10285
10286         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10287         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10288         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10289         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10290         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10291         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10292         Moved ...
10293         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10294         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10295         Moved ...
10296         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10297         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10298         Moved ...
10299         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10301         Moved ...
10302         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10303         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10304         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10305         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10306         Moved ...
10307         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10308         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10309         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10310         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10311         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10312         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10313         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10314         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10315         Moved ...
10316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10317         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10318         Moved ...
10319         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10320         ... here.
10321         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10322         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10323         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10324         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10325         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10326         Moved ...
10327         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10328         ... here.
10329         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10330         Moved ...
10331         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10333         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10334         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10335         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10336         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10337         Moved ...
10338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10339         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10340         Moved ...
10341         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10342         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10343         Moved ...
10344         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10345         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10346         Moved ...
10347         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10348         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10349         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10350         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10351         Moved ...
10352         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10353         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10354         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10355         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10356         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10357         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10358         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10359         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10360         Moved ...
10361         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10362         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10363         Moved ...
10364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10365         ... here.
10366         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10367         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10368         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10369         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10370         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10371         Moved ...
10372         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10373         ... here.
10374         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10375         Moved ...
10376         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10377         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10378         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10379         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10380         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10381         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10382         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10383         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10384         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10385         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10386         Moved ...
10387         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10388         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10389         Moved ...
10390         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10391         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10392         Moved ...
10393         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10394         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10395         Moved ...
10396         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10397         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10398         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10399         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10400         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10401         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10402         Moved ...
10403         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10404         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10405         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10406         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10407         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10408         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10409         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10410         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10411         Moved ...
10412         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10413         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10414         Moved ...
10415         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10416         ... here.
10417         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10418         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10419         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10420         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10421         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10422         Moved ...
10423         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10424         ... here.
10425         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10426         Moved ...
10427         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10428         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10429         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10430         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10431         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10432         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10433         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10434         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10435         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10436         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10437         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10438
10439         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10440         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10441
10442         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10443         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10444
10445         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10446         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10447         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10448         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10449         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10450         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10451         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10452         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10453         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10454         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10455         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10456         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10457         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10458         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10459         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10460         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10461         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10462         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10463         Moved ...
10464         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10465         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10466         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10468         Moved ...
10469         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10470         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10471         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10472         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10473         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10474         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10475         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10476         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10477         Moved ...
10478         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10479         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10480         Moved ...
10481         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10482         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10483         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10484         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10485         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10486         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10487         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10488         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10489         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10490         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10491         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10492         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10493         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10494         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10495         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10496         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10497         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10498
10499         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10500         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10501         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10502         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10503         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10504
10505         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10506         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10507         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10508         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10509         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10510         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10511         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10512         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10513         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10514         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10515
10516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10518
10519         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10520         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10521         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10522         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10523         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10524         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10525         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10526         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10527         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10528         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10529         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10530         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10531         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10532         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10533         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10534         Update #include.
10535         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10536         Likewise.
10537         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10538         Likewise.
10539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10540         Likewise.
10541         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10542         Likewise.
10543         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10544         Likewise.
10545         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10546         Likewise.
10547         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10548         Likewise.
10549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10550         Likewise.
10551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10552         Likewise.
10553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10559         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10561         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10563         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10564         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10567         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10568
10569         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10570         that was previously under [RESET_PID].
10571         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10572         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10573         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10574
10575         * sysdeps/i386/nptl/Implies: New file.
10576         * sysdeps/x86_64/nptl/Implies: New file.
10577         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10578         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10579         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10580         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10581
10582         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10583         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10584         (__libc_vfork): New strong alias.
10585         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10586         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10587
10588         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10589         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10590         (__libc_vfork): New strong alias.
10591         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10592         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10593
10594         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10595         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10596         (__libc_vfork): New strong alias.
10597         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10598         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10599         * nptl/pt-vfork.c: New file.
10600         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10601         (libpthread: GLIBC_2.20): New version set (empty).
10602
10603 2014-05-14  Will Newton  <will.newton@linaro.org>
10604
10605         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10606         rather than #if.
10607
10608 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10609
10610         [BZ #16564]
10611         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10612         arguments with exponent 65 or above.
10613         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10614         arguments 0x1p113L or above.
10615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10616         to arguments 0x1p107L or above.
10617         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10618         positive arguments with exponent 65 or above.
10619         * math/auto-libm-test-in: Add more tests of log1p.
10620         * math/auto-libm-test-out: Regenerated.
10621
10622         [BZ #16928]
10623         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10624         non-finite arguments is +0.
10625         * math/s_cacosf.c (__cacosf): Likewise.
10626         * math/s_cacosl.c (__cacosl): Likewise.
10627         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10628         * sysdeps/i386/fpu/libm-test-ulps: Update.
10629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10630
10631         [BZ #16927]
10632         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10633         value.
10634         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10635         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10636         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10637         for explicit high bit of mantissa when testing for argument equal
10638         to 1.
10639         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10640         * sysdeps/i386/fpu/libm-test-ulps: Update.
10641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10642
10643         [BZ #16516]
10644         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10645         (__erf): Scale by 16 instead of 8 in potentially underflowing
10646         case.  Ensure exception if result actually underflows.
10647         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10648         (__erff): Scale by 16 instead of 8 in potentially underflowing
10649         case.  Ensure exception if result actually underflows.
10650         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10651         (efx8): Remove variable.
10652         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10653         case.  Ensure exception if result actually underflows.
10654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10655         (efx8): Remove variable.
10656         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10657         case.  Ensure exception if result actually underflows.
10658         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10659         (efx8): Remove variable.
10660         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10661         case.  Ensure exception if result actually underflows.
10662         * math/auto-libm-test-in: Add more tests of erf.
10663         * math/auto-libm-test-out: Regenerated.
10664
10665 2014-05-14  Andreas Schwab  <schwab@suse.de>
10666
10667         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10668         Remove code conditionalized on USE___THREAD.
10669
10670         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10671         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10672         not definedness.
10673
10674 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10675
10676         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10677         Define unconditionally.
10678         (__ASSUME_O_CLOEXEC): Likewise.
10679         (__ASSUME_SOCK_CLOEXEC): Likewise.
10680         (__ASSUME_IN_NONBLOCK): Likewise.
10681         (__ASSUME_PIPE2): Likewise.
10682         (__ASSUME_EVENTFD2): Likewise.
10683         (__ASSUME_SIGNALFD4): Likewise.
10684         (__ASSUME_DUP3): Likewise.
10685         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10686         (__ASSUME_DUP3): Do not define.
10687         (__ASSUME_EVENTFD2): Likewise.
10688         (__ASSUME_IN_NONBLOCK): Likewise.
10689         (__ASSUME_O_CLOEXEC): Likewise.
10690         (__ASSUME_PIPE2): Likewise.
10691         (__ASSUME_SIGNALFD4): Likewise.
10692         (__ASSUME_SOCK_CLOEXEC): Likewise.
10693         (__ASSUME_UTIMES): Undefine.
10694         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10695         (__ASSUME_UTIMES): Do not define.
10696         (__ASSUME_O_CLOEXEC): Likewise.
10697         (__ASSUME_SOCK_CLOEXEC): Likewise.
10698         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10699         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10700         0x020621].
10701         (__ASSUME_PIPE2): Likewise.
10702         (__ASSUME_EVENTFD2): Likewise.
10703         (__ASSUME_SIGNALFD4): Likewise.
10704         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10705         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10706         Do not define.
10707         (__ASSUME_EVENTFD2): Likewise.
10708         (__ASSUME_SIGNALFD4): Likewise.
10709         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10710         (__ASSUME_32BITUIDS): Likewise.
10711         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10712         (__ASSUME_IPC64): Likewise.
10713         (__ASSUME_ST_INO_64_BIT): Likewise.
10714         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10715         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10716         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10717         (__ASSUME_UTIMES): Do not define.
10718         (__ASSUME_PSELECT): Likewise.
10719         (__ASSUME_PPOLL): Likewise.
10720         (__ASSUME_O_CLOEXEC): Likewise.
10721         (__ASSUME_SOCK_CLOEXEC): Likewise.
10722         (__ASSUME_IN_NONBLOCK): Likewise.
10723         (__ASSUME_PIPE2): Likewise.
10724         (__ASSUME_EVENTFD2): Likewise.
10725         (__ASSUME_SIGNALFD4): Likewise.
10726         (__ASSUME_DUP3): Likewise.
10727         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10728         (__ASSUME_UTIMES): Likewise.
10729         (__ASSUME_O_CLOEXEC): Likewise.
10730         (__ASSUME_SOCK_CLOEXEC): Likewise.
10731         (__ASSUME_IN_NONBLOCK): Likewise.
10732         (__ASSUME_PIPE2): Likewise.
10733         (__ASSUME_EVENTFD2): Likewise.
10734         (__ASSUME_SIGNALFD4): Likewise.
10735         (__ASSUME_DUP3): Likewise.
10736         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10737         (__ASSUME_UTIMES): Likewise.
10738         (__ASSUME_O_CLOEXEC): Likewise.
10739         (__ASSUME_SOCK_CLOEXEC): Likewise.
10740         (__ASSUME_IN_NONBLOCK): Likewise.
10741         (__ASSUME_PIPE2): Likewise.
10742         (__ASSUME_EVENTFD2): Likewise.
10743         (__ASSUME_SIGNALFD4): Likewise.
10744         (__ASSUME_DUP3): Likewise.
10745         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10746         Likewise.
10747         (__ASSUME_UTIMES): Likewise.
10748         (__ASSUME_EVENTFD2): Likewise.
10749         (__ASSUME_SIGNALFD4): Likewise.
10750         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10751         (__ASSUME_O_CLOEXEC): Likewise.
10752         (__ASSUME_SOCK_CLOEXEC): Likewise.
10753         (__ASSUME_IN_NONBLOCK): Likewise.
10754         (__ASSUME_PIPE2): Likewise.
10755         (__ASSUME_EVENTFD2): Likewise.
10756         (__ASSUME_SIGNALFD4): Likewise.
10757         (__ASSUME_DUP3): Likewise.
10758         (__ASSUME_UTIMES): Undefine.
10759
10760         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10761         feclearexcept.  Remove symbol versioning code.
10762         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10763         symbol versioning code.
10764         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10765         symbol versioning code.
10766         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10767         feupdateenv.  Remove symbol versioning code.
10768         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10769         fegetexceptflag.  Remove symbol versioning code.
10770         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10771         fesetexceptflag.  Remove symbol versioning code.
10772         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10773         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10774         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10775         (__posix_fadvise64_l32): Remove prototype.
10776         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10777         code.
10778
10779 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10780
10781         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10782         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10783         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10784         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10785
10786 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10787
10788         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10789         current working directory
10790
10791 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10792
10793         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10794         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10795         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10796         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10797         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10798         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10799         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10800         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10801         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10802         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10803         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10804         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10805         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10806         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10807         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10808         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10809         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10810         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10811         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10812         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10813         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10814         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10815         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10816         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10817         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10818         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10820         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10821         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10822         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10823         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10824         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10825         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10826         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10827         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10828         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10829         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10830         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10831         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10832         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10833         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10834         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10835
10836         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10837         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10838
10839         * sysdeps/unix/sysv/linux/arm/Makefile
10840         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10841         Add rt-aeabi_unwind_cpp_pr1.
10842         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10843         Add nptl-aeabi_unwind_cpp_pr1.
10844         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10845         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10846         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10847         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10848         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10849         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10850
10851         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10852         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10853         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10854         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10855
10856         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10857         Deconditionalize the code that was previously under [RESET_PID].
10858         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10859
10860         * sysdeps/generic/exit-thread.h: New file.
10861         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10862         * include/unistd.h (__exit_thread): Remove declaration.
10863         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10864         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10865         * csu/libc-start.c: Include <exit-thread.h>.
10866         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10867         * nptl/pthread_create.c: Include <exit-thread.h>.
10868         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10869         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10870         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10871         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10872         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10873         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10874         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10875         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10876         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10877         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10878         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10879         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10880         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10881         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10882         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10883         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10884         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10885
10886 2014-05-13  Andreas Schwab  <schwab@suse.de>
10887
10888         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10889
10890 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10891
10892         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10893         (__ASSUME_UTIMES): Do not condition on kernel version.
10894         (__ASSUME_PSELECT): Define unconditionally.
10895         (__ASSUME_PPOLL): Likewise.
10896         (__ASSUME_ATFCTS): Likewise.
10897         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10898         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10899         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10900         (__ASSUME_UTIMENSAT): Define unconditionally.
10901         (__ASSUME_PRIVATE_FUTEX): Likewise.
10902         (__ASSUME_FALLOCATE): Likewise.
10903         (__ASSUME_O_CLOEXEC): Likewise.
10904         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10905         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10906         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10907         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10908         (__ASSUME_IN_NONBLOCK): Likewise.
10909         (__ASSUME_PIPE2): Likewise.
10910         (__ASSUME_EVENTFD2): Likewise.
10911         (__ASSUME_SIGNALFD4): Likewise.
10912         (__ASSUME_DUP3): Likewise.
10913         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10914         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10915         (__ASSUME_AT_RANDOM): Likewise.
10916         (__ASSUME_PREADV): Likewise.
10917         (__ASSUME_PWRITEV): Likewise.
10918         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10919         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10920         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10921         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10922         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10923         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10924         (__ASSUME_O_CLOEXEC): Define unconditionally.
10925         (__ASSUME_PSELECT): Do not undefine conditionally.
10926         (__ASSUME_PPOLL): Likewise.
10927         (__ASSUME_ATFCTS): Likewise.
10928         (__ASSUME_SET_ROBUST_LIST): Likewise.
10929         (__ASSUME_UTIMENSAT): Likewise.
10930         (__ASSUME_FDATASYNC): Define unconditionally.
10931         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10932         (__ASSUME_SIGFRAME_V2): Likewise.
10933         )__ASSUME_EVENTFD2): Likewise.
10934         (__ASSUME_SIGNALFD4): Likewise.
10935         (__ASSUME_PSELECT): Do not undefine conditionally.
10936         (__ASSUME_PPOLL): Likewise.
10937         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10938         (__ASSUME_PSELECT): Define unconditionally.
10939         (__ASSUME_PPOLL): Likewise.
10940         (__ASSUME_O_CLOEXEC): Likewise.
10941         (__ASSUME_SOCK_CLOEXEC): Likewise.
10942         (__ASSUME_IN_NONBLOCK): Likewise.
10943         (__ASSUME_PIPE2): Likewise.
10944         (__ASSUME_EVENTFD2): Likewise.
10945         (__ASSUME_SIGNALFD4): Likewise.
10946         (__ASSUME_DUP3): Likewise.
10947         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10948         (__ASSUME_O_CLOEXEC): Likewise.
10949         (__ASSUME_SOCK_CLOEXEC): Likewise.
10950         (__ASSUME_IN_NONBLOCK): Likewise.
10951         (__ASSUME_PIPE2): Likewise.
10952         (__ASSUME_EVENTFD2): Likewise.
10953         (__ASSUME_SIGNALFD4): Likewise.
10954         (__ASSUME_DUP3): Likewise.
10955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10956         (__ASSUME_EVENTFD2): Likewise.
10957         (__ASSUME_SIGNALFD4): Likewise.
10958         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10959
10960 2014-05-12  Andreas Schwab  <schwab@suse.de>
10961
10962         [BZ #16932]
10963         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10964         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10965         than maximum RPC packet size.
10966         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10967         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10968         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10969         (_nss_nis_getservbyport_r): Likewise.
10970
10971 2014-05-12  Will Newton  <will.newton@linaro.org>
10972
10973         * malloc/Makefile (tests): Add tst-mallopt.
10974         * malloc/tst-mallopt.c: New file.
10975
10976 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10977
10978         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10979         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10980
10981 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10982
10983         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10984         (tst-tlsmod6.so): Likewise.
10985
10986 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10987
10988         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10989
10990 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10991
10992         [BZ #16064]
10993         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10994         and <dl-procinfo.h>.
10995         (__fegetenv): Save SSE state in envp->__eip if supported.
10996         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10997         envp->__eip if supported.
10998         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10999         and <dl-procinfo.h>.
11000         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11001         __data_offset and __data_selector in environment to 0.  Set SSE
11002         state if supported.
11003         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11004         test-fenv-sse.
11005         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11006         -mfpmath=sse.
11007         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11008
11009 2014-05-09  Will Newton  <will.newton@linaro.org>
11010
11011         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11012         and libc_relro_required for ARM.
11013         * sysdeps/arm/preconfigure: Regenerate.
11014
11015 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11016             Stefan Liebler  <stli@linux.vnet.ibm.com>
11017
11018         * config.make.in (enable-lock-elision): New Makefile variable.
11019         * configure.ac: Likewise.
11020         * configure: Regenerate.
11021         * sysdeps/s390/configure.ac:
11022         Add check for gcc transactions support.
11023         * sysdeps/s390/configure: Regenerate.
11024         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11025         Build elision files if enabled.
11026         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11027         Add lock elision support for s390.
11028         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11029         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11030         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11031         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11032         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11033         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11034         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11035         Likewise.
11036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11037         Likewise.
11038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11039         Likewise.
11040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11041         Likewise.
11042         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11043         (__lll_timedlock_elision, __lll_lock_elision)
11044         (__lll_unlock_elision, __lll_trylock_elision)
11045         (lll_timedlock_elision, lll_lock_elision)
11046         (lll_unlock_elision, lll_trylock_elision): Add.
11047         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11048         (pthread_mutex_t): Add lock elision support for s390.
11049
11050 2014-05-14  Wilco  <wdijkstr@arm.com>
11051
11052         * sysdeps/arm/fclrexcpt.c: Cleanup.
11053         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11054         * sysdeps/arm/feenablxcpt.c: Cleanup.
11055         * sysdeps/arm/fegetenv.c: Cleanup.
11056         * sysdeps/arm/fegetexcept.c: Cleanup.
11057         * sysdeps/arm/fegetround.c: Cleanup.
11058         * sysdeps/arm/feholdexcpt.c: Cleanup.
11059         * sysdeps/arm/fesetenv.c: Cleanup.
11060         * sysdeps/arm/fesetround.c: Cleanup.
11061         * sysdeps/arm/feupdateenv.c: Cleanup.
11062         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11063         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11064         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11065         * sysdeps/arm/ftestexcept.c: Cleanup.
11066         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11067         * sysdeps/arm/setfpucw.c: Cleanup.
11068
11069 2014-05-09  Will Newton  <will.newton@linaro.org>
11070
11071         * sysdeps/arm/armv7/strcmp.S: New file.
11072         * NEWS: Mention addition of ARMv7 optimized strcmp.
11073
11074 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11075
11076         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11077         look for %.ac rather than %.in.
11078
11079         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11080         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11081         * sysdeps/mach/hurd/configure: Regenerated.
11082         * sysdeps/unix/sysv/linux/configure: Regenerated.
11083
11084         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11085
11086 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11087
11088         [BZ# 16922]
11089         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11090         (LONG_SUB): Ditto.
11091         (PTR_SUB): Ditto.
11092
11093 2014-05-07  Andreas Schwab  <schwab@suse.de>
11094
11095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11096         when skipping over non-matching result from nscd.
11097
11098 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11099
11100         [BZ #16876]
11101         * nptl/sockperf.c (client): Check socket return value.
11102
11103         [BZ #16877]
11104         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11105         nscd security class.
11106
11107 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11108
11109         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11110         * sysdeps/arm/unwind.h: ... here.
11111
11112 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11113
11114         [BZ# 16916]
11115         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11116         Define.
11117
11118 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11119
11120         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11121         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11122         multiarch strncpy for PPC64.
11123         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11124         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11126         multiarch optimizations.
11127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11128         (__libc_ifunc_impl_list): Likewise.
11129         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11130         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11131         multiarch stpncpy for PPC64.
11132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11133         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11134
11135 2014-05-06  Andreas Schwab  <schwab@suse.de>
11136
11137         [BZ #16912]
11138         * gmon/mcount.c (_MCOUNT_DECL): Use
11139         atomic_compare_and_exchange_bool_acq instead of
11140         catomic_compare_and_exchange_bool_acq.
11141
11142 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11143
11144         * elf/Makefile (others, install-bin): Remove pldd.
11145         (pldd-modules): Variable removed.
11146         ($(objpfx)pldd): Target removed.
11147         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11148         (others, install-bin): Append pldd here.
11149         ($(objpfx)pldd): New target.
11150
11151         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11152         to 0, so the first #if test emitted later doesn't see it undefined.
11153         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11154         * sysdeps/gnu/errlist.c: Regenerated.
11155
11156 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11157
11158         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11159         [libc_hidden_builtin_def]: Define to empty value.
11160         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11161         [libc_hidden_builtin_def]: Likewise.
11162         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11163         [libc_hidden_builtin_def]: Likewise.
11164         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11165         [libc_hidden_builtin_def]: Likewise.
11166         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11167         __redirect_memcpy and define ifunc as default hidden symbol.
11168         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11169         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11170
11171 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11172
11173         * locale/iso-4217.def: Reintroduce XDR currency.
11174
11175 2014-05-04  Allan McRae  <allan@archlinux.org>
11176
11177         * po/eo.po: Update Esperanto translation from translation project.
11178
11179 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11180
11181         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11182         and FEATURE_INDEX_MAX to 1.
11183         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11184
11185 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11186
11187         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11188         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11189         * iconvdata/big5.c (ONE_DIRECTION): Define.
11190         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11191         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11192         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11193         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11194         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11195         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11196         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11197         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11198         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11199         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11200         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11201         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11202         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11203         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11204         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11205         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11206         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11207         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11208         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11209         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11210         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11211         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11212         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11213         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11214         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11215         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11216         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11217         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11218         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11219         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11220         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11221         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11222         * iconvdata/johab.c (ONE_DIRECTION): Define.
11223         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11224         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11225         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11226         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11227         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11228         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11229         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11230         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11231         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11232         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11233
11234 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11235
11236         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11237         (_IO_JUMPS_OFFSET): Define to 0.
11238
11239         * nptl/sysdeps/pthread/bits/libc-lock.h
11240         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11241         (__libc_lock_define_initialized_recursive): Always define using
11242         initializer.  Modern compilers treat uninitialized (implicit zero) and
11243         explicit zero initializers the same (i.e. put the datum in bss).
11244
11245 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11246
11247         * nscd/nscd-client.h: Include <string.h>.
11248
11249 2014-05-01  David S. Miller  <davem@davemloft.net>
11250
11251         [BZ #16885]
11252         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11253         multiple zero bytes exist at the end of a string.
11254         Reported by Aurelien Jarno <aurelien@aurel32.net>
11255
11256         * string/test-strcmp.c (check): Add explicit test for situations where
11257         there are multiple zero bytes after the first.
11258
11259 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11260
11261         [BZ #16890]
11262         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11263         when compiling wprintf.
11264         * stdio-common/tstdiomisc.c (t3): New function.
11265         (main): Call it.
11266
11267 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11268
11269         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11270         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11271         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11272         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11273
11274 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11275
11276         * stdlib/longlong.h: Updated from GCC.
11277
11278 2014-05-01  Will Newton  <will.newton@linaro.org>
11279             Bernard Ogden  <bernie.ogden@linaro.org>
11280
11281         * NEWS: Update fixed bug list.
11282
11283         [BZ #15119]
11284         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11285
11286 2014-04-30  David S. Miller  <davem@davemloft.net>
11287
11288         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11289         (libc_feholdexcept_setround_sparc_ctx): New function.
11290         (libc_fesetenv_sparc_ctx): Likewise.
11291         (libc_feupdateenv_sparc_ctx): Likewise.
11292         (libc_feholdsetround_sparc_ctx): Likewise.
11293         (libc_feholdexcept_setround_ctx): Define.
11294         (libc_feholdexcept_setroundf_ctx): Likewise.
11295         (libc_feholdexcept_setroundl_ctx): Likewise.
11296         (libc_fesetenv_ctx): Likewise.
11297         (libc_fesetenvf_ctx): Likewise.
11298         (libc_fesetenvl_ctx): Likewise.
11299         (libc_feupdateenv_ctx): Likewise.
11300         (libc_feupdateenvf_ctx): Likewise.
11301         (libc_feupdateenvl_ctx): Likewise.
11302         (libc_feresetround_ctx): Likewise.
11303         (libc_feresetroundf_ctx): Likewise.
11304         (libc_feresetroundl_ctx): Likewise.
11305         (libc_feholdsetround_ctx): Likewise.
11306         (libc_feholdsetroundf_ctx): Likewise.
11307         (libc_feholdsetroundl_ctx): Likewise.
11308
11309         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11310         with __USE_GNU instead of XOPEN cpp guards.
11311
11312         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11313         0.
11314
11315         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11316         with XOPEN cpp guards.
11317
11318 2014-04-30  Julian Brown  <julian@codesourcery.com>
11319
11320         [BZ #16888]
11321         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11322         handling.
11323
11324 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11325
11326         [BZ #9894]
11327         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11328         Change to 2.6.32.
11329         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11330         * sysdeps/unix/sysv/linux/configure: Regenerated.
11331         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11332         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11333         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11334         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11335         * README: Update reference to required Linux kernel version.
11336         * manual/install.texi (Linux): Update reference to required Linux
11337         kernel headers version.
11338         * INSTALL: Regenerated.
11339
11340         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11341         header inclusion.
11342         [POSIX] (limits.h): Likewise.
11343         [POSIX] (math.h): Likewise.
11344         [POSIX] (sys/wait.h): Likewise.
11345         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11346         function.
11347         [POSIX] (stddef.h): Do not allow header inclusion.
11348
11349 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11350
11351         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11352
11353 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11354
11355         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11356         Return immediately after lll_futex_wake.
11357
11358 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11359
11360         [BZ #16791]
11361         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11362         structure.
11363         (datahead_init_pos): Call datahead_init_common early.
11364         (datahead_init_neg): Likewise.
11365
11366         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11367         datahead_init_neg): New functions.
11368         * nscd/aicache.c (addhstaiX): Use them.
11369         * nscd/grpcache.c (cache_addgr): Likewise.
11370         * nscd/hstcache.c (cache_addhst): Likewise.
11371         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11372         * nscd/netgroupcache.c (do_notfound): Likewise.
11373         (addgetnetgrentX): Likewise.
11374         (addinnetgrX): Likewise.
11375         * nscd/pwdcache.c (cache_addpw): Likewise.
11376         * nscd/servicescache.c (cache_addserv): Likewise.
11377
11378 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11379             Atsushi Onoe  <atsushi@onoe.org>
11380
11381         [BZ #14308]
11382         [BZ #12994]
11383         [BZ #13651]
11384         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11385         one response is valid.
11386         * resolv/res_send.c (send_dg): Check for validity of other
11387         response if the current response is a referral.
11388
11389 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11390
11391         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11392
11393 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11394
11395         [BZ #16823]
11396         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11397         Always divide by positive zero when computing -Inf result.
11398         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11399         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11400
11401 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11402
11403         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11404         FPSCR if value do not change.
11405         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11406         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11407         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11408         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11409         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11410         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11411         function.
11412
11413 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11414
11415         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11416         * sysdeps/unix/sysv/linux/hppa: Move directory from
11417         ports/systeps/unix/sysv/linux/hppa.
11418         * README: Update listing for hppa-*-linux-gnu.
11419
11420 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11421
11422         [BZ #16754]
11423         * manual/stdio.texi (Hook functions): Fix types of stream hook
11424         functions.
11425         [BZ #16854]
11426         * socket/sys/socket.h: Fix typo in comment.
11427
11428 2014-04-28  Wilco  <wdijkstr@arm.com>
11429
11430         * sysdeps/arm/fenv_private.h: New file.
11431         * sysdeps/arm/math_private.h: New file.
11432         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11433
11434 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11435
11436         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11437         with __int128_t.
11438         (La_x86_64_retval): Likewise.
11439
11440 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11441
11442         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11443         fpsr if value didn't change.
11444         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11445         to fpcr if value didn't change.
11446         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11447         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11448         fpsr or fpcr if value didn't change.
11449         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11450         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11451         fpcr if value didn't change.
11452         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11453         to fpsr if value didn't change.
11454
11455 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11456
11457         * nptl/tst-sem3.c: Use test-skeleton.c
11458         (main): Rename to do_test.  Use return instead of
11459         exit.
11460         * nptl/tst-sem4.c: Use test-skeleton.c
11461         (main): Rename to do_test.
11462
11463 2014-04-22  David S. Miller  <davem@davemloft.net>
11464
11465         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11466         (struct sigaction): New struct member __glibc_reserved0, change
11467         type of sa_flags to int.
11468
11469 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11470
11471         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11472         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11473
11474 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11475
11476         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11477         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11478
11479 2014-04-22  Will Newton  <will.newton@linaro.org>
11480             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11481
11482         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11483         (__longjmp): Add longjmp and longjmp_target SystemTap
11484         probes.
11485         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11486         (__sigsetjmp): Add setjmp SystemTap probe.
11487
11488 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11489
11490         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11491         match manual order.
11492
11493 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11494
11495         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11496
11497         * sysdeps/powerpc/fpu/fenv_private.h
11498         (libc_feholdexcept_setroundl_ctx): Define to
11499         libc_feholdexcept_setround_ppc_ctx.
11500         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11501         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11502         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11503         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11504
11505 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11506
11507         * sysdeps/aarch64/math-tests.h: New file.
11508
11509 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11510
11511         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11512         New.
11513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11514         Check and set bit_AVX2_Usable.
11515         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11516         macro.
11517         (bit_AVX2): Likewise.
11518         (index_AVX2_Usable): Likewise.
11519         (CPUID_AVX2): Likewise.
11520         (HAS_AVX2): Likewise.
11521
11522 2014-04-17  Will Newton  <will.newton@linaro.org>
11523
11524         * manual/setjmp.texi (System V contexts): Add note that
11525         calling setcontext on a context created by a call to a
11526         signal handler is undefined.  Update text to note that
11527         setcontext from a signal handler is possible but not
11528         recommended.
11529
11530         [BZ #16629]
11531         * stdlib/tst-setcontext.c: Include signal.h.
11532         (main): Check that the signal stack before and
11533         after swapcontext is the same.
11534
11535         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11536         Re-implement to restore registers in user code and avoid
11537         rt_sigreturn system call.
11538
11539 2014-04-17  Wilco  <wdijkstr@arm.com>
11540
11541         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11542         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11543         * math/test-fenv.c: Skip exception trap tests on targets which only
11544         support non-stop mode.
11545
11546 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11547             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11548
11549         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11550         (libc_feholdsetround_aarch64_ctx)
11551         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11552         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11553         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11554         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11555         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11556         (libc_feresetround_noexl_ctx): Define.
11557
11558 2014-04-16  Richard Henderson  <rth@redhat.com>
11559
11560         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11561
11562         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11563         unwind tables.
11564
11565         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11566         const from the non-libc, non-ldso copy.
11567
11568         * sysdeps/alpha/libm-test-ulps: Regenerate.
11569
11570 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11571             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11572
11573         * sysdeps/aarch64/fpu/math_private.h: New file.
11574
11575 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11576
11577         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11578
11579 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11580
11581         [BZ #16275]
11582         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11583         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11585         Intel MPX bound registers before _dl_profile_fixup.
11586         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11587         registers after _dl_profile_fixup.  Save and restore bound
11588         registers bnd0/bnd1 when calling _dl_call_pltexit.
11589         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11590         (LR_BND_OFFSET): Likewise.
11591         (LRV_BND0_OFFSET): Likewise.
11592         (LRV_BND1_OFFSET): Likewise.
11593
11594 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11595
11596         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11597         to...
11598         * sysdeps/mach/hurd/i386/tls.h: ... here.
11599         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11600         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11601         fields.
11602
11603 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11604
11605         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11606
11607 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11608
11609         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11610
11611 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11612
11613         [BZ #14770]
11614         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11615         * sysdeps/s390/configure: Regenerate.
11616
11617         [BZ #16824]
11618         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11619         Set round-to-nearest internally to reduce error accumulation.
11620
11621 2014-04-16  Alan Modra  <amodra@gmail.com>
11622
11623         [BZ #16740]
11624         [BZ #16619]
11625         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11626         * math/libm-test.inc (frexp_test_data): Add tests.
11627         * NEWS: Update fixed bug list.
11628
11629 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11630
11631         * benchtests/Makefile: Depend on libraries in build directory.
11632         (bench-math): Separate out math tests.
11633         (bench-pthread): Separate out pthread tests.
11634         (bench): Include math and pthread tests.
11635
11636 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11637
11638         [BZ #16831]
11639         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11640         _dl_debug_initialize.
11641
11642         * configure.ac: Remove SELinux header check.
11643         * configure: Regenerate.
11644         * nscd/selinux.c (perms): Array of const char* to permission names.
11645         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11646         default policy. Call string_to_security_class and string_to_av_perm to
11647         translate strings. Enforce default policy and call avs_has_perm with
11648         results of translated strings.
11649
11650 2014-04-13  David S. Miller  <davem@davemloft.net>
11651
11652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11653
11654 2014-04-12  Allan McRae  <allan@archlinux.org>
11655
11656         [BZ #16838]
11657         * manual/string.texi (Collation Functions): Fix qsort argument
11658         order in example.
11659         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11660
11661 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11662
11663         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11664         Make the test a no-op if there are no exceptions defined.
11665
11666 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11667
11668         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11669         enable-hardcoded-path-in-tests
11670
11671 2014-04-11  Will Newton  <will.newton@linaro.org>
11672
11673         * benchtests/Makefile (extra-objs): Add json-lib.o.
11674         (bench-func): Tidy up JSON output.
11675         * benchtests/bench-skeleton.c: Include json-lib.h.
11676         (main): Use JSON library functions to do output of
11677         benchmark results.
11678         * benchtests/bench-timing-type.c (main): Output the
11679         timing type simply, leaving formatting to the user.
11680         * benchtests/json-lib.c: New file.
11681         * benchtests/json-lib.h: Likewise.
11682
11683 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11684
11685         [BZ #15215]
11686         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11687         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11688         memory barriers.  Add comments.
11689         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11690         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11691         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11692         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11693         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11694         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11695
11696 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11697
11698         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11699         * sysdeps/s390/s390-64/configure.ac: ... this ...
11700         * sysdeps/s390/configure.ac: ... to here.
11701         * sysdeps/s390/s390-32/configure: Delete file.
11702         * sysdeps/s390/s390-64/configure: Delete file.
11703         * sysdeps/s390/configure: Regenerate.
11704
11705 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11706
11707         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11708
11709 2014-04-11  Will Newton  <will.newton@linaro.org>
11710
11711         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11712         to zero if it is not defined elsewhere.  (mtrim): Test
11713         the value of MALLOC_DEBUG with #if rather than #ifdef.
11714
11715 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11716
11717         * benchtests/pthread_once-inputs: New file.
11718         * benchtests/pthread_once-source.c: New file.
11719         * benchtests/README: Update documentation.
11720
11721 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11722             H.J. Lu  <hongjiu.lu@intel.com>
11723
11724         [BZ #16275]
11725         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11726         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11727         * sysdeps/x86_64/configure: Regenerated.
11728         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11729         macro.
11730         (REGISTER_SAVE_RAX): Likewise.
11731         (REGISTER_SAVE_RCX): Likewise.
11732         (REGISTER_SAVE_RDX): Likewise.
11733         (REGISTER_SAVE_RSI): Likewise.
11734         (REGISTER_SAVE_RDI): Likewise.
11735         (REGISTER_SAVE_R8): Likewise.
11736         (REGISTER_SAVE_R9): Likewise.
11737         (REGISTER_SAVE_BND0): Likewise.
11738         (REGISTER_SAVE_BND1): Likewise.
11739         (REGISTER_SAVE_BND2): Likewise.
11740         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11741         bound registers when calling _dl_fixup.
11742
11743 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11744
11745         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11746         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11747         of its definition.
11748         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11749         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11750         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11751         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11752         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11753         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11754         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11755
11756 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11757
11758         [BZ #15514]
11759         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11760         pathconf(_PC_NAME_MAX).
11761
11762 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11763
11764         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11765         Remove macro usage.
11766         (__PTHREAD_SPINS): Move definition to ...
11767         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11768         (__PTHREAD_SPINS): ... here.
11769         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11770         (__PTHREAD_SPIN): Likewise.
11771         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11772         (__PTHREAD_SPIN): Likewise.
11773         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11774         (__PTHREAD_SPIN): Likewise.
11775         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11776         (__PTHREAD_SPIN): Likewise.
11777         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11778         (__PTHREAD_SPIN): Likewise.
11779         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11780         (__PTHREAD_SPIN): Likewise.
11781         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11782         (__PTHREAD_SPIN): Likewise.
11783         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11784         (__PTHREAD_SPIN): Likewise.
11785         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11786         (__PTHREAD_SPIN): Likewise.
11787         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11788         (__PTHREAD_SPIN): Likewise.
11789         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11790         (__PTHREAD_SPIN): Likewise.
11791         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11792         (__PTHREAD_SPIN): Likewise.
11793
11794         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11795         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11796         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11797         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11798         imply folder.
11799         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11800         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11801         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11802         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11803         correct imply path.
11804         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11805         strlen symbol for non multi-arch builds.
11806         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11807         missing hidden_def and weak_alias.
11808
11809 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11810
11811         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11812
11813 2014-04-07  Will Newton  <will.newton@linaro.org>
11814
11815         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11816         and contents.  [!_LIBC] Remove #ifndef and contents.
11817         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11818         * string/memccpy.c (__memccpy): Use ANSI prototype.
11819         * string/memfrob.c (memfrob): Likewise.
11820         * string/strcoll.c (STRCOLL): Likewise.
11821         * string/strlen.c (strlen): Likewise.
11822         * string/strtok.c (STRTOK): Likewise.
11823         * string/strcat.c: Remove unused #include of memcopy.h.
11824         (strcat): Use ANSI prototype.
11825         * string/strchr.c: Remove unused #include of memcopy.h.
11826         (strchr): Use ANSI prototype.
11827         * string/strcmp.c: Remove unused #include of memcopy.h.
11828         (strcmp): Use ANSI prototype.
11829         * string/strcpy.c: Remove unused #include of memcopy.h.
11830         (strcpy): Use ANSI prototype.
11831
11832 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11833
11834         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11835         * config.make.in (config-extra-cppflags): Set it from
11836         libc_extra_cppflags.
11837         * configure.ac (libc_extra_cflags): Make it accumulate over
11838         configure fragments.
11839         (libc_extra_cppflags): New flag.
11840         * configure. Regenerate.
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11842         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11843         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11845
11846         [BZ #16815]
11847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11848         result for FE_DOWNWARD rounding mode.
11849         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11850         Likewise.
11851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11852
11853 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11854
11855         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11856         in function argument name.
11857
11858 2014-04-03  David Svoboda  <svoboda@cert.org>
11859
11860         [BZ #5666]
11861         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11862         explicitly.
11863
11864 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11865
11866         * elf/dl-unmap-segments.h: New file.
11867         * sysdeps/generic/ldsodefs.h
11868         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11869         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11870         * elf/dl-fptr.c: Likewise.
11871         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11872         * sysdeps/aarch64/tlsdesc.c: Likewise.
11873         * sysdeps/arm/tlsdesc.c: Likewise.
11874         * sysdeps/i386/tlsdesc.c: Likewise.
11875         * sysdeps/tile/dl-runtime.c: Likewise.
11876         * sysdeps/x86_64/tlsdesc.c: Likewise.
11877         * elf/dl-load.h: New file.
11878         * elf/dl-load.c: Include it.
11879         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11880         Macros moved to dl-load.h.
11881         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11882         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11883         Use _dl_unmap_segments in place of __munmap.
11884         Break out segment-mapping loop into ...
11885         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11886
11887 2014-04-03  Will Newton  <will.newton@linaro.org>
11888
11889         * elf/dl-lookup.c (do_lookup_x): Remove comment
11890         referring to nested function and move variable
11891         declarations down to before first use.
11892
11893 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11894
11895         [BZ #16799]
11896         [BZ #16800]
11897         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11898         with 0 numerator.
11899         * math/s_catanf.c (__catanf): Likewise.
11900         * math/s_catanh.c (__catanh): Likewise.
11901         * math/s_catanhf.c (__catanhf): Likewise.
11902         * math/s_catanhl.c (__catanhl): Likewise.
11903         * math/s_catanl.c (__catanl): Likewise.
11904         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11905         by positive zero when computing -Inf result.
11906         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11907         (catanh_test): Likewise.
11908         * sysdeps/i386/fpu/libm-test-ulps: Update.
11909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11910
11911         [BZ #16789]
11912         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11913         instead of using underflowing value in computing result.
11914         * math/s_clog10.c (__clog10): Likewise.
11915         * math/s_clog10f.c (__clog10f): Likewise.
11916         * math/s_clog10l.c (__clog10l): Likewise.
11917         * math/s_clogf.c (__clogf): Likewise.
11918         * math/s_clogl.c (__clogl): Likewise.
11919         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11920         (clog10_test): Likewise.
11921         * sysdeps/i386/fpu/libm-test-ulps: Update.
11922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11923
11924 2014-04-02  Alan Modra  <amodra@gmail.com>
11925
11926         [BZ #16739]
11927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11928         output when value is near a power of two.  Use int64_t for lx and
11929         remove casts.  Use decimal rather than hex exponent constants.
11930         Don't use long double multiplication when double will suffice.
11931         * math/libm-test.inc (nextafter_test_data): Add tests.
11932         * NEWS: Add 16739 and 16786 to bug list.
11933
11934         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11935
11936         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11937
11938 2014-04-01  Will Newton  <will.newton@linaro.org>
11939
11940         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11941         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11942
11943 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11944
11945         [BZ #13347]
11946         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11947         * nptl/tst-setuid2.c: New file.
11948         * nptl/Makefile (xtests): Add tst-setuid2.
11949
11950 2014-04-01  Alan Modra  <amodra@gmail.com>
11951
11952         [BZ #16786]
11953         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11954
11955 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11956
11957         [BZ #6803]
11958         [BZ #6804]
11959         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11960         set errno as appropriate.
11961         * math/w_scalbf.c (__scalbf): Likewise.
11962         * math/w_scalbl.c (__scalbl): Likewise.
11963         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11964         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11965         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11966         Add more NaN tests.
11967
11968         [BZ #16349]
11969         * math/w_atan2.c: Include <errno.h>.
11970         (__atan2): Set errno for result underflowing to zero.
11971         * math/w_atan2f.c: Include <errno.h>.
11972         (__atan2f): Set errno for result underflowing to zero.
11973         * math/w_atan2l.c: Include <errno.h>.
11974         (__atan2l): Set errno for result underflowing to zero.
11975         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11976         tests.
11977         * math/auto-libm-test-out: Regenerated.
11978
11979 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11980
11981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11982         Encode instruction correctly in little endian.
11983         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11984         Likewise.
11985         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11986         Likewise.
11987         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11988         Likewise.
11989         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11990         Likewise.
11991
11992 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11993
11994         [BZ #9894]
11995         * sysdeps/unix/sysv/linux/kernel-features.h
11996         [__sparc__ && !__arch64__ && !__sparc_v9__]
11997         (__ASSUME_SET_ROBUST_LIST): Do not define.
11998         [__sparc__ && !__arch64__ && !__sparc_v9__]
11999         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12000         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12001         Likewise.
12002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12003         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12004         (__ASSUME_REQUEUE_PI): Likewise.
12005         (__ASSUME_SET_ROBUST_LIST): Likewise.
12006         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12007         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12008         Undefine.
12009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12010         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12011         Likewise.
12012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12013         Likewise.
12014         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12015         Likewise.
12016         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12017         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12018         Undefine.
12019         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12020         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12021         Likewise.
12022
12023         [BZ #16648]
12024         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12026         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12027
12028 2014-03-31  Will Newton  <will.newton@linaro.org>
12029
12030         * benchtests/Makefile (bench): Add ffs and ffsll to list
12031         of tests.
12032         * benchtests/ffs-inputs: New file.
12033         * benchtests/ffsll-inputs: Likewise.
12034
12035 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12036
12037         [BZ #16770]
12038         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12039         too large before casting to int.
12040         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12041         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12042         * math/libm-test.inc (scalb_test_data): Add more tests.
12043
12044 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12045
12046         * benchtests/Makefile (DETAILED_OPT): New make option.
12047         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12048         set.
12049         * benchtests/bench-skeleton.c: Include stdbool.h.
12050         (main): Store and print timings per input.
12051         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12052         member to each argument value.
12053         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12054         (_print_arg_data): Initialize per-input timing to 0.
12055
12056         * benchtests/Makefile (timing-type): New binary.
12057         (bench-clean): Also remove bench-timing-type.
12058         (bench): New target for timing-type.
12059         (bench-func): Print output in JSON format.
12060         * benchtests/bench-skeleton.c (main): Print output in JSON
12061         format.
12062         * benchtests/bench-timing-type.c: New file.
12063         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12064         (TIMING_PRINT_STATS): Remove.
12065         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12066         name separately.
12067
12068         * benchtests/bench-modf.c: Remove.
12069         * benchtests/modf-inputs: New inputs file.
12070
12071 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12072
12073         [BZ #16362]
12074         * math/s_clog10.c (M_PI_LOG10E): New macro.
12075         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12076         imaginary parts are 0.
12077         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12078         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12079         imaginary parts are 0.
12080         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12081         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12082         imaginary parts are 0.
12083         * math/libm-test.inc (clog10_test_data): Update expected results
12084         for when real and imaginary parts are 0.
12085
12086 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12087
12088         * elf/dl-load.c: Finish conversion of __builtin_expect into
12089         __glibc_{un}likely.
12090
12091 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12092
12093         [BZ #16348]
12094         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12095         1+x for argument with exponent below -67.
12096         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12097         Likewise.
12098         * math/auto-libm-test-in: Add more tests of exp.
12099         * math/auto-libm-test-out: Regenerated.
12100
12101 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12102
12103         [BZ #16759]
12104         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12105         (nscd_getnetgrent): Use it.
12106
12107         [BZ #16760]
12108         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12109         of stpcpy.
12110
12111 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12112
12113         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12114         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12115         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12116         (lll_robust_unlock): Remove out of line section. Use cfi
12117         intrinsics.
12118         (LLL_STUB_UNWIND_INFO*): Remove.
12119         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12120         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12121         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12122         (lll_robust_unlock): Remove out of line section. Use cfi
12123         intrinsics.
12124         (LLL_STUB_UNWIND_INFO*): Remove.
12125
12126 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12127
12128         [BZ #16758]
12129         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12130         blank values.
12131
12132 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12133
12134         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12135
12136 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12137
12138         [BZ #16198]
12139         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12140         fnstenv.
12141         * math/test-fenv-preserve.c: New file.
12142         * math/Makefile (tests): Add test-fenv-preserve.
12143
12144 2014-03-26  Will Newton <will.newton@linaro.org>
12145
12146         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12147
12148 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12149
12150         * scripts/versionlist.awk: Partition the version sets and emit all
12151         GLIBC_* (sorted) before all others (sorted).
12152
12153 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12154
12155         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12156         GLIBC_2.2.5 version.
12157
12158 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12159
12160         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12161         calls.
12162
12163         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12164         previous change.
12165
12166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12167
12168 2014-03-25  Andreas Schwab  <schwab@suse.de>
12169
12170         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12171         label to be used after in6ailist is initialized.
12172
12173 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12174
12175         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12176         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12177
12178 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12179
12180         [BZ #16357]
12181         [BZ #16599]
12182         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12183         min_plus_half.
12184         (fp_formats): Update initializers.
12185         (init_fp_formats): Initialize new field.
12186         (output_for_one_input_case): Allow underflow for results up to
12187         min_plus_half.
12188         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12189         * math/auto-libm-test-in: Don't mark some underflows from asin and
12190         atanh as spurious.
12191         * math/auto-libm-test-out: Regenerated.
12192         * sysdeps/i386/fpu/libm-test-ulps: Update.
12193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12194
12195 2014-03-25  Andreas Schwab  <schwab@suse.de>
12196
12197         * libio/Makefile (tst-ftell-partial-wide-ENV)
12198         (tst-ftell-active-handler-ENV): Define.
12199
12200 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12201
12202         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12203
12204 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12205
12206         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12207
12208 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12209
12210         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12211         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12212         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12213
12214 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12215
12216         [BZ #16634]
12217         * elf/dl-load.c (open_verify): Add mode parameter.
12218         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12219         (open_path): Change from boolean 'secure' to complete flag 'mode'
12220         (_dl_map_object): Adjust.
12221         * elf/Makefile (tests): Add tst-dlopen-aout.
12222         * elf/tst-dlopen-aout.c: New test.
12223
12224 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12225
12226         [BZ #16714]
12227         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12228         (struct stat): Rename member pad0 to __glibc_reserved0.
12229
12230         [BZ #16712]
12231         * sysdeps/s390/s390-32/bits/wordsize.h
12232         (__WORDSIZE32_SIZE_ULONG): New define.
12233         * sysdeps/s390/s390-64/bits/wordsize.h
12234         (__WORDSIZE32_SIZE_ULONG): Likewise.
12235         * sysdeps/generic/stdint.h (SIZE_MAX):
12236         Define as UL if __WORDSIZE32_SIZE_ULONG.
12237
12238         [BZ #16713]
12239         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12240         (__glibc_reserved0): New variable.
12241         (sa_flags): Change type to int.
12242
12243         * posix/Makefile (before-compile): Use += before-compile instead
12244         of a :=.
12245
12246         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12247         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12248
12249 2014-03-20  Andreas Schwab  <schwab@suse.de>
12250
12251         [BZ #16743]
12252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12253         non-matching result from nscd.
12254
12255 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12256
12257         * scripts/bench.py: Moved to ...
12258         * benchtests/scripts/bench.py: ... here.
12259         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12260
12261 2014-03-24  Andreas Schwab  <schwab@suse.de>
12262
12263         [BZ #16002]
12264         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12265         alloca_account and account alloca use for struct in6ailist.
12266
12267 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12268
12269         [BZ #16284]
12270         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12271         rounding mode to recompute results that overflow to infinity or
12272         underflow to zero.
12273         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12274         bug 16284.
12275         * math/auto-libm-test-out: Regenerated.
12276         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12277         (ccosh_test): Likewise.
12278         (csin_test_data): Use plus_oflow.
12279         (csin_test): Use ALL_RM_TEST.
12280         (csinh_test_data): Use plus_oflow.
12281         (csinh_test): Use ALL_RM_TEST.
12282         * sysdeps/i386/fpu/libm-test-ulps: Update.
12283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12284
12285 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12286
12287         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12288         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12289         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12290
12291         [BZ #16731]
12292         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12293         when x - 1 is zero.
12294         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12295         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12296         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12297         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12298         argument is 1.
12299         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12300         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12301         zero.
12302         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12303         * sysdeps/i386/fpu/libm-test-ulps: Update.
12304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12305
12306 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307
12308         * scripts/bench.pl: Remove file.
12309         * scripts/bench.py: New benchmark script.
12310         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12311         * benchtests/README: Mention python dependency.
12312         * scripts/pylintrc: New file.
12313         * scripts/pylint: New file.
12314
12315         * bits/mathdef.h: Use #ifdef instead of #if.
12316         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12317         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12318         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12319         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12320         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12321         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12322
12323 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12324             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12325
12326         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12328         and strpbrk-ppc64 objects.
12329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12330         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12331         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12332         multiarch strpbrk for POWER7.
12333         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12334         multiarch strpbrk for PPC64.
12335         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12336         ifunc selector.
12337         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12338         strpbrk for POWER7.
12339
12340 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12341
12342         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12343         (atan_test): Likewise.
12344         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12345         (atanh_test): Use ALL_RM_TEST.
12346         (atan2_test_data): Likewise.
12347         (cabs_test): Likewise.
12348         (cacosh_test): Likewise.
12349         (carg_test): Likewise.
12350         (casin_test): Likewise.
12351         (casinh_test): Likewise.
12352         (cbrt_test): Likewise.
12353         (csqrt_test): Likewise.
12354         (erf_test): Likewise.
12355         (erfc_test): Likewise.
12356         (pow10_test): Likewise.
12357         (exp2_test): Likewise.
12358         (hypot_test): Likewise.
12359         (j0_test): Likewise.
12360         (j1_test): Likewise.
12361         (lgamma_test): Likewise.
12362         (gamma_test): Likewise.
12363         (sincos_test): Likewise.
12364         (tanh_test): Likewise.
12365         (y0_test): Likewise.
12366         (y1_test): Likewise.
12367         * sysdeps/i386/fpu/libm-test-ulps: Update.
12368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12369
12370 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12371
12372         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12373         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12374         and strcspn-ppc64 objects.
12375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12376         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12377         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12378         multiarch strcspn for POWER7.
12379         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12380         multiarch strcspn for PPC64.
12381         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12382         ifunc selector.
12383         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12384         strcspn for POWER7.
12385
12386 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12387
12388         * math/gen-libm-test.pl (generate_testfile): Expect only function
12389         name as argument to AUTO_TESTS_* and pass results for all rounding
12390         modes to parse_args.
12391         (parse_auto_input): Separate inputs of automatic tests from
12392         outputs before storing in %auto_tests.
12393         * math/libm-test.inc (acos_test_data): Update call to
12394         AUTO_TESTS_f_f.
12395         (acos_test): Use ALL_RM_TEST.
12396         (acos_tonearest_test_data): Remove.
12397         (acos_test_tonearest): Likewise.
12398         (acos_towardzero_test_data): Likewise.
12399         (acos_test_towardzero): Likewise.
12400         (acos_downward_test_data): Likewise.
12401         (acos_test_downward): Likewise.
12402         (acos_upward_test_data): Likewise.
12403         (acos_test_upward): Likewise.
12404         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12405         (asin_test_data): Likewise.
12406         (asin_test): Use ALL_RM_TEST.
12407         (asin_tonearest_test_data): Remove.
12408         (asin_test_tonearest): Likewise.
12409         (asin_towardzero_test_data): Likewise.
12410         (asin_test_towardzero): Likewise.
12411         (asin_downward_test_data): Likewise.
12412         (asin_test_downward): Likewise.
12413         (asin_upward_test_data): Likewise.
12414         (asin_test_upward): Likewise.
12415         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12416         (atan_test_data): Likewise.
12417         (atanh_test_data): Likewise.
12418         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12419         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12420         (carg_test_data): Likewise.
12421         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12422         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12423         (ccosh_test_data): Likewise.
12424         (cexp_test_data): Likewise.
12425         (clog_test_data): Likewise.
12426         (clog10_test_data): Likewise.
12427         (cos_test_data): Update call to AUTO_TESTS_f_f.
12428         (cos_test): Use ALL_RM_TEST.
12429         (cos_tonearest_test_data): Remove.
12430         (cos_test_tonearest): Likewise.
12431         (cos_towardzero_test_data): Likewise.
12432         (cos_test_towardzero): Likewise.
12433         (cos_downward_test_data): Likewise.
12434         (cos_test_downward): Likewise.
12435         (cos_upward_test_data): Likewise.
12436         (cos_test_upward): Likewise.
12437         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12438         (cosh_test): Use ALL_RM_TEST.
12439         (cosh_tonearest_test_data): Remove.
12440         (cosh_test_tonearest): Likewise.
12441         (cosh_towardzero_test_data): Likewise.
12442         (cosh_test_towardzero): Likewise.
12443         (cosh_downward_test_data): Likewise.
12444         (cosh_test_downward): Likewise.
12445         (cosh_upward_test_data): Likewise.
12446         (cosh_test_upward): Likewise.
12447         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12448         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12449         (ctan_test_data): Likewise.
12450         (ctan_test): Use ALL_RM_TEST.
12451         (ctan_tonearest_test_data): Remove.
12452         (ctan_test_tonearest): Likewise.
12453         (ctan_towardzero_test_data): Likewise.
12454         (ctan_test_towardzero): Likewise.
12455         (ctan_downward_test_data): Likewise.
12456         (ctan_test_downward): Likewise.
12457         (ctan_upward_test_data): Likewise.
12458         (ctan_test_upward): Likewise.
12459         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12460         (ctanh_test): Use ALL_RM_TEST.
12461         (ctanh_tonearest_test_data): Remove.
12462         (ctanh_test_tonearest): Likewise.
12463         (ctanh_towardzero_test_data): Likewise.
12464         (ctanh_test_towardzero): Likewise.
12465         (ctanh_downward_test_data): Likewise.
12466         (ctanh_test_downward): Likewise.
12467         (ctanh_upward_test_data): Likewise.
12468         (ctanh_test_upward): Likewise.
12469         (erf_test_data): Update call to AUTO_TESTS_f_f.
12470         (erfc_test_data): Likewise.
12471         (exp_test_data): Likewise.
12472         (exp_test): Use ALL_RM_TEST.
12473         (exp_tonearest_test_data): Remove.
12474         (exp_test_tonearest): Likewise.
12475         (exp_towardzero_test_data): Likewise.
12476         (exp_test_towardzero): Likewise.
12477         (exp_downward_test_data): Likewise.
12478         (exp_test_downward): Likewise.
12479         (exp_upward_test_data): Likewise.
12480         (exp_test_upward): Likewise.
12481         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12482         (exp10_test): Use ALL_RM_TEST.
12483         (exp10_tonearest_test_data): Remove.
12484         (exp10_test_tonearest): Likewise.
12485         (exp10_towardzero_test_data): Likewise.
12486         (exp10_test_towardzero): Likewise.
12487         (exp10_downward_test_data): Likewise.
12488         (exp10_test_downward): Likewise.
12489         (exp10_upward_test_data): Likewise.
12490         (exp10_test_upward): Likewise.
12491         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12492         (expm1_test_data): Likewise.
12493         (expm1_test): Use ALL_RM_TEST.
12494         (expm1_tonearest_test_data): Remove.
12495         (expm1_test_tonearest): Likewise.
12496         (expm1_towardzero_test_data): Likewise.
12497         (expm1_test_towardzero): Likewise.
12498         (expm1_downward_test_data): Likewise.
12499         (expm1_test_downward): Likewise.
12500         (expm1_upward_test_data): Likewise.
12501         (expm1_test_upward): Likewise.
12502         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12503         (fma_test): Use ALL_RM_TEST.
12504         (fma_towardzero_test_data): Remove.
12505         (fma_test_towardzero): Likewise.
12506         (fma_downward_test_data): Likewise.
12507         (fma_test_downward): Likewise.
12508         (fma_upward_test_data): Likewise.
12509         (fma_test_upward): Likewise.
12510         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12511         (j0_test_data): Update call to AUTO_TESTS_f_f.
12512         (j1_test_data): Likewise.
12513         (jn_test_data): Update call to AUTO_TESTS_if_f.
12514         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12515         (log_test_data): Update call to AUTO_TESTS_f_f.
12516         (log10_test_data): Likewise.
12517         (log1p_test_data): Likewise.
12518         (log2_test_data): Likewise.
12519         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12520         (pow_tonearest_test_data): Likewise.
12521         (sin_test_data): Update call to AUTO_TESTS_f_f.
12522         (sin_test): Use ALL_RM_TEST.
12523         (sin_tonearest_test_data): Remove.
12524         (sin_test_tonearest): Likewise.
12525         (sin_towardzero_test_data): Likewise.
12526         (sin_test_towardzero): Likewise.
12527         (sin_downward_test_data): Likewise.
12528         (sin_test_downward): Likewise.
12529         (sin_upward_test_data): Likewise.
12530         (sin_test_upward): Likewise.
12531         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12532         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12533         (sinh_test): Use ALL_RM_TEST.
12534         (sinh_tonearest_test_data): Remove.
12535         (sinh_test_tonearest): Likewise.
12536         (sinh_towardzero_test_data): Likewise.
12537         (sinh_test_towardzero): Likewise.
12538         (sinh_downward_test_data): Likewise.
12539         (sinh_test_downward): Likewise.
12540         (sinh_upward_test_data): Likewise.
12541         (sinh_test_upward): Likewise.
12542         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12543         (sqrt_test): Use ALL_RM_TEST.
12544         (sqrt_tonearest_test_data): Remove.
12545         (sqrt_test_tonearest): Likewise.
12546         (sqrt_towardzero_test_data): Likewise.
12547         (sqrt_test_towardzero): Likewise.
12548         (sqrt_downward_test_data): Likewise.
12549         (sqrt_test_downward): Likewise.
12550         (sqrt_upward_test_data): Likewise.
12551         (sqrt_test_upward): Likewise.
12552         (tan_test_data): Update call to AUTO_TESTS_f_f.
12553         (tan_test): Use ALL_RM_TEST.
12554         (tan_tonearest_test_data): Remove.
12555         (tan_test_tonearest): Likewise.
12556         (tan_towardzero_test_data): Likewise.
12557         (tan_test_towardzero): Likewise.
12558         (tan_downward_test_data): Likewise.
12559         (tan_test_downward): Likewise.
12560         (tan_upward_test_data): Likewise.
12561         (tan_test_upward): Likewise.
12562         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12563         (tgamma_test_data): Likewise.
12564         (y0_test_data): Likewise.
12565         (y1_test_data): Likewise.
12566         (yn_test_data): Update call to AUTO_TESTS_if_f.
12567         (main): Do not call removed functions.
12568
12569 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12570
12571         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12572         (ldexp_test_data): Remove.
12573         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12574         scalbn_test_data.
12575         (scalb_test): Use ALL_RM_TEST.
12576
12577 2014-03-19  Andreas Schwab  <schwab@suse.de>
12578
12579         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12580
12581 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12582
12583         [BZ #16649]
12584         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12585         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12586         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12587         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12588         (__ASSUME_PREADV): Undefine.
12589         (__ASSUME_PWRITEV): Likewise.
12590
12591 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12592
12593         * bits/mman-linux.h: Add comment about non-Linux use.
12594         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12595         bits/mman-linux.h resting place.
12596
12597         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12598         * bits/mman-linux.h: ... here.
12599
12600 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12601
12602         * conform/conformtest.pl: Add standard definition when calling C
12603         preprocessor on data files.
12604         (checknamespace): Remove unused variable.
12605
12606 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12607
12608         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12609         minus_oflow, plus_uflow and minus_uflow in expected results.
12610         * math/libm-test.inc (scalbn_test_data): Add more tests of
12611         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12612         minus_uflow.
12613         (scalbn_test): Use ALL_RM_TEST.
12614         (scalbln_test_data): Add more tests of negative arguments.  Use
12615         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12616         (scalbln_test): Use ALL_RM_TEST.
12617
12618 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12619
12620         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12621
12622 2014-03-18  Will Newton  <will.newton@linaro.org>
12623
12624         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12625         inaccurate comment.
12626
12627 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12628
12629         * Makerules [!subdir] (check-abi): Exit with error status if a
12630         test failed.
12631
12632 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12633
12634         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12635         for rint.  Include results for all rounding modes.
12636         (nearbyint_test): Use ALL_RM_TEST.
12637         (rint_test_data): Include all tests used for nearbyint.
12638
12639 2014-03-17  Will Newton  <will.newton@linaro.org>
12640
12641         * nptl/sysdeps/pthread/pthread.h: Revert previous
12642         change.
12643
12644         * sysdeps/generic/ldsodefs.h: Revert previous
12645         change.
12646
12647         * libio/genops.c: Revert previous change.
12648         * libio/libioP.h: Likewise.
12649         * stdio-common/vfprintf.c: Likewise.
12650
12651         * sysdeps/generic/math_private.h: Revert previous
12652         change.
12653
12654         * sysdeps/generic/math_private.h: Check whether
12655         HAVE_RM_CTX is defined with #ifdef rather
12656         than #if.
12657
12658         * argp/argp-fmtstream.h: Check whether
12659         __STRICT_ANSI__ is defined with #ifdef rather
12660         than #if.
12661         * argp/argp.h: Likewise.
12662
12663         * libio/genops.c: Check whether
12664         _IO_JUMPS_OFFSET is defined with #ifdef rather
12665         than #if.
12666         * libio/libioP.h: Likewise.
12667         * stdio-common/vfprintf.c: Likewise.
12668
12669         * sysdeps/generic/ldsodefs.h: Check whether
12670         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12671         than #if.
12672
12673         * nptl/sysdeps/pthread/pthread.h: Check
12674         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12675         its value.
12676
12677 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12678
12679         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12680         setting O_APPEND.
12681         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12682         test case.
12683
12684         [BZ #16680]
12685         * libio/fileops.c (_IO_file_open): Seek to end of file but
12686         don't cache the offset.
12687         (get_file_offset): Remove function.
12688         (do_ftell): Use cached offset when available.
12689         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12690         don't cache the offset.
12691         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12692         case.
12693         (do_one_test): Call it.
12694         (do_ftell_test): Fix up expected old offset for a+ mode.
12695         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12696         available.
12697
12698         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12699         up test status with function return status.
12700         (do_write_test): Likewise.
12701         (do_append_test): Likewise.
12702
12703         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12704         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12705         Remove.
12706
12707 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12708
12709         * math/gen-libm-test.pl (parse_args): Handle results specified for
12710         each rounding mode separately.
12711         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12712         tests and results from lrint_tonearest_test_data,
12713         lrint_towardzero_test_data, lrint_downward_test_data and
12714         lrint_upward_test_data.
12715         (lrint_test): Use ALL_RM_TEST.
12716         (lrint_tonearest_test_data): Remove.
12717         (lrint_test_tonearest): Likewise.
12718         (lrint_towardzero_test_data): Likewise.
12719         (lrint_test_towardzero): Likewise.
12720         (lrint_downward_test_data): Likewise.
12721         (lrint_test_downward): Likewise.
12722         (lrint_upward_test_data): Likewise.
12723         (lrint_test_upward): Likewise.
12724         (llrint_test_data): Merge in per-rounding-mode tests and results
12725         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12726         llrint_downward_test_data and llrint_upward_test_data.
12727         (llrint_test): Use ALL_RM_TEST.
12728         (llrint_tonearest_test_data): Remove.
12729         (llrint_test_tonearest): Likewise.
12730         (llrint_towardzero_test_data): Likewise.
12731         (llrint_test_towardzero): Likewise.
12732         (llrint_downward_test_data): Likewise.
12733         (llrint_test_downward): Likewise.
12734         (llrint_upward_test_data): Likewise.
12735         (llrint_test_upward): Likewise.
12736         (rint_test_data): Merge in per-rounding-mode tests and results
12737         from rint_tonearest_test_data, rint_towardzero_test_data,
12738         rint_downward_test_data and rint_upward_test_data.  Add
12739         per-rounding-mode results for tests not in those arrays.
12740         (rint_test): Use ALL_RM_TEST.
12741         (rint_tonearest_test_data): Remove.
12742         (rint_test_tonearest): Likewise.
12743         (rint_towardzero_test_data): Likewise.
12744         (rint_test_towardzero): Likewise.
12745         (rint_downward_test_data): Likewise.
12746         (rint_test_downward): Likewise.
12747         (rint_upward_test_data): Likewise.
12748         (rint_test_upward): Likewise.
12749         (main): Don't call removed functions.
12750
12751 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12752
12753         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12754         "Compiled on ..." crapola.  It is anti-useful.
12755
12756 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12757
12758         * scripts/evaluate-test.sh: Handle fourth argument to determine
12759         whether test run should stop on failure.
12760         * Makeconfig (stop-on-test-failure): New variable.
12761         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12762         $(stop-on-test-failure).
12763         * Makefile (tests): Give a summary of results from testing and
12764         exit with failure status if they include an ERROR or FAIL.
12765         (xtests): Likewise.
12766         * manual/install.texi (Configuring and compiling): Mention
12767         stop-on-test-failure=y.
12768         * INSTALL: Regenerated.
12769
12770 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12771
12772         * scripts/versionlist.awk: New file.
12773         * Makerules [$(build-shared) = yes]
12774         (postclean-generated): Add Versions.def, not Versions.def.v and
12775         Versions.def.v.i.
12776         ($(common-objpfx)Versions.def.v.i): Target removed.
12777         ($(common-objpfx)Versions.def): New target.
12778         ($(common-objpfx)Versions.all): Depend on that rather that
12779         $(common-objpfx)Versions.def.v.
12780         * Versions.def: File removed.
12781
12782         * Makeconfig (+gccwarn): Add -Wundef.
12783         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12784         a dl-sysdep.h breaking its contract.
12785         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12786         * include/stackinfo.h: New file.
12787         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12788         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12789         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12790         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12791         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12792         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12793         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12794         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12795         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12796         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12797         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12798         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12799         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12800         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12801         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12802
12803 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12804
12805         [BZ #16707]
12806         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12807         implementation.
12808         * math/libm-test.inc (round_test_data): Add more tests.
12809
12810         [BZ #16706]
12811         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12812         implementation.
12813         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12814
12815         [BZ #16701]
12816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12817         implementation.
12818         * math/libm-test.inc (ceil_test_data): Add more tests.
12819
12820         * math/libm-test.inc (trunc_test_data): Add more tests related to
12821         BZ#16414.
12822
12823 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12824
12825         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12826         with #if rather than #ifdef.
12827         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12828
12829 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12830
12831         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12832         first.  Disable AVX-512 GCC support if assembler doesn't support
12833         it.
12834         * sysdeps/x86_64/configure: Regenerated.
12835
12836 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12837
12838         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12839         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12840         (__old_pthread_attr_setstack): Likewise.
12841         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12842         [!_STACK_GROWS_DOWN]: Likewise.
12843
12844 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12845
12846         * config.make.in (have-bash2): Delete.
12847         * configure.ac (libc_cv_have_bash2): Delete.
12848         * configure: Regenerate.
12849         * elf/Makefile (common-ldd-rewrite): Rename to ...
12850         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12851         (sh-ldd-rewrite): Delete.
12852         (bash-ldd-rewrite): Delete.
12853         (have-bash2): Delete checks.
12854         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12855         ldd-rewrite.
12856
12857         * config.make.in (have-ksh): Delete.
12858         (KSH): Delete.
12859         * configure.ac (libc_cv_have_ksh): Delete.
12860         * configure: Regenerate.
12861
12862         * elf/Makefile: Delete $(have-ksh) check.
12863         ($(objpfx)sotruss): Change KSH to BASH.
12864         * elf/sotruss.ksh: Rename to ...
12865         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12866         function style to match POSIX.  Drop ksh vim mode setting.
12867
12868         * manual/time.texi (Specifying the Time Zone with TZ): Change
12869         Tuesday to Thursday.
12870
12871         * debug/tst-longjmp_chk2.c: Update header comment.
12872         (stackoverflow_handler): Add comment.  Call assert on pass value.
12873
12874 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12875
12876         [BZ #16194]
12877         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12878         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12879         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12880         (La_x86_64_vector): Add zmm.
12881         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12882         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12883         ($(objpfx)tst-audit10): New target.
12884         ($(objpfx)tst-audit10.out): Likewise.
12885         (tst-audit10-ENV): New.
12886         (AVX512-CFLAGS): Likewise.
12887         (CFLAGS-tst-audit10.c): Likewise.
12888         (CFLAGS-tst-auditmod10a.c): Likewise.
12889         (CFLAGS-tst-auditmod10b.c): Likewise.
12890         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12891         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12892         * sysdeps/x86_64/configure: Regenerated.
12893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12894         AVX-512 zmm register support.
12895         (_dl_x86_64_save_sse): Likewise.
12896         (_dl_x86_64_restore_sse): Likewise.
12897         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12898         size vector registers.
12899         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12900         (ZMM_SIZE): Likewise.
12901         * sysdeps/x86_64/tst-audit10.c: New file.
12902         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12903         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12904
12905 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12906
12907         * configure.ac (HAVE_EHDR_START): New check.
12908         * configure: Regenerated.
12909         * config.h.in (HAVE_EHDR_START): New #undef.
12910         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12911         assuming the lowest-addressed segment maps the start of the file.
12912
12913 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12914
12915         * INSTALL: Regenerated.
12916
12917 2014-03-13  Will Newton  <will.newton@linaro.org>
12918
12919         * manual/setjmp.texi (System V contexts): Improve
12920         clarity and grammar of documentation.
12921
12922 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12923
12924         [BZ #16381]
12925         * elf/Makefile (tests): Add tst-pie2.
12926         (tests-pie): Add tst-pie2.
12927         * elf/tst-pie2.c: New file.
12928         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12929         for ET_EXEC.
12930         * elf/rtld.c (map_doit): Load executable as lt_executable.
12931         (dl_main): Likewise.
12932
12933 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12934
12935         [BZ #16642]
12936         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12937         (__ASSUME_PSELECT): Undefine.
12938
12939 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12940
12941         [BZ #16689]
12942         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12943         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12944         static build.
12945         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12946         selector for static builds.
12947
12948 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12949
12950         [BZ #16695]
12951         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12952         key in the buffer.
12953
12954 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12955
12956         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12957         IFUNC selector for static builds.
12958
12959 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12960
12961         * sysdeps/mips/math_private.h [__mips_hard_float]
12962         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12963         libc_feresetround_mips_ctx.
12964         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12965         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12966         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12967
12968         [BZ #16677]
12969         * math/s_nextafter.c (__nextafter): Do not return value from
12970         overflowing computation.
12971         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12972         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12973         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12974         Likewise.
12975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12976         Likewise.
12977         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12978         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12979
12980 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12981
12982         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12983         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12984         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12985         the new mov targetting sp.
12986
12987 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12988
12989         [BZ #16683]
12990         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12991         Define it for static builds as well.
12992         (NO_BZERO_IMPL): Likewise.
12993
12994 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12995
12996         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12997         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12998         multiarch strspn for PPC64.
12999         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13000         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13002         (__libc_ifunc_impl_list): Likewise.
13003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13004         multiarch optimizations
13005         * string/strspn.c (strspn): Using macro to redefine symbol name.
13006
13007 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13008             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13009
13010         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13011         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13012         multiarch strncat for PPC64.
13013         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13014         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13016         (__libc_ifunc_impl_list): Likewise.
13017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13018         multiarch optimizations
13019
13020 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13021
13022         [BZ #16639]
13023         * nscd/nscd.service: Make service type forking.
13024
13025 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13026
13027         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13028         sign in non default rounding modes.
13029         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13030
13031 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13032
13033         * math/libm-test.inc (ALL_RM_TEST): New macro.
13034         (ceil_test): Use ALL_RM_TEST.
13035         (cimag_test): Likewise.
13036         (conj_test): Likewise.
13037         (copysign_test): Likewise.
13038         (cproj_test): Likewise.
13039         (creal_test): Likewise.
13040         (fabs_test): Likewise.
13041         (floor_test): Likewise.
13042         (fmax_test): Likewise.
13043         (fmin_test): Likewise.
13044         (fmod_test): Likewise.
13045         (fpclassify_test): Likewise.
13046         (frexp_test): Likewise.
13047         (ilogb_test): Likewise.
13048         (isfinite_test): Likewise.
13049         (finite_test): Likewise.
13050         (isgreater_test): Likewise.
13051         (isgreaterequal_test): Likewise.
13052         (isinf_test): Likewise.
13053         (isless_test): Likewise.
13054         (islessequal_test): Likewise.
13055         (islessgreater_test): Likewise.
13056         (isnan_test): Likewise.
13057         (isnormal_test): Likewise.
13058         (issignaling_test): Likewise.
13059         (isunordered_test): Likewise.
13060         (logb_test): Likewise.
13061         (logb_downward_test_data): Remove.
13062         (logb_test_downward): Likewise.
13063         (lround_test): Use ALL_RM_TEST.
13064         (llround_test): Likewise.
13065         (modf_test): Likewise.
13066         (nexttoward_test): Likewise.
13067         (remainder_test): Likewise.
13068         (drem_test): Likewise.
13069         (remainder_tonearest_test_data): Likewise.
13070         (remainder_test_tonearest): Likewise.
13071         (drem_test_tonearest): Likewise.
13072         (remainder_towardzero_test_data): Likewise.
13073         (remainder_test_towardzero): Likewise.
13074         (drem_test_towardzero): Likewise.
13075         (remainder_downward_test_data): Likewise.
13076         (remainder_test_downward): Likewise.
13077         (drem_test_downward): Likewise.
13078         (remainder_upward_test_data): Likewise.
13079         (remainder_test_upward): Likewise.
13080         (drem_test_upward): Likewise.
13081         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13082         (round_test): Use ALL_RM_TEST.
13083         (signbit_test): Likewise.
13084         (trunc_test): Likewise.
13085         (significand_test): Likewise.
13086         (main): Don't call removed functions.
13087
13088 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13089
13090         [BZ #16674]
13091         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13092         || __USE_XOPEN2K8].
13093         (ILL_ILLOPN): Likewise.
13094         (ILL_ILLADR): Likewise.
13095         (ILL_ILLTRP): Likewise.
13096         (ILL_PRVOPC): Likewise.
13097         (ILL_PRVREG): Likewise.
13098         (ILL_COPROC): Likewise.
13099         (ILL_BADSTK): Likewise.
13100         (FPE_INTDIV): Likewise.
13101         (FPE_INTOVF): Likewise.
13102         (FPE_FLTDIV): Likewise.
13103         (FPE_FLTOVF): Likewise.
13104         (FPE_FLTUND): Likewise.
13105         (FPE_FLTRES): Likewise.
13106         (FPE_FLTINV): Likewise.
13107         (FPE_FLTSUB): Likewise.
13108         (SEGV_MAPERR): Likewise.
13109         (SEGV_ACCERR): Likewise.
13110         (BUS_ADRALN): Likewise.
13111         (BUS_ADRERR): Likewise.
13112         (BUS_OBJERR): Likewise.
13113         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13114         (TRAP_TRACE): Likewise.
13115         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13116         __USE_XOPEN2K8].
13117         (CLD_KILLED): Likewise.
13118         (CLD_DUMPED): Likewise.
13119         (CLD_TRAPPED): Likewise.
13120         (CLD_STOPPED): Likewise.
13121         (CLD_CONTINUED): Likewise.
13122         (POLL_IN): Likewise.
13123         (POLL_OUT): Likewise.
13124         (POLL_MSG): Likewise.
13125         (POLL_ERR): Likewise.
13126         (POLL_PRI): Likewise.
13127         (POLL_HUP): Likewise.
13128         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13129         Likewise.
13130         (ILL_ILLOPN): Likewise.
13131         (ILL_ILLADR): Likewise.
13132         (ILL_ILLTRP): Likewise.
13133         (ILL_PRVOPC): Likewise.
13134         (ILL_PRVREG): Likewise.
13135         (ILL_COPROC): Likewise.
13136         (ILL_BADSTK): Likewise.
13137         (FPE_INTDIV): Likewise.
13138         (FPE_INTOVF): Likewise.
13139         (FPE_FLTDIV): Likewise.
13140         (FPE_FLTOVF): Likewise.
13141         (FPE_FLTUND): Likewise.
13142         (FPE_FLTRES): Likewise.
13143         (FPE_FLTINV): Likewise.
13144         (FPE_FLTSUB): Likewise.
13145         (SEGV_MAPERR): Likewise.
13146         (SEGV_ACCERR): Likewise.
13147         (BUS_ADRALN): Likewise.
13148         (BUS_ADRERR): Likewise.
13149         (BUS_OBJERR): Likewise.
13150         (BUS_MCEERR_AR): Likewise.
13151         (BUS_MCEERR_AO): Likewise.
13152         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13153         (TRAP_TRACE): Likewise.
13154         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13155         __USE_XOPEN2K8].
13156         (CLD_KILLED): Likewise.
13157         (CLD_DUMPED): Likewise.
13158         (CLD_TRAPPED): Likewise.
13159         (CLD_STOPPED): Likewise.
13160         (CLD_CONTINUED): Likewise.
13161         (POLL_IN): Likewise.
13162         (POLL_OUT): Likewise.
13163         (POLL_MSG): Likewise.
13164         (POLL_ERR): Likewise.
13165         (POLL_PRI): Likewise.
13166         (POLL_HUP): Likewise.
13167         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13168         (ILL_ILLOPN): Likewise.
13169         (ILL_ILLADR): Likewise.
13170         (ILL_ILLTRP): Likewise.
13171         (ILL_PRVOPC): Likewise.
13172         (ILL_PRVREG): Likewise.
13173         (ILL_COPROC): Likewise.
13174         (ILL_BADSTK): Likewise.
13175         (FPE_INTDIV): Likewise.
13176         (FPE_INTOVF): Likewise.
13177         (FPE_FLTDIV): Likewise.
13178         (FPE_FLTOVF): Likewise.
13179         (FPE_FLTUND): Likewise.
13180         (FPE_FLTRES): Likewise.
13181         (FPE_FLTINV): Likewise.
13182         (FPE_FLTSUB): Likewise.
13183         (SEGV_MAPERR): Likewise.
13184         (SEGV_ACCERR): Likewise.
13185         (BUS_ADRALN): Likewise.
13186         (BUS_ADRERR): Likewise.
13187         (BUS_OBJERR): Likewise.
13188         (BUS_MCEERR_AR): Likewise.
13189         (BUS_MCEERR_AO): Likewise.
13190         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13191         (TRAP_TRACE): Likewise.
13192         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13193         __USE_XOPEN2K8].
13194         (CLD_KILLED): Likewise.
13195         (CLD_DUMPED): Likewise.
13196         (CLD_TRAPPED): Likewise.
13197         (CLD_STOPPED): Likewise.
13198         (CLD_CONTINUED): Likewise.
13199         (POLL_IN): Likewise.
13200         (POLL_OUT): Likewise.
13201         (POLL_MSG): Likewise.
13202         (POLL_ERR): Likewise.
13203         (POLL_PRI): Likewise.
13204         (POLL_HUP): Likewise.
13205         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13206         Likewise.
13207         (ILL_ILLOPN): Likewise.
13208         (ILL_ILLADR): Likewise.
13209         (ILL_ILLTRP): Likewise.
13210         (ILL_PRVOPC): Likewise.
13211         (ILL_PRVREG): Likewise.
13212         (ILL_COPROC): Likewise.
13213         (ILL_BADSTK): Likewise.
13214         (ILL_BADIADDR): Likewise.
13215         (ILL_BREAK): Likewise.
13216         (FPE_INTDIV): Likewise.
13217         (FPE_INTOVF): Likewise.
13218         (FPE_FLTDIV): Likewise.
13219         (FPE_FLTOVF): Likewise.
13220         (FPE_FLTUND): Likewise.
13221         (FPE_FLTRES): Likewise.
13222         (FPE_FLTINV): Likewise.
13223         (FPE_FLTSUB): Likewise.
13224         (FPE_DECOVF): Likewise.
13225         (FPE_DECDIV): Likewise.
13226         (FPE_DECERR): Likewise.
13227         (FPE_INVASC): Likewise.
13228         (FPE_INVDEC): Likewise.
13229         (SEGV_MAPERR): Likewise.
13230         (SEGV_ACCERR): Likewise.
13231         (SEGV_PSTKOVF): Likewise.
13232         (BUS_ADRALN): Likewise.
13233         (BUS_ADRERR): Likewise.
13234         (BUS_OBJERR): Likewise.
13235         (BUS_MCEERR_AR): Likewise.
13236         (BUS_MCEERR_AO): Likewise.
13237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13238         (TRAP_TRACE): Likewise.
13239         (TRAP_BRANCH): Likewise.
13240         (TRAP_HWBKPT): Likewise.
13241         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13242         __USE_XOPEN2K8].
13243         (CLD_KILLED): Likewise.
13244         (CLD_DUMPED): Likewise.
13245         (CLD_TRAPPED): Likewise.
13246         (CLD_STOPPED): Likewise.
13247         (CLD_CONTINUED): Likewise.
13248         (POLL_IN): Likewise.
13249         (POLL_OUT): Likewise.
13250         (POLL_MSG): Likewise.
13251         (POLL_ERR): Likewise.
13252         (POLL_PRI): Likewise.
13253         (POLL_HUP): Likewise.
13254         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13255         (ILL_ILLOPN): Likewise.
13256         (ILL_ILLADR): Likewise.
13257         (ILL_ILLTRP): Likewise.
13258         (ILL_PRVOPC): Likewise.
13259         (ILL_PRVREG): Likewise.
13260         (ILL_COPROC): Likewise.
13261         (ILL_BADSTK): Likewise.
13262         (FPE_INTDIV): Likewise.
13263         (FPE_INTOVF): Likewise.
13264         (FPE_FLTDIV): Likewise.
13265         (FPE_FLTOVF): Likewise.
13266         (FPE_FLTUND): Likewise.
13267         (FPE_FLTRES): Likewise.
13268         (FPE_FLTINV): Likewise.
13269         (FPE_FLTSUB): Likewise.
13270         (SEGV_MAPERR): Likewise.
13271         (SEGV_ACCERR): Likewise.
13272         (BUS_ADRALN): Likewise.
13273         (BUS_ADRERR): Likewise.
13274         (BUS_OBJERR): Likewise.
13275         (BUS_MCEERR_AR): Likewise.
13276         (BUS_MCEERR_AO): Likewise.
13277         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13278         (TRAP_TRACE): Likewise.
13279         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13280         __USE_XOPEN2K8].
13281         (CLD_KILLED): Likewise.
13282         (CLD_DUMPED): Likewise.
13283         (CLD_TRAPPED): Likewise.
13284         (CLD_STOPPED): Likewise.
13285         (CLD_CONTINUED): Likewise.
13286         (POLL_IN): Likewise.
13287         (POLL_OUT): Likewise.
13288         (POLL_MSG): Likewise.
13289         (POLL_ERR): Likewise.
13290         (POLL_PRI): Likewise.
13291         (POLL_HUP): Likewise.
13292         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13293         (ILL_ILLOPN): Likewise.
13294         (ILL_ILLADR): Likewise.
13295         (ILL_ILLTRP): Likewise.
13296         (ILL_PRVOPC): Likewise.
13297         (ILL_PRVREG): Likewise.
13298         (ILL_COPROC): Likewise.
13299         (ILL_BADSTK): Likewise.
13300         (FPE_INTDIV): Likewise.
13301         (FPE_INTOVF): Likewise.
13302         (FPE_FLTDIV): Likewise.
13303         (FPE_FLTOVF): Likewise.
13304         (FPE_FLTUND): Likewise.
13305         (FPE_FLTRES): Likewise.
13306         (FPE_FLTINV): Likewise.
13307         (FPE_FLTSUB): Likewise.
13308         (SEGV_MAPERR): Likewise.
13309         (SEGV_ACCERR): Likewise.
13310         (BUS_ADRALN): Likewise.
13311         (BUS_ADRERR): Likewise.
13312         (BUS_OBJERR): Likewise.
13313         (BUS_MCEERR_AR): Likewise.
13314         (BUS_MCEERR_AO): Likewise.
13315         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13316         (TRAP_TRACE): Likewise.
13317         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13318         __USE_XOPEN2K8].
13319         (CLD_KILLED): Likewise.
13320         (CLD_DUMPED): Likewise.
13321         (CLD_TRAPPED): Likewise.
13322         (CLD_STOPPED): Likewise.
13323         (CLD_CONTINUED): Likewise.
13324         (POLL_IN): Likewise.
13325         (POLL_OUT): Likewise.
13326         (POLL_MSG): Likewise.
13327         (POLL_ERR): Likewise.
13328         (POLL_PRI): Likewise.
13329         (POLL_HUP): Likewise.
13330         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13331         (ILL_ILLOPN): Likewise.
13332         (ILL_ILLADR): Likewise.
13333         (ILL_ILLTRP): Likewise.
13334         (ILL_PRVOPC): Likewise.
13335         (ILL_PRVREG): Likewise.
13336         (ILL_COPROC): Likewise.
13337         (ILL_BADSTK): Likewise.
13338         (FPE_INTDIV): Likewise.
13339         (FPE_INTOVF): Likewise.
13340         (FPE_FLTDIV): Likewise.
13341         (FPE_FLTOVF): Likewise.
13342         (FPE_FLTUND): Likewise.
13343         (FPE_FLTRES): Likewise.
13344         (FPE_FLTINV): Likewise.
13345         (FPE_FLTSUB): Likewise.
13346         (SEGV_MAPERR): Likewise.
13347         (SEGV_ACCERR): Likewise.
13348         (BUS_ADRALN): Likewise.
13349         (BUS_ADRERR): Likewise.
13350         (BUS_OBJERR): Likewise.
13351         (BUS_MCEERR_AR): Likewise.
13352         (BUS_MCEERR_AO): Likewise.
13353         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13354         (TRAP_TRACE): Likewise.
13355         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13356         __USE_XOPEN2K8].
13357         (CLD_KILLED): Likewise.
13358         (CLD_DUMPED): Likewise.
13359         (CLD_TRAPPED): Likewise.
13360         (CLD_STOPPED): Likewise.
13361         (CLD_CONTINUED): Likewise.
13362         (POLL_IN): Likewise.
13363         (POLL_OUT): Likewise.
13364         (POLL_MSG): Likewise.
13365         (POLL_ERR): Likewise.
13366         (POLL_PRI): Likewise.
13367         (POLL_HUP): Likewise.
13368         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13369         (ILL_ILLOPN): Likewise.
13370         (ILL_ILLADR): Likewise.
13371         (ILL_ILLTRP): Likewise.
13372         (ILL_PRVOPC): Likewise.
13373         (ILL_PRVREG): Likewise.
13374         (ILL_COPROC): Likewise.
13375         (ILL_BADSTK): Likewise.
13376         (ILL_DBLFLT): Likewise.
13377         (ILL_HARDWALL): Likewise.
13378         (FPE_INTDIV): Likewise.
13379         (FPE_INTOVF): Likewise.
13380         (FPE_FLTDIV): Likewise.
13381         (FPE_FLTOVF): Likewise.
13382         (FPE_FLTUND): Likewise.
13383         (FPE_FLTRES): Likewise.
13384         (FPE_FLTINV): Likewise.
13385         (FPE_FLTSUB): Likewise.
13386         (SEGV_MAPERR): Likewise.
13387         (SEGV_ACCERR): Likewise.
13388         (BUS_ADRALN): Likewise.
13389         (BUS_ADRERR): Likewise.
13390         (BUS_OBJERR): Likewise.
13391         (BUS_MCEERR_AR): Likewise.
13392         (BUS_MCEERR_AO): Likewise.
13393         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13394         (TRAP_TRACE): Likewise.
13395         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13396         __USE_XOPEN2K8].
13397         (CLD_KILLED): Likewise.
13398         (CLD_DUMPED): Likewise.
13399         (CLD_TRAPPED): Likewise.
13400         (CLD_STOPPED): Likewise.
13401         (CLD_CONTINUED): Likewise.
13402         (POLL_IN): Likewise.
13403         (POLL_OUT): Likewise.
13404         (POLL_MSG): Likewise.
13405         (POLL_ERR): Likewise.
13406         (POLL_PRI): Likewise.
13407         (POLL_HUP): Likewise.
13408         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13409         (ILL_ILLOPN): Likewise.
13410         (ILL_ILLADR): Likewise.
13411         (ILL_ILLTRP): Likewise.
13412         (ILL_PRVOPC): Likewise.
13413         (ILL_PRVREG): Likewise.
13414         (ILL_COPROC): Likewise.
13415         (ILL_BADSTK): Likewise.
13416         (FPE_INTDIV): Likewise.
13417         (FPE_INTOVF): Likewise.
13418         (FPE_FLTDIV): Likewise.
13419         (FPE_FLTOVF): Likewise.
13420         (FPE_FLTUND): Likewise.
13421         (FPE_FLTRES): Likewise.
13422         (FPE_FLTINV): Likewise.
13423         (FPE_FLTSUB): Likewise.
13424         (SEGV_MAPERR): Likewise.
13425         (SEGV_ACCERR): Likewise.
13426         (BUS_ADRALN): Likewise.
13427         (BUS_ADRERR): Likewise.
13428         (BUS_OBJERR): Likewise.
13429         (BUS_MCEERR_AR): Likewise.
13430         (BUS_MCEERR_AO): Likewise.
13431         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13432         (TRAP_TRACE): Likewise.
13433         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13434         __USE_XOPEN2K8].
13435         (CLD_KILLED): Likewise.
13436         (CLD_DUMPED): Likewise.
13437         (CLD_TRAPPED): Likewise.
13438         (CLD_STOPPED): Likewise.
13439         (CLD_CONTINUED): Likewise.
13440         (POLL_IN): Likewise.
13441         (POLL_OUT): Likewise.
13442         (POLL_MSG): Likewise.
13443         (POLL_ERR): Likewise.
13444         (POLL_PRI): Likewise.
13445         (POLL_HUP): Likewise.
13446         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13447         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13448
13449         [BZ #16670]
13450         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13451         before #include of <time.h>.
13452         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13453         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13454         (test-xfail-UNIX98/sched.h/conform): Likewise.
13455
13456 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13457
13458         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13459         error absence of trapping exception support.
13460         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13461
13462 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13463
13464         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13465         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13466         * timezone/Makefile (testdata): Move definition above include of
13467         Rules.
13468         (test-zones): New variable.
13469         (tests-special): Add zone files.
13470         (build-testdata): Use $(evaluate-test).
13471
13472         * elf/Makefile (tests-special): Rename tests to end with .out.
13473         ($(objpfx)noload-mem): Likewise.
13474         ($(objpfx)tst-leaks1-mem): Likewise.
13475         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13476         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13477         $(objpfx)test-iconvconfig.out.
13478         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13479         set -e inside subshell and redirect output to file.
13480         * iconvdata/Makefile (generated): Rename tests to end with .out.
13481         Correct type.
13482         (tests-special): Rename tests to end with .out.
13483         ($(objpfx)mtrace-tst-loading): Likewise.
13484         * intl/Makefile (generated): Likewise.
13485         (tests-special): Likewise.
13486         ($(objpfx)mtrace-tst-gettext): Likewise.
13487         * misc/Makefile (generated): Likewise.
13488         (tests-special): Likewise.
13489         ($(objpfx)tst-error1-mem): Likewise.
13490         * nptl/Makefile (tests-special): Likewise.
13491         ($(objpfx)tst-stack3-mem): Likewise.
13492         (generated): Likewise.
13493         * posix/Makefile (generated): Likewise.
13494         (tests-special): Likewise.
13495         (xtests-special): Likewise.
13496         ($(objpfx)tst-fnmatch-mem): Likewise.
13497         ($(objpfx)bug-regex2-mem): Likewise.
13498         ($(objpfx)bug-regex14-mem): Likewise.
13499         ($(objpfx)bug-regex21-mem): Likewise.
13500         ($(objpfx)bug-regex31-mem): Likewise.
13501         ($(objpfx)tst-vfork3-mem): Likewise.
13502         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13503         ($(objpfx)tst-pcre-mem): Likewise.
13504         ($(objpfx)tst-boost-mem): Likewise.
13505         ($(objpfx)bug-ga2-mem): Likewise.
13506         ($(objpfx)bug-glob2-mem): Likewise.
13507         * resolv/Makefile (generate): Likewise.
13508         (tests-special): Likewise.
13509         (xtests-special): Likewise.
13510         (generated): Likewise.
13511         ($(objpfx)mtrace-tst-leaks): Likewise.
13512         ($(objpfx)mtrace-tst-leaks2): Likewise.
13513
13514         * scripts/merge-test-results.sh: New file.
13515         * Makefile (tests-special-notdir): New variable.
13516         (tests): Run merge-test-results.sh.
13517         (xtests): Likewise.
13518         * Rules (tests-special-notdir): New variable.
13519         (xtests-special-notdir): Likewise.
13520         (tests): Run merge-test-results.sh
13521         (xtests): Likewise.
13522
13523         * Makeconfig (test-xfail-name): New variable.
13524         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13525         compute variable name for expected failures.
13526         * conform/Makefile (conformtest-headers-data): New variable.
13527         (conformtest-standards): Likewise.
13528         (conformtest-headers-ISO): Likewise.
13529         (conformtest-headers-ISO99): Likewise.
13530         (conformtest-headers-ISO11): Likewise.
13531         (conformtest-headers-POSIX): Likewise.
13532         (conformtest-headers-XPG3): Likewise.
13533         (conformtest-headers-XPG4): Likewise.
13534         (conformtest-headers-UNIX98): Likewise.
13535         (conformtest-headers-XOPEN2K): Likewise.
13536         (conformtest-headers-POSIX2008): Likewise.
13537         (conformtest-headers-XOPEN2K8): Likewise.
13538         (conformtest-header-list-base): Likewise.
13539         (conformtest-header-list-tests): Likewise.
13540         (conformtest-header-base): Likewise.
13541         (conformtest-header-tests): Likewise.
13542         (tests-special): Add $(conformtest-header-list-tests).  If
13543         [$(fast-check) && !$(cross-compiling)], add
13544         $(conformtest-header-tests) instead of
13545         $(objpfx)run-conformtest.out.
13546         (generated): Add $(conformtest-header-list-base).  If
13547         [$(fast-check) && !$(cross-compiling)], add
13548         $(conformtest-header-base).  Remove previous setting.
13549         ($(conformtest-header-list-tests)): New target.
13550         (test-xfail-run-conformtest): Remove variable.
13551         ($(objpfx)run-conformtest.out): Remove target.
13552         (test-xfail-ISO11/complex.h/conform): New variable.
13553         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13554         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13555         (test-xfail-XPG3/varargs.h/conform): Likewise.
13556         (test-xfail-XPG4/varargs.h/conform): Likewise.
13557         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13558         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13559         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13560         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13561         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13562         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13563         (test-xfail-XPG3/ftw.h/conform): Likewise.
13564         (test-xfail-XPG3/grp.h/conform): Likewise.
13565         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13566         (test-xfail-XPG3/limits.h/conform): Likewise.
13567         (test-xfail-XPG3/pwd.h/conform): Likewise.
13568         (test-xfail-XPG3/search.h/conform): Likewise.
13569         (test-xfail-XPG3/signal.h/conform): Likewise.
13570         (test-xfail-XPG3/stdio.h/conform): Likewise.
13571         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13572         (test-xfail-XPG3/string.h/conform): Likewise.
13573         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13574         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13575         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13576         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13577         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13578         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13579         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13580         (test-xfail-XPG3/termios.h/conform): Likewise.
13581         (test-xfail-XPG3/time.h/conform): Likewise.
13582         (test-xfail-XPG3/unistd.h/conform): Likewise.
13583         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13584         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13585         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13586         (test-xfail-XPG4/netdb.h/conform): Likewise.
13587         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13588         (test-xfail-XPG4/signal.h/conform): Likewise.
13589         (test-xfail-XPG4/stdio.h/conform): Likewise.
13590         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13591         (test-xfail-XPG4/stropts.h/conform): Likewise.
13592         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13593         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13594         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13595         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13596         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13597         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13598         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13599         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13600         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13601         (test-xfail-XPG4/termios.h/conform): Likewise.
13602         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13603         (test-xfail-XPG4/unistd.h/conform): Likewise.
13604         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13605         (test-xfail-POSIX/sched.h/conform): Likewise.
13606         (test-xfail-POSIX/signal.h/conform): Likewise.
13607         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13608         (test-xfail-POSIX/tar.h/conform): Likewise.
13609         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13610         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13611         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13612         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13613         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13614         (test-xfail-UNIX98/sched.h/conform): Likewise.
13615         (test-xfail-UNIX98/signal.h/conform): Likewise.
13616         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13617         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13618         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13619         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13620         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13621         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13622         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13623         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13624         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13625         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13626         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13627         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13628         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13629         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13630         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13631         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13632         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13633         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13634         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13635         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13636         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13637         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13638         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13639         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13640         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13641         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13642         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13643         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13644         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13645         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13646         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13647         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13648         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13649         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13650         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13651         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13652         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13653         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13654         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13655         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13656         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13657         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13658         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13659         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13660         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13661         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13662         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13663         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13664         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13665         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13666         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13667         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13668         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13669         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13670         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13671         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13672         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13673         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13674         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13675         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13676         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13677         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13678         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13679         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13680         (conformtest-cc-flags): Likewise.
13681         ($(conformtest-header-tests): New target.
13682         * conform/check-header-lists.sh: New file.
13683         * conform/run-conformtest.sh: Remove.
13684
13685         * conform/conformtest.pl: Allow ' and \ in values given for
13686         constants.
13687         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13688         inclusion.
13689         [POSIX] (sys/types.h): Likewise.
13690         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13691         inclusion.
13692         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13693         inclusion.
13694         * conform/data/signal.h-data (SIGIO): Remove expectation.
13695         [XPG3] (SIGBUS): Do not expect.
13696         [POSIX || XPG3] (SIGPOLL): Likewise.
13697         [POSIX || XPG3] (SIGPROF): Likewise.
13698         [POSIX || XPG3] (SIGSYS): Likewise.
13699         [XPG3] (SIGTRAP): Likewise.
13700         [POSIX || XPG3] (SIGURG): Likewise.
13701         [POSIX || XPG3] (SIGVTALRM): Likewise.
13702         [POSIX || XPG3] (SIGXCPU): Likewise.
13703         [POSIX || XPG3] (SIGXFSZ): Likewise.
13704         [POSIX] (SA_SIGINFO): Expect.
13705         [XPG3] (siginfo_t): Do not expect type or contents.
13706         [POSIX] (si_pid): Do not expect element.
13707         [POSIX] (si_uid): Likewise.
13708         [POSIX] (si_addr): Likewise.
13709         [POSIX] (si_status): Likewise.
13710         [POSIX] (si_band): Likewise.
13711         [XPG4] (si_value): Likewise.
13712         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13713         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13714         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13715         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13716         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13717         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13718         [POSIX || XPG3] (ILL_COPROC): Likewise.
13719         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13720         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13721         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13722         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13723         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13724         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13725         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13726         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13727         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13728         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13729         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13730         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13731         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13732         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13733         [POSIX || XPG3] (CLD_EXITED): Likewise.
13734         [POSIX || XPG3] (CLD_KILLED): Likewise.
13735         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13736         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13737         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13738         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13739         [POSIX || XPG3] (POLL_IN): Likewise.
13740         [POSIX || XPG3] (POLL_OUT): Likewise.
13741         [POSIX || XPG3] (POLL_MSG): Likewise.
13742         [POSIX || XPG3] (POLL_ERR): Likewise.
13743         [POSIX || XPG3] (POLL_PRI): Likewise.
13744         [POSIX || XPG3] (POLL_HUP): Likewise.
13745         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13746         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13747         (SIG*): Do not allow.
13748         [XPG3] (si_*): Likewise.
13749         [XPG3] (SI_*): Likewise.
13750         [XPG3 || XPG4] (sigev_*): Likewise.
13751         [XPG3 || XPG4] (SIGEV_*): Likewise.
13752         [XPG3 || XPG4] (sival_*): Likewise.
13753         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13754         [POSIX || XPG3] (BUS_*): Likewise.
13755         [POSIX || XPG3] (CLD_*): Likewise.
13756         [POSIX || XPG3] (FPE_*): Likewise.
13757         [POSIX || XPG3] (ILL_*): Likewise.
13758         [POSIX || XPG3] (POLL_*): Likewise.
13759         [POSIX || XPG3] (SEGV_*): Likewise.
13760         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13761         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13762         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13763         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13764         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13765         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13766         Specify type and value.
13767         (TVERSLEN): Likewise.
13768         (REGTYPE): Likewise.
13769         (AREGTYPE): Likewise.
13770         (LNKTYPE): Likewise.
13771         (SYMTYPE): Likewise.
13772         (CHRTYPE): Likewise.
13773         (BLKTYPE): Likewise.
13774         (DIRTYPE): Likewise.
13775         (FIFOTYPE): Likewise.
13776         (CONTTYPE): Likewise.
13777         (TSUID): Likewise.
13778         (TSGID): Likewise.
13779         (TSVTX): Likewise.
13780         (TUREAD): Likewise.
13781         (TUWRITE): Likewise.
13782         (TUEXEC): Likewise.
13783         (TGREAD): Likewise.
13784         (TGWRITE): Likewise.
13785         (TGEXEC): Likewise.
13786         (TOREAD): Likewise.
13787         (TOWRITE): Likewise.
13788         (TOEXEC): Likewise.
13789         [POSIX] (TSVTX): Expect constant.
13790
13791 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13792
13793         * Makefile (tests): Change dependencies to ....
13794         (tests-special): ... additions to this variable.
13795         (tests): Depend on $(tests-special).
13796         * Makerules (check-abi-list): New variable.
13797         (check-abi): Depend on $(check-abi-list).
13798         [$(subdir) = elf] (tests-special): Add
13799         $(objpfx)check-abi-libc.out.
13800         [$(build-shared) = yes && subdir] (tests-special): Add
13801         $(check-abi-list).
13802         [$(build-shared) = yes && subdir] (tests): Do not depend on
13803         check-abi.
13804         * Rules (tests): Depend on $(tests-special).
13805         (xtests): Depend on $(xtests-special).
13806         * catgets/Makefile (tests): Change dependencies to ....
13807         (tests-special): ... additions to this variable.
13808         * conform/Makefile (tests): Change dependencies to ....
13809         (tests-special): ... additions to this variable.
13810         * elf/Makefile (tests): Change dependencies to ....
13811         (tests-special): ... additions to this variable.
13812         * grp/Makefile (tests): Change dependencies to ....
13813         (tests-special): ... additions to this variable.
13814         * iconv/Makefile (xtests): Change dependencies to ....
13815         (xtests-special): ... additions to this variable.
13816         * iconvdata/Makefile (tests): Change dependencies to ....
13817         (tests-special): ... additions to this variable.
13818         * intl/Makefile (tests): Change dependencies to ....
13819         (tests-special): ... additions to this variable.  Also add
13820         $(objpfx)tst-gettext.out.
13821         * io/Makefile (tests): Change dependencies to ....
13822         (tests-special): ... additions to this variable.
13823         * libio/Makefile (tests): Change dependencies to ....
13824         (tests-special): ... additions to this variable.
13825         * malloc/Makefile (tests): Change dependencies to ....
13826         (tests-special): ... additions to this variable.
13827         * misc/Makefile (tests): Change dependencies to ....
13828         (tests-special): ... additions to this variable.
13829         * nptl/Makefile (tests): Change dependencies to ....
13830         (tests-special): ... additions to this variable.
13831         * nptl_db/Makefile (tests): Change dependencies to ....
13832         (tests-special): ... additions to this variable.
13833         * posix/Makefile (tests): Change dependencies to ....
13834         (tests-special): ... additions to this variable.
13835         (xtests): Change dependencies to ....
13836         (xtests-special): ... additions to this variable.
13837         * resolv/Makefile (tests): Change dependencies to ....
13838         (tests-special): ... additions to this variable.
13839         (xtests): Change dependencies to ....
13840         (xtests-special): ... additions to this variable.
13841         * stdio-common/Makefile (tests): Change dependencies to ....
13842         (tests-special): ... additions to this variable.
13843         (do-tst-unbputc): Remove target.
13844         (do-tst-printf): Likewise.
13845         * stdlib/Makefile (tests): Change dependencies to ....
13846         (tests-special): ... additions to this variable.
13847         * string/Makefile (tests): Change dependencies to ....
13848         (tests-special): ... additions to this variable.
13849         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13850         (tests-special): ... additions to this variable.
13851
13852         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13853         whole file.
13854         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13855         whole file.
13856         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13857         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13858
13859         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13860         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13861         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13862         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13863         * conform/data/libgen.h-data [XPG3]: Likewise.
13864         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13865         * conform/data/ndbm.h-data [XPG3]: Likewise.
13866         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13867         * conform/data/netdb.h-data [XPG3]: Likewise.
13868         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13869         * conform/data/poll.h-data [XPG3]: Likewise.
13870         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13871         * conform/data/strings.h-data [XPG3]: Likewise.
13872         * conform/data/stropts.h-data [XPG3]: Likewise.
13873         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13874         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13875         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13876         Likewise.
13877         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13878         * conform/data/sys/time.h-data [XPG3]: Likewise.
13879         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13880         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13881         * conform/data/sys/un.h-data [XPG3]: Likewise.
13882         * conform/data/syslog.h-data [XPG3]: Likewise.
13883         * conform/data/ucontext.h-data [XPG3]: Likewise.
13884         * conform/data/utmpx.h-data [XPG3]: Likewise.
13885         * conform/data/varargs.h-data [UNIX98]: Enable file.
13886
13887         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13888
13889         * math/libm-test.inc (struct test_f_f_data): Move expected results
13890         into structure for each rounding mode.
13891         (struct test_ff_f_data): Likewise.
13892         (struct test_ff_f_data_nexttoward): Likewise.
13893         (struct test_fi_f_data): Likewise.
13894         (struct test_fl_f_data): Likewise.
13895         (struct test_if_f_data): Likewise.
13896         (struct test_fff_f_data): Likewise.
13897         (struct test_c_f_data): Likewise.
13898         (struct test_f_f1_data): Likewise.
13899         (struct test_fF_f1_data): Likewise.
13900         (struct test_ffI_f1_data): Likewise.
13901         (struct test_c_c_data): Likewise.
13902         (struct test_cc_c_data): Likewise.
13903         (struct test_f_i_data): Likewise.
13904         (struct test_ff_i_data): Likewise.
13905         (struct test_f_l_data): Likewise.
13906         (struct test_f_L_data): Likewise.
13907         (struct test_fFF_11_data): Likewise.
13908         (RM_): New macro.
13909         (RM_FE_DOWNWARD): Likewise.
13910         (RM_FE_TONEAREST): Likewise.
13911         (RM_FE_TOWARDZERO): Likewise.
13912         (RM_FE_UPWARD): Likewise.
13913         (RUN_TEST_LOOP_f_f): Update references to expected results.
13914         (RUN_TEST_LOOP_2_f): Likewise.
13915         (RUN_TEST_LOOP_fff_f): Likewise.
13916         (RUN_TEST_LOOP_c_f): Likewise.
13917         (RUN_TEST_LOOP_f_f1): Likewise.
13918         (RUN_TEST_LOOP_fF_f1): Likewise.
13919         (RUN_TEST_LOOP_fI_f1): Likewise.
13920         (RUN_TEST_LOOP_ffI_f1): Likewise.
13921         (RUN_TEST_LOOP_c_c): Likewise.
13922         (RUN_TEST_LOOP_cc_c): Likewise.
13923         (RUN_TEST_LOOP_f_i): Likewise.
13924         (RUN_TEST_LOOP_f_i_tg): Likewise.
13925         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13926         (RUN_TEST_LOOP_f_b): Likewise.
13927         (RUN_TEST_LOOP_f_b_tg): Likewise.
13928         (RUN_TEST_LOOP_f_l): Likewise.
13929         (RUN_TEST_LOOP_f_L): Likewise.
13930         (RUN_TEST_LOOP_fFF_11): Likewise.
13931         * math/gen-libm-test.pl (parse_args): Output four copies of
13932         expected results for each test.
13933
13934         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13935         (__ASSUME_UTIMES): Remove.
13936         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13937         (__ASSUME_UTIMES): Likewise.
13938
13939         * math/gen-auto-libm-tests.c: Update comment on output format.
13940         (output_for_one_input_case): Generate before-rounding and
13941         after-rounding information as conditions on output flags not
13942         floating-point format.
13943         * math/auto-libm-test-out: Regenerated.
13944         * math/gen-libm-test.pl (cond_value): New function.
13945         (or_cond_value): Use cond_value.
13946         (generate_testfile): Handle conditional exceptions.
13947
13948 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13949
13950         * math/libm-test.inc (max_valid_error): New variable.
13951         (init_max_error): Take new argument specifying whether function
13952         results are exactly determined.  Set max_valid_error and bound
13953         other variables for errors based on this argument.
13954         (set_max_error): Do not record results above max_valid_error.
13955         (check_float_internal): Only accept errors of up to 0.5ulps if
13956         also at most max_valid_error.
13957         (START): Take new argument EXACT and pass it to init_max_error.
13958         (acos_test): Update call to START.
13959         (acos_test_tonearest): Likewise.
13960         (acos_test_towardzero): Likewise.
13961         (acos_test_downward): Likewise.
13962         (acos_test_upward): Likewise.
13963         (acosh_test): Likewise.
13964         (asin_test): Likewise.
13965         (asin_test_tonearest): Likewise.
13966         (asin_test_towardzero): Likewise.
13967         (asin_test_downward): Likewise.
13968         (asin_test_upward): Likewise.
13969         (asinh_test): Likewise.
13970         (atan_test): Likewise.
13971         (atanh_test): Likewise.
13972         (atan2_test): Likewise.
13973         (cabs_test): Likewise.
13974         (cacos_test): Likewise.
13975         (cacosh_test): Likewise.
13976         (carg_test): Likewise.
13977         (casin_test): Likewise.
13978         (casinh_test): Likewise.
13979         (catan_test): Likewise.
13980         (catanh_test): Likewise.
13981         (cbrt_test): Likewise.
13982         (ccos_test): Likewise.
13983         (ccosh_test): Likewise.
13984         (ceil_test): Likewise.
13985         (cexp_test): Likewise.
13986         (cimag_test): Likewise.
13987         (clog_test): Likewise.
13988         (clog10_test): Likewise.
13989         (conj_test): Likewise.
13990         (copysign_test): Likewise.
13991         (cos_test): Likewise.
13992         (cos_test_tonearest): Likewise.
13993         (cos_test_towardzero): Likewise.
13994         (cos_test_downward): Likewise.
13995         (cos_test_upward): Likewise.
13996         (cosh_test): Likewise.
13997         (cosh_test_tonearest): Likewise.
13998         (cosh_test_towardzero): Likewise.
13999         (cosh_test_downward): Likewise.
14000         (cosh_test_upward): Likewise.
14001         (cpow_test): Likewise.
14002         (cproj_test): Likewise.
14003         (creal_test): Likewise.
14004         (csin_test): Likewise.
14005         (csinh_test): Likewise.
14006         (csqrt_test): Likewise.
14007         (ctan_test): Likewise.
14008         (ctan_test_tonearest): Likewise.
14009         (ctan_test_towardzero): Likewise.
14010         (ctan_test_downward): Likewise.
14011         (ctan_test_upward): Likewise.
14012         (ctanh_test): Likewise.
14013         (ctanh_test_tonearest): Likewise.
14014         (ctanh_test_towardzero): Likewise.
14015         (ctanh_test_downward): Likewise.
14016         (ctanh_test_upward): Likewise.
14017         (erf_test): Likewise.
14018         (erfc_test): Likewise.
14019         (exp_test): Likewise.
14020         (exp_test_tonearest): Likewise.
14021         (exp_test_towardzero): Likewise.
14022         (exp_test_downward): Likewise.
14023         (exp_test_upward): Likewise.
14024         (exp10_test): Likewise.
14025         (exp10_test_tonearest): Likewise.
14026         (exp10_test_towardzero): Likewise.
14027         (exp10_test_downward): Likewise.
14028         (exp10_test_upward): Likewise.
14029         (pow10_test): Likewise.
14030         (exp2_test): Likewise.
14031         (expm1_test): Likewise.
14032         (expm1_test_tonearest): Likewise.
14033         (expm1_test_towardzero): Likewise.
14034         (expm1_test_downward): Likewise.
14035         (expm1_test_upward): Likewise.
14036         (fabs_test): Likewise.
14037         (fdim_test): Likewise.
14038         (floor_test): Likewise.
14039         (fma_test): Likewise.
14040         (fma_test_towardzero): Likewise.
14041         (fma_test_downward): Likewise.
14042         (fma_test_upward): Likewise.
14043         (fmax_test): Likewise.
14044         (fmin_test): Likewise.
14045         (fmod_test): Likewise.
14046         (fpclassify_test): Likewise.
14047         (frexp_test): Likewise.
14048         (hypot_test): Likewise.
14049         (ilogb_test): Likewise.
14050         (isfinite_test): Likewise.
14051         (finite_test): Likewise.
14052         (isgreater_test): Likewise.
14053         (isgreaterequal_test): Likewise.
14054         (isinf_test): Likewise.
14055         (isless_test): Likewise.
14056         (islessequal_test): Likewise.
14057         (islessgreater_test): Likewise.
14058         (isnan_test): Likewise.
14059         (isnormal_test): Likewise.
14060         (issignaling_test): Likewise.
14061         (isunordered_test): Likewise.
14062         (j0_test): Likewise.
14063         (j1_test): Likewise.
14064         (jn_test): Likewise.
14065         (ldexp_test): Likewise.
14066         (lgamma_test): Likewise.
14067         (gamma_test): Likewise.
14068         (lrint_test): Likewise.
14069         (lrint_test_tonearest): Likewise.
14070         (lrint_test_towardzero): Likewise.
14071         (lrint_test_downward): Likewise.
14072         (lrint_test_upward): Likewise.
14073         (llrint_test): Likewise.
14074         (llrint_test_tonearest): Likewise.
14075         (llrint_test_towardzero): Likewise.
14076         (llrint_test_downward): Likewise.
14077         (llrint_test_upward): Likewise.
14078         (log_test): Likewise.
14079         (log10_test): Likewise.
14080         (log1p_test): Likewise.
14081         (log2_test): Likewise.
14082         (logb_test): Likewise.
14083         (logb_test_downward): Likewise.
14084         (lround_test): Likewise.
14085         (llround_test): Likewise.
14086         (modf_test): Likewise.
14087         (nearbyint_test): Likewise.
14088         (nextafter_test): Likewise.
14089         (nexttoward_test): Likewise.
14090         (pow_test): Likewise.
14091         (pow_test_tonearest): Likewise.
14092         (pow_test_towardzero): Likewise.
14093         (pow_test_downward): Likewise.
14094         (pow_test_upward): Likewise.
14095         (remainder_test): Likewise.
14096         (drem_test): Likewise.
14097         (remainder_test_tonearest): Likewise.
14098         (drem_test_tonearest): Likewise.
14099         (remainder_test_towardzero): Likewise.
14100         (drem_test_towardzero): Likewise.
14101         (remainder_test_downward): Likewise.
14102         (drem_test_downward): Likewise.
14103         (remainder_test_upward): Likewise.
14104         (drem_test_upward): Likewise.
14105         (remquo_test): Likewise.
14106         (rint_test): Likewise.
14107         (rint_test_tonearest): Likewise.
14108         (rint_test_towardzero): Likewise.
14109         (rint_test_downward): Likewise.
14110         (rint_test_upward): Likewise.
14111         (round_test): Likewise.
14112         (scalb_test): Likewise.
14113         (scalbn_test): Likewise.
14114         (scalbln_test): Likewise.
14115         (signbit_test): Likewise.
14116         (sin_test): Likewise.
14117         (sin_test_tonearest): Likewise.
14118         (sin_test_towardzero): Likewise.
14119         (sin_test_downward): Likewise.
14120         (sin_test_upward): Likewise.
14121         (sincos_test): Likewise.
14122         (sinh_test): Likewise.
14123         (sinh_test_tonearest): Likewise.
14124         (sinh_test_towardzero): Likewise.
14125         (sinh_test_downward): Likewise.
14126         (sinh_test_upward): Likewise.
14127         (sqrt_test): Likewise.
14128         (sqrt_test_tonearest): Likewise.
14129         (sqrt_test_towardzero): Likewise.
14130         (sqrt_test_downward): Likewise.
14131         (sqrt_test_upward): Likewise.
14132         (tan_test): Likewise.
14133         (tan_test_tonearest): Likewise.
14134         (tan_test_towardzero): Likewise.
14135         (tan_test_downward): Likewise.
14136         (tan_test_upward): Likewise.
14137         (tanh_test): Likewise.
14138         (tgamma_test): Likewise.
14139         (trunc_test): Likewise.
14140         (y0_test): Likewise.
14141         (y1_test): Likewise.
14142         (yn_test): Likewise.
14143         (significand_test): Likewise.
14144
14145         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14146         individual tests in comment.
14147         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14148         (prev_max_error): New variable.
14149         (prev_real_max_error): Likewise.
14150         (prev_imag_max_error): Likewise.
14151         (compare_ulp_data): Don't refer to test names in comment.
14152         (find_test_ulps): Remove function.
14153         (find_function_ulps): Likewise.
14154         (find_complex_function_ulps): Likewise.
14155         (init_max_error): Take function name as argument.  Look up ulps
14156         for that function.
14157         (print_ulps): Remove function.
14158         (print_max_error): Use prev_max_error instead of calling
14159         find_function_ulps.
14160         (print_complex_max_error): Use prev_real_max_error and
14161         prev_imag_max_error instead of calling find_complex_function_ulps.
14162         (check_float_internal): Take max_ulp parameter instead of calling
14163         find_test_ulps.  Don't call print_ulps.
14164         (check_float): Update call to check_float_internal.
14165         (check_complex): Update calls to check_float_internal.
14166         (START): Pass argument to init_max_error.
14167         * math/gen-libm-test.pl (%results): Don't include "kind"
14168         information.
14169         (parse_ulps): Don't handle ulps of individual tests.
14170         (print_ulps_file): Likewise.
14171         (output_ulps): Likewise.
14172         * math/README.libm-test: Update.
14173         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14174         individual tests.
14175         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14176         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14177         * sysdeps/arm/libm-test-ulps: Likewise.
14178         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14179         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14180         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14181         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14182         * sysdeps/microblaze/libm-test-ulps: Likewise.
14183         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14184         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14185         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14186         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14187         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14188         * sysdeps/sh/libm-test-ulps: Likewise.
14189         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14190         * sysdeps/tile/libm-test-ulps: Likewise.
14191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14192
14193 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14194
14195         * math/libm-test.inc (print_complex_max_error): Check separately
14196         whether real and imaginary errors are within allowed range and
14197         pass 0 to print_complex_function_ulps instead of value within
14198         allowed range.
14199
14200 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201
14202         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14203         formatting.
14204         (get_handles_fopen): Likewise.
14205         (do_write_test): Likewise.
14206
14207         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14208
14209         * libio/fileops.c (do_ftell): Use cached offset when
14210         available.
14211         * libio/iofwide.c (do_ftell_wide): Likewise.
14212         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14213         _IO_file_attach.
14214         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14215
14216         [BZ #16532]
14217         * libio/libioP.h (get_file_offset): New function.
14218         * libio/fileops.c (get_file_offset): Likewise.
14219         (do_ftell): Likewise.
14220         (_IO_new_file_seekoff): Split out ftell logic.
14221         * libio/wfileops.c (do_ftell_wide): Likewise.
14222         (_IO_wfile_seekoff): Split out ftell logic.
14223         * libio/tst-ftell-active-handler.c: New test case.
14224         * libio/Makefile (tests): Add it.
14225
14226 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14227
14228         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14229         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14230
14231 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14232
14233         [BZ #16639]
14234         * nscd/connections.c (nscd_init): Call do_exit.
14235         (start_threads): Call do_exit and notify_parent.
14236         (begin_drop_privileges): Call do_exit.
14237         (finish_drop_privileges): Likewise.
14238         * nscd/selinux.c (preserve_capabilities): Likewise.
14239         (install_real_capabilities): Likewise.
14240         (nscd_selinux_enabled): Likewise.
14241         (avc_create_thread): Likewise.
14242         (avc_alloc_lock): Likewise.
14243         (nscd_avc_init): Likewise.
14244         * nscd/nscd.c (parent_fd): New static variable.
14245         (main): Create a pipe between parent and child processes.
14246         Skip closing parent_fd.
14247         (monitor_child): New function.
14248         (do_exit): Likewise.
14249         (notify_parent): Likewise.
14250         * nscd/nscd.h (notify_parent): Likewise.
14251         (do_exit): Likewise.
14252
14253 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14254
14255         * malloc/malloc.c (__libc_calloc): Revert last change.
14256
14257 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14258
14259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14260
14261 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14262
14263         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14265         implementation.
14266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14267         (__libc_ifunc_impl_list): Likewise.
14268         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14269         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14270         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14271         * string/strrchr.c: Define STRRCHR.
14272
14273 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14274
14275         * benchtest/bench-strtok.c (simple_strtok): Delete.
14276         (strtok_string): Use as benchmark.
14277         * string/strtok (STRTOK): New macro.
14278
14279 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14280
14281         * manual/threads.texi: Add header and standard comments to all
14282         functions.
14283
14284         * elf/dl-lookup.c (check_match): New function.
14285         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14286         (do_lookup_x): Remove nested function check_match. Use non-nested
14287         function check_match.
14288
14289 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14290
14291         * csu/Makefile (generated, before-compile): Use += rather than =.
14292         * catgets/Makefile (generated, generated-dirs): Likewise.
14293         * debug/Makefile (generated): Likewise.
14294         * dlfcn/Makefile (generated): Likewise.
14295         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14296         * iconvdata/Makefile (before-compile, generated): Likewise.
14297         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14298         * libio/Makefile (generated): Likewise.
14299         * malloc/Makefile (generated): Likewise.
14300         * manual/Makefile (generated, generated-dirs): Likewise.
14301         * misc/Makefile (generated): Likewise.
14302         * posix/Makefile (generated): Likewise.
14303         * resolv/Makefile (generated): Likewise.
14304         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14305         * timezone/Makefile (generated, generated-dirs): Likewise.
14306
14307         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14308
14309 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14310
14311         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14312         power8 implementation.
14313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14314         file: POWER8 llround ifunc implementation.
14315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14316         (__lllround): Add POWER8 implementation.
14317         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14318         POWER8 llround implementation.
14319
14320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14321         power8 implementation.
14322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14323         file: POWER8 llrint ifunc implementation.
14324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14325         Add POWER8 implementation.
14326         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14327         POWER8 llrint implementation.
14328
14329         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14330         power8 implementation.
14331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14332         file: POWER8 finite ifunc implementation.
14333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14334         Add POWER8 implementation.
14335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14336         Likewise.
14337         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14338         POWER8 finite implementation.
14339         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14340
14341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14342         power8 implementation.
14343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14344         file: POWER8 isinf ifunc implementation.
14345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14346         POWER8 implementation.
14347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14348         Likewise.
14349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14350         isinf implementation.
14351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14352
14353         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14354         (INIT_ARCH): Add hwcap2 initialization.
14355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14356         power8 implementation.
14357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14358         file: POWER8 isnan ifunc implementation.
14359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14360         POWER8 implementation.
14361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14362         Likewise.
14363         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14364         isnan implementation.
14365         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14366
14367 2014-02-27  Joey Ye  <joey.ye@arm.com>
14368
14369         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14370         (_FP_NANFRAC_Q): Set to zero.
14371
14372 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14373
14374         [BZ #16623]
14375         * math/auto-libm-test-in: New test inputs.
14376         * math/auto-libm-test-out: Regenerate.
14377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14378         and DA.
14379         (__cos): Likewise.
14380         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14381
14382 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14383
14384         * scripts/evaluate-test.sh: Take new argument indicating whether
14385         failure is expected.
14386         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14387         indicating whether failure is expected.
14388         * conform/Makefile (test-xfail-run-conformtest): New variable.
14389         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14390         level.
14391         * posix/Makefile (test-xfail-annexc): New variable.
14392         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14393
14394 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14395
14396         * argp/Makefile: Include Makeconfig immediately after defining
14397         subdir.
14398         * assert/Makefile: Likewise.
14399         * benchtests/Makefile: Likewise.
14400         * catgets/Makefile: Likewise.
14401         * conform/Makefile: Likewise.
14402         * crypt/Makefile: Likewise.
14403         * csu/Makefile: Likewise.
14404         (all): Remove target.
14405         * ctype/Makefile: Include Makeconfig immediately after defining
14406         subdir.
14407         * debug/Makefile: Likewise.
14408         * dirent/Makefile: Likewise.
14409         * dlfcn/Makefile: Likewise.
14410         * gmon/Makefile: Likewise.
14411         * gnulib/Makefile: Likewise.
14412         * grp/Makefile: Likewise.
14413         * gshadow/Makefile: Likewise.
14414         * hesiod/Makefile: Likewise.
14415         * hurd/Makefile: Likewise.
14416         (all): Remove target.
14417         * iconvdata/Makefile: Include Makeconfig immediately after
14418         defining subdir.
14419         * inet/Makefile: Likewise.
14420         * intl/Makefile: Likewise.
14421         * io/Makefile: Likewise.
14422         * libio/Makefile: Likewise.
14423         (all): Remove target.
14424         * locale/Makefile: Include Makeconfig immediately after defining
14425         subdir.
14426         * login/Makefile: Likewise.
14427         * mach/Makefile: Likewise.
14428         (all): Remove target.
14429         * malloc/Makefile: Include Makeconfig immediately after defining
14430         subdir.
14431         (all): Remove target.
14432         * manual/Makefile: Include Makeconfig immediately after defining
14433         subdir.
14434         * math/Makefile: Likewise.
14435         * misc/Makefile: Likewise.
14436         * nis/Makefile: Likewise.
14437         * nss/Makefile: Likewise.
14438         * po/Makefile: Likewise.
14439         (all): Remove target.
14440         * posix/Makefile: Include Makeconfig immediately after defining
14441         subdir.
14442         * pwd/Makefile: Likewise.
14443         * resolv/Makefile: Likewise.
14444         * resource/Makefile: Likewise.
14445         * rt/Makefile: Likewise.
14446         * setjmp/Makefile: Likewise.
14447         * shadow/Makefile: Likewise.
14448         * signal/Makefile: Likewise.
14449         * socket/Makefile: Likewise.
14450         * soft-fp/Makefile: Likewise.
14451         * stdio-common/Makefile: Likewise.
14452         * stdlib/Makefile: Likewise.
14453         * streams/Makefile: Likewise.
14454         * string/Makefile: Likewise.
14455         * sunrpc/Makefile: Likewise.
14456         (all): Remove target.
14457         * sysvipc/Makefile: Include Makeconfig immediately after defining
14458         subdir.
14459         * termios/Makefile: Likewise.
14460         * time/Makefile: Likewise.
14461         * timezone/Makefile: Likewise.
14462         (all): Remove target.
14463         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14464         subdir.
14465         * wctype/Makefile: Likewise.
14466
14467 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14468
14469         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14470         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14471         (libc_feholdexcept_setround_mips): Ditto.
14472         (libc_feholdsetround): New.
14473         (libc_feholdsetroundf): New.
14474         (libc_feholdsetroundl): New.
14475         (libc_feupdateenv_test_mips): New.
14476         (libc_feupdateenv_test): New.
14477         (libc_feupdateenv_testf): New.
14478         (libc_feupdateenv_testl): New.
14479         (libc_feresetround): New.
14480         (libc_feresetroundf): New.
14481         (libc_feresetroundl): New.
14482         (libc_fetestexcept_mips): New.
14483         (libc_fetestexcept): New.
14484         (libc_fetestexceptf): New.
14485         (libc_fetestexceptl): New.
14486         (HAVE_RM_CTX): New.
14487         (libc_feholdexcept_setround_mips_ctx): New.
14488         (libc_feholdexcept_setround_ctx): New.
14489         (libc_feholdexcept_setroundf_ctx): New.
14490         (libc_feholdexcept_setroundl_ctx): New.
14491         (libc_fesetenv_mips_ctx): New.
14492         (libc_fesetenv_ctx): New.
14493         (libc_fesetenv_ctxf): New.
14494         (libc_fesetenv_ctxl): New.
14495         (libc_feupdateenv_mips_ctx): New.
14496         (libc_feupdateenv_ctx): New.
14497         (libc_feupdateenvf_ctx): New.
14498         (libc_feupdateenvl_ctx): New.
14499         (libc_feholdsetround_mips_ctx): New.
14500         (libc_feholdsetround_ctx): New.
14501         (libc_feholdsetroundf_ctx): New.
14502         (libc_feholdsetroundl_ctx): New.
14503         (libc_feresetround_mips_ctx): New.
14504         (libc_feresetround_ctx): New.
14505         (libc_feresetroundf_ctx): New.
14506         (libc_feresetroundl_ctx): New.
14507
14508 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14509
14510         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14511
14512         * manual/ipc.texi: New file.
14513         * manual/Makefile (chapters): Add ipc.
14514         * manual/job.texi: Add "Inter-Process Communication" to next.
14515         * manual/process.texi: Add "Inter-Process Communication" to prev.
14516
14517 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14518
14519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14520
14521 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14522
14523         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14524
14525         * manual/arith.texi: Fix spaces after sentences.
14526         * manual/charset.texi: Likewise.
14527         * manual/errno.texi: Likewise.
14528         * manual/install.texi: Likewise.
14529         * manual/llio.texi: Likewise.
14530         * manual/locale.texi: Likewise.
14531         * manual/maint.texi: Likewise.
14532         * manual/math.texi: Likewise.
14533         * manual/memory.texi: Likewise.
14534         * manual/message.texi: Likewise.
14535         * manual/probes.texi: Likewise.
14536         * manual/resource.texi: Likewise.
14537         * manual/signal.texi: Likewise.
14538         * manual/socket.texi: Likewise.
14539         * manual/stdio.texi: Likewise.
14540         * manual/string.texi: Likewise.
14541         * manual/time.texi: Likewise.
14542         * manual/users.texi: Likewise.
14543
14544 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14545
14546         [BZ #16632]
14547         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14548         _DEFAULT_SOURCE is defined.
14549
14550 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14551             Carlos O'Donell  <carlos@redhat.com>
14552
14553         [BZ #16613]
14554         * elf/dl-tls.c (_dl_count_modids): New function.
14555         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14556         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14557         audit library and increment generation counter.
14558         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14559         * elf/tst-audit9.c: New file.
14560         * elf/tst-auditmod9a.c: New file.
14561         * elf/tst-auditmod9b.c: New file.
14562         * elf/Makefile: Add rules to build and run tst-audit9.
14563
14564 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14565
14566         [BZ #15347]
14567         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14568
14569 2014-02-25  Will Newton  <will.newton@linaro.org>
14570
14571         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14572         (__longjmp): Restore sp and lr before restoring callee
14573         saved registers.  Add longjmp and longjmp_target
14574         SystemTap probe point.
14575         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14576         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14577         Define to zero to match jmpbuf layout.
14578         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14579         (__sigsetjmp): Save sp and lr before saving callee
14580         saved registers.  Add setjmp SystemTap probe point.
14581
14582 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14583
14584         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14585
14586 2014-02-24  Andreas Schwab  <schwab@suse.de>
14587
14588         [BZ #15804]
14589         * elf/pldd.c (wait_for_ptrace_stop): New function.
14590         (main): Call it after attaching.
14591
14592 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14593
14594         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14595         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14596         Versions files is now verboten.
14597         * hurd/Versions (libc: GLIBC_2.0):
14598         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14599         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14600         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14601         * mach/Versions: Likewise.
14602
14603         * csu/Versions: Remove unused %include.
14604         * resolv/Versions: Likewise.
14605
14606 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14607
14608         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14609         ($(objpfx)check-local-headers.out): Likewise.
14610         ($(objpfx)begin-end-check.out): Likewise.
14611         * Makerules (check-abi-%.out): Likewise.
14612         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14613         ($(objpfx)test2.cat): Likewise.
14614         ($(objpfx)de/libc.cat): Likewise.
14615         ($(objpfx)test-gencat.out): Likewise.
14616         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14617         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14618         ($(objpfx)noload-mem): Likewise.
14619         ($(objpfx)tst-pathopt.out): Likewise.
14620         ($(objpfx)tst-rtld-load-self.out): Likewise.
14621         ($(objpfx)tst-array1-cmp.out): Likewise.
14622         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14623         ($(objpfx)tst-array2-cmp.out): Likewise.
14624         ($(objpfx)tst-array3-cmp.out): Likewise.
14625         ($(objpfx)tst-array4-cmp.out): Likewise.
14626         ($(objpfx)tst-array5-cmp.out): Likewise.
14627         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14628         ($(objpfx)check-textrel.out): Likewise.
14629         ($(objpfx)check-execstack.out): Likewise.
14630         ($(objpfx)check-localplt.out): Likewise.
14631         ($(objpfx)order2-cmp.out): Likewise.
14632         ($(objpfx)tst-leaks1-mem): Likewise.
14633         ($(objpfx)tst-leaks1-static-mem): Likewise.
14634         ($(objpfx)tst-initorder-cmp.out): Likewise.
14635         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14636         ($(objpfx)tst-unused-dep.out): Likewise.
14637         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14638         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14639         * iconv/Makefile (test-iconvconfig): Likewise.
14640         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14641         ($(objpfx)iconv-test.out): Likewise.
14642         ($(objpfx)tst-tables.out): Likewise.
14643         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14644         ($(objpfx)tst-gettext.out): Likewise.
14645         ($(objpfx)tst-translit.out): Likewise.
14646         ($(objpfx)tst-gettext2.out): Likewise.
14647         ($(objpfx)tst-gettext4.out): Likewise.
14648         ($(objpfx)tst-gettext6.out): Likewise.
14649         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14650         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14651         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14652         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14653         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14654         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14655         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14656         ($(objpfx)wordexp-tst.out): Likewise.
14657         ($(objpfx)annexc.out): Likewise.
14658         ($(objpfx)tst-fnmatch-mem): Likewise.
14659         ($(objpfx)bug-regex2-mem): Likewise.
14660         ($(objpfx)bug-regex14-mem): Likewise.
14661         ($(objpfx)bug-regex21-mem): Likewise.
14662         ($(objpfx)bug-regex31-mem): Likewise.
14663         ($(objpfx)tst-vfork3-mem): Likewise.
14664         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14665         ($(objpfx)tst-pcre-mem): Likewise.
14666         ($(objpfx)tst-boost-mem): Likewise.
14667         ($(objpfx)tst-getconf.out): Likewise.
14668         ($(objpfx)bug-ga2-mem): Likewise.
14669         ($(objpfx)bug-glob2-mem): Likewise.
14670         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14671         ($(objpfx)mtrace-tst-leaks2): Likewise.
14672         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14673         ($(objpfx)tst-printf.out): Likewise.
14674         ($(objpfx)tst-setvbuf1.out): Likewise.
14675         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14676         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14677         ($(objpfx)tst-fmtmsg.out): Likewise.
14678         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14679         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14680
14681         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14682         * bits/sigaction.h [__USE_MISC]: Likewise.
14683         * bits/waitstatus.h: Update #endif comments.
14684         * ctype/ctype.h: Likewise.
14685         * dirent/dirent.h: Likewise.
14686         [__USE_MISC]: Remove redundant conditionals.
14687         * grp/grp.h: Update #endif comments.
14688         [__USE_GNU]: Remove redundant conditionals.
14689         [__USE_MISC]: Likewise.
14690         * inet/netinet/in.h [__USE_GNU]: Likewise.
14691         * io/sys/stat.h [__USE_MISC]: Likewise.
14692         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14693         * libio/bits/stdio.h: Update #endif comments.
14694         [__USE_MISC]: Remove redundant conditionals.
14695         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14696         * libio/stdio.h: Update #endif comments.
14697         [__USE_MISC]: Remove redundant conditionals.
14698         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14699         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14700         * math/math.h: Update #else and #endif comments.
14701         [__USE_MISC]: Remove redundant conditionals.
14702         * misc/sys/uio.h: Update #endif comments.
14703         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14704         * posix/glob.h [__USE_MISC]: Likewise.
14705         * posix/sys/types.h: Update #endif comments.
14706         [__USE_MISC]: Remove redundant conditionals.
14707         * posix/sys/wait.h: Update #endif comments.
14708         [__USE_MISC]: Remove redundant conditionals.
14709         * posix/unistd.h: Update #endif comments.
14710         [__USE_MISC]: Remove redundant conditionals.
14711         * pwd/pwd.h [__USE_GNU]: Likewise.
14712         [__USE_MISC]: Likewise.
14713         * resolv/netdb.h [__USE_GNU]: Likewise.
14714         * signal/signal.h: Update #endif comments.
14715         [__USE_MISC]: Remove redundant conditionals.
14716         * stdlib/stdlib.h: Update #else and #endif comments.
14717         [__USE_MISC]: Remove redundant conditionals.
14718         [__USE_GNU]: Likewise.
14719         * string/bits/string2.h [__USE_MISC]: Likewise.
14720         * string/string.h: Update #endif comments.
14721         [__USE_MISC]: Remove redundant conditionals.
14722         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14723         Likewise.
14724         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14725         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14726         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14727         Likewise.
14728         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14729         Likewise.
14730         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14731         comments.
14732         [__USE_MISC]: Remove redundant conditionals.
14733         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14734         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14735         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14736         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14737         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14738         Likewise.
14739         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14740         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14743         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14744         Likewise.
14745         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14746         Likewise.
14747         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14748         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14749         Likewise.
14750         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14751         Likewise.
14752         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14753         * sysdeps/x86/bits/string.h: Update #endif comments.
14754         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14755         conditionals.
14756         * time/sys/time.h: Update #endif comments.
14757         * time/time.h: Likewise.
14758         [__USE_MISC]: Remove redundant conditionals.
14759
14760 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14761
14762         [BZ #16600]
14763         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14764
14765 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14766
14767         * Versions.def (librt): Add GLIBC_2.17.
14768
14769 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14770
14771         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14772         synonym for _SYS_AUXV_H to allow direct inclusion.
14773         * sysdeps/sparc/bits/hwcap.h: Likewise.
14774         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14775         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14776         * sysdeps/sparc/sysdep.h: Likewise.
14777
14778 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14779
14780         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14781
14782 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14783
14784         * benchtests/bench-strrchr.c: Print length instead of position.
14785
14786 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14787
14788         [BZ #16611]
14789         * sysdeps/unix/sysv/linux/kernel-features.h
14790         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14791         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14792         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14793         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14794         Likewise.
14795         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14796         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14797         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14798         (__ASSUME_SENDMMSG): Define instead of using previous
14799         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14800         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14801         (__ASSUME_SENDMMSG_SYSCALL): Define.
14802         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14803         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14804         Likewise.
14805         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14806         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14807         Likewise.
14808         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14809         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14810         Likewise.
14811         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14812         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14813         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14814         [__ASSUME_SENDMMSG]: Change conditionals to
14815         [__ASSUME_SENDMMSG_SOCKETCALL].
14816         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14817         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14818         Define.
14819         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14820         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14821         Likewise.
14822         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14823         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14824         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14825         [!__ASSUME_SENDMMSG]: Change conditional to
14826         [!__ASSUME_SENDMMSG_SOCKETCALL].
14827         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14828         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14829         Define.
14830
14831         [BZ #16610]
14832         * sysdeps/unix/sysv/linux/kernel-features.h
14833         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14834         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14835         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14836         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14837         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14838         [__i386__ || __sparc__]
14839         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14840         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14841         (__ASSUME_RECVMMSG): Define instead of using previous
14842         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14843         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14844         (__ASSUME_RECVMMSG_SYSCALL): Define.
14845         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14846         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14847         Likewise.
14848         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14849         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14850         Likewise.
14851         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14852         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14853         Likewise.
14854         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14855         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14856         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14857         [__ASSUME_RECVMMSG]: Change condition to
14858         [__ASSUME_RECVMMSG_SOCKETCALL].
14859         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14860         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14861         Define.
14862         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14863         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14865         Likewise.
14866         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14867         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14868         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14869         [!__ASSUME_RECVMMSG]: Change condition to
14870         [!__ASSUME_RECVMMSG_SOCKETCALL].
14871         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14872         (__ASSUME_RECVMMSG_SYSCALL): Define.
14873
14874         [BZ #16609]
14875         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14876         __powerpc__ || __s390__ || __sh__ || __sparc__]
14877         (__ASSUME_SOCKETCALL): Define.
14878         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14879         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14880         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14881         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14882         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14883         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14884         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14885         (__ASSUME_ACCEPT4): Define instead of using previous
14886         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14887         __powerpc__ || __sparc__ || __s390__)] condition.
14888         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14889         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14890         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14891         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14892         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14893         [!__ASSUME_ACCEPT4]: Change condition to
14894         [!__ASSUME_ACCEPT4_SOCKETCALL].
14895         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14896         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14897         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14898         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14899         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14900         __ASSUME_ACCEPT4_SYSCALL.
14901         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14902         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14903         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14904         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14905         __ASSUME_ACCEPT4_SYSCALL.
14906         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14907         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14908         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14909         [__ASSUME_ACCEPT4]: Change condition to
14910         [__ASSUME_ACCEPT4_SOCKETCALL].
14911         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14912         (__ASSUME_SOCKETCALL): Define.
14913         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14915         (__ASSUME_SOCKETCALL): Define.
14916         (__ASSUME_ACCEPT4): Remove.
14917         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14918         Define.
14919         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14920         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14921         Likewise.
14922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14923         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14924
14925         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14926         macro.
14927         (HWCAP_ARM_LPAE): Likewise.
14928         (HWCAP_ARM_EVTSTRM): Likewise.
14929         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14930         Add vpfd32, lpae and evtstrm.
14931         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14932         Increase to 22.
14933
14934 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14935
14936         * math/auto-libm-test-in: Add tests of clog10.
14937         * math/auto-libm-test-out: Regenerated.
14938         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14939         * sysdeps/i386/fpu/libm-test-ulps: Update.
14940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14941
14942 2014-02-18  Andreas Schwab  <schwab@suse.de>
14943
14944         [BZ #16574]
14945         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14946         Store non-zero if the second buffer was newly allocated.
14947         (send_dg): Likewise.
14948         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14949         to send_vc and send_dg.
14950         (res_nsend): Pass NULL for ansp2_malloced.
14951         * resolv/res_query.c (__libc_res_nquery): Add parameter
14952         answerp2_malloced and pass it down to __libc_res_nsend.
14953         (res_nquery): Pass additional NULL to __libc_res_nquery.
14954         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14955         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14956         second answer buffer if answerp2_malloced was set.
14957         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14958         (__libc_res_nquerydomain): Add parameter
14959         answerp2_malloced and pass it down to __libc_res_nquery.
14960         (res_nquerydomain): Pass additional NULL to
14961         __libc_res_nquerydomain.
14962         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14963         additional NULL to __libc_res_nsend and __libc_res_nquery.
14964         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14965         additional NULL to __libc_res_nsearch.
14966         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14967         parameter of __libc_res_nsearch to check for separately allocated
14968         second buffer.
14969         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14970         __libc_res_nquery.
14971         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14972         additional NULL to __libc_res_nquery.
14973         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14974         __libc_res_nsearch.
14975         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14976         * include/resolv.h: Update prototypes of __libc_res_nquery,
14977         __libc_res_nsearch, __libc_res_nsend.
14978
14979 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14980
14981         * math/auto-libm-test-in: Add tests of fma.
14982         * math/auto-libm-test-out: Regenerated.
14983         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14984         (fma_towardzero_test_data): Likewise.
14985         (fma_downward_test_data): Likewise.
14986         (fma_upward_test_data): Likewise.
14987         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14988         mpc_mode.
14989         (rounding_modes): Add values for new field.
14990         (func_calc_method): Add value mpfr_fff_f.
14991         (func_calc_desc): Add mpfr_fff_f union field.
14992         (test_function): Add field exact_args.
14993         (FUNC): Add macro argument EXACT_ARGS.
14994         (FUNC_mpfr_f_f): Update call to FUNC.
14995         (FUNC_mpfr_f_f): Likewise.
14996         (FUNC_mpfr_ff_f): Likewise.
14997         (FUNC_mpfr_if_f): Likewise.
14998         (FUNC_mpc_c_f): Likewise.
14999         (FUNC_mpc_c_c): Likewise.
15000         (test_functions): Add fma.  Update calls to FUNC.
15001         (handle_input_arg): Add argument exact_args.
15002         (add_test): Update call to handle_input_arg.
15003         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15004         (output_for_one_input_case): Update call to calc_generic_results.
15005         Recalculate exact zero results in each rounding mode.
15006
15007         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15008         non-negative before setting low bit.
15009         * math/auto-libm-test-in: Mark one asin test possibly having
15010         spurious underflow.
15011         * math/auto-libm-test-out: Regenerated.
15012         * sysdeps/i386/fpu/libm-test-ulps: Update.
15013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15014
15015 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15016
15017         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15018         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15019         ports/sysdeps/unix/sysv/linux/microblaze.
15020         * README: Add missing listing for microblaze*-*-linux-gnu.
15021
15022 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15023
15024         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15025         duplicate code
15026
15027 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15028
15029         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15030         * sysdeps/unix/sysv/linux/ia64: Move directory from
15031         ports/sysdeps/unix/sysv/linux/ia64.
15032         * README: Update listing for ia64-*-linux-gnu.
15033
15034 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15035             Joseph Myers  <joseph@codesourcery.com>
15036
15037         * Makeconfig (test-name): New variable.
15038         (evaluate-test): Likewise.
15039         * Makerules (do-test-clean): Remove .test-result files.
15040         (common-mostlyclean): Likewise.
15041         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15042         * scripts/evaluate-test.sh: New file.
15043
15044 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15045
15046         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15047         separate $(objpfx)tst-fopenloc-cmp.out and
15048         $(objpfx)tst-fopenloc-mem.out targets.
15049         (tests): Update dependencies.
15050         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15051         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15052         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15053         (tst-rxspencer-no-utf8-ARGS): New variable.
15054         (tst-rxspencer-no-utf8-ENV): Likewise.
15055         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15056         instead of $(objpfx)tst-rxspencer-mem.
15057         ($(objpfx)tst-rxspencer-mem): Change target to
15058         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15059         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15060         * posix/tst-rxspencer-no-utf8.c: New file.
15061
15062         * elf/Makefile ($(objpfx)order.out): Remove rule.
15063         [$(run-built-tests) = yes] (tests): Depend on
15064         $(objpfx)order-cmp.out.
15065         ($(objpfx)order-cmp.out): New rule.
15066         [$(run-built-tests) = yes] (tests): Depend on
15067         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15068         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15069         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15070         $(objpfx)tst-array5-static-cmp.out.
15071         ($(objpfx)tst-array1.out): Remove rule.
15072         ($(objpfx)tst-array1-cmp.out): New rule.
15073         ($(objpfx)tst-array1-static.out): Remove rule.
15074         ($(objpfx)tst-array1-static-cmp.out): New rule.
15075         ($(objpfx)tst-array2.out): Remove rule.
15076         ($(objpfx)tst-array2-cmp.out): New rule.
15077         ($(objpfx)tst-array3.out): Remove rule.
15078         ($(objpfx)tst-array3-cmp.out): New rule.
15079         ($(objpfx)tst-array4.out): Remove rule.
15080         ($(objpfx)tst-array4-cmp.out): New rule.
15081         ($(objpfx)tst-array5.out): Remove rule.
15082         ($(objpfx)tst-array5-cmp.out): New rule.
15083         ($(objpfx)tst-array5-static.out): Remove rule.
15084         ($(objpfx)tst-array5-static-cmp.out): New rule.
15085         [$(run-built-tests) = yes] (tests): Depend on
15086         $(objpfx)order2-cmp.out.
15087         ($(objpfx)order2.out): Remove rule.
15088         ($(objpfx)order2-cmp.out): New rule.
15089         ($(objpfx)tst-initorder.out): Remove rule.
15090         [$(run-built-tests) = yes] (tests): Depend on
15091         $(objpfx)tst-initorder-cmp.out.
15092         ($(objpfx)tst-initorder-cmp.out): New rule.
15093         ($(objpfx)tst-initorder2.out): Remove rule.
15094         [$(run-built-tests) = yes] (tests): Depend on
15095         $(objpfx)tst-initorder2-cmp.out.
15096         ($(objpfx)tst-initorder2-cmp.out): New rule.
15097         [$(run-built-tests) = yes] (tests): Depend on
15098         $(objpfx)tst-unused-dep-cmp.out.
15099         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15100         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15101         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15102         on $(objpfx)tst-setvbuf1-cmp.out.
15103         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15104         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15105         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15106         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15107         ($(objpfx)tst-svc.out): Remove rule.
15108         ($(objpfx)tst-svc-cmp.out): New rule.
15109
15110 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15111
15112         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15113         * ctype/ctype.h [__USE_MISC]: Likewise.
15114         * dirent/dirent.h [__USE_MISC]: Likewise.
15115         * grp/grp.h [__USE_MISC]: Likewise.
15116         * io/fcntl.h [__USE_MISC]: Likewise.
15117         * io/sys/stat.h [__USE_MISC]: Likewise.
15118         * libio/stdio.h [__USE_MISC]: Likewise.
15119         * posix/unistd.h [__USE_MISC]: Likewise.
15120         * pwd/pwd.h [__USE_MISC]: Likewise.
15121         * stdlib.h [__USE_MISC]: Likewise.
15122         * string/bits/string2.h [__USE_MISC]: Likewise.
15123         * string/string.h [__USE_MISC]: Likewise.
15124         * time/time.h [__USE_MISC]: Likewise.
15125
15126 2014-02-13  Andreas Schwab  <schwab@suse.de>
15127
15128         [BZ #16574]
15129         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15130         second answer buffer if it was separately allocated.
15131
15132 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15133
15134         * sysdeps/mips/math-tests.h: Include <features.h>.
15135         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15136         (ROUNDING_TESTS_long_double): Do not define.
15137         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15138         (EXCEPTION_TESTS_long_double): Likewise.
15139         * sysdeps/mips/mips64/libm-test-ulps: Update.
15140
15141         * include/features.h (__USE_BSD): Remove macro definitions.
15142         (__USE_SVID): Likewise.
15143         (_BSD_SOURCE): Likewise.
15144         (_SVID_SOURCE): Likewise.
15145         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15146         from definition of _DEFAULT_SOURCE.
15147         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15148         [_DEFAULT_SOURCE].
15149         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15150         * bits/mman.h [__USE_BSD]: Likewise.
15151         * bits/termios.h [__USE_BSD]: Likewise.
15152         * bits/waitstatus.h [__USE_BSD]: Likewise.
15153         * ctype/ctype.h [__USE_SVID]: Likewise.
15154         * dirent/dirent.h [__USE_BSD]: Likewise.
15155         * grp/grp.h [__USE_SVID]: Likewise.
15156         [__USE_BSD]: Likewise.
15157         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15158         * io/fcntl.h [__USE_BSD]: Likewise.
15159         * io/ftw.h [__USE_BSD]: Likewise.
15160         * io/sys/stat.h [__USE_BSD]: Likewise.
15161         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15162         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15163         * libio/stdio.h [__USE_SVID]: Likewise.
15164         [__USE_BSD]: Likewise.
15165         * math/math.h [__USE_SVID]: Likewise.
15166         [__USE_BSD]: Likewise.
15167         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15168         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15169         * misc/search.h [__USE_SVID]: Likewise.
15170         * misc/sys/mman.h [__USE_BSD]: Likewise.
15171         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15172         * misc/sys/uio.h [__USE_BSD]: Likewise.
15173         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15174         * posix/glob.h [__USE_BSD]: Likewise.
15175         * posix/regex.h [__USE_BSD]: Likewise.
15176         * posix/sys/types.h [__USE_BSD]: Likewise.
15177         [__USE_SVID]: Likewise.
15178         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15179         * posix/sys/wait.h [__USE_BSD]: Likewise.
15180         [__USE_SVID]: Likewise.
15181         * posix/unistd.h [__USE_BSD]: Likewise.
15182         [__USE_SVID]: Likewise.
15183         * pwd/pwd.h [__USE_SVID]: Likewise.
15184         * resolv/netdb.h [__USE_BSD]: Likewise.
15185         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15186         * signal/signal.h [__USE_BSD]: Likewise.
15187         [__USE_SVID]: Likewise.
15188         * socket/sys/socket.h [__USE_BSD]: Likewise.
15189         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15190         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15191         [__USE_SVID]: Likewise.
15192         * string/bits/string2.h [__USE_BSD]: Likewise.
15193         [__USE_SVID]: Likewise.
15194         * string/bits/string3.h [__USE_BSD]: Likewise.
15195         * string/endian.h [__USE_BSD]: Likewise.
15196         * string/string.h [__USE_SVID]: Likewise.
15197         [__USE_BSD]: Likewise.
15198         * string/strings.h [__USE_BSD]: Likewise.
15199         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15200         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15201         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15202         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15203         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15204         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15205         Likewise.
15206         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15207         Likewise.
15208         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15209         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15210         Likewise.
15211         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15212         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15213         Likewise.
15214         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15215         Likewise.
15216         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15217         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15218         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15219         Likewise.
15220         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15221         Likewise.
15222         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15223         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15224         * termios/termios.h [__USE_BSD]: Likewise.
15225         * time/sys/time.h [__USE_BSD]: Likewise.
15226         * time/time.h [__USE_BSD]: Likewise.
15227         [__USE_SVID]: Likewise.
15228
15229         * Makefile (subdir_targets): Remove subdir_lint.out.
15230
15231         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15232         (do-tst-printf): Likewise.
15233         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15234         $(objpfx)tst-printf.out.
15235
15236         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15237
15238         * Makerules (check-abi-%): Change target to
15239         $(objpfx)check-abi-%.out.
15240         (check-abi target): Update dependencies.
15241         (check-abi-pattern variable): Redirect output of diff to $@.
15242         (check-abi variable): Likewise.
15243         * elf/Makefile (check-abi): Update dependencies.
15244
15245         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15246         unused.
15247         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15248         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15249         subnormal range.
15250         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15251         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15252         value has largest subnormal exponent.
15253         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15254         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15255         * sysdeps/aarch64/soft-fp/sfp-machine.h
15256         (_FP_TININESS_AFTER_ROUNDING): New macro.
15257         * sysdeps/alpha/soft-fp/sfp-machine.h
15258         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15259         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15260         Likewise.
15261         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15262         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15263         * sysdeps/mips/soft-fp/sfp-machine.h
15264         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15265         * sysdeps/powerpc/soft-fp/sfp-machine.h
15266         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15267         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15268         Likewise.
15269         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15270         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15271         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15272         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15273         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15274         Likewise.
15275
15276 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15277
15278         [BZ #16545]
15279         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15280         model 1.
15281
15282 2014-02-12  Richard Henderson  <rth@redhat.com>
15283
15284         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15285         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15286         * sysdeps/unix/sysv/linux/alpha: Move directory from
15287         ports/sysdeps/unix/sysv/linux/alpha.
15288         * README: Update listing for alpha-*-linux-gnu.
15289
15290 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15291
15292         * include/features.h: Update comment documenting feature test
15293         macros.
15294         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15295         _DEFAULT_SOURCE.
15296         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15297         (_SVID_SOURCE): Likewise.
15298         (_DEFAULT_SOURCE): Update description of default features.
15299         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15300         with _GNU_SOURCE.
15301         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15302         (S_ISVTX): Likewise.
15303         * manual/math.texi (Mathematical Constants): Likewise.
15304         * manual/signal.texi (Interrupted Primitives): Likewise.
15305         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15306         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15307         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15308         Don't refer to _SVID_SOURCE in warning text.
15309
15310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15311
15312         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15313         already defined.
15314         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15315         * sysdeps/mips/dl-lookup.c: Remove.
15316         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15317
15318 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15319
15320         [BZ #16447]
15321         * math/auto-libm-test-in: Add testcase for expl.
15322         * math/auto-libm-test-out: Regenerate.
15323         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15324         calculation of unsafe.
15325         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15326
15327 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15328
15329         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15330         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15331         ports/sysdeps/unix/sysv/linux/aarch64.
15332         * README: Update listing for aarch64*-*-linux-gnu.
15333
15334 2014-02-11  Will Newton  <will.newton@linaro.org>
15335
15336         * manual/probes.texi (Mathematical Function Probes): Use
15337         "triggered" instead of "hit".
15338
15339         * manual/probes.texi (Internal Probes): Add documentation
15340         of setjmp, longjmp and longjmp_target probes.
15341
15342         * include/stap-probe.h: Add comment about probe argument
15343         format.
15344
15345         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15346         definition.  (tr_where, tr_freehook, tr_mallochook,
15347         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15348
15349 2014-02-11  David S. Miller  <davem@davemloft.net>
15350
15351         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15352         processing int_tests.
15353
15354 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15355
15356         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15357         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15358         * sysdeps/unix/sysv/linux/mips: Move directory from
15359         ports/sysdeps/unix/sysv/linux/mips.
15360         * README: Update listing for mips-*-linux-gnu and
15361         mips64-*-linux-gnu.
15362
15363 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15364
15365         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15366         * sysdeps/unix/sysv/linux/m68k: Move directory from
15367         ports/sysdeps/unix/sysv/linux/m68k.
15368         * README: Update listing for m68k-*-linux-gnu.
15369
15370 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15371
15372         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15373         * sysdeps/unix/sysv/linux/generic: Move directory from
15374         ports/sysdeps/unix/sysv/linux/generic.
15375         * sysdeps/unix/sysv/linux/tile: Move directory from
15376         ports/sysdeps/unix/sysv/linux/tile.
15377         * README: Update listing for tile*-*-linux-gnu.
15378
15379 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15380
15381         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15382         __builtin_expect.
15383         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15384         * catgets/open_catalog.c (__open_catalog): Likewise.
15385         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15386         * debug/confstr_chk.c: Likewise.
15387         * debug/fread_chk.c (__fread_chk): Likewise.
15388         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15389         * debug/getgroups_chk.c: Likewise.
15390         * debug/mbsnrtowcs_chk.c: Likewise.
15391         * debug/mbsrtowcs_chk.c: Likewise.
15392         * debug/mbstowcs_chk.c: Likewise.
15393         * debug/memcpy_chk.c: Likewise.
15394         * debug/memmove_chk.c: Likewise.
15395         * debug/mempcpy_chk.c: Likewise.
15396         * debug/memset_chk.c: Likewise.
15397         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15398         * debug/strcat_chk.c (__strcat_chk): Likewise.
15399         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15400         * debug/strncat_chk.c (__strncat_chk): Likewise.
15401         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15402         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15403         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15404         * debug/wcpncpy_chk.c: Likewise.
15405         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15406         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15407         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15408         * debug/wcsncpy_chk.c: Likewise.
15409         * debug/wcsnrtombs_chk.c: Likewise.
15410         * debug/wcsrtombs_chk.c: Likewise.
15411         * debug/wcstombs_chk.c: Likewise.
15412         * debug/wmemcpy_chk.c: Likewise.
15413         * debug/wmemmove_chk.c: Likewise.
15414         * debug/wmempcpy_chk.c: Likewise.
15415         * debug/wmemset_chk.c: Likewise.
15416         * dirent/scandirat.c (SCANDIRAT): Likewise.
15417         * dlfcn/dladdr1.c (dladdr1): Likewise.
15418         * dlfcn/dladdr.c (dladdr): Likewise.
15419         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15420         * dlfcn/dlerror.c (__dlerror): Likewise.
15421         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15422         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15423         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15424         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15425         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15426         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15427         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15428         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15429         Likewise.
15430         * elf/dl-conflict.c: Likewise.
15431         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15432         * elf/dl-dst.h: Likewise.
15433         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15434         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15435         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15436         * elf/dl-init.c (call_init, _dl_init): Likewise.
15437         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15438         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15439         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15440         Likewise.
15441         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15442         Likewise.
15443         * elf/dl-minimal.c (__libc_memalign): Likewise.
15444         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15445         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15446         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15447         * elf/dl-sym.c (do_sym): Likewise.
15448         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15449         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15450         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15451         * elf/dl-writev.h (_dl_writev): Likewise.
15452         * elf/ldconfig.c (search_dir): Likewise.
15453         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15454         (dl_main): Likewise.
15455         * elf/setup-vdso.h (setup_vdso): Likewise.
15456         * grp/compat-initgroups.c (compat_call): Likewise.
15457         * grp/fgetgrent.c (fgetgrent): Likewise.
15458         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15459         * grp/putgrent.c (putgrent): Likewise.
15460         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15461         Likewise.
15462         * hurd/hurdinit.c: Likewise.
15463         * iconvdata/8bit-gap.c (struct): Likewise.
15464         * iconvdata/ansi_x3.110.c : Likewise.
15465         * iconvdata/big5.c : Likewise.
15466         * iconvdata/big5hkscs.c : Likewise.
15467         * iconvdata/cp1255.c: Likewise.
15468         * iconvdata/cp1258.c : Likewise.
15469         * iconvdata/cp932.c : Likewise.
15470         * iconvdata/euc-cn.c: Likewise.
15471         * iconvdata/euc-jisx0213.c : Likewise.
15472         * iconvdata/euc-jp.c: Likewise.
15473         * iconvdata/euc-jp-ms.c : Likewise.
15474         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15475         * iconvdata/gb18030.c : Likewise.
15476         * iconvdata/gbbig5.c (const): Likewise.
15477         * iconvdata/gbgbk.c: Likewise.
15478         * iconvdata/gbk.c : Likewise.
15479         * iconvdata/ibm1364.c : Likewise.
15480         * iconvdata/ibm930.c : Likewise.
15481         * iconvdata/ibm932.c: Likewise.
15482         * iconvdata/ibm933.c : Likewise.
15483         * iconvdata/ibm935.c : Likewise.
15484         * iconvdata/ibm937.c : Likewise.
15485         * iconvdata/ibm939.c : Likewise.
15486         * iconvdata/ibm943.c: Likewise.
15487         * iconvdata/iso_11548-1.c: Likewise.
15488         * iconvdata/iso-2022-cn.c : Likewise.
15489         * iconvdata/iso-2022-cn-ext.c : Likewise.
15490         * iconvdata/iso-2022-jp-3.c: Likewise.
15491         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15492         * iconvdata/iso-2022-kr.c : Likewise.
15493         * iconvdata/iso646.c (gconv_end): Likewise.
15494         * iconvdata/iso_6937-2.c : Likewise.
15495         * iconvdata/iso_6937.c : Likewise.
15496         * iconvdata/iso8859-1.c: Likewise.
15497         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15498         * iconvdata/shift_jisx0213.c : Likewise.
15499         * iconvdata/sjis.c : Likewise.
15500         * iconvdata/t.61.c : Likewise.
15501         * iconvdata/tcvn5712-1.c : Likewise.
15502         * iconvdata/tscii.c: Likewise.
15503         * iconvdata/uhc.c : Likewise.
15504         * iconvdata/unicode.c (gconv_end): Likewise.
15505         * iconvdata/utf-16.c (gconv_end): Likewise.
15506         * iconvdata/utf-32.c (gconv_end): Likewise.
15507         * iconvdata/utf-7.c (base64): Likewise.
15508         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15509         * iconv/gconv_close.c (__gconv_close): Likewise.
15510         * iconv/gconv_open.c (__gconv_open): Likewise.
15511         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15512         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15513         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15514         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15515         (ucs4le_internal_loop_single): Likewise.
15516         * iconv/iconv.c (iconv): Likewise.
15517         * iconv/iconv_close.c: Likewise.
15518         * iconv/loop.c (SINGLE): Likewise.
15519         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15520         * include/atomic.h: Likewise.
15521         * inet/inet6_option.c (option_alloc): Likewise.
15522         * intl/bindtextdom.c (set_binding_values): Likewise.
15523         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15524         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15525         * intl/localealias.c (read_alias_file): Likewise.
15526         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15527         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15528         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15529         * libio/fmemopen.c (fmemopen): Likewise.
15530         * libio/iofgets.c (_IO_fgets): Likewise.
15531         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15532         * libio/iofgetws.c (fgetws): Likewise.
15533         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15534         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15535         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15536         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15537         * locale/findlocale.c (_nl_find_locale): Likewise.
15538         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15539         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15540         Likewise.
15541         * locale/setlocale.c (setlocale): Likewise.
15542         * login/programs/pt_chown.c (main): Likewise.
15543         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15544         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15545         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15546         (mmap, mmap64, mremap, munmap): Likewise.
15547         * math/e_exp2l.c: Likewise.
15548         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15549         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15550         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15551         * math/s_catan.c (__catan): Likewise.
15552         * math/s_catanf.c (__catanf): Likewise.
15553         * math/s_catanh.c (__catanh): Likewise.
15554         * math/s_catanhf.c (__catanhf): Likewise.
15555         * math/s_catanhl.c (__catanhl): Likewise.
15556         * math/s_catanl.c (__catanl): Likewise.
15557         * math/s_ccosh.c (__ccosh): Likewise.
15558         * math/s_ccoshf.c (__ccoshf): Likewise.
15559         * math/s_ccoshl.c (__ccoshl): Likewise.
15560         * math/s_cexp.c (__cexp): Likewise.
15561         * math/s_cexpf.c (__cexpf): Likewise.
15562         * math/s_cexpl.c (__cexpl): Likewise.
15563         * math/s_clog10.c (__clog10): Likewise.
15564         * math/s_clog10f.c (__clog10f): Likewise.
15565         * math/s_clog10l.c (__clog10l): Likewise.
15566         * math/s_clog.c (__clog): Likewise.
15567         * math/s_clogf.c (__clogf): Likewise.
15568         * math/s_clogl.c (__clogl): Likewise.
15569         * math/s_csin.c (__csin): Likewise.
15570         * math/s_csinf.c (__csinf): Likewise.
15571         * math/s_csinh.c (__csinh): Likewise.
15572         * math/s_csinhf.c (__csinhf): Likewise.
15573         * math/s_csinhl.c (__csinhl): Likewise.
15574         * math/s_csinl.c (__csinl): Likewise.
15575         * math/s_csqrt.c (__csqrt): Likewise.
15576         * math/s_csqrtf.c (__csqrtf): Likewise.
15577         * math/s_csqrtl.c (__csqrtl): Likewise.
15578         * math/s_ctan.c (__ctan): Likewise.
15579         * math/s_ctanf.c (__ctanf): Likewise.
15580         * math/s_ctanh.c (__ctanh): Likewise.
15581         * math/s_ctanhf.c (__ctanhf): Likewise.
15582         * math/s_ctanhl.c (__ctanhl): Likewise.
15583         * math/s_ctanl.c (__ctanl): Likewise.
15584         * math/w_pow.c: Likewise.
15585         * math/w_powf.c: Likewise.
15586         * math/w_powl.c: Likewise.
15587         * math/w_scalb.c (sysv_scalb): Likewise.
15588         * math/w_scalbf.c (sysv_scalbf): Likewise.
15589         * math/w_scalbl.c (sysv_scalbl): Likewise.
15590         * misc/error.c (error_tail): Likewise.
15591         * misc/pselect.c (__pselect): Likewise.
15592         * nis/nis_callback.c (__nis_create_callback): Likewise.
15593         * nis/nis_call.c (__nisfind_server): Likewise.
15594         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15595         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15596         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15597         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15598         * nis/nis_lookup.c (nis_lookup): Likewise.
15599         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15600         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15601         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15602         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15603         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15604         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15605         * nis/nss_compat/compat-initgroups.c (add_group)
15606         (internal_getgrent_r): Likewise.
15607         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15608         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15609         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15610         (internal_getspnam_r): Likewise.
15611         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15612         (_nss_nis_getaliasbyname_r): Likewise.
15613         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15614         (_nss_nis_getntohost_r): Likewise.
15615         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15616         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15617         (_nss_nis_getgrgid_r): Likewise.
15618         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15619         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15620         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15621         (_nss_nis_gethostbyname4_r): Likewise.
15622         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15623         (initgroups_netid): Likewise.
15624         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15625         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15626         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15627         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15628         (_nss_nis_getprotobynumber_r): Likewise.
15629         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15630         (_nss_nis_getsecretkey): Likewise.
15631         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15632         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15633         (_nss_nis_getpwuid_r): Likewise.
15634         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15635         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15636         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15637         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15638         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15639         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15640         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15641         Likewise.
15642         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15643         (_nss_nisplus_getntohost_r): Likewise.
15644         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15645         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15646         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15647         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15648         Likewise.
15649         * nis/nss_nisplus/nisplus-initgroups.c
15650         (_nss_nisplus_initgroups_dyn): Likewise.
15651         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15652         (_nss_nisplus_getnetbyaddr_r): Likewise.
15653         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15654         (_nss_nisplus_getprotobynumber_r): Likewise.
15655         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15656         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15657         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15658         Likewise.
15659         * nis/nss_nisplus/nisplus-service.c
15660         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15661         (_nss_nisplus_getservbyport_r): Likewise.
15662         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15663         (_nss_nisplus_getspnam_r): Likewise.
15664         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15665         Likewise.
15666         * nscd/aicache.c (addhstaiX): Likewise.
15667         * nscd/cache.c (cache_search, prune_cache): Likewise.
15668         * nscd/connections.c (register_traced_file, send_ro_fd)
15669         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15670         (main_loop_epoll): Likewise.
15671         * nscd/grpcache.c (addgrbyX): Likewise.
15672         * nscd/hstcache.c (addhstbyX): Likewise.
15673         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15674         * nscd/mem.c (gc, mempool_alloc): Likewise.
15675         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15676         (addinnetgrX): Likewise.
15677         * nscd/nscd-client.h (__nscd_acquire_maplock)
15678         (__nscd_drop_map_ref): Likewise.
15679         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15680         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15681         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15682         Likewise.
15683         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15684         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15685         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15686         (__nscd_get_map_ref): Likewise.
15687         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15688         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15689         Likewise.
15690         * nscd/pwdcache.c (addpwbyX): Likewise.
15691         * nscd/selinux.c (preserve_capabilities): Likewise.
15692         * nscd/servicescache.c (addservbyX): Likewise.
15693         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15694         * posix/fnmatch.c (fnmatch): Likewise.
15695         * posix/getopt.c (_getopt_internal_r): Likewise.
15696         * posix/glob.c (glob, glob_in_dir): Likewise.
15697         * posix/wordexp.c (exec_comm_child): Likewise.
15698         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15699         (getanswer_r, gaih_getanswer_slice): Likewise.
15700         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15701         * resolv/res_init.c: Likewise.
15702         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15703         * resolv/res_query.c (__libc_res_nquery): Likewise.
15704         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15705         Likewise.
15706         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15707         * stdio-common/perror.c (perror): Likewise.
15708         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15709         * stdio-common/tmpnam.c (tmpnam): Likewise.
15710         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15711         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15712         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15713         Likewise.
15714         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15715         * stdlib/putenv.c (putenv): Likewise.
15716         * stdlib/setenv.c (__add_to_environ): Likewise.
15717         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15718         * stdlib/strtol_l.c (INTERNAL): Likewise.
15719         * string/memmem.c (memmem): Likewise.
15720         * string/strerror.c (strerror): Likewise.
15721         * string/strnlen.c (__strnlen): Likewise.
15722         * string/test-memmem.c (simple_memmem): Likewise.
15723         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15724         * sunrpc/pm_getport.c (__get_socket): Likewise.
15725         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15726         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15727         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15728         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15729         Likewise.
15730         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15731         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15732         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15733         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15734         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15735         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15736         Likewise.
15737         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15738         Likewise.
15739         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15740         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15741         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15742         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15743         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15745         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15746         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15747         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15748         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15749         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15750         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15751         Likewise.
15752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15753         Likewise.
15754         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15755         Likewise.
15756         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15758         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15759         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15760         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15761         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15762         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15763         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15765         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15766         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15767         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15768         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15769         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15771         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15772         Likewise.
15773         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15774         Likewise.
15775         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15776         Likewise.
15777         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15778         Likewise.
15779         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15780         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15781         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15782         Likewise.
15783         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15784         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15785         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15786         * sysdeps/posix/sleep.c: Likewise.
15787         * sysdeps/posix/tempname.c: Likewise.
15788         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15789         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15790         Likewise.
15791         * sysdeps/powerpc/powerpc32/dl-machine.h
15792         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15793         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15794         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15795         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15796         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15797         Likewise.
15798         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15800         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15801         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15802         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15803         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15804         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15805         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15806         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15807         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15808         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15809         (elf_machine_lazy_rel): Likewise.
15810         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15811         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15812         (elf_machine_lazy_rel): Likewise.
15813         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15814         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15815         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15816         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15817         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15818         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15819         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15820         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15821         Likewise.
15822         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15823         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15824         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15825         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15826         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15827         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15828         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15829         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15830         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15831         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15832         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15833         Likewise.
15834         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15835         (__posix_fallocate64_l64): Likewise.
15836         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15837         (posix_fallocate): Likewise.
15838         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15839         Likewise.
15840         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15841         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15842         (getifaddrs_internal): Likewise.
15843         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15844         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15845         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15846         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15847         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15848         (__posix_fallocate64_l64): Likewise.
15849         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15850         Likewise.
15851         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15852         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15853         (__get_clockfreq): Likewise.
15854         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15855         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15856         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15857         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15858         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15859         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15860         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15861         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15862         Likewise.
15863         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15864         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15865         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15866         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15867         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15868         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15869         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15870         Likewise.
15871         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15872         (posix_fallocate): Likewise.
15873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15874         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15875         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15876         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15877         (elf_machine_rela, elf_machine_rela_relative)
15878         (elf_machine_lazy_rel): Likewise.
15879         * time/asctime.c (asctime_internal): Likewise.
15880         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15881         * time/tzset.c (__tzset_parse_tz): Likewise.
15882         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15883         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15884         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15885         * wcsmbs/wcsmbsload.h: Likewise.
15886
15887         [BZ #15894]
15888         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15889
15890         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15891         (arena_get2): Remove THREAD_STATS conditionals.
15892         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15893         (__malloc_stats, int): Likewise.
15894
15895 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15896
15897         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15898         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15899
15900         * manual/setjmp.texi: Fix typos/grammar errors.
15901
15902         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15903         Only return early when n is <= 0.  Delete unused return statement.
15904
15905         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15906         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15907         * debug/tst-longjmp_chk3.c: New file.
15908
15909         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15910         (test_main): Replace code with set_fortify_handler call.
15911         * debug/test-strcpy_chk.c: Likewise.
15912         * debug/tst-chk1.c: Likewise.
15913         * debug/tst-longjmp_chk.c: Likewise.
15914         * test-skeleton.c: Include fcntl.h & paths.h
15915         (set_fortify_handler): Define.
15916
15917         * debug/tst-longjmp_chk.c: Add header comment and include
15918         ../test-skeleton.c.
15919         (do_test): Mark static.
15920         (TEST_FUNCTION): Define.
15921
15922         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15923         (IP_PMTUDISC_INTERFACE): Likewise.
15924         (IP_MULTICAST_IF): Likewise.
15925         (IP_MULTICAST_TTL): Likewise.
15926         (IP_MULTICAST_LOOP): Likewise.
15927         (IP_ADD_MEMBERSHIP): Likewise.
15928         (IP_DROP_MEMBERSHIP): Likewise.
15929         (IP_UNBLOCK_SOURCE): Likewise.
15930         (IP_BLOCK_SOURCE): Likewise.
15931         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15932         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15933         (IP_MSFILTER): Likewise.
15934         (MCAST_JOIN_GROUP): Likewise.
15935         (MCAST_BLOCK_SOURCE): Likewise.
15936         (MCAST_UNBLOCK_SOURCE): Likewise.
15937         (MCAST_LEAVE_GROUP): Likewise.
15938         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15939         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15940         (MCAST_MSFILTER): Likewise.
15941         (IP_MULTICAST_ALL): Likewise.
15942         (IP_UNICAST_IF): Likewise.
15943
15944         * timezone/Makefile: Delete $(have-ksh) check.
15945         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15946         * timezone/tzselect.ksh: Add +x mode bits.
15947
15948         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15949         (ANON_INODE_FS_MAGIC): Likewise.
15950         (BDEVFS_MAGIC): Likewise.
15951         (BINFMTFS_MAGIC): Likewise.
15952         (BTRFS_TEST_MAGIC): Likewise.
15953         (CRAMFS_MAGIC_WEND): Likewise.
15954         (DEBUGFS_MAGIC): Likewise.
15955         (ECRYPTFS_SUPER_MAGIC): Likewise.
15956         (EXT3_SUPER_MAGIC): Likewise.
15957         (EXT4_SUPER_MAGIC): Likewise.
15958         (FUTEXFS_SUPER_MAGIC): Likewise.
15959         (HOSTFS_SUPER_MAGIC): Likewise.
15960         (HUGETLBFS_MAGIC): Likewise.
15961         (MINIX3_SUPER_MAGIC): Likewise.
15962         (MTD_INODE_FS_MAGIC): Likewise.
15963         (NILFS_SUPER_MAGIC): Likewise.
15964         (OPENPROM_SUPER_MAGIC): Likewise.
15965         (PIPEFS_MAGIC): Likewise.
15966         (PSTOREFS_MAGIC): Likewise.
15967         (QNX6_SUPER_MAGIC): Likewise.
15968         (RAMFS_MAGIC): Likewise.
15969         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15970         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15971         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15972         (SECURITYFS_MAGIC): Likewise.
15973         (SELINUX_MAGIC): Likewise.
15974         (SMACK_MAGIC): Likewise.
15975         (SOCKFS_MAGIC): Likewise.
15976         (SQUASHFS_MAGIC): Likewise.
15977         (STACK_END_MAGIC): Likewise.
15978         (TMPFS_MAGIC): Likewise.
15979         (USBDEVICE_SUPER_MAGIC): Likewise.
15980         (V9FS_MAGIC): Likewise.
15981         (XENFS_SUPER_MAGIC): Likewise.
15982         (CRAMFS_MAGIC): Fix typo in comment.
15983         (EXT2_SUPER_MAGIC): Update comment.
15984         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15985
15986 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15987
15988         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15989         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15990         * sysdeps/unix/sysv/linux/arm: Move directory from
15991         ports/sysdeps/unix/sysv/linux/arm.
15992         * README: Update listing for arm-*-linux-gnueabi.
15993
15994         * README: Remove mention of am33.
15995
15996 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15997
15998         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15999         than the comma operator, to avoid "rhs of comma has no effect"
16000         compiler warnings.
16001         (__sigfillset, __sigandset, __sigorset): Likewise.
16002         * include/signal.h (__sigemptyset): Likewise.
16003         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16004
16005 2014-02-07  Allan McRae  <allan@archlinux.org>
16006
16007         * version.h (RELEASE): Set to "development".
16008         (VERSION): Set to "2.19.90"
16009         * NEWS: Add 2.20 section.
16010
16011 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16012
16013         [BZ #16529]
16014         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16015
16016 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017
16018         * manual/contrib.texi: Update entry for Carlos O'Donell,
16019         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16020
16021 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16022
16023         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16024
16025         * sysdeps/unix/sysv/linux/kernel-features.h
16026         [__LINUX_KERNEL_VERSION >= 0x020621]
16027         (__ASSUME_PROC_PID_TASK_COMM): Define.
16028
16029 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16030
16031         [BZ #16398]
16032         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16033         conversion when destination buffer does not have enough space.
16034         * libio/tst-ftell-partial-wide.c: New test case.
16035         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16036
16037         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16038         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16039         Leonard and Allan McRae.
16040
16041 2014-02-04  David S. Miller  <davem@davemloft.net>
16042
16043         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16044         32-bit.
16045
16046 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16047
16048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16049         New file
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16051         New file
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16053         New file.
16054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16055         New file.
16056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16057         New file.
16058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16059         New file.
16060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16061         New file.
16062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16063         New file.
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16065         New file.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16067         New file.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16069         New file.
16070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16071         New file.
16072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16073         New file.
16074
16075 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16076
16077         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16078         * shlib-versions: Likewise.
16079
16080 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16081             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16082
16083         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16084         (abilist-pattern): New variable, set to %-le.abilist.
16085
16086         * Makerules (abilist-pattern): New variable.
16087         (vpath): Use $(abilist-pattern) in place of %.abilist.
16088         (check-abi-% pattern rule): Likewise.
16089         (check-abi, update-abi): Likewise.
16090
16091 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16092
16093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16094
16095 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16096
16097         * manual/startup.texi: Add next, previous, and top entries for
16098         the `Program Arguments' and `Environment Variables' nodes.
16099
16100 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16101
16102         * manual/macros.texi: Add comments before MTASC-safety macros.
16103
16104         * manual/users.texi: Document MTASC-safety properties.
16105
16106         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16107         (pthread_getspecific, pthread_setspecific): Format with
16108         @deftypefun, and add @safety note.
16109         * manual/signal.texi: Move comments that analyze the above
16110         functions to their home place.
16111
16112 2014-02-03  Allan McRae  <allan@archlinux.org>
16113
16114         * po/sl.po: Update Slovenian translation from translation project.
16115
16116 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16117
16118         * manual/time.texi (timegm): Add missing blank after @c.
16119         Reported by Joseph Myers <joseph@codesourcery.com>.
16120
16121 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16122
16123         * manual/check-safety.sh: New.
16124         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16125
16126         * manual/terminal.texi: Document MTASC-safety properties.
16127
16128         * manual/filesys.texi: Document MTASC-safety properties.
16129
16130         * manual/errno.texi: Document MTASC-safety properties.
16131
16132         * manual/intro.texi: Document safety identifiers and
16133         conditionals.
16134
16135         * manual/string.texi (wcstok): Fix prototype.
16136         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16137
16138         * manual/time.texi: Document MTASC-safety properties.
16139
16140         * manual/string.texi: Document MTASC-safety properties.
16141
16142         * manual/threads.texi: Document MTASC-safety properties.
16143
16144         * manual/stdio.texi: Document MTASC-safety properties.
16145
16146         * manual/syslog.texi: Document MTASC-safety properties.
16147
16148         * manual/sysinfo.texi: Document MTASC-safety properties.
16149
16150         * manual/startup.texi: Document MTASC-safety properties.
16151
16152         * manual/socket.texi: Document MTASC-safety properties.
16153
16154         * manual/signal.texi: Document MTASC-safety properties.
16155
16156 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16157
16158         * manual/setjmp.texi: Document MTASC-safety properties.
16159
16160         * manual/search.texi: Document MTASC-safety properties.
16161
16162         * manual/resource.texi: Document MTASC-safety properties.
16163
16164         * manual/process.texi: Document MTASC-safety properties.
16165
16166         * manual/platform.texi: Document MTASC-safety properties.
16167
16168         * manual/pipe.texi: Document MTASC-safety properties.
16169
16170         * manual/pattern.texi: Document MTASC-safety properties.
16171
16172         * manual/message.texi: Document MTASC-safety properties.
16173
16174         [BZ #12751]
16175         * manual/memory.texi: Document MTASC-safety properties.
16176
16177         * manual/math.texi: Document MTASC-safety properties.
16178
16179         * manual/locale.texi: Document MTASC-safety properties.
16180
16181         * manual/llio.texi: Document MTASC-safety properties.
16182
16183         * manual/libdl.texi: New.
16184
16185         * manual/lang.texi: Document MTASC-safety properties.
16186
16187         * manual/job.texi: Document MTASC-safety properties.
16188
16189         * manual/getopt.texi: Document MTASC-safety properties.
16190
16191         * manual/ctype.texi: Document MTASC-safety properties.
16192
16193 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16194
16195         [BZ #16046]
16196         * csu/libc-tls.c (static_map): Remove variable.
16197         (__libc_setup_tls): Use main executable's link map for TLS data.
16198         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16199         casing for LM_ID_BASE and GL(dl_nns).
16200         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16201         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16202         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16203         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16204         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16205         member.
16206         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16207         l_phnum members.
16208
16209 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16210
16211         * manual/debug.texi: Document MTASC-safety properties.
16212
16213 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16214
16215         [BZ #16510]
16216         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16217         of __x86_64__ when disabling x87 inline functions.
16218
16219 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16220
16221         * manual/charset.texi: Document MTASC-safety properties.
16222
16223         * manual/crypt.texi: Document MTASC-safety properties.
16224
16225         * manual/conf.texi: Document MTASC-safety properties.
16226
16227         * manual/arith.texi: Document MTASC-safety properties.
16228
16229         * manual/argp.texi: Document MTASC-safety properties.
16230
16231         * manual/macros.texi: Introduce macros to document multi
16232         thread, asynchronous signal and asynchronous cancellation
16233         safety properties.
16234         * manual/intro.texi: Introduce the properties themselves.
16235
16236 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16237
16238         * sysdeps/sh/sh4/Makefile: New file.
16239
16240 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16241
16242         * math/gen-libm-test.pl ($srcdir): New variable.
16243         ($auto_input): Use it.
16244
16245 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16246
16247         [BZ #16506]
16248         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16249         access beyond array bounds when parsing netgroups file.
16250
16251         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16252         the old buffer before realloc.
16253
16254 2014-01-27  Allan McRae  <allan@archlinux.org>
16255
16256         * po/fr.po: Update French translation from translation project.
16257
16258 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16259
16260         * sysdeps/sh/libm-test-ulps: Regenerate.
16261
16262 2014-01-24  David S. Miller  <davem@davemloft.net>
16263
16264         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16265
16266 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16267
16268         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16269         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16270
16271 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16272
16273         [BZ #16474]
16274         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16275         string pointers after reallocation.
16276
16277 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16278
16279         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16280         __SH4A__ instead of __SH_FPU_ANY__.
16281
16282 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16283
16284         * sysdeps/sh/fpu_control.h: New file.
16285         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16286         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16287         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16288         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16289         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16290         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16291         * sysdeps/sh/sys/ucontext.h: Remove.
16292         * sysdeps/sh/sys: Remove directory.
16293
16294 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16295
16296         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16297         s390/sys/ucontext.h.
16298         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16299         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16300
16301 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16302
16303         [BZ #15605]
16304         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16305
16306 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16307
16308         [BZ#16431]
16309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16310         Adjust the vDSO correctly for internal calls.
16311         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16312
16313 2014-01-20  Allan McRae  <allan@archlinux.org>
16314
16315         * po/ca.po: Update Catalan translation from translation project.
16316
16317 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16318
16319         * sysdeps/s390/sotruss-lib.c: New file.
16320
16321 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16322
16323         [BZ#16430]
16324         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16325         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16326         local calls issues by not having a PLT stub required for IFUNC calls.
16327         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16328
16329 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16330
16331         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16332         * math/test-fpucw-static.c: Likewise.
16333
16334 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16335
16336         [BZ #16453]
16337         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16338
16339 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16340
16341         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16342         implementation for powerpc.
16343
16344 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16345
16346         [BZ #14782]
16347         * sysdeps/posix/system.c (__libc_system): Do not enable
16348         asynchronous cancellation.
16349
16350 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16351
16352         [BZ #16427]
16353         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16354         handling only for numbers special also in the IEEE case.
16355
16356 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16357
16358         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16359
16360 2014-01-11  Allan McRae  <allan@archlinux.org>
16361
16362         * po/bg.po: Update Bulgarian translation from translation project.
16363
16364         * po/de.po: Update German translation from translation project.
16365
16366 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16367
16368         * sysdeps/generic/gcc-compat.h: New file.
16369
16370 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16371
16372         * benchtests/asin-inputs: Correct slow inputs.
16373         * benchtests/acos-inputs: Likewise.
16374
16375 2014-01-10  Allan McRae  <allan@archlinux.org>
16376
16377         * po:sv.po: Update Swedish translation from translation project.
16378
16379         * po/vi.po: Update Vietnamese translation from translation project.
16380
16381         * po/eo.po: Update Esperanto translation from translation project.
16382
16383         * po/cs.po: Update Czech translation from translation project.
16384
16385         * po/nl.po: Update Dutch translation from translation project.
16386
16387         * po/pl.po: Update Polish translation from translation project.
16388
16389         * po/ru.po: Update Russian translation from translation project.
16390
16391         * po/uk.po: Update Ukrainian translation from translation project.
16392
16393 2014-01-08  Brooks Moses  <bmoses@google.com>
16394
16395         * elf/dl-load.c: Fix comment typo.
16396
16397 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16398
16399         * po/header.pot: Rename to...
16400         * po/pot.header: ... this.
16401         * po/Makefile: Use pot.header.
16402
16403 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16404             Maxim Kuvyrkov  <maxim@kugelworks.com>
16405
16406         [BZ #16394]
16407         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16408         SRC and DEST against LEN.
16409
16410 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16411
16412         [BZ #16414]
16413         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16414         implementation.
16415         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16416
16417 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16418
16419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16420
16421 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16422
16423         [BZ #16408]
16424         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16425         for large positive arguments.
16426
16427 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16428
16429         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16430
16431         * math/auto-libm-test-in: Mark various tests with
16432         xfail-rounding:ldbl-128ibm.
16433         * math/auto-libm-test-out: Regenerated.
16434
16435         [BZ #16407]
16436         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16437         Increase overflow threshold.
16438
16439 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16440
16441         [BZ #14286]
16442         * stdio-common/vfprintf.c: Check for integer overflow.
16443
16444 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16445
16446         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16447         the first argument and return value of __tls_get_addr_internal.
16448
16449 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16450
16451         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16452         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16453
16454 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16455
16456         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16457         * sysdeps/s390/rtld-global-offsets.sym: New file.
16458         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16459         GLIBC_2.19 symbol.
16460         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16461         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16462         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16463         ... this.
16464         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16465         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16466         ... this.
16467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16468         Regenerate.
16469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16470         Regenerate.
16471         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16472         halfs of GPRs for high_gprs contexts.
16473         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16474         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16475         field.
16476         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16477         uc_flags field.
16478         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16479         64 bit versions:
16480         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16481         for high GPRs (uc_high_gprs) and for future extensions
16482         (__reserved).
16483         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16484         for future extensions (__reserved).
16485         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16486         64 bit versions:
16487         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16488         SC_HIGHGPRS offset definition.
16489         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16490         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16491
16492         * Versions.def: Add GLIBC_2.19 for libpthread.
16493         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16494         siglongjmp for libpthread with GLIBC_2.19 symver.
16495         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16496         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16497         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16498         * sysdeps/s390/__longjmp.c: New file.
16499         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16500         * sysdeps/s390/longjmp.c: New file.
16501         * sysdeps/s390/setjmp.S: New file.
16502         * sysdeps/s390/sigjmp.S: New file.
16503         * sysdeps/s390/v1-longjmp.c: New file.
16504         * sysdeps/s390/v1-setjmp.h: New file.
16505         * sysdeps/s390/v1-sigjmp.c: New file.
16506         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16507         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16508         GLIBC_2.19 version.
16509         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16510         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16511         versioned symbols for ____longjmp_chk.
16512         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16513         Likewise.
16514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16515         Regenerate.
16516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16517         Regenerate.
16518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16519         Regenerate.
16520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16521         Regenerate.
16522         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16523         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16524         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16525         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16526         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16527         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16528         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16529         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16530         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16531         * sysdeps/s390/rtld-__longjmp.c: New file.
16532         * sysdeps/s390/rtld-setjmp.S: New file.
16533
16534 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16535
16536         [BZ #16400]
16537         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16538         Return -__logl (x) for small positive arguments without evaluating
16539         a polynomial.
16540
16541 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16542
16543         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16544         Rename to ...
16545         (__ptrace_peeksiginfo_args): ... this.
16546         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16547         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16548         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16549
16550 2014-01-06  Allan McRae  <allan@archlinux.org>
16551
16552         * inet/netinet/in.h: Fix typo in comment.
16553
16554 2014-01-05  Andreas Jaeger  <aj@suse.de>
16555
16556         * sysdeps/i386/fpu/libm-test-ulps: Update.
16557
16558 2014-01-05  Allan McRae  <allan@archlinux.org>
16559
16560         * po/libc.pot: Regenerated.
16561
16562         * malloc/memusagestat.c: Fix gettext call formatting.
16563
16564 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16565
16566         * nscd/nscd.c: Improve usage() output.
16567
16568 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16569
16570         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16571         * sysdeps/unix/sysv/linux/configure: Regenerated.
16572         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16573         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16574
16575 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16576
16577         [BZ #16390]
16578         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16579         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16580
16581 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16582
16583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16584         extra tokens at end of #undef directive.
16585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16586         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16587         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16588
16589 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16590
16591         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16592
16593         * math/auto-libm-test-in: Mark various tests with
16594         xfail-rounding:ldbl-128ibm.
16595         * math/auto-libm-test-out: Regenerated.
16596
16597 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16598
16599         [BZ #16386]
16600         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16601         numbers with subnormal high part when calculating exponent.
16602
16603         [BZ #16385]
16604         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16605         fabs.
16606
16607         [BZ #16384]
16608         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16609         M_LN2l.
16610         (__ieee754_acoshl): Use __log1pl not __log1p.
16611
16612 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16613
16614         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16615         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16616         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16617         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16618         (reused_arena, arena_get2): Convert to GNU style.
16619         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16620         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16621         (memalign_check, __malloc_set_state): Likewise.
16622         * malloc/mallocbug.c (main): Likewise.
16623         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16624         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16625         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16626         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16627         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16628         (__posix_memalign, malloc_info): Likewise.
16629         * malloc/malloc.h: Likewise.
16630         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16631         (mallochook, memalignhook, reallochook, mabort): Likewise.
16632         * malloc/mcheck.h: Likewise.
16633         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16634         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16635         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16636         * malloc/morecore.c (__default_morecore): Likewise.
16637         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16638         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16639         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16640         (print_and_abort): Likewise.
16641         * malloc/obstack.h: Likewise.
16642         * malloc/set-freeres.c (__libc_freeres): Likewise.
16643         * malloc/tst-mallocstate.c (main): Likewise.
16644         * malloc/tst-mtrace.c (main): Likewise.
16645         * malloc/tst-realloc.c (do_test): Likewise.
16646
16647 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16648
16649         [BZ #16366]
16650         * nscd/netgroupcache.c (do_notfound): New function.
16651         (addgetnetgrentX): Use it.
16652
16653         [BZ # 16365]
16654         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16655         NSS_STATUS_NOTFOUND.
16656
16657 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16658
16659         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16661
16662 2014-01-01  Allan McRae  <allan@archlinux.org>
16663
16664         * scripts/update-copyrights: Update configure input file suffix.
16665
16666         * NEWS: Update copyright year.
16667         * catgets/gencat.c: Likewise.
16668         * csu/version.c: Likewise.
16669         * debug/catchsegv.sh: Likewise.
16670         * debug/pcprofiledump.c: Likewise.
16671         * debug/xtrace.sh: Likewise.
16672         * elf/ldconfig.c: Likewise.
16673         * elf/ldd.bash.in: Likewise.
16674         * elf/pldd.c: Likewise.
16675         * elf/sotruss.ksh: Likewise.
16676         * elf/sprof.c: Likewise.
16677         * iconv/iconv_prog.c: Likewise.
16678         * iconv/iconvconfig.c: Likewise.
16679         * locale/programs/locale.c: Likewise.
16680         * locale/programs/localedef.c: Likewise.
16681         * login/programs/pt_chown.c: Likewise.
16682         * malloc/memusage.sh: Likewise.
16683         * malloc/memusagestat.c: Likewise.
16684         * malloc/mtrace.pl: Likewise.
16685         * manual/libc.texinfo: Likewise.
16686         * nscd/nscd.c: Likewise.
16687         * nss/getent.c: Likewise.
16688         * nss/makedb.c: Likewise.
16689         * posix/getconf.c: Likewise.
16690         * scripts/test-installation.pl: Likewise.
16691
16692         * All files with FSF copyright notices: Update copyright dates
16693         using scripts/update-copyrights.
16694         * intl/plural.c: Regenerated.
16695         * locale/programs/charmap-kw.h: Likewise.
16696         * locale/programs/locfile-kw.h: Likewise.
16697
16698 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16699
16700         * sysdeps/unix/sysv/linux/configure: Regenerated.
16701         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16702         the linux/fanotify.h header.
16703         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16704         HAVE_LINUX_FANOTIFY_H is defined.
16705
16706 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16707
16708         * benchtests/cos-inputs: New inputs.
16709         * benchtests/sin-inputs: Likewise.
16710
16711         * benchtests/atan-inputs: New inputs. Fix name of multiple
16712         precision fallback inputs.
16713
16714         * benchtests/atanh-inputs: New inputs.
16715         * benchtests/tanh-inputs: Likewise.
16716
16717         * benchtests/acosh-inputs: New inputs.
16718         * benchtests/asinh-inputs: Likewise.
16719
16720         * benchtests/cosh-inputs: New inputs.
16721         * benchtests/sinh-inputs: Likewise.
16722
16723         * benchtests/acos-inputs: Add more inputs.
16724         * benchtests/asin-inputs: Likewise.
16725
16726 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16727
16728         [BZ #16375]
16729         * manual/arith.texi: Fix spelling.
16730         * manual/charset.texi: Likewise.
16731         * manual/errno.texi: Likewise.
16732         * manual/filesys.texi: Likewise.
16733         * manual/lang.texi: Likewise.
16734         * manual/llio.texi: Likewise.
16735         * manual/locale.texi: Likewise.
16736         * manual/message.texi: Likewise.
16737         * manual/resource.texi: Likewise.
16738         * manual/search.texi: Likewise.
16739         * manual/setjmp.texi: Likewise.
16740         * manual/stdio.texi: Likewise.
16741         * manual/string.texi: Likewise.
16742         * manual/sysinfo.texi: Likewise.
16743         * manual/time.texi: Likewise.
16744
16745 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16746
16747         * po/sl.po: New file.
16748
16749 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16750
16751         * .gitignore: Add core/.gdbinit/.gdb_history.
16752
16753 2013-12-27  Allan McRae  <allan@archlinux.org>
16754
16755         [BZ #16369]
16756         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16757         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16758
16759 2013-12-24  Brooks Moses  <bmoses@google.com>
16760
16761         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16762         all compilers that claim C++98 compliance, not just GCC.
16763         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16764         Likewise.
16765
16766 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16767
16768         * NEWS: Restore accidentally deleted bug-fix entries.
16769
16770 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16771             Ondřej Bílka  <neleai@seznam.cz>
16772
16773         [BZ #15073]
16774         * malloc/malloc.c (_int_free): Perform sanity check only if we
16775         have_lock.
16776
16777 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16778
16779         [BZ #12986]
16780         * manual/stdio.texi (String Input Conversions): Clarify that character
16781         classes are not supported.
16782
16783 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16784
16785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16786
16787 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16788
16789         [BZ #16337]
16790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16791         Calculate results for small negative arguments directly rather
16792         than using reflection formula with special underflow handling.
16793
16794         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16795         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16796         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16797         (fchflags): Likewise.
16798         (revoke): Likewise.
16799         (setlogin): Likewise.
16800         (sigaltstack): Likewise.
16801         (wait4): Likewise.
16802         (sigblock): Remove.
16803         (sigsetmask): Likewise.
16804         (wait3): Likewise.
16805         (waitpid): Likewise.
16806         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16807         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16808         file.
16809         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16810         * sysdeps/unix/bsd/Makefile: ... here.
16811         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16812         * sysdeps/unix/bsd/Versions: ... here.
16813         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16814         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16815         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16816         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16817         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16818         * sysdeps/unix/bsd/sigblock.c: ... here.
16819         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16820         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16821         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16822         * sysdeps/unix/bsd/sigvec.c: ... here.
16823         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16824         * sysdeps/unix/bsd/tcdrain.c: ... here.
16825         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16826         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16827         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16828         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16829         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16830         * sysdeps/unix/bsd/wait.c: ... here.
16831         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16832         * sysdeps/unix/bsd/wait3.c: ... here.
16833         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16834         * sysdeps/unix/bsd/waitpid.c: ... here.
16835
16836 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16837
16838         [BZ #16356]
16839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16840         round-to-nearest for [!USE_AS_EXPM1L].
16841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16842         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16843         more tests of exp and exp10.  Expect some exp10 tests to miss
16844         exceptions or fail in directed rounding modes.
16845         * math/auto-libm-test-out: Regenerated.
16846         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16847         (exp10_test_tonearest): New function.
16848         (exp10_towardzero_test_data): New array.
16849         (exp10_test_towardzero): New function.
16850         (exp10_downward_test_data): New array.
16851         (exp10_test_downward): New function.
16852         (exp10_upward_test_data): New array.
16853         (exp10_test_upward): New function.
16854         (main): Call the new functions.
16855         * sysdeps/i386/fpu/libm-test-ulps: Update.
16856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16857
16858 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16859
16860         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16861         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16862         * math/auto-libm-test-out: Regenerated.
16863         * math/libm-test.inc (acosh_test_data): Add more tests.
16864         (atanh_test_data): Likewise.
16865         (ceil_test_data): Likewise.
16866         (copysign_test_data): Likewise.
16867         * sysdeps/i386/fpu/libm-test-ulps: Update.
16868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869
16870         * timezone/checktab.awk: Update from tzcode 2013i.
16871         * timezone/private.h: Likewise.
16872         * timezone/scheck.c: Likewise.
16873         * timezone/tzfile.h: Likewise.
16874         * timezone/tzselect.ksh: Likewise.
16875         * timezone/zdump.c: Likewise.
16876         * timezone/zic.c: Likewise.
16877
16878         * math/auto-libm-test-in: Add tests of cpow.
16879         * math/auto-libm-test-out: Regenerated.
16880         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16881         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16882         mpc_cc_c.
16883         (func_calc_desc): Add mpc_cc_c union field.
16884         (test_functions): Add cpow.
16885         (special_fill_2pi): New function.
16886         (special_real_inputs): Add 2pi.
16887         (calc_generic_results): Handle mpc_cc_c.
16888         * sysdeps/i386/fpu/libm-test-ulps: Update.
16889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16890
16891         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16892         csqrt, ctan and ctanh.
16893         * math/auto-libm-test-out: Regenerated.
16894         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16895         (TEST_COND_x86): Likewise.
16896         (ccos_test_data): Use AUTO_TESTS_c_c.
16897         (ccosh_test_data): Likewise.
16898         (cexp_test_data): Likewise.
16899         (clog_test_data): Likewise.
16900         (csqrt_test_data): Likewise.
16901         (ctan_test_data): Likewise.
16902         (ctan_tonearest_test_data): Likewise.
16903         (ctan_towardzero_test_data): Likewise.
16904         (ctan_downward_test_data): Likewise.
16905         (ctan_upward_test_data): Likewise.
16906         (ctanh_test_data): Likewise.
16907         (ctanh_tonearest_test_data): Likewise.
16908         (ctanh_towardzero_test_data): Likewise.
16909         (ctanh_downward_test_data): Likewise.
16910         (ctanh_upward_test_data): Likewise.
16911         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16912         mpc_c_c.
16913         (func_calc_desc): Add mpc_c_c union field.
16914         (FUNC_mpc_c_c): New macro.
16915         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16916         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16917         ctanh.
16918         (special_fill_min_subnorm_p120): New function.
16919         (special_real_inputs): Add min_subnorm_p120.
16920         (calc_generic_results): Handle mpc_c_c.
16921         * sysdeps/i386/fpu/libm-test-ulps: Update.
16922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923
16924 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16925
16926         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16927         (do_sin_slow): New functions.
16928         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16929         (cslow2, csloww1, csloww2): Use the new functions.
16930
16931         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16932         Use M to change sign of result instead of X.  Assume X is
16933         positive.
16934         (csloww1): Likewise.
16935         (__sin): Adjust.
16936         (__cos): Adjust.
16937
16938         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16939         arguments A and DA.
16940         (__sin): Adjust.
16941         (__cos): Likewise.
16942
16943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16944         (__cos): Likewise.
16945         (sloww1): Don't adjust sign of DX.
16946         (csloww1): Likewise.
16947         (sloww2): Use X directly and don't adjust sign of DX.
16948         (csloww2): Likewise.
16949
16950 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16951
16952         * math/auto-libm-test-in: Add tests of cabs and carg.
16953         * math/auto-libm-test-out: Regenerated.
16954         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16955         (carg_test_data): Likewise.
16956         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16957         mpc_c_f.
16958         (func_calc_desc): Add mpc_c_f union field.
16959         (test_functions): Add cabs and carg.
16960         (calc_generic_results): Handle mpc_c_f.
16961
16962         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16963         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16964         as a macro and a compat symbol.
16965         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16966         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16967         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16968         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16969         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16970         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16971         not use .hidden.
16972         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16973         Likewise.
16974         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16975         Likewise.
16976         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16977         Likewise.
16978         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16979         Likewise.
16980         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16981         Likewise.
16982         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16983         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16984         from GLIBC_2.3.2.
16985
16986 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16987
16988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16989
16990 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16991
16992         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16993         trailing whitespace removed.
16994         * scripts/config.guess: Update to version 2013-11-29.
16995         * scripts/config.sub: Update to version 2013-10-01.
16996
16997         * math/auto-libm-test-in: Add tests of sincos.
16998         * math/auto-libm-test-out: Regenerated.
16999         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17000         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17001         mpfr_f_11.
17002         (func_calc_desc): Add mpfr_f_11 union field.
17003         (test_functions): Add sincos.
17004         (calc_generic_results): Handle mpfr_f_11.
17005         * sysdeps/i386/fpu/libm-test-ulps: Update.
17006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17007
17008 2013-12-19  Andreas Schwab  <schwab@suse.de>
17009
17010         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17011         CALL_MCOUNT.
17012         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17013         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17014         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17015
17016 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17017
17018         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17019         * sysdeps/i386/fpu/libm-test-ulps: Update.
17020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17021
17022         [BZ #16293]
17023         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17024         round-to-nearest mode when using frndint.
17025         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17026         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17027         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17028         Likewise.
17029         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17030         sinh test to fail.
17031         * math/auto-libm-test-out: Regenerated.
17032         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17033         (TEST_COND_x86): Likewise.
17034         (expm1_tonearest_test_data): New array.
17035         (expm1_test_tonearest): New function.
17036         (expm1_towardzero_test_data): New array.
17037         (expm1_test_towardzero): New function.
17038         (expm1_downward_test_data): New array.
17039         (expm1_test_downward): New function.
17040         (expm1_upward_test_data): New array.
17041         (expm1_test_upward): New function.
17042         (main): Run the new test functions.
17043         * sysdeps/i386/fpu/libm-test-ulps: Update.
17044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17045
17046         * include/features.h: Update comment documenting feature test
17047         macros.  Mention _DEFAULT_SOURCE in comment.
17048         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17049         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17050         _BSD_SOURCE and _SVID_SOURCE.
17051         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17052         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17053         !_SVID_SOURCE]: Likewise.
17054         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17055         (__USE_POSIX_IMPLICITLY): Define.
17056         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17057         (_POSIX_SOURCE): Undefine and redefine.
17058         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17059         (_POSIX_C_SOURCE): Likewise.
17060         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17061         (Feature Test Macros): Update documentation of default features.
17062
17063 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17064
17065         * benchtests/Makefile: Add bench-strtok.
17066         * benchtests/bench-strtok.c: New file: strtok benchtest.
17067
17068 2013-12-19  Allan McRae  <allan@archlinux.org>
17069
17070         * manual/install.texi: Suppress menu for plain text output.
17071         * INSTALL: Regenerated.
17072
17073 2013-12-18  Brooks Moses  <bmoses@google.com>
17074
17075         [BZ #15846]
17076         * misc/getauxval.c: Include errno.h.
17077         (__getauxval): Set errno to ENOENT if the requested type is not
17078         found.
17079         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17080         don't declare with __attribute_const__.
17081         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17082         * manual/startup.texi: Document that getauxval sets errno.
17083
17084 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17085
17086         * math/auto-libm-test-in: Add tests of jn and yn.
17087         * math/auto-libm-test-out: Regenerated.
17088         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17089         (yn_test_data): Likewise.
17090         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17091         mpfr_if_f.
17092         (func_calc_desc): Add mpfr_if_f union field.
17093         (FUNC_mpfr_if_f): New macro.
17094         (test_functions): Add jn and yn.
17095         (calc_generic_results): Assert type of second input for
17096         mpfr_ff_f.  Handle mpfr_if_f.
17097         (output_for_one_input_case): Disable all checking for arguments
17098         fitting floating-point types in case of an integer argument.
17099         * sysdeps/i386/fpu/libm-test-ulps: Update.
17100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17101
17102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17103         Don't expect fegetround reference in libm.so.
17104
17105 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17106
17107         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17108         $(config-cflags-nofma).
17109
17110 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17111
17112         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17113         * math/auto-libm-test-out: Regenerated.
17114
17115         [BZ #16338]
17116         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17117         to determine exponent and adjust argument to have exponent of -1.
17118         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17119         log2.
17120         * math/auto-libm-test-out: Regenerated.
17121         * sysdeps/i386/fpu/libm-test-ulps: Update.
17122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17123
17124 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17125
17126         * manual/probes.texi: Remove cases when per-thread arenas are
17127         disabled.
17128
17129 2013-12-18  Andreas Schwab  <schwab@suse.de>
17130
17131         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17132         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17133         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17134         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17135         * sysdeps/i386/i686/multiarch/Makefile: Update.
17136         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17137
17138 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17139
17140         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17141         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17142
17143 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17144
17145         [BZ #15968]
17146         Support TZ transition times < 00:00:00.
17147         This is needed for version-3 tz-format files; it supports time
17148         stamps past 2037 for America/Godthab (the only entry in the tz
17149         database for which this change is relevant).
17150         * manual/time.texi (TZ Variable): Document transition times
17151         from -167:59:59 through -00:00:01.
17152         * time/tzset.c (tz_rule): Time of day is now signed.
17153         (__tzset_parse_tz): Parse negative time of day.
17154
17155         Document TZ transition times >= 25:00:00.
17156         * manual/time.texi (TZ Variable): Document transition times from
17157         25:00:00 through 167:59:59.  These are already supported, and this
17158         support will help with version-3 tz-format files.
17159
17160         * manual/time.texi (TZ Variable): Modernize North America example
17161         to reflect current (i.e., 2007-and-later) daylight saving rules.
17162
17163         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17164
17165 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17166
17167         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17168         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17169         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17171         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17172         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17173         * sysdeps/unix/bsd/clock.c: Likewise.
17174         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17175         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17176         * sysdeps/unix/bsd/init-posix.c: Likewise.
17177         * sysdeps/unix/bsd/poll.c: Likewise.
17178         * sysdeps/unix/bsd/ptsname.c: Likewise.
17179         * sysdeps/unix/bsd/seekdir.c: Likewise.
17180         * sysdeps/unix/bsd/setegid.c: Likewise.
17181         * sysdeps/unix/bsd/seteuid.c: Likewise.
17182         * sysdeps/unix/bsd/setgid.c: Likewise.
17183         * sysdeps/unix/bsd/setrgid.c: Likewise.
17184         * sysdeps/unix/bsd/setruid.c: Likewise.
17185         * sysdeps/unix/bsd/setsid.c: Likewise.
17186         * sysdeps/unix/bsd/setuid.c: Likewise.
17187         * sysdeps/unix/bsd/sigaction.c: Likewise.
17188         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17189         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17190         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17191         * sysdeps/unix/bsd/telldir.c: Likewise.
17192         * sysdeps/unix/bsd/times.c: Likewise.
17193         * sysdeps/unix/bsd/usleep.c: Likewise.
17194
17195         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17196         ($(objpfx)libbsd-compat.a): Remove rule.
17197
17198         * include/features.h (__FAVOR_BSD): Do not define.
17199         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17200         features conflicting with POSIX.
17201         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17202         (_BSD_SOURCE): Remove description of not being a subset of other
17203         feature test macros.
17204         * manual/job.texi (getpgrp): Do not document BSD version.
17205         (getpgid): Do not document by reference to BSD getpgrp.
17206         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17207         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17208         * signal/signal.h [__FAVOR_BSD]: Likewise.
17209         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17210         instead of making contents conditional on [__FAVOR_BSD].
17211         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17212
17213 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17214
17215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17216
17217 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17218
17219         [BZ #16314]
17220         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17221         values below 2**-450, not 2**-500.
17222         * math/auto-libm-test-in: Don't allow spurious underflow from
17223         hypot.
17224         * math/auto-libm-test-out: Regenerated.
17225
17226         [BZ #16316]
17227         [BZ #16330]
17228         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17229         values of ha and hb and sort them after adjusting subnormal
17230         arguments.
17231         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17232         Likewise.
17233         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17234         values of ea and eb and sort them after adjusting subnormal
17235         arguments.
17236         * math/auto-libm-test-in: Do not expect some hypot tests of
17237         subnormals to fail.  Add more hypot tests.
17238         * math/auto-libm-test-out: Regenerated.
17239
17240 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17241
17242         [BZ #13304]
17243         * sysdeps/sh/s_fma.c: New file.
17244         * sysdeps/sh/s_fmaf.c: New file.
17245         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17246         version.
17247         * sysdeps/sh/Implies: Add sh/soft-fp.
17248
17249 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17250
17251         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17252         level of indirection to members `objname', `errstring', `malloced'.
17253         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17254         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17255         it as the __longjmp argument (just pass 1 instead).
17256         (_dl_catch_error): Initialize C with argument pointers and address of
17257         volatile local ERRCODE rather than copying values out of C at return.
17258
17259 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17260
17261         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17262         * math/auto-libm-test-out: Regenerated.
17263         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17264         (hypot_test_data): Likewise.
17265         (pow_test_data): Likewise.
17266         (pow_tonearest_test_data): Likewise.
17267         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17268         mpfr_ff_f.
17269         (func_calc_desc): Add mpfr_ff_f union field.
17270         (FUNC_mpfr_ff_f): New macro.
17271         (test_functions): Add atan2, hypot and pow.
17272         (special_fill_min): New function.
17273         (special_fill_minus_min): Likewise.
17274         (special_fill_min_subnorm): Likewise.
17275         (special_fill_minus_min_subnorm): Likewise.
17276         (special_real_inputs): Add min, -min, min_subnorm and
17277         -min_subnorm.
17278         (calc_generic_results): Handle mpfr_ff_f.
17279         * sysdeps/i386/fpu/libm-test-ulps: Update.
17280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17281
17282 2013-12-16  Will Newton  <will.newton@linaro.org>
17283
17284         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17285         (Aligned Memory Blocks): Add documentation for aligned_alloc
17286         and suggest it as an alternative to posix_memalign.
17287         (Hooks for Malloc): Document __memalign_hook is also called
17288         for aligned_alloc.  (Summary of Malloc): Add summary for
17289         aligned alloc.  Document __memalign_hook is also called
17290         for aligned_alloc.
17291
17292 2013-12-16  Will Newton  <will.newton@linaro.org>
17293
17294         * manual/memory.texi (Malloc Examples): Clarify default
17295         alignment documentation.  Suggest posix_memalign rather
17296         than memalign or valloc.
17297         (Aligned Memory Blocks): Remove suggestion to use memalign
17298         or valloc.  Remove obsolete comment about BSD.
17299         Document memalign errno values and mark the function obsolete.
17300         Document posix_memalign returned error codes.  Mark valloc
17301         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17302         called for posix_memalign and valloc.
17303         (Summary of Malloc): Add posix_memalign to function summary.
17304         __memalign_hook is also called for posix_memalign and valloc.
17305
17306 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17307
17308         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17309         TAYLOR_SIN.
17310         (__sin): Adjust.
17311         (__cos): Likewise.
17312         (sloww): Use mynumber union.  Expand ternary operator into
17313         if-else statements.
17314         (cslow): use mynumber union.
17315
17316 2013-12-16  Allan McRae  <allan@archlinux.org>
17317
17318         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17319         * configure: Regenerated.
17320
17321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17322
17323         [BZ #14120]
17324         * configure.ac: Added --enable-maintainer-mode. Check for
17325         autoconf when enabled.
17326         * configure: Regenerated.
17327
17328         * nscd/nscd.service: New file.
17329         * nscd/nscd.tmpfiles: New file.
17330
17331 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17332
17333         [BZ #12100]
17334         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17335         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17336         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17337         (strstr): Add __strstr_sse2_unaligned ifunc.
17338         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17339         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17340         (strcasestr): Remove __strcasestr_sse42 ifunc.
17341         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17342         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17343         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17344
17345 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17346
17347         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17348         * sysdeps/sh/bits/fenv.h: ... here.
17349         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17350
17351 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17352
17353         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17354
17355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17356         hypotf multiarch implementations.
17357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17358         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17359         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17360         multiarch hypot for PPC64.
17361         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17362         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17363         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17364         multiarch hypotf for PPC64.
17365
17366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17367         modff multiarch implementations.
17368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17371         multiarch modf for PPC64.
17372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17375         multiarch modff for PPC64.
17376
17377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17378         and logl multiarch implementations.
17379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17382         multiarch logb for PPC64.
17383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17386         multiarch logb for PPC64.
17387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17390         multiarch logb for PPC64.
17391
17392         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17393         isinff multiarch implementation.
17394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17395         file.
17396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17398         multiarch isinf for PPC64.
17399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17400         file.
17401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17402         multiarch isinff for PPC64.
17403
17404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17405         finitef multiarch implementation.
17406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17407         file.
17408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17410         multiarch finite for PPC64.
17411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17412         file.
17413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17414         multiarch finitef for PPC64.
17415
17416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17417         lrint multiarch implementation.
17418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17419         file.
17420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17422         multiarch llrint for PPC64.
17423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17424         multiarch lrint for PPC64.
17425
17426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17427         copysignf multiarch implementation.
17428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17429         file.
17430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17431         file.
17432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17433         multiarch copysign for PPC64.
17434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17435         multiarch copysignf for PPC64.
17436
17437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17438         multiarch implementation.
17439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17440         file.
17441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17442         file.
17443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17444         file.
17445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17446         file.
17447         multiarch llround for PPC64.
17448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17449         multiarch trunc for PPC64.
17450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17451         multiarch truncf for PPC64.
17452
17453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17454         multiarch implementation.
17455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17456         file.
17457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17458         file.
17459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17460         file.
17461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17462         file.
17463         multiarch llround for PPC64.
17464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17465         multiarch round for PPC64.
17466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17467         multiarch roundf for PPC64.
17468
17469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17470         multiarch implementation.
17471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17472         file.
17473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17474         file.
17475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17476         file.
17477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17478         file.
17479         multiarch llround for PPC64.
17480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17481         multiarch floor for PPC64.
17482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17483         multiarch floorf for PPC64.
17484
17485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17486         multiarch implementation.
17487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17488         file.
17489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17490         file.
17491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17492         file.
17493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17494         file.
17495         multiarch llround for PPC64.
17496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17497         multiarch ceil for PPC64.
17498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17499         multiarch ceilf for PPC64.
17500
17501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17502         multiarch implementation.
17503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17504         file.
17505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17506         file.
17507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17508         file.
17509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17510         multiarch llround for PPC64.
17511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17512         multiarch lround for PPC64.
17513
17514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17515         multiarch implementation.
17516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17519         file.
17520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17523         multiarch isnan for PPC64.
17524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17525         multiarch isnanf for PPC64.
17526
17527         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17528         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17529         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17530         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17531         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17533
17534         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17535         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17536         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17538
17539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17540         multiarch implementations.
17541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17542         (__libc_ifunc_impl_list): Likewise.
17543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17546         multiarch stpcpy for PPC64.
17547
17548         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17549         multiarch implementations.
17550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17551         (__libc_ifunc_impl_list): Likewise.
17552         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17553         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17554         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17555         multiarch strcpy for PPC64.
17556
17557         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17558         redefine function name.
17559         (_wordcopy_fwd_dest_aligned): Likewise.
17560         (_wordcopy_bwd_aligned): Likewise.
17561         (_wordcopy_bwd_dest_aligned): Likewise.
17562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17563         multiarch implementations.
17564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17565         (__libc_ifunc_impl_list): Likewise.
17566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17568         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17569         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17570         multiarch wcscpy for PPC64.
17571
17572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17573         multiarch implementations.
17574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17575         (__libc_ifunc_impl_list): Likewise.
17576         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17577         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17579         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17580         multiarch wcscpy for PPC64.
17581
17582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17583         multiarch implementations.
17584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17585         (__libc_ifunc_impl_list): Likewise.
17586         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17587         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17588         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17589         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17590         multiarch wcsrchr for PPC64.
17591
17592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17593         multiarch implementations.
17594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17595         (__libc_ifunc_impl_list): Likewise.
17596         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17597         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17598         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17599         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17600         multiarch wcschr for PPC64.
17601
17602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17603         multiarch implementations.
17604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17605         (__libc_ifunc_impl_list): Likewise.
17606         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17607         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17608         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17609         multiarch strchrnul for PPC64.
17610
17611         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17612         implementations.
17613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17614         (__libc_ifunc_impl_list): Likewise.
17615         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17616         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17617         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17618         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17619         strchr for PPC64.
17620
17621         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17622         implementations.
17623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17624         (__libc_ifunc_impl_list): Likewise.
17625         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17626         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17627         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17628         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17629         strncmp for PPC64.
17630
17631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17632         multiarch implementations.
17633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17634         (__libc_ifunc_impl_list): Likewise.
17635         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17636         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17637         strncasecmp for PPC64.
17638         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17639         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17640         multiarch strncasecmp_l for PPC64.
17641
17642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17643         multiarch implementations.
17644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17645         (__libc_ifunc_impl_list): Likewise.
17646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17648         multiarch strcasecmp for PPC64.
17649         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17650         file.
17651         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17652         multiarch strcasecmp_l for PPC64.
17653
17654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17655         implementations.
17656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17657         (__libc_ifunc_impl_list): Likewise.
17658         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17659         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17660         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17661         strnlen for PPC64.
17662
17663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17664         implementations.
17665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17666         (__libc_ifunc_impl_list): Likewise.
17667         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17668         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17669         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17670         strlen for PPC64.
17671
17672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17673         implementations.
17674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17675         (__libc_ifunc_impl_list): Likewise.
17676         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17677         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17678         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17679         rawmemrchr for PPC64.
17680
17681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17682         implementation.
17683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17684         (__libc_ifunc_impl_list): Likewise.
17685         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17686         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17687         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17688         memrchr for PPC64.
17689
17690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17691         implementation.
17692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17693         (__libc_ifunc_impl_list): Likewise.
17694         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17695         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17696         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17697         memchr for PPC64.
17698
17699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17700         implementation.
17701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17702         (__libc_ifunc_impl_list): Likewise.
17703         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17704         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17705         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17706         mempcpy for PPC64.
17707
17708         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17709         avoid cretion of __bzero symbol.
17710         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17711         Likewise.
17712         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17713         Likewise.
17714         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17715         Likewise.
17716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17717         multiarch implementations.
17718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17719         (__libc_ifunc_impl_list): Likewise.
17720         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17721         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17722         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17723         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17724         bzero for PPC32.
17725         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17726         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17727         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17728         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17729         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17730         memset for PPC64.
17731         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17732
17733         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17735         implementations.
17736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17737         (__libc_ifunc_impl_list): Likewise.
17738         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17739         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17740         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17741         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17742         memcmp for PPC64.
17743
17744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17745         multiarch for POWER/PPC64.
17746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17747         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17748         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17749         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17750         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17751         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17752         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17754         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17755         memcpy for PPC64.
17756
17757         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17758         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17759         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17760         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17761         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17762         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17763         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17764         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17765         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17766         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17767         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17768         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17769         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17770         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17771         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17779
17780 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17781
17782         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17783
17784 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17785
17786         * benchtests/Makefile (bench): Add exp2 and log2.
17787         (LDLIBS-bench-exp2): Add -lm.
17788         (LDLIBS-bench-log2): Likewise.
17789         * benchtests/exp2-inputs: New inputs file.
17790         * benchtests/log2-inputs: New inputs file.
17791         * benchtests/log-inputs: Add new inputs.
17792         * benchtests/tan-inputs: Likewise.
17793
17794 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17795
17796         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17797         definition...
17798         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17799         (csloww2): ... from here.
17800
17801         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17802         instead of structures.
17803         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17804         (POLYNOMIAL): Likewise.
17805         (TAYLOR_SLOW): Likewise.
17806         (__sin): Likewise.
17807         (__cos): Likewise.
17808         (slow1): Likewise.
17809         (slow2): Likewise.
17810         (sloww): Likewise.
17811         (sloww1); Likewise.
17812         (sloww2): Likewise.
17813         (bsloww1): Likewise.
17814         (bsloww2): Likewise.
17815         (cslow2): Likewise.
17816         (csloww): Likewise.
17817         (csloww1): Likewise.
17818         (csloww2): Likewise.
17819
17820 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17821
17822         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17823         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17824         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17825         * malloc/hooks.c (realloc_check): Likewise.
17826
17827         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17828         * malloc/arena.c: Remove PER_THREAD conditional.
17829         [!PER_THREAD]: Remove code.
17830         (ptmalloc_unlock_all2): Likewise.
17831         (ptmalloc_init): Likewise.
17832         (_int_new_arena): Likewise.
17833         (arena_get2): Likewise.
17834         * malloc/hooks.c (__malloc_get_state): Likewise.
17835         (__malloc_set_state): Likewise.
17836         * malloc/malloc.c: Likewise.
17837         (struct malloc_state): Likewise.
17838         (struct malloc_par): Likewise.
17839         (__libc_realloc): Likewise.
17840         (__libc_mallopt): Likewise.
17841
17842 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17843
17844         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17845
17846 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17847
17848         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17849         macro to a function.  Check for zero perturb_byte.
17850         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17851
17852         * malloc/malloc.c: (force_reg): Remove.
17853         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17854         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17855         force_reg by atomic_forced_read.
17856         * malloc/arena.c (ptmalloc_init): Likewise.
17857         * malloc/hooks.c (top_check): Likewise.
17858
17859 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17860
17861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17862
17863 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17864
17865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17866
17867 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17868
17869         * math/auto-libm-test-in: Add tests of lgamma.
17870         * math/auto-libm-test-out: Regenerated.
17871         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17872         (M_LOG_2_SQRT_PIl): Likewise.
17873         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17874         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17875         mpfr_f_f1.
17876         (func_calc_desc): Add mpfr_f_f1 union field.
17877         (ARGS1): New macro.
17878         (ARGS2): Likewise.
17879         (ARGS3): Likewise.
17880         (ARGS4): Likewise.
17881         (RET1): Likewise.
17882         (RET2): Likewise.
17883         (CALC): Likewise.
17884         (FUNC): Likewise.
17885         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17886         (test_functions): Add lgamma.
17887         (calc_generic_results): Handle mpfr_f_f1.
17888         * sysdeps/i386/fpu/libm-test-ulps: Update.
17889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17890
17891 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17892
17893         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17894         __mpn_add_n for PowerPC64/POWER7.
17895         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17896         __mpn_sub_n for PowerPC64/POWER7.
17897
17898         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17899         __mpn_addmul_1 for PowerPC64.
17900         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17901         __mpn_submul_1 for PowerPC64.
17902         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17903         for PowerPC64.
17904         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17905         for PowerPC64.
17906
17907 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17908
17909         [BZ #15089]
17910         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17911
17912 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17913
17914         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17915
17916         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17917         add multiarch folders.
17918         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17919         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17920         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17921         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17922         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17923         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17924         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17925         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17926         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17927         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17928         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17935
17936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17937         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17939         New file.
17940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17941         New file.
17942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17943         multiarch __ieee754_hypot for PowerPC32.
17944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17945         New file.
17946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17947         New file.
17948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17949         multiarch __ieee754_hypotf for PowerPC32.
17950
17951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17952         long_double_symbol only if __logbl is defined.
17953         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17954         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17955         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17956         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17958         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17959         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17960         path for implementation.
17961         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17962         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17964         logb, and logbl multiarch implementations for PowerPC32.
17965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17966         file.
17967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17968         file.
17969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17970         multiarch logb for PowerPC32.
17971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17972         file.
17973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17974         file.
17975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17976         multiarch logbf for PowerPC32.
17977         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17979         file.
17980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17981         multiarch logbl implementation for PowerPC32.
17982
17983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17984         and modff multiarch implementations.
17985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17986         New file.
17987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17988         New file.
17989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17990         multiarch modf for PowerPC32.
17991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17992         New file.
17993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17994         New file.
17995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17996         multiarch modff for PowerPC32.
17997
17998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17999         and lrintf multiarch implementations.
18000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18001         New file.
18002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18003         New file.
18004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18005         multiarch lrint for PowerPC32.
18006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18007         file: multiarch lrintf for PowerPC32.
18008
18009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18010         and lroundf multiarch implementations.
18011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18012         New file.
18013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18014         New file.
18015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18016         New file.
18017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18018         multiarch lround for PowerPC32.
18019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18020         file: multiarch lroundf for PowerPC32.
18021
18022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18023         copysign and copysignf multiarch implementations.
18024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18025         New file.
18026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18027         New file.
18028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18029         file: multiarch copysign for PowerPC32.
18030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18031         file: multiarch copysignf for PowerPC32.
18032
18033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18034         and truncf multiarch implementations.
18035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18036         New file.
18037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18038         file.
18039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18040         multiarch trunc for PowerPC32.
18041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18042         New file.
18043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18044         New file.
18045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18046         multiarch truncf for PowerPC32.
18047
18048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18049         and roundf multiarch implementations.
18050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18051         New file.
18052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18053         file.
18054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18055         multiarch round for PowerPC32.
18056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18057         New file.
18058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18059         New file.
18060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18061         multiarch roundf for PowerPC32.
18062
18063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18064         and floorf multiarch implementations.
18065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18066         New file.
18067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18068         file.
18069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18070         multiarch floor for PowerPC32.
18071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18072         New file.
18073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18074         New file.
18075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18076         multiarch floorf for PowerPC32.
18077
18078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18079         and ceilf multiarch implementations.
18080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18081         New file.
18082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18083         file.
18084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18085         multiarch ceil for PowerPC32.
18086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18087         New file.
18088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18089         file.
18090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18091         multiarch ceilf for PowerPC32.
18092
18093         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18094         is defined.
18095         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18096         FINITEF is defined.
18097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18098         and finitef multiarch implementations.
18099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18100         New file.
18101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18102         file.
18103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18104         multiarch finite for PowerPC32.
18105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18106         New file.
18107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18108         file: multiarch finitef for PowerPC32.
18109
18110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18111         and isinff multiarch implementations.
18112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18113         file.
18114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18115         file.
18116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18117         multiarch isinf for PowerPC32.
18118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18119         New file.
18120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18121         multiarch isinff for PowerPC32.
18122
18123         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18124         alias when __isnan is defined.
18125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18126         and isnanf multiarch implementations.
18127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18128         file.
18129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18130         file.
18131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18132         file.
18133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18134         file.
18135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18136         multiarch isnan for PowerPC32.
18137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18138         New file.
18139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18140         New file.
18141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18142         multiarch isnanf for PowerPC32.
18143
18144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18145         and sqrtf multiarch implementations.
18146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18147         file.
18148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18149         file.
18150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18151         multiarch sqrt for PowerPC32.
18152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18153         file.
18154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18155         file.
18156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18157         multiarch sqrtf for PowerPC32.
18158
18159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18160         and llroundf multiarch implementations.
18161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18162         New file.
18163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18164         New file.
18165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18166         New file.
18167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18168         file: multiarch llround for PowerPC32.
18169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18170         file: multiarch llroundf for PowerPC32.
18171
18172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18173         multiarch PowerPC32 fpu implementations.
18174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18175         New file.
18176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18177         New file.
18178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18179         multiarch llrint for PowerPC32.
18180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18181         New file.
18182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18183         New file.
18184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18185         file.
18186
18187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18188
18189         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18190         file.
18191         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18192         file.
18193         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18194         file.
18195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18196         multiarch wordcopy for PPC32.
18197         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18198         wordcopy objects.
18199         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18200         (__libc_ifunc_impl_list): Likewise.
18201         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18202         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18203         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18204         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18205         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18206         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18207
18208         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18210         file.
18211         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18212         file.
18213         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18214         file.
18215         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18216         multiarch wcscpy for PPC32.
18217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18218         multiarch objects.
18219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18220         (__libc_ifunc_impl_list): Likewise.
18221         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18222         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18223         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18224         sysdeps/powerpc/power6/wcscpy.c.
18225
18226         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18228         file.
18229         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18230         file.
18231         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18232         file.
18233         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18234         multiarch wcsrchr for PPC32.
18235         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18236         multiarch objects.
18237         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18238         (__libc_ifunc_impl_list): Likewise.
18239         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18240         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18241         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18242         sysdeps/powerpc/power6/wcsrchr.c.
18243
18244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18245         file.
18246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18247         file.
18248         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18249         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18250         multiarch wcschr for PPc32.
18251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18252         multiarch objects.
18253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18254         (__libc_ifunc_impl_list): Likewise.
18255         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18256         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18257         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18258         sysdeps/powerpc/power6/wcschr.c.
18259
18260         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18261         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18262         file.
18263         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18264         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18265         file: multiarch strchr for PPC32.
18266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18267         multiarch objects.
18268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18269         (__libc_ifunc_impl_list): Likewise.
18270
18271         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18272         name.
18273         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18274         file.
18275         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18276         file.
18277         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18278         multiarch strchrnul for PPC32.
18279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18280         multiarch objects.
18281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18282         (__libc_ifunc_impl_list): Likewise.
18283
18284         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18285         file.
18286         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18287         multiarch strncasecmp for PPC32.
18288         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18289         file.
18290         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18291         multiarch strncasecmp_l for PPC32.
18292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18293         strncasecmp multiarch objects.
18294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18295         (__libc_ifunc_impl_list): Likewise.
18296
18297         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18298         file.
18299         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18300         multiarch strncasecmp for PPC32.
18301         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18302         New file.
18303         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18304         multiarch strcasecmp_l for PPC32.
18305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18306         multiarch objects.
18307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18308         (__libc_ifunc_impl_list): Likewise.
18309
18310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18311         file.
18312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18313         file.
18314         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18315         multiarch strncmp for PPC32.
18316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18317         multiarch objects.
18318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18319         (__libc_ifunc_impl_list): Likewise.
18320
18321         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18322         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18323         file.
18324         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18325         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18326         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18327         multiarch objects.
18328         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18329         (__libc_ifunc_impl_list): Likewise.
18330
18331         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18332         file.
18333         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18334         file.
18335         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18337         multiarch objects.
18338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18339         (__libc_ifunc_impl_list): Likewise.
18340
18341         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18342         file.
18343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18344         file.
18345         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18346         multiarch rawmemchr for PPC32.
18347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18348         multiarch objects.
18349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18350         (__libc_ifunc_impl_list): Likewise.
18351
18352         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18353         file.
18354         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18355         file.
18356         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18357         file: memrchr multiarch for PPC32.
18358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18359         multiarch objects.
18360         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18361         (__libc_ifunc_impl_list): Likewise.
18362
18363         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18364         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18365         file.
18366         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18367         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18368         multiarch memchr for PPC32.
18369         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18370         multiarch objects.
18371         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18372         (__libc_ifunc_impl_list): Likewise.
18373
18374         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18376         file.
18377         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18378         file.
18379         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18380         file: multiarch mempcpy for PPC32.
18381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18382         multiarch objects.
18383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18384         (__libc_ifunc_impl_list): Likewise.
18385
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18387         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18388         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18389         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18390         multiarch bzero for PPC32.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18392         file.
18393         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18394         file.
18395         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18396         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18397         file: multiarch memset for PPC32.
18398         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18399         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18400         memset multiarch objects.
18401         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18402         (__libc_ifunc_impl_list): Likewise.
18403
18404         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18405         file.
18406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18408         memcmp for PPC32.
18409         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18411         multiarch objects.
18412         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18413         (__libc_ifunc_impl_list): Likewise.
18414
18415         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18416         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18417         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18418         file.
18419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18420         file.
18421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18422         file.
18423         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18424         multiarch memcpy for PPC32.
18425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18426         multiarch objects.
18427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18428         (__libc_ifunc_impl_list): Likewise.
18429
18430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18431         support multiarch for POWER/PPC32.
18432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18433         Likewise.
18434         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18436         Implies file to make multiarch folder appers before the fpu and
18437         default folder for power4 configuration.
18438
18439 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18440
18441         * scripts/bench.pl: Append volatile keyword to type.
18442
18443 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18444
18445         * sysdeps/sh/sotruss-lib.c: New file.
18446         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18447
18448 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18449
18450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18451
18452 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18453
18454         [BZ #6810]
18455         * math/w_tgamma.c: Include <errno.h>.
18456         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18457         * math/w_tgammaf.c: Include <errno.h>.
18458         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18459         * math/w_tgammal.c: Include <errno.h>.
18460         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18461         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18462         underflow.  Add more tgamma tests.
18463         * math/auto-libm-test-out: Regenerated.
18464         * sysdeps/i386/fpu/libm-test-ulps: Update.
18465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18466
18467         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18468         sin, sinh, tan, tanh, tgamma, y0 and y1.
18469         * math/auto-libm-test-out: Regenerated.
18470         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18471         (TEST_COND_x86): Likewise.
18472         (M_E2l): Remove macro.
18473         (M_E3l): Likewise.
18474         (M_2_SQRT_PIl): Likewise.
18475         (M_SQRT_PIl): Likewise.
18476         (M_1_DIV_El): Likewise.
18477         (log_test_data): Use AUTO_TESTS_f_f.
18478         (log10_test_data): Likewise.
18479         (log1p_test_data): Likewise.
18480         (log2_test_data): Likewise.
18481         (sin_test_data): Likewise.
18482         (sin_tonearest_test_data): Likewise.
18483         (sin_towardzero_test_data): Likewise.
18484         (sin_downward_test_data): Likewise.
18485         (sin_upward_test_data): Likewise.
18486         (sinh_test_data): Likewise.
18487         (sinh_tonearest_test_data): Likewise.
18488         (sinh_towardzero_test_data): Likewise.
18489         (sinh_downward_test_data): Likewise.
18490         (sinh_upward_test_data): Likewise.
18491         (tan_test_data): Likewise.
18492         (tan_tonearest_test_data): Likewise.
18493         (tan_towardzero_test_data): Likewise.
18494         (tan_downward_test_data): Likewise.
18495         (tan_upward_test_data): Likewise.
18496         (tanh_test_data): Likewise.
18497         (tgamma_test_data): Likewise.
18498         (y0_test_data): Likewise.
18499         (y1_test_data): Likewise.
18500         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18501         (special_real_inputs): Add pi/4.
18502         * sysdeps/i386/fpu/libm-test-ulps: Update.
18503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18504
18505 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18506
18507         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18508         "longjmp_target" static probes.
18509         (__longjmp): Rename to __longjmp_symbol.
18510         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18511         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18512         on which longjmp to generate.
18513         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18514         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18515         probe.
18516         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18517         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18518         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18519         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18520         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18521         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18523         __longjmp_symbol based on which __longjmp to generate.
18524         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18525         probe.
18526         (setjmp): Rename to setjmp_symbol.
18527         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18528         (_setjmp): Rename to _setjmp_symbol.
18529         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18530         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18531         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18532         which setjmp to generate.
18533         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18534         "longjmp_target" static probes.
18535
18536 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18537
18538         * benchtests/README: Add note about output arguments.
18539         * benchtests/bench-sincos.c: Remove file.
18540         * benchtests/sincos-inputs: New file.
18541         * scripts/bench.pl: Identify output arguments and define
18542         static variables for them.
18543
18544         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18545
18546         [BZ #15941]
18547         * Makefile (INSTALL): Add install-plain.texi as the primary
18548         dependency.
18549         * manual/install-plain.texi: New file.
18550         * manual/install.texi: Include node directive only for
18551         non-plaintext output.
18552
18553 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18554
18555         * stdlib/longlong.h: Update from GCC.
18556
18557         [BZ #6807]
18558         [BZ #15901]
18559         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18560         * math/w_j0f.c (y0f): Likewise.
18561         * math/w_j0l.c (__y0l): Likewise.
18562         * math/w_j1.c (y1): Likewise.
18563         * math/w_j1f.c (y1f): Likewise.
18564         * math/w_j1l.c (__y1l): Likewise
18565         * math/w_jn.c (yn): Likewise.
18566         * math/w_jnf.c (ynf): Likewise.
18567         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18568         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18569         value for Bessel function domain errors outside _SVID_ mode.
18570         Adjust sign of return value for yn (negative integer, 0).
18571         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18572         by zero in return for negative x and set sign appropriately for
18573         negative n.
18574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18575         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18576         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18577         expectations in error cases.
18578         (y1_test_data): Likewise.
18579         (yn_test_data): Likewise.
18580         * sysdeps/i386/fpu/libm-test-ulps: Update.
18581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18582
18583 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18584
18585         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18586         "64" to "64-v1".  Add "64-v2".
18587         (abi-64-options): Rename to ...
18588         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18589         (abi-64-condition): Rename to ...
18590         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18591         (abi-64-ld-soname): Rename to ...
18592         (abi-64-v1-ld-soname): ... this.
18593         (abi-64-v2-options): Define.
18594         (abi-64-v2-condition): Likewise.
18595         (abi-64-v2-ld-soname): Likewise.
18596         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18597         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18601
18602 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18603             Alan Modra  <amodra@gmail.com>
18604
18605         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18606         New versions for use with the ELFv2 ABI.
18607         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18608         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18609         declaration.
18610         (struct La_ppc64v2_retval): Likewise.
18611         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18612         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18613         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18614         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18615         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18616         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18617         Do not save or restore CR.
18618         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18619         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18620         return values for ELFv2 ABI.  Fix location of FPR return registers.
18621         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18622         updated values for _CALL_ELF == 2.
18623         (La_regs, La_retval, int_retval): Likewise.
18624
18625 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18626
18627         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18628         (FRAME_MIN_SIZE_PARM): Likewise.
18629         (FRAME_BACKCHAIN): Likewise.
18630         (FRAME_CR_SAVE): Likewise.
18631         (FRAME_LR_SAVE): Likewise.
18632         (FRAME_TOC_SAVE): Likewise.
18633         (FRAME_PARM_SAVE): Likewise.
18634         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18635         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18636         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18637         (call_mcount_parm_offset): New macro.
18638         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18639         (PROF): Use symbolic stack frame offsets.
18640         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18641         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18642         Redefine in terms of FRAME_MIN_SIZE.
18643         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18644         (_dl_profile_resolve): Likewise.  Update comment.
18645         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18646         symbols stack frame offsets.
18647         (__sigsetjmp): Likewise.
18648         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18649         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18650         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18651         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18652
18653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18654         (FRAME_BACKCHAIN): Remove.
18655         (FRAME_CR_SAVE): Likewise.
18656         (FRAME_LR_SAVE): Likewise.
18657         (FRAME_COMPILER_DW): Likewise.
18658         (FRAME_LINKER_DW): Likewise.
18659         (FRAME_TOC_SAVE): Likewise.
18660         (FRAME_PARM_SAVE): Likewise.
18661         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18662         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18663         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18665         (CHECK_SP): Use symbolic stack frame offsets.
18666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18667         zone" instead of caller's parameter save area for temp storage.
18668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18669         Likewise.  Also, use symbolic stack frame offsets.
18670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18671         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18672         our own stack frame instead of the caller's.
18673         (__socket): Use symbolic stack frame offsets.
18674
18675 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18676             Alan Modra  <amodra@gmail.com>
18677
18678         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18679         Define.
18680         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18681         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18682         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18683         New function.
18684         (elf_machine_fixup_plt): Call it.
18685         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18686         reloc arguments.
18687         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18688         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18689         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18690         r2 before calling target.
18691
18692 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18693             Alan Modra  <amodra@gmail.com>
18694
18695         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18696         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18697         versions of macros to support ELFv2 ABI.
18698         (LOCALENTRY): New macro.
18699         (ENTRY, EALIGN): Use it.
18700         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18701         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18702         fall through into ENTRY entry point.
18703         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18704         Only define if _CALL_ELF != 2.
18705
18706         (elf_machine_matches_host): Verify ABI version matches.
18707         (RTLD_START): Use LOCALENTRY.
18708         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18709         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18710         (PLT_ENTRY_WORDS): New macro.
18711         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18712         (elf_machine_runtime_setup): Support ELFv2 ABI.
18713         (elf_machine_fixup_plt): Likewise.
18714         (elf_machine_plt_conflict): Likewise.
18715         (resolve_ifunc): Likewise.
18716         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18717         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18718         Likewise.
18719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18720         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18722         (makecontext): Support ELFv2 ABI.
18723         * elf/elf.h (EF_PPC64_ABI): Define.
18724
18725 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18726
18727         * sysdeps/powerpc/powerpc64/sysdep.h
18728         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18729         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18730         (ENTRY) [ASSEMBLER]: ... but instead here ...
18731         (EALIGN) [ASSEMBLER]: ... and here.
18732         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18733         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18734         (ENTRY_2) [!ASSEMBLER]: Use it.
18735         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18736         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18737         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18738         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18739         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18741         Use PPC64_LOAD_FUNCPTR.
18742
18743         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18744
18745 2013-12-04  Alan Modra  <amodra@gmail.com>
18746
18747         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18748         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18749         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18750         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18751
18752         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18753         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18754         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18755         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18756         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18757         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18758
18759 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18760
18761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18762         (__makecontext): Fix incorrect CFI when backtracing out of
18763         context created via makecontext.
18764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18765         (__setcontext): Fix incorrect CFI during switch to new context.
18766         (__novec_setcontext): Likewise.
18767
18768 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18769
18770         [BZ #4772]
18771         * time/strptime_l.c (__strptime_internal): Allow modifiers
18772         in strptime.
18773         * time/tst-strptime.c (day_tests): Add testcase.
18774
18775 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18776
18777         * scripts/bench.pl: Skip over blank lines.
18778
18779 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18780
18781         [BZ #926]
18782         * manual/time.texi (Calendar Time): Clarify what timezone functions
18783         use.
18784
18785 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18786
18787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18788
18789 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18790
18791         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18792         implementation.
18793         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18794         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18795         * debug/memset_chk.c (__memset_chk): Likewise.
18796         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18797         * debug/strncpy_chk.c: Likewise.
18798
18799 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18800
18801         [BZ #15268]
18802         [BZ #15425]
18803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18804         (__ieee754_exp): For possibly underflowing results, check size of
18805         result and force underflow exception if required.
18806         * math/auto-libm-test-in: Add more tests of exp.
18807         * math/auto-libm-test-out: Regenerated.
18808         * sysdeps/i386/fpu/libm-test-ulps: Update.
18809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18810
18811         [BZ #16283]
18812         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18813         * math/w_exp2f.c (__exp2f): Likewise.
18814         * math/w_exp2l.c (__exp2l): Likewise.
18815         * math/auto-libm-test-in: Do not allow missing errno on exp2
18816         underflow.
18817         * math/auto-libm-test-out: Regenerated.
18818
18819 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18820
18821         [BZ #16274]
18822         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18823         handle filename validation.
18824         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18825         (do_open): Delete.
18826
18827 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18828
18829         [BZ #6786]
18830         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18831         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18832         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18833         <float.h>.
18834         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18835         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18836         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18837         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18838         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18839         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18840         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18841         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18842         Add more erfc tests.
18843         * math/auto-libm-test-out: Regenerated.
18844         * sysdeps/i386/fpu/libm-test-ulps: Update.
18845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18846
18847         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18848         exp2, expm1, j0 and j1.
18849         * math/auto-libm-test-out: Regenerated.
18850         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18851         (erfc_test_data): Likewise.
18852         (exp_test_data): Likewise.
18853         (exp_tonearest_test_data): Likewise.
18854         (exp_towardzero_test_data): Likewise.
18855         (exp_downward_test_data): Likewise.
18856         (exp_upward_test_data): Likewise.
18857         (exp10_test_data): Likewise.
18858         (exp2_test_data): Likewise.
18859         (expm1_test_data): Likewise.
18860         (j0_test_data): Likewise.
18861         (j1_test_data): Likewise.
18862         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18863         (input_flag_type): Add flag_xfail_rounding.
18864         (input_flags): Add xfail-rounding.
18865         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18866         (output_for_one_input_case): Handle flag_xfail_rounding.
18867         * sysdeps/i386/fpu/libm-test-ulps: Update.
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18869
18870 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18871
18872         [BZ #16289]
18873         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18874         division by 0.
18875
18876 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18877
18878         [BZ #16195]
18879         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18880         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18881         (STAP_PROBE0): New macro.
18882         (STAP_PROBE1): Likewise.
18883         (STAP_PROBE2): Likewise.
18884         (STAP_PROBE3): Likewise.
18885         (STAP_PROBE4): Likewise.
18886
18887 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18888
18889         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18890
18891 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18892
18893         * benchtests/Makefile (bench): Add sqrt.
18894         (LDLIBS-bench-sqrt): New.
18895         * benchtests/sqrt-input: New.
18896
18897 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18898
18899         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18900         (GAIH_EAI): Likewise.
18901         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18902         (gaih_inet): Likewise.
18903         (getaddrinfo): Don't use GAIH_EAI.
18904
18905         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18906         (struct gaih): Remove definition.
18907
18908 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909
18910         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18911         Use HERRNOP directly.
18912
18913 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18914
18915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18916
18917 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18918
18919         * math/gen-auto-libm-tests.c (test_functions): Add more
18920         single-argument functions.
18921         (special_fill_pi_2): New function.
18922         (special_fill_minus_pi_2): Likewise.
18923         (special_fill_pi_6): Likewise.
18924         (special_fill_minus_pi_6): Likewise.
18925         (special_fill_pi_3): Likewise.
18926         (special_fill_2pi_3): Likewise.
18927         (special_fill_e): Likewise.
18928         (special_fill_1_e): Likewise.
18929         (special_fill_e_minus_1): Likewise.
18930         (special_real_inputs): Add more special inputs.
18931         (output_for_one_input_case): Do not require ERANGE on underflow to
18932         zero if round-to-nearest result does not underflow to zero, unless
18933         exact results required.
18934         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18935         atan, atanh, cbrt, cos and cosh.
18936         * math/auto-libm-test-out: Regenerated.
18937         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18938         (acos_tonearest_test_data): Likewise.
18939         (acos_towardzero_test_data): Likewise.
18940         (acos_downward_test_data): Likewise.
18941         (acos_upward_test_data): Likewise.
18942         (acosh_test_data): Likewise.
18943         (asin_test_data): Likewise.
18944         (asin_tonearest_test_data): Likewise.
18945         (asin_towardzero_test_data): Likewise.
18946         (asin_upward_test_data): Likewise.
18947         (asinh_test_data): Likewise.
18948         (atan_test_data): Likewise.
18949         (atanh_test_data): Likewise.
18950         (cbrt_test_data): Likewise.
18951         (cos_test_data): Likewise.
18952         (cos_tonearest_test_data): Likewise.
18953         (cos_towardzero_test_data): Likewise.
18954         (cos_downward_test_data): Likewise.
18955         (cos_upward_test_data): Likewise.
18956         (cosh_test_data): Likewise.
18957         (cosh_tonearest_test_data): Likewise.
18958         (cosh_towardzero_test_data): Likewise.
18959         (cosh_downward_test_data): Likewise.
18960         (cosh_upward_test_data): Likewise.
18961         * sysdeps/i386/fpu/libm-test-ulps: Update.
18962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18963
18964 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18965
18966         [BZ #6787]
18967         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18968         * math/w_exp10f.c (__exp10f): Likewise.
18969         * math/w_exp10l.c (__exp10l): Likewise.
18970         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18971         errno settings in existing tests.
18972
18973         [BZ #14032]
18974         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18975         precision control set to double precision.
18976         * sysdeps/i386/fpu/w_sqrt.c: New file.
18977         * math/auto-libm-test-in: Add more tests.
18978         * math/auto-libm-test-out: Update.
18979
18980         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18981         (sqrt_test_tonearest): New function.
18982         (sqrt_towardzero_test_data): New variable.
18983         (sqrt_test_towardzero): New function.
18984         (sqrt_downward_test_data): New variable.
18985         (sqrt_test_downward): New function.
18986         (sqrt_upward_test_data): New variable.
18987         (sqrt_test_upward): New function.
18988         (main): Call the new functions.
18989
18990         * math/gen-auto-libm-tests.c: New file.
18991         * math/auto-libm-test-in: Likewise.
18992         * math/auto-libm-test-out: New generated file.
18993         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18994         variables.
18995         (%beautify): Add generated representations of zero.
18996         (top level): Set $auto_input and call parse_auto_input.
18997         (beautify): Remove trailing "f" from hex float constants.
18998         (parse_args): Handle XFAIL_TEST.
18999         (convert_condition): New function.
19000         (or_value): Likewise.
19001         (or_cond_value): Likewise.
19002         (generate_testfile): Handle AUTO_TESTS_* lines.
19003         (parse_auto_input): New function.
19004         * math/libm-test.inc (XFAIL_TEST): New macro.
19005         (ERRNO_UNCHANGED): Update value.
19006         (ERRNO_EDOM): Likewise.
19007         (ERRNO_ERANGE): Likewise.
19008         (IGNORE_RESULT): Likewise.
19009         (TEST_COND_flt_32): New macro.
19010         (TEST_COND_dbl_64): Likewise.
19011         (TEST_COND_ldbl_96_intel): Likewise.
19012         (TEST_COND_ldbl_96_m68k): Likewise.
19013         (TEST_COND_ldbl_128): Likewise.
19014         (TEST_COND_ldbl_128ibm): Likewise.
19015         (TEST_COND_long32): Likewise.
19016         (TEST_COND_long64): Likewise.
19017         (TEST_COND_before_rounding): Likewise.
19018         (TEST_COND_after_rounding): Likewise.
19019         (enable_test): Handle XFAIL_TEST flag.
19020         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19021         with finite results.
19022         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19023         auto-libm-test-out.
19024
19025 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19026             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19027
19028         [BZ #16214]
19029         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19030         __tls_get_addr_internal instead of __tls_get_offset in order to
19031         avoid GOT pointer dependency.  Make rtld export
19032         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19033         __tls_get_addr since we are a __tls_get_offset platform.
19034         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19035         GOT pointer being set up before.
19036         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19037
19038 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19039
19040         * manual/math.texi (Errors in Math Functions): Document accuracy
19041         goals.
19042
19043         [BZ #15004]
19044         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19045         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19047         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19048         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19049         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19050         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19051         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19052         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19053         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19054         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19055         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19056         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19057         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19058         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19059         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19060
19061         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19062         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19063         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19064         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19065         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19066         Likewise.
19067         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19068         Likewise.
19069         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19070         Likewise.
19071         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19072         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19073         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19074         atomic-feupdateenv and flt-rounds.
19075         * sysdeps/powerpc/nofpu/Versions (libc): Add
19076         __atomic_feholdexcept, __atomic_feclearexcept,
19077         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19078         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19079         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19080         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19081         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19082         here.
19083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19084         Update.
19085
19086         * manual/arith.texi (FP Exceptions): Document that exceptions may
19087         not be raised when matherr is used.
19088         (Math Error Reporting): Document overflow in directed rounding
19089         modes.  Document that errno may not be set when finite values are
19090         returned on overflow.  Document intent to set errno on underflow
19091         only for underflow to zero.
19092
19093         [BZ #16271]
19094         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19095         round-to-nearest then adjust result for other rounding modes.
19096         * include/fenv.h (fegetround): Use libm_hidden_proto.
19097         * math/fegetround.c (fegetround): Use libm_hidden_def.
19098         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19099         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19100         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19101         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19102         Likewise.
19103         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19104         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19105         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19106         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19107
19108 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19109
19110         [BZ #16077]
19111         * nss/Versions (libnss_files): Add
19112         _nss_files_gethostbyname3_r.
19113         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19114         New function.
19115         (HOST_DB_LOOKUP): Remove macro.
19116         (_nss_files_gethostbyname_r): Implement function without the
19117         HOST_DB_LOOKUP macro.
19118         (_nss_files_gethostbyname2_r): Likewise.
19119
19120 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19121
19122         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19123
19124 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19125
19126         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19127         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19128         warning.
19129
19130 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19131
19132         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19133         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19134         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19135         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19136         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19137         __fe_nomask_env_priv and attribute_hidden.
19138         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19139         (libc_feupdateenv_test_ppc): Likewise.
19140         (libc_feresetround_ppc): Likewise.
19141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19142         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19143         compat_symbol macro.
19144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19145         (__fe_nomask_env): Likewise.
19146         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19147
19148 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19149
19150         * string/Makefile: Remove ifunc tests.
19151         * string/test-string.h: Define TEST_IFUNC.
19152         * string/test-bcopy-ifunc.c: Remove.
19153         * string/test-bzero-ifunc.c: Likewise.
19154         * string/test-memccpy-ifunc.c: Likewise.
19155         * string/test-memchr-ifunc.c: Likewise.
19156         * string/test-memcmp-ifunc.c: Likewise.
19157         * string/test-memcpy-ifunc.c: Likewise.
19158         * string/test-memmem-ifunc.c: Likewise.
19159         * string/test-memmove-ifunc.c: Likewise.
19160         * string/test-mempcpy-ifunc.c: Likewise.
19161         * string/test-memrchr-ifunc.c: Likewise.
19162         * string/test-memset-ifunc.c: Likewise.
19163         * string/test-rawmemchr-ifunc.c: Likewise.
19164         * string/test-stpcpy-ifunc.c: Likewise.
19165         * string/test-stpncpy-ifunc.c: Likewise.
19166         * string/test-strcasecmp-ifunc.c: Likewise.
19167         * string/test-strcasestr-ifunc.c: Likewise.
19168         * string/test-strcat-ifunc.c: Likewise.
19169         * string/test-strchr-ifunc.c: Likewise.
19170         * string/test-strchrnul-ifunc.c: Likewise.
19171         * string/test-strcmp-ifunc.c: Likewise.
19172         * string/test-strcpy-ifunc.c: Likewise.
19173         * string/test-strcspn-ifunc.c: Likewise.
19174         * string/test-strlen-ifunc.c: Likewise.
19175         * string/test-strncasecmp-ifunc.c: Likewise.
19176         * string/test-strncat-ifunc.c: Likewise.
19177         * string/test-strncmp-ifunc.c: Likewise.
19178         * string/test-strncpy-ifunc.c: Likewise.
19179         * string/test-strnlen-ifunc.c: Likewise.
19180         * string/test-strpbrk-ifunc.c: Likewise.
19181         * string/test-strrchr-ifunc.c: Likewise.
19182         * string/test-strspn-ifunc.c: Likewise.
19183         * string/test-strstr-ifunc.c: Likewise.
19184
19185 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19186
19187         * benchtests/Makefile: Remove ifunc tests.
19188         * benchtests/bench-string.h: Define TEST_IFUNC.
19189         * benchtests/bench-bcopy-ifunc.c: Remove.
19190         * benchtests/bench-bzero-ifunc.c: Likewise.
19191         * benchtests/bench-memccpy-ifunc.c: Likewise.
19192         * benchtests/bench-memchr-ifunc.c: Likewise.
19193         * benchtests/bench-memcmp-ifunc.c: Likewise.
19194         * benchtests/bench-memcpy-ifunc.c: Likewise.
19195         * benchtests/bench-memmem-ifunc.c: Likewise.
19196         * benchtests/bench-memmove-ifunc.c: Likewise.
19197         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19198         * benchtests/bench-memrchr-ifunc.c: Likewise.
19199         * benchtests/bench-memset-ifunc.c: Likewise.
19200         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19201         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19202         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19203         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19204         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19205         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19206         * benchtests/bench-strcat-ifunc.c: Likewise.
19207         * benchtests/bench-strchr-ifunc.c: Likewise.
19208         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19209         * benchtests/bench-strcmp-ifunc.c: Likewise.
19210         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19211         * benchtests/bench-strcpy-ifunc.c: Likewise.
19212         * benchtests/bench-strcspn-ifunc.c: Likewise.
19213         * benchtests/bench-strlen-ifunc.c: Likewise.
19214         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19215         * benchtests/bench-strncat-ifunc.c: Likewise.
19216         * benchtests/bench-strncmp-ifunc.c: Likewise.
19217         * benchtests/bench-strncpy-ifunc.c: Likewise.
19218         * benchtests/bench-strnlen-ifunc.c: Likewise.
19219         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19220         * benchtests/bench-strrchr-ifunc.c: Likewise.
19221         * benchtests/bench-strsep-ifunc.c: Likewise.
19222         * benchtests/bench-strspn-ifunc.c: Likewise.
19223         * benchtests/bench-strstr-ifunc.c: Likewise.
19224
19225 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19226
19227         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19228
19229 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19230
19231         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19232         * rt/aio.h: Likewise.
19233         * sysdeps/gnu/bits/utmp.h: Likewise.
19234         * sysdeps/gnu/bits/utmpx.h: Likewise.
19235         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19236         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19237         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19238         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19239         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19240         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19241         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19242         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19243         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19244         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19245         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19246         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19247         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19250         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19251         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19252         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19253         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19254         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19255         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19256         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19257         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19258         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19259         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19260         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19261         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19262         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19263         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19264         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19265         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19266         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19267         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19268         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19269         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19270         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19271         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19272         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19273         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19274         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19275         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19276         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19277
19278 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19279
19280         [BZ #16245]
19281         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19282         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19283
19284 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19285
19286         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19287         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19288         Likewise.
19289
19290 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19291
19292         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19293         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19294         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19295         (__fesetround): Remove define.
19296         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19297         rounding and exceptions handling.
19298         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19299         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19300         (__fe_nomask_env): Likewise.
19301         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19302         __fegetround instead of fegetround.
19303         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19304         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19305
19306 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19307
19308         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19309         it's there.
19310
19311         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19312
19313 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19314
19315         [BZ #11157]
19316         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19317         (encrypt_r): Likewise.
19318         * malloc/obstack.h (obstack_free): Likewise.
19319         * posix/unistd.h (encrypt): Likewise.
19320
19321 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19322
19323         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19324         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19325         DL_CALL_DT_FINI() that call the functions directly.
19326         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19327         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19328         * elf/dl-fini.c: Likewise.
19329
19330 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19331
19332         * malloc/hooks.c (memalign_check): Add alignment rounding.
19333         * malloc/malloc.c (_mid_memalign): New function.
19334         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19335         Implement by calling _mid_memalign.
19336         * manual/probes.texi (Memory Allocation Probes): Remove
19337         memory_valloc_retry and memory_pvalloc_retry.
19338
19339 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19340
19341         * locale/programs/locarchive.c (open_archive): Add const
19342         qualifier to ARCHIVEFNAME and copy default fname to
19343         DEFAULT_FNAME.
19344
19345         [BZ #15601]
19346         * libio/tst-widetext.input: Rename Oriya to Odia.
19347         * locale/iso-639.def: Likewise.
19348
19349         * manual/probes.texi (Mathematical Function Probes): Add
19350         documentation for sin, cos, asin and acos probes.
19351         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19352         (__sin32): Add slowasin probe.
19353         (__cos32): Add slowacos probe.
19354         (__mpsin): Add slowsin probe.
19355         (__mpcos): Add slowcos probe.
19356
19357 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19358
19359         [BZ #15483]
19360         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19361         thread-local __sim_exceptions_thread and global
19362         __sim_exceptions_global.
19363         (__sim_disabled_exceptions): Change to thread-local
19364         __sim_disabled_exceptions_thread and global
19365         __sim_disabled_exceptions_global.
19366         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19367         and global __sim_round_mode_global.
19368         (__simulate_exceptions): Use thread-local floating-point state and
19369         set global state from it as needed.
19370         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19371         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19372         __sim_round_mode_thread.
19373         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19374         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19375         and global __sim_exceptions_global.
19376         (__sim_disabled_exceptions): Change to thread-local
19377         __sim_disabled_exceptions_thread and global
19378         __sim_disabled_exceptions_global.
19379         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19380         and global __sim_round_mode_global.
19381         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19382         (SIM_SET_GLOBAL): Likewise.
19383         * sysdeps/powerpc/soft-fp/sfp-machine.h
19384         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19385         __sim_round_mode_thread.
19386         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19387         __sim_disabled_exceptions_thread.
19388         (__sim_exceptions): Change to __sim_exceptions_thread.
19389         (__sim_disabled_exceptions): Change to
19390         __sim_disabled_exceptions_thread.
19391         (__sim_round_mode): Change to __sim_round_mode_thread.
19392         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19393         thread-local floating-point state and set global state from it as
19394         needed.
19395         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19396         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19397         (__sim_disabled_exceptions): Remove extern declaration.
19398         (feenableexcept): Use thread-local floating-point state and set
19399         global state from it as needed.
19400         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19401         extern declaration.
19402         (__sim_disabled_exceptions): Likewise.
19403         (__sim_round_mode): Likewise.
19404         (__fegetenv): Use thread-local floating-point state.
19405         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19406         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19407         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19408         floating-point state and set global state from it as needed.
19409         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19410         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19411         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19412         Likewise.
19413         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19414         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19415         Likewise.
19416         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19417         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19418         Use __sim_round_mode_thread.
19419         * math/test-fenv-tls.c: New file.
19420         * math/Makefile (tests): Add test-fenv-tls.
19421         ($(objpfx)test-fenv-tls): Depend on
19422         $(common-objpfx)nptl/libpthread.so.
19423
19424 2013-11-19  Andreas Schwab  <schwab@suse.de>
19425
19426         * locale/programs/locale.c (show_info): Decode wordarray elements.
19427         * locale/categories.def (LC_MONETARY): Add element for
19428         _NL_MONETARY_CRNCYSTR.
19429         * locale/C-monetary.c (conversion_rate): New variable.
19430         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19431         element.
19432
19433 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19434
19435         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19436         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19437
19438 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19439
19440         * elf/Makefile (tst-auxv): New test.
19441         * elf/tst-auxv.c: New
19442         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19443
19444 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19445
19446         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19447         (hidden_proto): Caller changed.
19448         (hidden_tls_proto): New macro.
19449         (libc_hidden_tls_proto): Likewise.
19450         (rtld_hidden_tls_proto): Likewise.
19451         (libm_hidden_tls_proto): Likewise.
19452         (libresolv_hidden_tls_proto): Likewise.
19453         (librt_hidden_tls_proto): Likewise.
19454         (libdl_hidden_tls_proto): Likewise.
19455         (libnss_files_hidden_tls_proto): Likewise.
19456         (libnsl_hidden_tls_proto): Likewise.
19457         (libnss_nisplus_hidden_tls_proto): Likewise.
19458         (libutil_hidden_tls_proto): Likewise.
19459
19460 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19461
19462         [BZ #10253]
19463         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19464         (decompose_rpath): Defer expansion to fillin_rpath.
19465         (_dl_init_paths): Pass linkmap to fillin_rpath.
19466
19467 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19468
19469         * benchtests/Makefile: Add strsep.
19470         * benchtests/bench-strsep.c: New file: strsep benchtest.
19471         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19472
19473 2013-11-18  Andreas Schwab  <schwab@suse.de>
19474
19475         * locale/programs/locale.c (show_info) [case byte]: Check for
19476         '\377' instead of '\177'.
19477         * locale/C-monetary.c (not_available): Always use "\377".
19478         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19479         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19480         detect unavailable sign_posn locale elements.
19481         * locale/localeconv.c (__localeconv): For grouping and
19482         mon_grouping handle "\177" and "\377" like no grouping.
19483         (INT_ELEM): New macro.  Use it to set all numeric members.
19484         * locale/programs/ld-monetary.c (monetary_read)
19485         <tok_mon_grouping>: Normalize single -1 to the empty string.
19486         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19487         Likewise.
19488
19489 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19490
19491         [BZ #16055]
19492         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19493         when we match (nil).
19494         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19495
19496 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19497
19498         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19499         (NO_TEST_INLINE): Update value.
19500         (ERRNO_UNCHANGED): Likewise.
19501         (ERRNO_EDOM): Likewise.
19502         (ERRNO_ERANGE): Likewise.
19503         (IGNORE_RESULT): Likewise.
19504         (check_float_internal): Check signs of NaN results if
19505         TEST_NAN_SIGN used.
19506         (check_complex): Pass TEST_NAN_SIGN flag through to second
19507         check_float_internal call.
19508         (copysign_test_data): Add tests with quiet NaNs as second
19509         argument.  Use TEST_NAN_SIGN.
19510         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19511         TEST_NAN_SIGN.
19512         (signbit_test_data): Add tests of quiet NaN argument.
19513         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19514
19515         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19516         $ignore_result.
19517         (parse_args): Handle function results specified as IGNORE.
19518         * math/libm-test.inc (IGNORE_RESULT): New macro.
19519         (check_float_internal): Do not check numerical result if flag
19520         IGNORE_RESULT set.
19521         (check_complex): Pass through IGNORE_RESULT to second
19522         check_float_internal call.
19523         (check_int): Do not check numerical result if flag IGNORE_RESULT
19524         set.
19525         (check_long): Likewise.
19526         (check_bool): Likewise.
19527         (check_longlong): Likewise.
19528         (lrint_test_data): Add tests of infinite and NaN arguments.
19529         (lrint_tonearest_test_data): Likewise.
19530         (lrint_towardzero_test_data): Likewise.
19531         (lrint_downward_test_data): Likewise.
19532         (lrint_upward_test_data): Likewise.
19533         (llrint_test_data): Likewise.
19534         (llrint_tonearest_test_data): Likewise.
19535         (llrint_towardzero_test_data): Likewise.
19536         (llrint_downward_test_data): Likewise.
19537         (llrint_upward_test_data): Likewise.
19538         (lround_test_data): Likewise.
19539         (llround_test_data): Likewise.
19540
19541         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19542         (ERRNO_UNCHANGED): Update value.
19543         (ERRNO_EDOM): Likewise.
19544         (ERRNO_ERANGE): Likewise.
19545         (NO_TEST_INLINE_FLOAT): New macro.
19546         (NO_TEST_INLINE_DOUBLE): Likewise.
19547         (enable_test): New function.
19548         (RUN_TEST_f_f): Check enable_test before running test.
19549         (RUN_TEST_2_f): Likewise.
19550         (RUN_TEST_fff_f): Likewise.
19551         (RUN_TEST_c_f): Likewise.
19552         (RUN_TEST_f_f1): Likewise.
19553         (RUN_TEST_fF_f1): Likewise.
19554         (RUN_TEST_fI_f1): Likewise.
19555         (RUN_TEST_ffI_f1): Likewise.
19556         (RUN_TEST_c_c): Likewise.
19557         (RUN_TEST_cc_c): Likewise.
19558         (RUN_TEST_f_i): Likewise.
19559         (RUN_TEST_f_i_tg): Likewise.
19560         (RUN_TEST_ff_i_tg): Likewise.
19561         (RUN_TEST_f_b): Likewise.
19562         (RUN_TEST_f_b_tg): Likewise.
19563         (RUN_TEST_f_l): Likewise.
19564         (RUN_TEST_f_L): Likewise.
19565         (RUN_TEST_fFF_11): Likewise.
19566         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19567         conditionals.
19568         (cosh_test_data): Likewise.
19569         (exp_test_data): Likewise.
19570         (expm1_test_data): Likewise.
19571         (hypot_test_data): Likewise.
19572         (pow_test_data): Likewise.
19573         (sinh_test_data): Likewise.
19574         (tanh_test_data): Likewise.
19575         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19576         flags argument.
19577
19578         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19579         tests with quiet NaN input and output.
19580         (acosh_test_data): Likewise.
19581         (asin_test_data): Likewise.
19582         (asinh_test_data): Likewise.
19583         (atan_test_data): Likewise.
19584         (atanh_test_data): Likewise.
19585         (atan2_test_data): Likewise.
19586         (cbrt_test_data): Likewise.
19587         (cos_test_data): Likewise.
19588         (cosh_test_data): Likewise.
19589         (erf_test_data): Likewise.
19590         (erfc_test_data): Likewise.
19591         (exp_test_data): Likewise.
19592         (exp10_test_data): Likewise.
19593         (exp2_test_data): Likewise.
19594         (expm1_test_data): Likewise.
19595         (hypot_test_data): Likewise.
19596         (j0_test_data): Likewise.
19597         (j1_test_data): Likewise.
19598         (jn_test_data): Likewise.
19599         (lgamma_test_data): Likewise.
19600         (log_test_data): Likewise.
19601         (log10_test_data): Likewise.
19602         (log1p_test_data): Likewise.
19603         (log2_test_data): Likewise.
19604         (pow_test_data): Likewise.
19605         (scalb_test_data): Likewise.
19606         (sin_test_data): Likewise.
19607         (sincos_test_data): Likewise.
19608         (sinh_test_data): Likewise.
19609         (tan_test_data): Likewise.
19610         (tanh_test_data): Likewise.
19611         (tgamma_test_data): Likewise.
19612         (y0_test_data): Likewise.
19613         (y1_test_data): Likewise.
19614         (yn_test_data): Likewise.
19615
19616         [BZ #16167]
19617         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19618         argument being NaN and avoid computations with second argument in
19619         that case.
19620         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19621         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19622         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19623
19624 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19625
19626         * locale/iso-639.def: Add Chitwani Tharu (the).
19627
19628 2013-11-14  Andreas Schwab  <schwab@suse.de>
19629
19630         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19631         word instead of empty string.
19632
19633 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19634
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19636         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19638         (__fe_nomask_env): Likewise.
19639
19640 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19641
19642         * benchtests/bench-timing.h: Include time.h.
19643
19644 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19645
19646         [BZ #15997]
19647         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19648         to 3.4.0 for x32.
19649         * sysdeps/unix/sysv/linux/configure: Regenerated.
19650
19651 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19652
19653         [BZ #16151]
19654         * stdlib/strtod_l.c (round_and_return): Do not consider
19655         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19656         exponent one less than half the least subnormal exponent.
19657         * stdlib/test-strtod-round-data: Add more tests.
19658         * stdlib/tst-strtod-round.c (tests): Regenerated.
19659
19660 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19661
19662         [BZ #14143]
19663         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19664         (__fe_mask_env): Likewise.
19665         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19666         libm_hidden_proto and add function prototype.
19667         (__fe_mask_env): Add function prototype.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19669         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19671         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19673         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19674
19675 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19676
19677         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19678         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19679
19680 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19681
19682         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19683         of htab_find_slot().
19684
19685 2013-11-11  David S. Miller  <davem@davemloft.net>
19686
19687         [BZ #16150]
19688         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19689         symbol in the non-vis3 case in static builds.
19690         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19691         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19692         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19693         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19694
19695 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19696
19697         [BZ #387]
19698         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19699         it is empty.
19700
19701 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19702
19703         * benchtests/Makefile: Add bench-strtod.
19704         * benchtests/bench-strtod.c: New file: strtod benchtest
19705
19706 2013-11-11  Andreas Schwab  <schwab@suse.de>
19707
19708         [BZ #16153]
19709         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19710         terminating NUL in key length.
19711
19712 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19713
19714         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19715         Add artificial ODP entry for vDSO symbol for PPC64.
19716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19717         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19718
19719 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19720
19721         [BZ #15374]
19722         * nss/getent.c (services_keys): Recognize services starting with digit.
19723
19724 2013-11-06  David S. Miller  <davem@davemloft.net>
19725
19726         [BZ #15985]
19727         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19728         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19729
19730 2013-11-06  Will Newton  <will.newton@linaro.org>
19731
19732         * manual/memory.texi (Malloc Examples): Remove register
19733         keyword from examples.
19734
19735 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19736
19737         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19738
19739 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19740
19741         [BZ #6981]
19742         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19743         depending on [__GCC_IEC_559 > 0].
19744         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19745         depending on [__GCC_IEC_559_COMPLEX > 0].
19746
19747 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19748
19749         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19750         to iso-639.def.
19751
19752 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19753
19754         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19755
19756 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19757
19758         [BZ #16112]
19759         * malloc/malloc (malloc_info): Do not handle first bin as
19760         special case.
19761
19762 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19763
19764         * locale/iso-639.def: Add Central Nahuatl (nhn).
19765
19766 2013-11-01  Bruno Haible  <bruno@clisp.org>
19767
19768         [BZ #7003]
19769         * manual/math.texi (BSD Random): Specify range upper bound as
19770         in POSIX.
19771
19772 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19773
19774         * locale/iso-639.def: Add Meadow Mari (mhr).
19775
19776 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19777
19778         [BZ #14752], [BZ #15763]
19779         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19780         Validate name.
19781         * rt/tst_shm.c: Add test for escaping directory.
19782
19783 2013-10-31  Andreas Schwab  <schwab@suse.de>
19784
19785         [BZ #15917]
19786         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19787         followed by 'x' as part of digit sequence.
19788         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19789
19790 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19791
19792         [BZ #16037]
19793         * configure.ac: allow GNU Make 4.0 and greater.
19794         * configure: Regenerated.
19795
19796 2013-10-30  Will Newton  <will.newton@linaro.org>
19797
19798         [BZ #16038]
19799         * malloc/hooks.c (memalign_check): Limit alignment to the
19800         maximum representable power of two.
19801         * malloc/malloc.c (__libc_memalign): Likewise.
19802         * malloc/tst-memalign.c (do_test): Add test for very
19803         large alignment values.
19804         * malloc/tst-posix_memalign.c (do_test): Likewise.
19805
19806 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19807
19808         [BZ #11087]
19809         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19810         (munmap_chunk): Likewise.
19811         (mremap_chunk): Likewise.
19812
19813 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19814
19815         [BZ #15799]
19816         * stdlib/div.c (div): Remove obsolete code.
19817         * stdlib/ldiv.c (ldiv): Likewise.
19818         * stdlib/lldiv.c (lldiv): Likewise.
19819
19820 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19821
19822         [BZ #16071]
19823         * nss/nss_files/files-XXX.c (get_contents_ret): New
19824         enumerator.
19825         (get_contents): New function.
19826         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19827
19828 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19829
19830         * configure.in: Moved to ...
19831         * configure.ac: ... here. Change reference to configure.in
19832         to configure.ac.
19833         * sysdeps/arm/preconfigure.ac: ... here.
19834         configure.in to configure.ac.
19835         * sysdeps/gnu/configure.in: Moved to ...
19836         * sysdeps/gnu/configure.ac: ... here.
19837         * sysdeps/i386/configure.in: Moved to ...
19838         * sysdeps/i386/configure.ac: ... here.
19839         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19840         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19841         * sysdeps/mach/configure.in: Moved to ...
19842         * sysdeps/mach/configure.ac: ... here.
19843         * sysdeps/mach/hurd/configure.in: Moved to ...
19844         * sysdeps/mach/hurd/configure.ac: ... here.
19845         * sysdeps/powerpc/configure.in: Moved to ...
19846         * sysdeps/powerpc/configure.ac: ... here.
19847         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19848         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19849         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19850         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19851         * sysdeps/s390/s390-32/configure.in: Moved to ...
19852         * sysdeps/s390/s390-32/configure.ac: ... here.
19853         * sysdeps/s390/s390-64/configure.in: Moved to ...
19854         * sysdeps/s390/s390-64/configure.ac: ... here.
19855         * sysdeps/sh/configure.in: Moved to ...
19856         * sysdeps/sh/configure.ac: ... here.
19857         * sysdeps/sparc/configure.in: Moved to ...
19858         * sysdeps/sparc/configure.ac: ... here.
19859         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19860         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19861         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19862         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19863         * sysdeps/x86_64/configure.in: Moved to ...
19864         * sysdeps/x86_64/configure.ac: ... here.
19865         * sysdeps/x86_64/preconfigure.in: Moved to ...
19866         * sysdeps/x86_64/preconfigure.ac: ... here.
19867         * aclocal.m4: Change reference to configure.in to configure.ac.
19868         * config.h.in: Likewise.
19869         * manual/install.texi: Likewise.
19870         * manual/maint.texi: Likewise.
19871         * Makefile: Likewise.
19872         * malloc/Makefile: Likewise.
19873         * nscd/Makefile: Likewise.
19874         * Makeconfig: Change reference to configure.in and
19875         preconfigure.in to configure.ac and preconfigure.ac
19876         respectively.
19877         * INSTALL: Regenerated.
19878         * configure: Likewise.
19879         * sysdeps/gnu/configure: Likewise.
19880         * sysdeps/i386/configure: Likewise.
19881         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19882         * sysdeps/mach/configure: Likewise.
19883         * sysdeps/mach/hurd/configure: Likewise.
19884         * sysdeps/powerpc/configure: Likewise.
19885         * sysdeps/powerpc/powerpc32/configure: Likewise.
19886         * sysdeps/powerpc/powerpc64/configure: Likewise.
19887         * sysdeps/s390/s390-32/configure: Likewise.
19888         * sysdeps/s390/s390-64/configure: Likewise.
19889         * sysdeps/sh/configure: Likewise.
19890         * sysdeps/sparc/configure: Likewise.
19891         * sysdeps/unix/sysv/linux/configure: Likewise.
19892         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19893         * sysdeps/x86_64/configure: Likewise.
19894         * sysdeps/x86_64/preconfigure: Likewise.
19895
19896 2013-10-29  Andreas Schwab  <schwab@suse.de>
19897
19898         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19899
19900 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19901
19902         * benchtests/pow-inputs: Add new inputs.
19903
19904         * benchtests/exp-inputs: Add new inputs.
19905
19906         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19907         conditional check for return value.
19908         (__cos32): Likewise.
19909
19910 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19911
19912         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19913         to provide a boost for large inputs with word alignment.
19914         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19915         implementation based on optimized PPC64 strcpy.
19916         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19917         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19918         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19919         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19920
19921 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19922
19923         [BZ #2801]
19924         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19925
19926 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19927
19928         [BZ #14876]
19929         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19930         * time/tst-strptime.c (day_tests): Add testcase.
19931
19932 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19933
19934         [BZ #14029]
19935         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19936
19937 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19938
19939         [BZ #16074]
19940         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19941         MAP_FAILED on error.
19942
19943 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19944
19945         [BZ #16072]
19946         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19947         heap for large requests.
19948
19949 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19950
19951         [BZ #9954]
19952         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19953         result if the result has no associated interface.
19954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19955         interface for all 127.X.Y.Z addresses.
19956
19957 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19958
19959         * locale/iso-639.def: Add Ligurian (lij)
19960
19961 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19962
19963         [BZ #15825]
19964         * sunrpc/rpc_main.c: Document rpcgen -5.
19965
19966 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19967
19968         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19969
19970 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19971
19972         [BZ #10278]
19973         * posix/glob.c: Match only directories when trailing slash is present.
19974         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19975         (main): Add testcase.
19976
19977 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19978
19979         [BZ #15670]
19980         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19981
19982 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19983
19984         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19985         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19986         AUTH_DES and cindex for FIPS 140-2.
19987         (DES Encryption): Add cindex FIPS 46-3.
19988
19989         * locale/locarchive.h (struct locarhandle): Add fname.
19990         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19991         if an optional argument was specified to --list-archive,
19992         otherwise NULL.
19993         * locale/programs/locarchive.c (show_archive_content): Take new
19994         argument fname and pass it via ah.fname to open_archive.
19995         * locale/programs/localedef.h: Update decl.
19996         (open_archive): If AH->fname is non-null, open that file
19997         rather than the default file name, and don't ignore ENOENT.
19998         (create_archive): Set AH.fname to NULL.
19999         (delete_locales_from_archive): Likewise.
20000         (add_locales_to_archive): Likewise.
20001         * locale/programs/locfile.c (write_all_categories): Likewise.
20002
20003 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20004             Aldy Hernandez  <aldyh@redhat.com>
20005
20006         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20007         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20008         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20009         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20010         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20011         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20012         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20013         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20014         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20015         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20016         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20017         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20018         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20019         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20020         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20021         Likewise.
20022         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20023         Likewise.
20024         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20025         Likewise.
20026         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20027         Likewise.
20028         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20029         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20030         Likewise.
20031         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20032         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20033         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20034         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20035         Likewise.
20036         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20037         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20038         * sysdeps/powerpc/preconfigure: Likewise.
20039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20040         Likewise.
20041         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20042         Replace contents of file by #include of <fenv_libc.h>.
20043         * sysdeps/powerpc/soft-fp/sfp-machine.h
20044         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20045         and <sys/prctl.h>.
20046         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20049         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20050         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20051         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20053         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20054         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20055         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20056         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20057         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20059         Allow copysignl PLT reference to be missing.
20060
20061 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20062             Joseph Myers  <joseph@codesourcery.com
20063
20064         [BZ #15948]
20065         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20066         single character.
20067         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20068
20069 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20070
20071         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20072         * elf/tst-tls1.c: Likewise.
20073         * elf/tst-tls10.h: Likewise.
20074         * elf/tst-tls14.c: Likewise.
20075         * elf/tst-tls2.c: Likewise.
20076         * elf/tst-tls3.c: Likewise.
20077         * elf/tst-tls4.c: Likewise.
20078         * elf/tst-tls5.c: Likewise.
20079         * elf/tst-tls6.c: Likewise.
20080         * elf/tst-tls7.c: Likewise.
20081         * elf/tst-tls8.c: Likewise.
20082         * elf/tst-tls9.c: Likewise.
20083         * elf/tst-tlsmod1.c: Likewise.
20084         * elf/tst-tlsmod13.c: Likewise.
20085         * elf/tst-tlsmod13a.c: Likewise.
20086         * elf/tst-tlsmod14a.c: Likewise.
20087         * elf/tst-tlsmod16a.c: Likewise.
20088         * elf/tst-tlsmod16b.c: Likewise.
20089         * elf/tst-tlsmod2.c: Likewise.
20090         * elf/tst-tlsmod3.c: Likewise.
20091         * elf/tst-tlsmod4.c: Likewise.
20092         * elf/tst-tlsmod5.c: Likewise.
20093         * elf/tst-tlsmod6.c: Likewise.
20094
20095 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20096
20097         [BZ #12486]
20098         * malloc/malloc.c: remove checks for statistics.
20099
20100 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20101
20102         [BZ #15277]
20103         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20104         * inet/tst-network.c: Add testcase.
20105
20106 2013-10-17  Andreas Schwab  <schwab@suse.de>
20107
20108         [BZ #15218]
20109         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20110         to determine canonical name.
20111
20112 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20113
20114         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20115         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20117         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20118         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20119         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20120         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20121         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20122         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20123         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20124         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20125         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20126         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20127         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20128         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20129         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20130         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20131         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20132         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20133         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20134         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20135         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20136         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20137         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20138         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20139         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20141         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20142         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20143         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20144         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20145         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20146         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20147         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20148         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20149         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20150         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20151         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20152         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20153         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20154         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20155         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20156         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20157         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20158         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20160         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20161         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20162         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20163         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20164         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20165         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20166         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20167         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20168         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20169         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20170         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20171         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20172
20173 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20174
20175         [BZ #16041]
20176         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20177         make result into a quiet NaN.
20178
20179 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20180
20181         * soft-fp/adddf3.c: Fix horizontal whitespace.
20182         * soft-fp/addsf3.c: Likewise.
20183         * soft-fp/addtf3.c: Likewise.
20184         * soft-fp/divdf3.c: Likewise.
20185         * soft-fp/divsf3.c: Likewise.
20186         * soft-fp/divtf3.c: Likewise.
20187         * soft-fp/double.h: Likewise.
20188         * soft-fp/eqdf2.c: Likewise.
20189         * soft-fp/eqsf2.c: Likewise.
20190         * soft-fp/eqtf2.c: Likewise.
20191         * soft-fp/extenddftf2.c: Likewise.
20192         * soft-fp/extended.h: Likewise.
20193         * soft-fp/extendsfdf2.c: Likewise.
20194         * soft-fp/extendsftf2.c: Likewise.
20195         * soft-fp/extendxftf2.c: Likewise.
20196         * soft-fp/fixdfdi.c: Likewise.
20197         * soft-fp/fixdfsi.c: Likewise.
20198         * soft-fp/fixdfti.c: Likewise.
20199         * soft-fp/fixsfdi.c: Likewise.
20200         * soft-fp/fixsfsi.c: Likewise.
20201         * soft-fp/fixsfti.c: Likewise.
20202         * soft-fp/fixtfdi.c: Likewise.
20203         * soft-fp/fixtfsi.c: Likewise.
20204         * soft-fp/fixtfti.c: Likewise.
20205         * soft-fp/fixunsdfdi.c: Likewise.
20206         * soft-fp/fixunsdfsi.c: Likewise.
20207         * soft-fp/fixunsdfti.c: Likewise.
20208         * soft-fp/fixunssfdi.c: Likewise.
20209         * soft-fp/fixunssfsi.c: Likewise.
20210         * soft-fp/fixunssfti.c: Likewise.
20211         * soft-fp/fixunstfdi.c: Likewise.
20212         * soft-fp/fixunstfsi.c: Likewise.
20213         * soft-fp/fixunstfti.c: Likewise.
20214         * soft-fp/floatdidf.c: Likewise.
20215         * soft-fp/floatdisf.c: Likewise.
20216         * soft-fp/floatditf.c: Likewise.
20217         * soft-fp/floatsidf.c: Likewise.
20218         * soft-fp/floatsisf.c: Likewise.
20219         * soft-fp/floatsitf.c: Likewise.
20220         * soft-fp/floattidf.c: Likewise.
20221         * soft-fp/floattisf.c: Likewise.
20222         * soft-fp/floattitf.c: Likewise.
20223         * soft-fp/floatundidf.c: Likewise.
20224         * soft-fp/floatundisf.c: Likewise.
20225         * soft-fp/floatunditf.c: Likewise.
20226         * soft-fp/floatunsidf.c: Likewise.
20227         * soft-fp/floatunsisf.c: Likewise.
20228         * soft-fp/floatunsitf.c: Likewise.
20229         * soft-fp/floatuntidf.c: Likewise.
20230         * soft-fp/floatuntisf.c: Likewise.
20231         * soft-fp/floatuntitf.c: Likewise.
20232         * soft-fp/fmadf4.c: Likewise.
20233         * soft-fp/fmasf4.c: Likewise.
20234         * soft-fp/fmatf4.c: Likewise.
20235         * soft-fp/gedf2.c: Likewise.
20236         * soft-fp/gesf2.c: Likewise.
20237         * soft-fp/getf2.c: Likewise.
20238         * soft-fp/ledf2.c: Likewise.
20239         * soft-fp/lesf2.c: Likewise.
20240         * soft-fp/letf2.c: Likewise.
20241         * soft-fp/muldf3.c: Likewise.
20242         * soft-fp/mulsf3.c: Likewise.
20243         * soft-fp/multf3.c: Likewise.
20244         * soft-fp/negdf2.c: Likewise.
20245         * soft-fp/negsf2.c: Likewise.
20246         * soft-fp/negtf2.c: Likewise.
20247         * soft-fp/op-1.h: Likewise.
20248         * soft-fp/op-2.h: Likewise.
20249         * soft-fp/op-4.h: Likewise.
20250         * soft-fp/op-8.h: Likewise.
20251         * soft-fp/op-common.h: Likewise.
20252         * soft-fp/quad.h: Likewise.
20253         * soft-fp/single.h: Likewise.
20254         * soft-fp/soft-fp.h: Likewise.
20255         * soft-fp/sqrtdf2.c: Likewise.
20256         * soft-fp/sqrtsf2.c: Likewise.
20257         * soft-fp/sqrttf2.c: Likewise.
20258         * soft-fp/subdf3.c: Likewise.
20259         * soft-fp/subsf3.c: Likewise.
20260         * soft-fp/subtf3.c: Likewise.
20261         * soft-fp/truncdfsf2.c: Likewise.
20262         * soft-fp/trunctfdf2.c: Likewise.
20263         * soft-fp/trunctfsf2.c: Likewise.
20264         * soft-fp/trunctfxf2.c: Likewise.
20265         * soft-fp/unorddf2.c: Likewise.
20266         * soft-fp/unordsf2.c: Likewise.
20267         * soft-fp/unordtf2.c: Likewise.
20268
20269 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20270
20271         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20272         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20273
20274 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20275
20276         * elf/dl-libc.c: Clear initfini list after freeing.
20277
20278 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20279
20280         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20281         * soft-fp/addsf3.c: Likewise.
20282         * soft-fp/addtf3.c: Likewise.
20283         * soft-fp/divdf3.c: Likewise.
20284         * soft-fp/divsf3.c: Likewise.
20285         * soft-fp/divtf3.c: Likewise.
20286         * soft-fp/double.h: Likewise.
20287         * soft-fp/eqdf2.c: Likewise.
20288         * soft-fp/eqsf2.c: Likewise.
20289         * soft-fp/eqtf2.c: Likewise.
20290         * soft-fp/extenddftf2.c: Likewise.
20291         * soft-fp/extended.h: Likewise.
20292         * soft-fp/extendsfdf2.c: Likewise.
20293         * soft-fp/extendsftf2.c: Likewise.
20294         * soft-fp/extendxftf2.c: Likewise.
20295         * soft-fp/fixdfdi.c: Likewise.
20296         * soft-fp/fixdfsi.c: Likewise.
20297         * soft-fp/fixdfti.c: Likewise.
20298         * soft-fp/fixsfdi.c: Likewise.
20299         * soft-fp/fixsfsi.c: Likewise.
20300         * soft-fp/fixsfti.c: Likewise.
20301         * soft-fp/fixtfdi.c: Likewise.
20302         * soft-fp/fixtfsi.c: Likewise.
20303         * soft-fp/fixtfti.c: Likewise.
20304         * soft-fp/fixunsdfdi.c: Likewise.
20305         * soft-fp/fixunsdfsi.c: Likewise.
20306         * soft-fp/fixunsdfti.c: Likewise.
20307         * soft-fp/fixunssfdi.c: Likewise.
20308         * soft-fp/fixunssfsi.c: Likewise.
20309         * soft-fp/fixunssfti.c: Likewise.
20310         * soft-fp/fixunstfdi.c: Likewise.
20311         * soft-fp/fixunstfsi.c: Likewise.
20312         * soft-fp/fixunstfti.c: Likewise.
20313         * soft-fp/floatdidf.c: Likewise.
20314         * soft-fp/floatdisf.c: Likewise.
20315         * soft-fp/floatditf.c: Likewise.
20316         * soft-fp/floatsidf.c: Likewise.
20317         * soft-fp/floatsisf.c: Likewise.
20318         * soft-fp/floatsitf.c: Likewise.
20319         * soft-fp/floattidf.c: Likewise.
20320         * soft-fp/floattisf.c: Likewise.
20321         * soft-fp/floattitf.c: Likewise.
20322         * soft-fp/floatundidf.c: Likewise.
20323         * soft-fp/floatundisf.c: Likewise.
20324         * soft-fp/floatunsidf.c: Likewise.
20325         * soft-fp/floatunsisf.c: Likewise.
20326         * soft-fp/floatuntidf.c: Likewise.
20327         * soft-fp/floatuntisf.c: Likewise.
20328         * soft-fp/floatuntitf.c: Likewise.
20329         * soft-fp/fmadf4.c: Likewise.
20330         * soft-fp/fmasf4.c: Likewise.
20331         * soft-fp/fmatf4.c: Likewise.
20332         * soft-fp/gedf2.c: Likewise.
20333         * soft-fp/gesf2.c: Likewise.
20334         * soft-fp/getf2.c: Likewise.
20335         * soft-fp/ledf2.c: Likewise.
20336         * soft-fp/lesf2.c: Likewise.
20337         * soft-fp/letf2.c: Likewise.
20338         * soft-fp/muldf3.c: Likewise.
20339         * soft-fp/mulsf3.c: Likewise.
20340         * soft-fp/multf3.c: Likewise.
20341         * soft-fp/negdf2.c: Likewise.
20342         * soft-fp/negsf2.c: Likewise.
20343         * soft-fp/negtf2.c: Likewise.
20344         * soft-fp/op-1.h: Likewise.
20345         * soft-fp/op-2.h: Likewise.
20346         * soft-fp/op-4.h: Likewise.
20347         * soft-fp/op-8.h: Likewise.
20348         * soft-fp/op-common.h: Likewise.
20349         * soft-fp/quad.h: Likewise.
20350         * soft-fp/single.h: Likewise.
20351         * soft-fp/soft-fp.h: Likewise.
20352         * soft-fp/sqrtdf2.c: Likewise.
20353         * soft-fp/sqrtsf2.c: Likewise.
20354         * soft-fp/sqrttf2.c: Likewise.
20355         * soft-fp/subdf3.c: Likewise.
20356         * soft-fp/subsf3.c: Likewise.
20357         * soft-fp/subtf3.c: Likewise.
20358         * soft-fp/truncdfsf2.c: Likewise.
20359         * soft-fp/trunctfdf2.c: Likewise.
20360         * soft-fp/trunctfsf2.c: Likewise.
20361         * soft-fp/trunctfxf2.c: Likewise.
20362         * soft-fp/unorddf2.c: Likewise.
20363         * soft-fp/unordsf2.c: Likewise.
20364         * soft-fp/unordtf2.c: Likewise.
20365
20366 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20367
20368         [BZ #15672]
20369         * misc/error.c (error_tail): Fix possible buffer overflow.
20370
20371 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20372
20373         [BZ #13028]
20374         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20375         address.
20376
20377 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20378
20379         [BZ #832]
20380         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20381         testing pipefail option.
20382
20383 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20384
20385         * soft-fp/double.h: Indent preprocessor directives inside #if.
20386         * soft-fp/extended.h: Likewise.
20387         * soft-fp/op-2.h: Likewise.
20388         * soft-fp/op-4.h: Likewise.
20389         * soft-fp/op-common.h: Likewise.
20390         * soft-fp/quad.h: Likewise.
20391         * soft-fp/single.h: Likewise.
20392         * soft-fp/soft-fp.h: Likewise.
20393
20394 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20395
20396         * iconv/iconv_prog.c: Fix typos.
20397         * stdio-common/psiginfo-data.h: Likewise.
20398
20399 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20400
20401         [BZ #15764]
20402         * locale/setlocale.c: Fix typo.
20403
20404 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20405
20406         [BZ #16036]
20407         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20408         signaling NaN arguments.
20409         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20410         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20411
20412         [BZ #14910]
20413         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20414         unordered operands.
20415         * soft-fp/gesf2.c (__gesf2): Likewise.
20416         * soft-fp/getf2.c (__getf2): Likewise.
20417         * soft-fp/ledf2.c (__ledf2): Likewise.
20418         * soft-fp/lesf2.c (__lesf2): Likewise.
20419         * soft-fp/letf2.c (__letf2): Likewise.
20420
20421         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20422         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20423         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20424         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20425         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20426         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20427         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20428         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20429         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20430         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20431         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20432         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20433         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20434         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20435         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20436         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20437         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20438         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20439         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20440         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20441         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20442         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20443         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20444         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20445         * soft-fp/floattidf.c (__floattidf): Likewise.
20446         * soft-fp/floattisf.c (__floattisf): Likewise.
20447         * soft-fp/floattitf.c (__floattitf): Likewise.
20448         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20449         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20450         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20451         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20452         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20453         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20454         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20455         * soft-fp/gesf2.c (__gesf2): Likewise.
20456         * soft-fp/getf2.c (__getf2): Likewise.
20457         * soft-fp/ledf2.c (__ledf2): Likewise.
20458         * soft-fp/lesf2.c (__lesf2): Likewise.
20459         * soft-fp/letf2.c (__letf2): Likewise.
20460
20461         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20462         Undefine and redefine.
20463         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20464         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20465         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20466         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20467         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20468         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20469         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20470         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20471         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20472         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20473         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20474         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20475         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20476         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20477         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20478
20479         [BZ #16032]
20480         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20481         without decrementing exponent if mantissa >= that for the
20482         denominator, not >.
20483         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20484         denominator, not >.  Decrement exponent in < case instead of
20485         incrementing in >= case.
20486         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20487         without decrementing exponent if mantissa >= that for the
20488         denominator, not >.
20489
20490         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20491         computing saturated result for unsigned overflow.
20492
20493 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20494             Jeff Law  <law@redhat.com>
20495
20496         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20497         (atan2Mp): Add systemtap probe marker.
20498         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20499         (__ieee754_log): Add systemtap probe marker.
20500         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20501         (atanMp): Add systemtap probe marker.
20502         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20503         (tanMp): Add systemtap probe marker.
20504         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20505         (__slowexp): Add systemtap probe marker.
20506         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20507         (__slowpow): Add systemtap probe marker.
20508         * manual/probes.texi: Document probes.
20509
20510 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20511
20512         [BZ #15362]
20513         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20514         written.
20515         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20516         written.
20517         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20518         written to buffer but not flushed.
20519         * libio/iofwrite_u.c:  Likewise.
20520         * libio/iopadn.c:  Return bytes returned even if EOF was
20521         encountered.
20522         * libio/iowpadn.c:  Likewise.
20523         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20524         if _IO_padn does not write the whole buffer.
20525         [!COMPILE_WPRINTF] (PAD): Likewise.
20526
20527 2013-10-10  David S. Miller  <davem@davemloft.net>
20528
20529         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20530         directory block.
20531
20532 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20533
20534         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20535         instead of FSF address.
20536         * soft-fp/fixdfti.c: Likewise.
20537         * soft-fp/fixsfti.c: Likewise.
20538         * soft-fp/fixtfti.c: Likewise.
20539         * soft-fp/fixunsdfti.c: Likewise.
20540         * soft-fp/fixunssfti.c: Likewise.
20541         * soft-fp/fixunstfti.c: Likewise.
20542         * soft-fp/floattidf.c: Likewise.
20543         * soft-fp/floattisf.c: Likewise.
20544         * soft-fp/floattitf.c: Likewise.
20545         * soft-fp/floatuntidf.c: Likewise.
20546         * soft-fp/floatuntisf.c: Likewise.
20547         * soft-fp/floatuntitf.c: Likewise.
20548         * soft-fp/trunctfxf2.c: Likewise.
20549
20550         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20551         * soft-fp/fixdfti.c: Likewise.
20552         * soft-fp/fixsfti.c: Likewise.
20553         * soft-fp/fixtfti.c: Likewise.
20554         * soft-fp/fixunsdfti.c: Likewise.
20555         * soft-fp/fixunssfti.c: Likewise.
20556         * soft-fp/fixunstfti.c: Likewise.
20557         * soft-fp/floattidf.c: Likewise.
20558         * soft-fp/floattisf.c: Likewise.
20559         * soft-fp/floattitf.c: Likewise.
20560         * soft-fp/floatuntidf.c: Likewise.
20561         * soft-fp/floatuntisf.c: Likewise.
20562         * soft-fp/floatuntitf.c: Likewise.
20563         * soft-fp/trunctfxf2.c: Likewise.
20564
20565 2013-10-10  David S. Miller  <davem@davemloft.net>
20566
20567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20568
20569 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20570
20571         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20572         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20573         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20574         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20575         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20576         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20577         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20578
20579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20580         for NaNs before doing comparisons on argument.
20581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20582         Likewise.
20583
20584 2013-10-10  Will Newton  <will.newton@linaro.org>
20585
20586         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20587         passed to _int_memalign does not overflow.
20588
20589 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20590
20591         * scripts/bench.pl: Add include-sources directive.
20592         * benchtests/README: Update documentation.
20593
20594 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20595
20596         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20597         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20598         instead of FP_INIT_ROUNDMODE.
20599         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20600         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20601
20602         [BZ #16034]
20603         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20604         copy class of input value.
20605         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20606         not handle exceptions.
20607         * soft-fp/negsf2.c (__negsf2): Likewise.
20608         * soft-fp/negtf2.c (__negtf2): Likewise.
20609         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20610
20611 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20612
20613         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20614         semicolon.  From Linux kernel.
20615
20616 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20617
20618         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20619
20620 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20621
20622         [BZ #156]
20623         * manual/socket.texi: Added statement about buffer
20624         for gethostbyname2_r.
20625
20626 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20627
20628         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20629         Use .p2align directive instead, throughout.
20630         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20631         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20632         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20633         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20634         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20635         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20636         * sysdeps/x86_64/strchr.S: Likewise.
20637         * sysdeps/x86_64/strrchr.S: Likewise.
20638
20639 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640
20641         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20642
20643         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20644
20645         * sysdeps/generic/math_private.h (__mpsin1): Remove
20646         declaration.
20647         (__mpcos1): Likewise.
20648         (__mpsin): New argument __range_reduce.
20649         (__mpcos): Likewise.
20650         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20651         (slow): Use __mpsin and __mpcos.
20652         (slow1): Likewise.
20653         (slow2): Likewise.
20654         (sloww): Likewise.
20655         (sloww1): Likewise.
20656         (sloww2): Likewise.
20657         (bsloww): Likewise.
20658         (bsloww1): Likewise.
20659         (bsloww2): Likewise.
20660         (cslow2): Likewise.
20661         (csloww): Likewise.
20662         (csloww1): Likewise.
20663         (csloww2): Likewise.
20664         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20665         range_reduce.  Merge in __mpsin1.
20666         (__mpcos): Likewise.
20667         (__mpsin1): Remove.
20668         (__mpcos1): Likewise.
20669
20670 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20671
20672         * locale/loadlocale.c (_nl_intern_locale_data): Use
20673         LOCFILE_ALIGNED_P.
20674         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20675         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20676         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20677         obstack data is appropriately aligned.
20678         (obstack_int32_grow_fast): Likewise.
20679         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20680         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20681         (add_locale_uint32_array): Likewise.
20682
20683 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20684
20685         * benchtests/Makefile: Remove ARGLIST and RET variables.
20686         ($(objpfx)bench-%.c): Pass only function name to the script.
20687         * benchtests/README: Update documentation.
20688         * benchtests/acos-inputs: Add new directives.
20689         * benchtests/acosh-inputs: Likewise.
20690         * benchtests/asin-inputs: Likewise.
20691         * benchtests/asinh-inputs: Likewise.
20692         * benchtests/atan-inputs: Likewise.
20693         * benchtests/atanh-inputs: Likewise.
20694         * benchtests/cos-inputs: Likewise.
20695         * benchtests/cosh-inputs: Likewise.
20696         * benchtests/exp-inputs: Likewise.
20697         * benchtests/log-inputs: Likewise.
20698         * benchtests/pow-inputs: Likewise.
20699         * benchtests/rint-inputs: Likewise.
20700         * benchtests/sin-inputs: Likewise.
20701         * benchtests/sinh-inputs: Likewise.
20702         * benchtests/tan-inputs: Likewise.
20703         * benchtests/tanh-inputs: Likewise.
20704         * scripts/bench.pl: Add support for new directives.
20705
20706 2013-10-07  Alan Modra  <amodra@gmail.com>
20707
20708         * README: Fix careless merge.
20709
20710 2013-10-05  Alan Modra  <amodra@gmail.com>
20711
20712         * NEWS: Mention powerpc64le support and bugs fixed.
20713         * README: Both big-endian and little-endian powerpc64 supported.
20714
20715 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20716
20717         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20718         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20719         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20720         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20721
20722 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20723
20724         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20725         match prototype.
20726
20727 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20728
20729         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20730         Move -mhard-float appending from
20731         ports/sysdeps/powerpc/powerpc32/Makefile.
20732         [$(with-fp) = yes] (ASFLAGS): Likewise.
20733         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20734         * sysdeps/powerpc/nofpu: Move directory from
20735         ports/sysdeps/powerpc/nofpu.
20736         * sysdeps/powerpc/soft-fp: Move directory from
20737         ports/sysdeps/powerpc/soft-fp.
20738         * sysdeps/powerpc/powerpc32/405: Move directory from
20739         ports/sysdeps/powerpc/powerpc32/405.
20740         * sysdeps/powerpc/powerpc32/440: Move directory from
20741         ports/sysdeps/powerpc/powerpc32/440.
20742         * sysdeps/powerpc/powerpc32/464: Move directory from
20743         ports/sysdeps/powerpc/powerpc32/464.
20744         * sysdeps/powerpc/powerpc32/476: Move directory from
20745         ports/sysdeps/powerpc/powerpc32/476.
20746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20747         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20749         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20751         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20753         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20755         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20756         * README: Update for powerpc-*-linux-gnu software floating point
20757         support in libc.
20758
20759         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20760         case to powerpc/powerpc32*.
20761         * sysdeps/unix/sysv/linux/configure: Regenerated.
20762
20763         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20764         (_FPU_MASK_OM): Define as 0x04.
20765         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20766         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20767         0x00c10080.
20768         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20769         0x0000003c.
20770         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20771
20772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20773         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20774         getcontext_e500.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20776         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20777         setcontext_e500.
20778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20779         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20780         and setcontext_e500.
20781
20782 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20783
20784         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20785
20786 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20787
20788         * manual/threads.texi (Default Thread Attributes): Fix typo.
20789
20790 2013-10-04  Will Newton  <will.newton@linaro.org>
20791
20792         * malloc/Makefile: Add tst-memalign.
20793         * malloc/tst-memalign.c: New file.
20794
20795         * malloc/tst-posix_memalign.c: Add comments.
20796         (do_test): Add comments and call free on all potentially
20797         allocated pointers. Add space after cast.
20798
20799         * malloc/tst-pvalloc.c: Add comments.
20800         (do_test): Add comments and call free on all potentially
20801         allocated pointers. Remove duplicate check for NULL pointer.
20802         Add space after cast.
20803
20804         * malloc/tst-valloc.c: Add comments.
20805         (do_test): Add comments and call free on all potentially
20806         allocated pointers. Remove duplicate check for NULL pointer.
20807         Add space after cast.
20808
20809 2013-10-04  Alan Modra  <amodra@gmail.com>
20810
20811         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20812         Use stdint types in rather than __attribute__((mode())).
20813         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20814
20815 2013-10-04  Alan Modra  <amodra@gmail.com>
20816
20817         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20818         Correct handling of unaligned relocs for little-endian.
20819         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20820
20821 2013-10-04  Alan Modra  <amodra@gmail.com>
20822
20823         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20824         * configure: Regenerate.
20825         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20826         * shlib-versions: Likewise.
20827
20828 2013-10-04  Alan Modra  <amodra@gmail.com>
20829
20830         * string/tester.c (test_memrchr): Increment reported test cycle.
20831
20832 2013-10-04  Alan Modra  <amodra@gmail.com>
20833
20834         * string/test-memcpy.c (do_one_test): When reporting errors, print
20835         string address and don't overrun end of string.
20836
20837 2013-10-04  Alan Modra  <amodra@gmail.com>
20838
20839         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20840         insrdi.  Make better use of reg selection to speed exit slightly.
20841         Schedule entry path a little better.  Remove useless "are we done"
20842         checks on entry to main loop.  Handle wrapping around zero address.
20843         Correct main loop count.  Handle single left-over word from main
20844         loop inline rather than by using loop_small.  Remove extra word
20845         case in loop_small caused by wrong loop count.  Add little-endian
20846         support.
20847         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20848         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20849         cache hint.
20850         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20851         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20852         support.  Avoid rlwimi.
20853         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20854
20855 2013-10-04  Alan Modra  <amodra@gmail.com>
20856
20857         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20858         insrdi.  Formatting.
20859         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20860         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20861         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20862         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20863         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20864         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20865
20866 2013-10-04  Alan Modra  <amodra@gmail.com>
20867
20868         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20869         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20870         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20871         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20872         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20873         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20875         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20876         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20877         use of regs.  Use power7 mtocrf.  Tidy function tails.
20878
20879 2013-10-04  Alan Modra  <amodra@gmail.com>
20880
20881         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20882         Formatting.  Consistently use rXXX register defines or rN defines.
20883         Use early exit labels that avoid restoring unused non-volatile regs.
20884         Make cr field use more consistent with rWORDn compares.  Rename
20885         regs used as shift registers for unaligned loop, using rN defines
20886         for short lifetime/multiple use regs.
20887         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20888         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20889         addi 1,1,64 to pop stack frame.  Simplify return value code.
20890         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20891
20892 2013-10-04  Alan Modra  <amodra@gmail.com>
20893
20894         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20895         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20896         rather than rlwimi.
20897         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20898         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20899         little-endian support.  Correct typos.
20900         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20901         rather than rlwimi.
20902         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20903         in loop and entry code to keep "and." results.
20904         (strchr): Add little-endian support.  Comment.  Move cntlzd
20905         earlier in tail.
20906         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20907
20908 2013-10-04  Alan Modra  <amodra@gmail.com>
20909
20910         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20911         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20912         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20913         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20914
20915 2013-10-04  Alan Modra  <amodra@gmail.com>
20916
20917         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20918         (rTMP): Define as r11.
20919         (strcmp): Add little-endian support.  Optimise tail.
20920         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20921         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20922         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20923         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20924         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20925         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20926         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20927
20928 2013-10-04  Alan Modra  <amodra@gmail.com>
20929
20930         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20931         little-endian support.  Remove unnecessary "are we done" tests.
20932         Handle "s" wrapping around zero and extremely large "size".
20933         Correct main loop count.  Handle single left-over word from main
20934         loop inline rather than by using small_loop.  Correct comments.
20935         Delete "zero" tail, use "end_max" instead.
20936         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20937
20938 2013-10-04  Alan Modra  <amodra@gmail.com>
20939
20940         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20941         support.  Don't branch over align.
20942         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20943         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20944         support.  Rearrange tmp reg use to suit.  Comment.
20945         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20946
20947 2013-10-04  Alan Modra  <amodra@gmail.com>
20948
20949         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20950
20951 2013-10-04  Alan Modra  <amodra@gmail.com>
20952
20953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20954         conditional form of branch and link when obtaining pc.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20956
20957 2013-10-04  Alan Modra  <amodra@gmail.com>
20958
20959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20960         HIWORD/LOWORD.
20961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20963
20964 2013-10-04  Alan Modra  <amodra@gmail.com>
20965
20966         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20967         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20968         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20969         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20970         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20971         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20972         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20973         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20974         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20975         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20976
20977 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20978             Alistair Popple <alistair@ozlabs.au.ibm.com>
20979             Alan Modra <amodra@gmail.com>
20980
20981         [BZ #15723]
20982         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20983         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20984         _dl_hwcap access for little-endian.
20985         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20986         destroy vmx regs when saving unaligned.
20987         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20988         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20989         destroy vmx regs when saving unaligned.
20990
20991 2013-10-04  Alan Modra  <amodra@gmail.com>
20992
20993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20994         Don't use a union to pack hi/low value.
20995
20996 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20997
20998         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20999         for little-endian.
21000         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21001         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21002         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21003         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21004         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21005
21006 2013-10-04  Alan Modra  <amodra@gmail.com>
21007
21008         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21009         constants to usual value for .cst8 section, and remove redundant
21010         high address load.
21011         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21012         constant for 0x1p52.  Load little-endian words of double from
21013         correct stack offsets.
21014
21015 2013-10-04  Alan Modra  <amodra@gmail.com>
21016
21017         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21018         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21019         words of double from correct stack offsets.
21020         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21021         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21022         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21023         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21024         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21025         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21026         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21027         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21028         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21029         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21030         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21031         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21032         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21033         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21034         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21035         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21036         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21037
21038 2013-10-04  Alan Modra  <amodra@gmail.com>
21039
21040         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21041         64-bit int/double union.
21042         (_FPU_SETCW): Likewise.
21043         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21044         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21045
21046 2013-10-04  Alan Modra  <amodra@gmail.com>
21047
21048         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21049         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21050
21051 2013-10-04  Alan Modra  <amodra@gmail.com>
21052
21053         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21054         use vector int constants.
21055         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21056
21057 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21058
21059         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21060         array with long long.
21061         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21062         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21063         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21064         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21065         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21066         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21067         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21068         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21069         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21070         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21071         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21072         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21073         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21074
21075 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21076
21077         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21078         (__signbit): Likewise.  Correct for little-endian.
21079         (__signbitl): Call __signbit.
21080         (lrint): Correct for little-endian.
21081         (lrintf): Call lrint.
21082
21083 2013-10-04  Alan Modra  <amodra@gmail.com>
21084
21085         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21086         union 32-bit int array member with 64-bit int array.
21087         (t515, tm256): Double rather than long double.
21088         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21089
21090 2013-10-04  Alan Modra  <amodra@gmail.com>
21091
21092         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21093         Delete.
21094         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21095         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21096         version of math_ldbl.h.
21097
21098 2013-10-04  Alan Modra  <amodra@gmail.com>
21099
21100         [BZ #15734], [BZ #15735]
21101         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21102         all uses of ieee875 long double macros and unions.  Simplify test
21103         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21104         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21105         normalize after ldbl_extract_mantissa, and don't add hidden bit
21106         already handled.  Don't treat low word of ieee854 mantissa like
21107         low word of IBM long double and mask off bit when testing for
21108         zero.
21109         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21110         all uses of ieee875 long double macros and unions.  Simplify tests
21111         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21112         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21113         two1022, instead use their values.  Recognise that tests for large
21114         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21115         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21116         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21117         test for 0.0L and nan.  Correct negation.
21118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21119         ieee875 long double macros and unions.  Correct output for large
21120         magnitude x.  Correct absolute value calculation.
21121         (__erfcl): Likewise.
21122         * math/libm-test.inc: Add tests for errors discovered in IBM long
21123         double versions of fmodl, remainderl, erfl and erfcl.
21124
21125 2013-10-04  Alan Modra  <amodra@gmail.com>
21126
21127         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21128         all uses of ieee854 long double macros and unions.  Simplify tests
21129         for long doubles that are fully specified by the high double.
21130         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21131         Likewise.
21132         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21133         Remove dead code too.
21134         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21135         (__ieee754_ynl): Likewise.
21136         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21137         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21138         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21139         Remove dead code too.
21140         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21141         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21144         Simplify.
21145         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21146         Simplify.
21147         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21148         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21149         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21150         Comment on variable precision.
21151         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21152         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21153         Likewise.
21154         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21155         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21156         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21157         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21158         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21159
21160 2013-10-04  Alan Modra  <amodra@gmail.com>
21161
21162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21163         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21164         all uses of ieee854 long double macros and unions.
21165         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21166         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21167         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21168         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21169         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21170         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21171         Likewise.
21172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21173         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21174         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21175         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21176         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21177         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21178         Simplify sign and nan test too.
21179         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21180         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21181         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21182         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21183         Likewise.
21184         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21185         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21186         Likewise.
21187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21188         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21189         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21190         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21191         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21193
21194 2013-10-04  Alan Modra  <amodra@gmail.com>
21195
21196         * stdio-common/printf_size.c (__printf_size): Don't use
21197         union ieee854_long_double in fpnum union.
21198         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21199         signbit macro to retrieve sign from long double.
21200         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21201         retrieve sign from long double.
21202         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21203         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21204         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21205         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21206         * math/test-misc.c (main): Don't use union ieee854_long_double.
21207
21208 2013-10-04  Alan Modra  <amodra@gmail.com>
21209
21210         [BZ #15680]
21211         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21212         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21213         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21214         calculation.  Remove unnecessary test for denormal exponent.
21215         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21216         Correct handling of denormals.  Avoid undefined shift behaviour.
21217         Correct normalisation of low mantissa when low double is denormal.
21218         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21219         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21220         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21221         Correct normalisation of low mantissa.  Test for overflow of high
21222         mantissa and normalise.
21223         (ldbl_nearbyint): Use more readable constant for two52.
21224         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21225         (__mpn_construct_long_double): Fix test for overflow of high
21226         mantissa and correct normalisation.  Avoid undefined shift.
21227
21228 2013-10-04  Alan Modra  <amodra@gmail.com>
21229
21230         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21231         (union ibm_extended_long_double): Define as an array of ieee754_double.
21232         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21234         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21235         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21236         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21237         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21238         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21239         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21240         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21241         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21242         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21243
21244 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21245
21246         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21247         page size instead of calling getpagesize.
21248
21249         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21250         (LOCFILE_ALIGN_MASK): Likewise.
21251         (LOCFILE_ALIGN_UP): Likewise.
21252         (LOCFILE_ALIGNED_P): Likewise.
21253         * locale/programs/ld-collate.c (collate_output): Use the new
21254         macros instead of __alignof__ (int32_t).
21255         * locale/weight.h (findidx): Likewise.
21256
21257 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21258
21259         [BZ #431]
21260         * manual/string.texi: Fix strncat and wcsncat.
21261
21262 2013-10-03  Brooks Moses  <bmoses@google.com>
21263
21264         [BZ #15915]
21265         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21266         * Makerules: ...here, and adjust associated comments.
21267
21268 2013-10-02  Will Newton  <will.newton@linaro.org>
21269
21270         * malloc/Makefile: Add tst-pvalloc.
21271         * malloc/tst-pvalloc.c: New file.
21272
21273 2013-10-02  Will Newton  <will.newton@linaro.org>
21274
21275         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21276         improve test coverage.
21277
21278 2013-10-02  Will Newton  <will.newton@linaro.org>
21279
21280         * malloc/Makefile: Add tst-posix_memalign.
21281         * malloc/tst-posix_memalign.c: New file.
21282
21283 2013-10-01  Eric Blake  <eblake@redhat.com>
21284
21285         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21286         Use __THROWNL rather than __THROW on static functions.
21287
21288 2013-09-30  Petr Machata  <pmachata@redhat.com>
21289
21290         * elf/elf.h (R_AARCH64_ABS16): New macro.
21291         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21292         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21293         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21294         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21295         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21296         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21297         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21298         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21299         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21300         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21301         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21302         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21303         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21304         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21305         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21306         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21307         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21308         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21309         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21310         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21311         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21312         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21313         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21314         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21315         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21316         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21317         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21318         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21319         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21320         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21321         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21322         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21323         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21324         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21325         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21326         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21327         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21328         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21329         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21330         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21331         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21332         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21333         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21334         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21335         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21336         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21337         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21338         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21339         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21340         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21341         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21342         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21343         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21344         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21345         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21346         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21347         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21348         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21349         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21350         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21351         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21352         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21353         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21354         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21355         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21356         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21357         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21358         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21359         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21360         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21361         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21362         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21363         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21364         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21365         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21366         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21367         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21368         (R_AARCH64_TLSDESC_LDR): Likewise.
21369         (R_AARCH64_TLSDESC_ADD): Likewise.
21370         (R_AARCH64_TLSDESC_CALL): Likewise.
21371
21372 2013-09-30  Andreas Schwab  <schwab@suse.de>
21373
21374         [BZ #15048]
21375         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21376         the nss database lookup.
21377         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21379
21380 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21381
21382         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21383
21384 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21385
21386         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21387         ${Bash-specific parameter/pattern/string} parameter expansion.
21388         * sysdeps/unix/make-syscalls.sh: Likewise.
21389
21390 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21391
21392         * sysdeps/sh/stackguard-macros.h: New file.
21393
21394 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21395
21396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21398         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21399         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21400         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21401         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21402
21403 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21404
21405         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21406         Fix thread ID register.
21407
21408 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21409
21410         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21411         [POSIX || UNIX98]: Require rather than permitting all symbols from
21412         <time.h>.
21413         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21414         element of struct sched_param.
21415         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21416         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21417         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21418         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21419         constant.
21420
21421 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21422
21423         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21424         argument calculation.
21425
21426 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21427
21428         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21429         Expect macro.
21430         [POSIX] (pthread_attr_t): Do not require type.
21431         [POSIX] (pthread_cond_t): Likewise.
21432         [POSIX] (pthread_condattr_t): Likewise.
21433         [POSIX] (pthread_key_t): Likewise.
21434         [POSIX] (pthread_mutex_t): Likewise.
21435         [POSIX] (pthread_mutexattr_t): Likewise.
21436         [POSIX] (pthread_once_t): Likewise.
21437         [POSIX] (pthread_t): Likewise.
21438         [POSIX-based standards] (pthread_atfork): Expect function.
21439
21440 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21441             Richard Sandiford  <richard@codesourcery.com>
21442
21443         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21444         (swap_endianness_p): New extern variable.
21445         (set_big_endian): New inline function.
21446         (maybe_swap_uint32): Likewise.
21447         (maybe_swap_uint32_array): Likewise.
21448         (maybe_swap_uint32_obstack): Likewise.
21449         * locale/programs/locfile.c: Include <stdbool.h>.
21450         (swap_endianness_p): New variable.
21451         (add_locale_uint32): Call maybe_swap_uint32.
21452         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21453         (write_locale_data): Call maybe_swap_uint32_array.
21454         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21455         maybe_swap_uint32.
21456         (obstack_int32_grow_fast): Likewise.
21457         (output_weightwc): Call maybe_swap_uint32_obstack.
21458         (collate_output): Likewise.
21459         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21460         (OPT_LITTLE_ENDIAN): Likewise.
21461         (options): Add --little-endian and --big-endian options.
21462         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21463         * locale/programs/locarchive.c: Include "locfile.h".
21464         (GET): New macro.
21465         (SET): Likewise.
21466         (INC): Likewise.
21467         (create_archive): Use the new macros to access fields of
21468         structures directly mapped from or written to locale archives.
21469         (oldlocrecentcmp): Likewise.
21470         (enlarge_archive): Likewise.
21471         (insert_name): Likewise.
21472         (add_alias): Likewise.
21473         (add_locale): Likewise.
21474         (delete_locales_from_archive): Likewise.
21475         (show_archive_content): Likewise.
21476         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21477         locale data.
21478
21479 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21480
21481         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21482         http://www.gnu.org/doc/freemanuals.texi.
21483         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21484
21485 2013-09-24  Will Newton  <will.newton@linaro.org>
21486
21487         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21488         macro.
21489
21490 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21491
21492         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21493         unsigned char.
21494
21495 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21496
21497         * manual/threads.texi (POSIX Threads): Fix a typo.
21498
21499 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21500
21501         [BZ #14547]
21502         * string/tst-strcoll-overflow.c: New test case.
21503         * string/Makefile (xtests): Add tst-strcoll-overflow.
21504         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21505         cache if string sizes may cause integer overflow.
21506
21507         [BZ #14547]
21508         * string/strcoll_l.c (coll_seq): New members rule, idx,
21509         save_idx and back_us.
21510         (get_next_seq_nocache): New function.
21511         (do_compare_nocache): New function.
21512         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21513         when malloc fails.
21514
21515 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21516
21517         [BZ #15754]
21518         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21519         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21520         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21521
21522         [BZ #15754]
21523         * elf/Makefile (tests): Add tst-ptrguard1.
21524         (tests-static): Add tst-ptrguard1-static.
21525         (tst-ptrguard1-ARGS): Define.
21526         (tst-ptrguard1-static-ARGS): Define.
21527         * elf/tst-ptrguard1.c: New file.
21528         * elf/tst-ptrguard1-static.c: New file.
21529         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21530         * sysdeps/i386/stackguard-macros.h: Likewise.
21531         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21532         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21533         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21534         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21535         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21536         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21537
21538 2013-09-23  Hector Marco  <hecmargi@upv.es>
21539             Ismael Ripoll  <iripoll@disca.upv.es>
21540             Carlos O'Donell  <carlos@redhat.com>
21541
21542         [BZ #15754]
21543         * sysdeps/generic/stackguard-macros.h: Define
21544         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21545         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21546         Define __pointer_chk_guard_local.
21547         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21548         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21549
21550 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21551
21552         [BZ #15859]
21553         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21554
21555 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21556
21557         * include/string.h (__ffs): Declare as hidden.
21558         * string/ffs.c (__ffs): Define as hidden.
21559         * sysdeps/i386/ffs.c (__ffs): Likewise.
21560         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21561         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21562         * sysdeps/s390/ffs.c (__ffs): Likewise.
21563         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21564
21565 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21566
21567         * NEWS: Mention malloc probes.
21568
21569         * malloc/arena.c (new_heap): New memory_heap_new probe.
21570         (grow_heap): New memory_heap_more probe.
21571         (shrink_heap): New memory_heap_less probe.
21572         (heap_trim): New memory_heap_free probe.
21573         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21574         (systrim): New memory_sbrk_less probe.
21575         * manual/probes.texi: Document them.
21576
21577         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21578         * manual/probes.texi: Document it.
21579
21580         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21581         (__libc_realloc): Add memory_realloc_retry probe.
21582         (__libc_memalign): Add memory_memalign_retry probe.
21583         (__libc_valloc): Add memory_valloc_retry probe.
21584         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21585         (__libc_calloc): Add memory_calloc_retry probe.
21586         * manual/probes.texi: Document them.
21587
21588         * malloc/arena.c (get_free_list): Add probe
21589         memory_arena_reuse_free_list.
21590         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21591         and memory_arena_reuse.
21592         (arena_get2) [!PER_THREAD]: Likewise.
21593         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21594         memory_arena_reuse_realloc.
21595         * manual/probes.texi: Document them.
21596
21597         * malloc/malloc.c (__libc_free): Add
21598         memory_mallopt_free_dyn_thresholds probe.
21599         (__libc_mallopt): Add multiple memory_mallopt probes.
21600         * manual/probes.texi: Document them.
21601
21602         * malloc/malloc.c: Include stap-probe.h.
21603         (__libc_mallopt): Add memory_mallopt probe.
21604         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21605         * manual/probes.texi: New.
21606         * manual/Makefile (chapters): Add probes.
21607         * manual/threads.texi: Set next node.
21608
21609 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21610
21611         [BZ #15963, #13985]
21612         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21613         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21614         Add `Chinese' to `nan' entry name.
21615
21616 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21617
21618         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21619         (POLYNOMIAL): Likewise.
21620         (TAYLOR_SINCOS): Likewise.
21621         (TAYLOR_SLOW): Likewise.
21622         (__sin): Use TAYLOR_SINCOS.
21623         (__cos): Likewise.
21624         (slow): Use TAYLOR_SLOW.
21625         (sloww): Likewise.
21626         (bsloww): Likewise.
21627         (csloww): Likewise.
21628
21629 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21630
21631         * stdlib/strtod_l.c: Fix buffer overrun.
21632
21633 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21634
21635         * benchtests/Makefile (bench): Add sincos.
21636         * benchtests/bench-sincos.c: New file.
21637
21638         * math/libm-test.inc (cos_test_data): New test inputs.
21639         (sin_test_data): Likewise.
21640
21641         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21642         macro.
21643         (__sin): Use it.
21644         (__cos): Likewise.
21645         (slow1): Likewise.
21646         (slow2): Likewise.
21647         (sloww1): Likewise.
21648         (sloww2): Likewise.
21649         (bsloww1): Likewise.
21650         (bsloww2): Likewise.
21651         (cslow2): Likewise.
21652         (csloww1): Likewise.
21653         (csloww2): Likewise.
21654
21655         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21656         function.
21657         (__sin): Use it.
21658         (__cos): Likewise.
21659
21660         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21661         gotos.
21662         (__cos): Likewise.
21663
21664 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21665
21666         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21667         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21668         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21669         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21670         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21671         * elf/cache.c (print_entry): Handle the new cache flags.
21672
21673 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21674             Aldy Hernandez  <aldyh@redhat.com>
21675
21676         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21677         Change condition to [_SOFT_FLOAT].
21678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21684         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21686         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21687         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21688         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21689         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21690         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21691         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21692         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21693         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21694         declaration.
21695
21696 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21697
21698         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21699         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21700         (__longjmp): Use LOAD_GP to load saved GPRs.
21701         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21702         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21703         (__sigsetjmp): Use SAVE_GP to save GPRs.
21704
21705         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21706         Do not append -msoft-float.
21707         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21708
21709 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21710
21711         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21712
21713 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21714
21715         [BZ #15966]
21716         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21717         (_FPU_GETCW): Use initial "__" on variable and field names but not
21718         on macro parameter name.
21719         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21720         parentheses around reference to macro parameter.
21721
21722 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21723
21724         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21725         prototype.
21726         (ctype_startup): Use uint32_t in cast and sizeof for
21727         ctype->charnames.
21728
21729 2013-09-11  Jia Liu  <proljc@gmail.com>
21730
21731         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21732         __daddr_t_defined.
21733         [__FreeBSD__]: Likewise.
21734
21735 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21736
21737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21738         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21739         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21740         (strchr): Remove __strchr_sse42 ifunc selection.
21741         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21742         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21743
21744 2013-09-11  Will Newton  <will.newton@linaro.org>
21745
21746         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21747         parameter to RES. Remove hardcoded 1000 value.
21748         * benchtests/bench-skeleton.c (main): Pass RES parameter
21749         to TIMING_INIT and multiply result by 1000.
21750
21751 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21752
21753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21754
21755 2013-09-11  Andreas Schwab  <schwab@suse.de>
21756
21757         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21758         if not defined.
21759         (O_TMPFILE) [__USE_GNU]: Define.
21760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21761         Define.
21762
21763 2013-09-11  Will Newton  <will.newton@linaro.org>
21764
21765         [BZ #15857]
21766         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21767         does not overflow.
21768
21769 2013-09-11  Will Newton  <will.newton@linaro.org>
21770
21771         [BZ #15856]
21772         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21773         does not overflow.
21774
21775 2013-09-11  Will Newton  <will.newton@linaro.org>
21776
21777         [BZ #15855]
21778         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21779         does not overflow.
21780
21781 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21782
21783         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21784         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21785         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21786         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21787         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21788
21789 2013-09-10  Allan McRae  <allan@archlinux.org>
21790
21791         [BZ #15748]
21792         * manual/arith.texi (Parsing of Floats): Clarify
21793         cross-reference.
21794
21795         [BZ #15849]
21796         * manual/install.texi (Running make install): Mention
21797         --enable-pt-chown.
21798         * INSTALL: Regenerated.
21799
21800 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21801
21802         * csu/init-first.c (_init): Remove the !SHARED condition around
21803         FPU control word initialization.
21804         * elf/dl-support.c (_dl_fpu_control): New variable.
21805         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21806         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21807         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21808         * math/test-fpucw-static.c: New file.
21809         * math/test-fpucw-ieee.c: New file.
21810         * math/test-fpucw-ieee-static.c: New file.
21811         * math/Makefile (tests): Add `test-fpucw-ieee' and
21812         `$(tests-static)'.
21813         (tests-static): New variable.
21814         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21815         dependency to...
21816         [($(build-shared),yes)]
21817         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21818         ... this.
21819         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21820         New dependency.
21821
21822 2013-09-09  Allan McRae  <allan@archlinux.org>
21823
21824         [BZ #15939]
21825         * manual/string.texi (Collation Functions): Fix typo in
21826         strcoll example.
21827         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21828
21829         [BZ #15893]
21830         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21831
21832         [BZ #15892]
21833         * libio/memstream.c (open_memstream): Fix memory leak.
21834         * libio/wmemstream.c (open_wmemstream): Likewise.
21835
21836         [BZ #15895]
21837         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21838
21839 2013-09-09  Will Newton  <will.newton@linaro.org>
21840
21841         * malloc/Makefile: Add tst-realloc to tests.
21842         * malloc/tst-realloc.c: New file.
21843
21844 2013-09-09  Allan McRae  <allan@archlinux.org>
21845
21846         [BZ #15844]
21847         * COPYING: Update from GNU website to fix FSF address.
21848         * COPYING.LIB: Likewise.
21849
21850 2013-09-06  David S. Miller  <davem@davemloft.net>
21851
21852         * po/zh_TW.po: Update Chinese (traditional) translation from
21853         translation project.
21854
21855 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21856             Joseph Myers  <joseph@codesourcery.com>
21857
21858         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21859         "localeinfo.h".
21860         (obstack_chunk_alloc): New macro.
21861         (obstack_chunk_free): Likewise.
21862         (record_offset): New function.
21863         (init_locale_data): Likewise.
21864         (align_locale_data): Likewise.
21865         (add_locale_empty): Likewise.
21866         (add_locale_raw_data): Likewise.
21867         (add_locale_raw_obstack): Likewise.
21868         (add_locale_string): Likewise.
21869         (add_locale_wstring): Likewise.
21870         (add_locale_uint32): Likewise.
21871         (add_locale_uint32_array): Likewise.
21872         (add_locale_char): Likewise.
21873         (start_locale_structure): Likewise.
21874         (end_locale_structure): Likewise.
21875         (start_locale_prelude): Likewise.
21876         (end_locale_prelude): Likewise.
21877         (write_locale_data): Take locale_file structure rather than an
21878         iovec.
21879         * locale/programs/locfile.h: Include "obstack.h".
21880         (struct locale_file): Change to store locale file contents instead
21881         of header.
21882         (init_locale_data): New prototype.
21883         (align_locale_data): Likewise.
21884         (add_locale_empty): Likewise.
21885         (add_locale_raw_data): Likewise.
21886         (add_locale_raw_obstack): Likewise.
21887         (add_locale_string): Likewise.
21888         (add_locale_wstring): Likewise.
21889         (add_locale_uint32): Likewise.
21890         (add_locale_uint32_array): Likewise.
21891         (add_locale_char): Likewise.
21892         (start_locale_structure): Likewise.
21893         (end_locale_structure): Likewise.
21894         (start_locale_prelude): Likewise.
21895         (end_locale_prelude): Likewise.
21896         (write_locale_data): Update prototype.
21897         * locale/programs/3level.h (struct TABLE): Remove result field.
21898         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21899         Use new locale_file interface.
21900         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21901         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21902         * locale/programs/ld-address.c (address_output): Use new
21903         locale_file interface.
21904         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21905         NO_ADD_LOCALE.
21906         (collate_finish): Don't call collseq_table_finalize.
21907         (collate_output): Use new locale_file interface.
21908         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21909         in file.
21910         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21911         (TABLE): Move defines earlier in file.
21912         (ELEMENT): Likewise.
21913         (DEFAULT): Likewise.
21914         (wctrans_table_add): Move macro and inline function earlier in
21915         file.
21916         (struct wctype_table): Move type earlier in file.
21917         (add_locale_wctype_table): New static prototype.
21918         (struct locale_ctype_t): Use logical types instead of struct iovec
21919         pointers for members.
21920         (ctype_output): Use new locale_file interface.
21921         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21922         new locale_file interface.
21923         (allocate_arrays): Update for use of new locale_file interface.
21924         * locale/programs/ld-identification.c (identification_output): Use
21925         new locale_file interface.
21926         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21927         * locale/programs/ld-messages.c (messages_output): Likewise.
21928         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21929         * locale/programs/ld-name.c (name_output): Likewise.
21930         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21931         * locale/programs/ld-paper.c (paper_output): Likewise.
21932         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21933         * locale/programs/ld-time.c (time_output): Likewise.
21934
21935 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21936
21937         * benchtests/Makefile: Add memrchr benchmark.
21938         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21939         benchmark as memrchr.
21940         * benchtests/bench-memrchr-ifunc.c: New file.
21941         * benchtests/bench-memrchr.c: New file.
21942
21943 2013-09-06   Will Newton  <will.newton@linaro.org>
21944
21945         * benchtests/Makefile (string-bench): Add memcpy.
21946
21947 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21948             Cong Wang  <amwang@redhat.com>
21949
21950         [BZ #15850]
21951         * sysdeps/unix/sysv/linux/bits/in.h
21952         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21953         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21954         before __USE_KERNEL_IPV6_DEFS uses.
21955         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21956         IPPROTO_BEETPH.
21957         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21958         sockaddr_in6, or ipv6_mreq.
21959
21960 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21961
21962         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21963         memory access for final bytes in some large inputs.
21964         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21965
21966 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21967
21968         * string/test-memrchr.c: New file.
21969         * string/test-memrchr-ifunc.c: New file.
21970         * string/Makefile: Add new memrchr testcase.
21971
21972 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21973
21974         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21975         fanotify_init returns EPERM.
21976
21977 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21978
21979         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21980         errors.
21981         (top level): Treat second token from macro or constant entries for
21982         allowed headers as allowed.
21983         * include/complex.h: Condition internal declarations on
21984         [!_ISOMAC].
21985         * include/fenv.h: Condition include of <stdbool.h> and internal
21986         declarations on [!_ISOMAC].
21987
21988 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21989
21990         [BZ #15923]
21991         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21992
21993 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21994
21995         * configure.in (--enable-versioning): Remove configure option.
21996         (libc_cv_asm_symver_directive): Remove configure test.
21997         (libc_cv_ld_version_script_option): Likewise.
21998         (VERSIONING): Remove variable and AC_SUBST.
21999         (DO_VERSIONING): Remove AC_DEFINE.
22000         * configure: Regenerated.
22001         * config.h.in (DO_VERSIONING): Remove macro.
22002         * Makerules [$(versioning) = yes]: Change conditionals to
22003         [$(build-shared) = yes].
22004         * config.make.in (versioning): Remove variable.
22005         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22006         [$(build-shared) = yes].
22007         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22008         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22009         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22010         [$(build-shared) = yes].
22011         * extra-lib.mk [$(versioning) = yes]: Likewise.
22012         * hurd/Makefile [$(versioning) = yes]: Likewise.
22013         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22014         [SHARED].
22015         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22016         [SHARED].
22017         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22018         [SHARED && !NO_HIDDEN].
22019         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22020         [SHARED].
22021         [SHARED && DO_VERSIONING]: Likewise..
22022         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22023         [$(build-shared) = yes].
22024         * manual/install.texi (--disable-versioning): Remove
22025         documentation.
22026         * INSTALL: Regenerated.
22027         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22028         to [SHARED].
22029         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22030         [$(build-shared) = yes].
22031         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22032         * sysdeps/i386/i686/multiarch/strstr-c.c
22033         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22034         [SHARED && !NO_HIDDEN].
22035         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22036         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22037         * sysdeps/powerpc/powerpc32/dl-machine.c
22038         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22039         * sysdeps/powerpc/powerpc32/sysdep.h
22040         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22041         to [SHARED && PIC && !NO_HIDDEN].
22042         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22043         conditional to [SHARED].
22044
22045 2013-09-04   Will Newton  <will.newton@linaro.org>
22046
22047         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22048         * benchtests/bench-string.h: Include bench-timing.h instead
22049         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22050         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22051         call to HP_TIMING_DIFF_INIT.
22052         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22053         instead of hp-timing.h macros.
22054         * benchtests/bench-memchr.c: Likewise.
22055         * benchtests/bench-memcmp.c: Likewise.
22056         * benchtests/bench-memcpy.c: Likewise.
22057         * benchtests/bench-memmem.c: Likewise.
22058         * benchtests/bench-memmove.c: Likewise.
22059         * benchtests/bench-memset.c: Likewise.
22060         * benchtests/bench-rawmemchr.c: Likewise.
22061         * benchtests/bench-strcasecmp.c: Likewise.
22062         * benchtests/bench-strcasestr.c: Likewise.
22063         * benchtests/bench-strcat.c: Likewise.
22064         * benchtests/bench-strchr.c: Likewise.
22065         * benchtests/bench-strcmp.c: Likewise.
22066         * benchtests/bench-strcpy.c: Likewise.
22067         * benchtests/bench-strcpy_chk.c: Likewise.
22068         * benchtests/bench-strlen.c: Likewise.
22069         * benchtests/bench-strncasecmp.c: Likewise.
22070         * benchtests/bench-strncat.c: Likewise.
22071         * benchtests/bench-strncmp.c: Likewise.
22072         * benchtests/bench-strncpy.c: Likewise.
22073         * benchtests/bench-strnlen.c: Likewise.
22074         * benchtests/bench-strpbrk.c: Likewise.
22075         * benchtests/bench-strrchr.c: Likewise.
22076         * benchtests/bench-strspn.c: Likewise.
22077         * benchtests/bench-strstr.c: Likewise.
22078
22079 2013-09-04  Will Newton  <will.newton@linaro.org>
22080
22081         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22082
22083 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22084
22085         [BZ #15427]
22086         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22087         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22088         * math/libm-test.inc (lgamma_test_data): Add more tests.
22089         * sysdeps/i386/fpu/libm-test-ulps: Update.
22090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22091
22092 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22093
22094         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22096         Add ifunc.
22097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22098         Add strcmp-sse2-unaligned
22099         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22100
22101 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22102
22103         * Versions.def (libc): Add GLIBC_2.19.
22104
22105 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22106
22107         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22108         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22109
22110 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22111
22112         [BZ #14155]
22113         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22114         intermediate calculations in recurrence.
22115         (__ieee754_ynf): Likewise.
22116         * math/libm-test.inc (jn_test_data): Do not allow spurious
22117         underflow exception.  Add more tests.
22118         (yn_test_data): Add more tests.
22119         * sysdeps/i386/fpu/libm-test-ulps: Update.
22120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121
22122 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22123
22124         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22125
22126 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22127
22128         * csu/init-first.c: Fix then/than typos.
22129         * locale/programs/ld-collate.c: Likewise.
22130         * locale/programs/linereader.h: Likewise.
22131         * manual/charset.texi: Likewise.
22132         * manual/filesys.texi: Likewise.
22133         * manual/stdio.texi: Likewise.
22134         * manual/string.texi: Likewise.
22135         * stdlib/fmtmsg.c: Likewise.
22136         * sysdeps/i386/stpncpy.S: Likewise.
22137         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22138         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22139         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22140         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22141
22142 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22143
22144         * elf/dl-open.c: Fix typos.
22145         * iconvdata/gbbig5.c: Likewise.
22146         * iconvdata/iso-2022-jp.c: Likewise.
22147         * iconv/gconv_int.h: Likewise.
22148         * iconv/loop.c: Likewise.
22149         * nis/rpcsvc/nis.h: Likewise.
22150         * resolv/ns_name.c: Likewise.
22151         * stdio-common/vfscanf.c: Likewise.
22152         * streams/stropts.h: Likewise.
22153         * sunrpc/rpc_thread.c: Likewise.
22154         * sysdeps/i386/strpbrk.S: Likewise.
22155         * sysdeps/ieee754/k_standard.c: Likewise.
22156         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22158         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22159         * sysdeps/mach/hurd/profil.c: Likewise.
22160         * sysdeps/s390/dl-procinfo.h: Likewise.
22161         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22162         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22163         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22164         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22165         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22166
22167 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22168
22169         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22171
22172 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22173
22174         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22175         aix specific files.
22176         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22177         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22178         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22179         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22180         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22181         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22182         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22183         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22184
22185 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22186             Roland McGrath  <roland@hack.frob.com>
22187
22188         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22189         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22190
22191 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22192
22193         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22194         __executable_start symbol instead of _start.
22195
22196 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22197
22198         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22199         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22200         Move macros to...
22201         * sysdeps/gnu/ldsodefs.h: ... this new file.
22202
22203         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22204         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22205         instead of ELFOSABI_LINUX.
22206
22207         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22208         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22209         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22210         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22211         Likewise.
22212         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22213         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22214         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22215         Likewise.
22216         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22217         (ibm_extended_long_double): Add ieee_nan member.
22218         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22219         (do_test): New function.
22220
22221         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22222         TEST_TRUNC.
22223         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22224         functions, renamed from truncdfsf_test, trunctfsf_test,
22225         trunctfdf_test.
22226         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22227         functions.
22228         (do_test): Run all these.
22229
22230 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22231
22232         * argp/argp-help.c: Fix typos.
22233         * argp/argp-parse.c: Likewise.
22234         * debug/backtracesyms.c: Likewise.
22235         * elf/elf.h: Likewise.
22236         * malloc/malloc.c: Likewise.
22237         * nis/nis_print.c: Likewise.
22238         * resolv/res_comp.c: Likewise.
22239         * stdlib/stdlib.h: Likewise.
22240         * sunrpc/clnt_tcp.c: Likewise.
22241         * sunrpc/clnt_udp.c: Likewise.
22242         * sunrpc/clnt_unix.c: Likewise.
22243         * sysdeps/unix/bsd/ptsname.c: Likewise.
22244         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22245         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22247         Likewise.
22248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22249         Likewise.
22250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22251         Likewise.
22252         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22253
22254 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22255
22256         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22258
22259 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22260
22261         [BZ #15897]
22262         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22263         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22264         ($(objpfx)bug-dl-leaf): New rule.
22265         ($(objpfx)bug-dl-leaf.so): Likewise.
22266         ($(objpfx)bug-dl-leaf.out): Likewise.
22267         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22268         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22269         * dlfcn/bug-dl-leaf.c: New test.
22270         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22271         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22272         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22273         (dlclose): Likewise.
22274         (dlmopen): Likewise.
22275
22276 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22277
22278         * include/netdb.h [!_ISOMAC]:
22279         Don't include <tls.h>.
22280         (h_errno, __libc_h_errno): Move declaration and macros out of
22281         [_LIBC_REENTRANT].
22282
22283         * include/resolv.h [_RESOLV_H_]:
22284         Don't include <tls.h>.
22285         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22286         * resolv/res_libc.c: Don't include <tls.h>.
22287         (_res): Use __attribute__ ((nocommon)) in place of
22288         __attribute__ ((section (".bss"))).
22289
22290         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22291         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22292
22293         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22294
22295         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22296         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22297
22298         * resolv/res_mkquery.c: Include <sys/time.h>.
22299
22300         * inet/ifreq.c: Moved to ...
22301         * sysdeps/unix/ifreq.c: ... here.
22302         * inet/ifreq.c: New file, true stub version.
22303
22304         * socket/sa_len.c: New file.
22305         * socket/Makefile (aux): Add it.
22306         * sysdeps/unix/sysv/linux/Makefile
22307         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22308         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22309         and #include <socket/sa_len.c>.
22310         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22311         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22312
22313         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22314         * bits/socket.h: ... here.
22315
22316         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22317         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22318         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22319
22320 2013-08-27  Andreas Schwab  <schwab@suse.de>
22321
22322         [BZ #15736]
22323         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22324         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22325         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22326         * string/test-strcasecmp.c (test_main): Run tests in several
22327         locales.
22328         * string/test-strncasecmp.c (test_main): Likewise.
22329
22330         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22331         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22332         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22333         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22334         (__strncasecmp_ssse3) [PIC]: Likewise.
22335
22336 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22337
22338         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22339
22340         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22341         instead of explicitly declaring xdecrypt.
22342         * nis/nss_nis/nis-publickey.c: Likewise.
22343
22344 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22345
22346         [BZ #15890]
22347         * nscd/aicache.c: Include res_hconf.h.
22348         (addhstaiX): Initialize res_hconf.
22349
22350 2013-08-26  Andreas Schwab  <schwab@suse.de>
22351
22352         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22353         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22354
22355 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22356
22357         * nscd/aicache.c (addhstaiX): Fix indentation.
22358
22359 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22360
22361         * configure.ac: Quote $build_pt_chown test.
22362         * configure: Regenerated.
22363
22364 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22365
22366         [BZ #15532]
22367         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22368         * math/s_cexpf.c (__cexpf): Likewise.
22369         * math/s_cexpl.c (__cexpl): Likewise.
22370         * math/libm-test.inc (cexp_test_data): Correct expected return
22371         value for NaN + i0.  Add another test.
22372
22373 2013-08-22  David S. Miller  <davem@davemloft.net>
22374
22375         * po/ca.po: Update Catalan translation from translation project.
22376         * po/uk.po: Add Ukrainian translations from translation project.
22377
22378 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22379
22380         [BZ #15797]
22381         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22382         is infinite, not alongside NaN test.
22383         * math/s_fdimf.c (__fdimf): Likewise.
22384         * math/s_fdiml.c (__fdiml): Likewise.
22385         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22386         errno is unchanged.
22387
22388 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22389
22390         * argp/argp-help.c: Fix typos.
22391         * crypt/speeds.c: Likewise.
22392         * csu/check_fds.c: Likewise.
22393         * elf/dl-load.c: Likewise.
22394         * elf/dl-open.c: Likewise.
22395         * elf/reldep3.c: Likewise.
22396         * elf/reldep.c: Likewise.
22397         * elf/sprof.c: Likewise.
22398         * iconv/iconv_charmap.c: Likewise.
22399         * iconv/skeleton.c: Likewise.
22400         * iconv/strtab.c: Likewise.
22401         * io/lockf64.c: Likewise.
22402         * libio/libioP.h: Likewise.
22403         * resolv/gai_notify.c: Likewise.
22404         * resolv/ns_name.c: Likewise.
22405         * resolv/ns_samedomain.c: Likewise.
22406         * resolv/res_send.c: Likewise.
22407         * stdlib/random.c: Likewise.
22408         * sunrpc/rpc/xdr.h: Likewise.
22409         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22410         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22411         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22412         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22413         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22416         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22417         * sysdeps/mach/hurd/check_fds.c: Likewise.
22418         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22419         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22420         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22421         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22422         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22423         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22424         * sysdeps/pthread/aio_notify.c: Likewise.
22425         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22426         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22427         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22428         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22429         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22430
22431 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22432
22433         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22434         version if bit_Slow_SSE4_2 is set.
22435         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22436         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22437
22438 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22439
22440         [BZ #15867]
22441         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22442         trampoline stack frame information.
22443         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22444         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22445         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22446         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22447         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22448         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22449         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22450         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22451         sa_flags value.
22452         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22453         interrupting a syscall and set with option SA_SIGINFO.
22454
22455 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22456
22457         [BZ #15531]
22458         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22459         argument is infinite.
22460         * math/s_cprojf.c (__cprojf): Likewise.
22461         * math/s_cprojl.c (__cprojl): Likewise.
22462         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22463         * math/libm-test.inc (cproj_test_data): Add more tests.
22464
22465         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22466
22467         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22468         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22469         size.  Use __ffs to determine corresponding shift.
22470
22471 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22472             Roland McGrath  <roland@hack.frob.com>
22473
22474         * Makefile (INSTALL): Remove trailing blank lines from output of
22475         makeinfo.
22476
22477 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22478
22479         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22480         Align 32 bit compat elf_greg to 8 bytes.
22481
22482 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22483
22484         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22485
22486 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22487
22488         * string/strcoll_l.c (coll_seq): New structure.
22489         (get_next_seq_cached): New function.
22490         (get_next_seq): New function.
22491         (do_compare): New function.
22492         (STRCOLL): Use GNU style definition.  Simplify implementation
22493         by using get_next_seq, get_next_seq_cached and do_compare.
22494
22495 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22496
22497         [BZ #14699]
22498         CVE-2013-4237
22499         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22500         member.
22501         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22502         member.
22503         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22504         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22505         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22506         conditional.
22507         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22508         GETDENTS_64BIT_ALIGNED.
22509         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22510         * manual/filesys.texi (Reading/Closing Directory): Document
22511         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22512         strongly.
22513         * manual/conf.texi (Limits for Files): Add portability note to
22514         NAME_MAX, PATH_MAX.
22515         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22516
22517 2013-08-13  Andreas Schwab  <schwab@suse.de>
22518
22519         [BZ #15749]
22520         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22521         of fabs.
22522         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22523         LDBL_MAX_EXP >= 16384]: Add tests for it.
22524
22525 2013-08-12  David S. Miller  <davem@davemloft.net>
22526
22527         * version.h (RELEASE): Set to "development".
22528         (VERSION): Set to "2.18.90".
22529         * NEWS: Add 2.19 section.
22530
22531 2013-08-03  David S. Miller  <davem@davemloft.net>
22532
22533         * po/ko.po: Update Korean translation from translation project.
22534
22535 2013-08-01  David S. Miller  <davem@davemloft.net>
22536
22537         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22538         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22539         Bilka.
22540
22541 2013-07-30  David S. Miller  <davem@davemloft.net>
22542
22543         * po/fr.po: Update French translation from translation project.
22544
22545 2013-07-28  David S. Miller  <davem@davemloft.net>
22546
22547         * po/cs.po: Update Czech translation from translation project.
22548
22549         * po/sv.po: Update Swedish translation from translation project.
22550
22551 2013-07-27  David S. Miller  <davem@davemloft.net>
22552
22553         * po/eo.po: Update Esperanto translation from translation project.
22554
22555         * po/vi.po: Update Vietnamese translation from translation project.
22556
22557         * po/de.po: Update German translation from translation project.
22558
22559 2013-07-26  David S. Miller  <davem@davemloft.net>
22560
22561         * po/bg.po: Update Bulgarian translation from translation project.
22562
22563         * po/nl.po: Update Dutch translation from translation project.
22564         * po/pl.po: Update Polish translation from translation project.
22565         * po/ru.po: Update Russian translation from translation project.
22566
22567 2013-07-24  David S. Miller  <davem@davemloft.net>
22568
22569         * po/libc.pot: Update.
22570
22571 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22572
22573         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22574         variable page size.
22575         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22576         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22577         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22578
22579 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22580
22581         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22582
22583 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22584             Andreas Schwab  <schwab@suse.de>
22585             Roland McGrath  <roland@hack.frob.com>
22586             Joseph Myers  <joseph@codesourcery.com>
22587             Carlos O'Donell  <carlos@redhat.com>
22588
22589         [BZ #15755]
22590         * config.h.in: Define HAVE_PT_CHOWN.
22591         * config.make.in (build-pt-chown): New variable.
22592         * configure.in (--enable-pt_chown): New configure option.
22593         * configure: Regenerate.
22594         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22595         build-pt-chown is enabled.
22596         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22597         pt_chown to fix pty ownership.
22598         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22599         CLOSE_ALL_FDS.
22600         * manual/install.texi (Configuring and compiling): Mention
22601         --enable-pt_chown. Add @findex for grantpt.
22602         * INSTALL: Regenerate.
22603
22604 2013-07-20  David S. Miller  <davem@davemloft.net>
22605
22606         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22607         difference between 32-bit and 64-bit.
22608
22609 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22610
22611         [BZ #15711]
22612         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22613         Avoid system header dependency with -ffreestanding.
22614         ($(objpfx)bits/syscall%d): Likewise.
22615
22616 2013-07-13  David S. Miller  <davem@davemloft.net>
22617
22618         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22619         underflows from atanl/atan2l due to bug 15319.
22620         (casinh_test_data): Likewise.
22621
22622 2013-07-07  David S. Miller  <davem@davemloft.net>
22623
22624         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22625
22626 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22627
22628         * sysdeps/i386/fpu/libm-test-ulps: Update.
22629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22630
22631 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22632
22633         * configure.in (--enable-lock-elision): Fix message text.
22634         * INSTALL: Regenerate.
22635         * configure: Regenerate.
22636
22637 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22638
22639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22640
22641 2013-07-03  Andreas Jaeger  <aj@suse.de>
22642
22643         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22644         define.
22645         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22646         (ptrace_peeksiginfo_args): Add.
22647         (__ptrace_peeksiginfo_flags): Add.
22648         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22649         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22650         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22651
22652 2013-07-03  Allan McRae  <allan@archlinux.org>
22653
22654         * sysdeps/i386/fpu/libm-test-ulps: Update.
22655
22656 2013-07-02  David S. Miller  <davem@davemloft.net>
22657
22658         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22659
22660 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22661
22662         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22663
22664 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22665
22666         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22668
22669 2013-07-02  Andi Kleen <ak@linux.intel.com>
22670
22671         * config.h.in (ENABLE_LOCK_ELISION): Add.
22672         * configure.in (--enable-lock-elision): Add option.
22673         * manual/install.texi: Document --enable lock elision.
22674         * configure: Regenerate
22675         * INSTALL: Regenerate.
22676
22677 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22678
22679         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22680         SSE4.2 strcasecmp for libc.a.
22681         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22682
22683 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22684
22685         [BZ #13304]
22686         * soft-fp/op-common.h (_FP_FMA): New macro.
22687         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22688         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22689         (_FP_MUL_MEAT_1_imm): ... here.
22690         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22691         (_FP_MUL_MEAT_1_wide): ... here.
22692         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22693         (_FP_MUL_MEAT_1_hard): ... here.
22694         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22695         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22696         (_FP_MUL_MEAT_2_wide): ... here.
22697         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22698         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22699         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22700         (_FP_MUL_MEAT_2_gmp): ... here.
22701         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22702         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22703         (_FP_MUL_MEAT_4_wide): ... here.
22704         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22705         (_FP_MUL_MEAT_4_gmp): ... here.
22706         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22707         (_FP_WFRACBITS_DW_S): Likewise.
22708         (_FP_WFRACXBITS_DW_S): Likewise.
22709         (_FP_HIGHBIT_DW_S): Likewise.
22710         (FP_FMA_S): Likewise.
22711         (_FP_FRAC_HIGH_DW_S): Likewise.
22712         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22713         (_FP_WFRACBITS_DW_D): Likewise.
22714         (_FP_WFRACXBITS_DW_D): Likewise.
22715         (_FP_HIGHBIT_DW_D): Likewise.
22716         (FP_FMA_D): Likewise.
22717         (_FP_FRAC_HIGH_DW_D): Likewise.
22718         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22719         (_FP_WFRACBITS_DW_E): Likewise.
22720         (_FP_WFRACXBITS_DW_E): Likewise.
22721         (_FP_HIGHBIT_DW_E): Likewise.
22722         (FP_FMA_E): Likewise.
22723         (_FP_FRAC_HIGH_DW_E): Likewise.
22724         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22725         (_FP_WFRACBITS_DW_Q): Likewise.
22726         (_FP_WFRACXBITS_DW_Q): Likewise.
22727         (_FP_HIGHBIT_DW_Q): Likewise.
22728         (FP_FMA_Q): Likewise.
22729         (_FP_FRAC_HIGH_DW_Q): Likewise.
22730         * soft-fp/fmasf4.c: New file.
22731         * soft-fp/fmadf4.c: Likewise.
22732         * soft-fp/fmatf4.c: Likewise.
22733
22734 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22735
22736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22737         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22738         Silvermont.
22739         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22740         macro.
22741         (index_Slow_SSE4_2): Likewise.
22742         (index_Prefer_PMINUB_for_stringop): Likewise.
22743         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22744         bit_Slow_SSE4_2 is set.
22745         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22746         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22747
22748 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22749
22750         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22751         rtld_global._dl_hwcap2.
22752         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22753         POWER8.
22754         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22755         POWER8 feature descriptions defined in _dl_hwcap2.
22756         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22757         string handling for POWER8 feature bits.
22758         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22759         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22760         _dl_powerpc_cap_flags.
22761         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22762         * sysdeps/powerpc/rtld-global-offsets.sym
22763         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22764         _dl_hwcap2 in the rtld_global_ro structure.
22765
22766 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22767
22768         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22769         hardware capabilities in support of AT_HWCAP2.
22770         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22771         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22772         GLRO(dl_hwcap2).
22773         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22774         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22775         explicitly the unknown a_type display mechanism is used.
22776         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22777         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22778         struct member.
22779         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22780         to macro prototype for AT_HWCAP2 support.
22781         * sysdeps/i386/dl-procinfo.h: Likewise.
22782         * sysdeps/s390/dl-procinfo.h: Likewise.
22783         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22784         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22785         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22786         return -1 for unknown a_type display fallback.
22787         * sysdeps/sparc/dl-procinfo.h: Likewise.
22788         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22789         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22790
22791 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22792
22793         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22794         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22795
22796 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22797
22798         [BZ #12492]
22799         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22800         mprotect making __stack_prot writable.
22801
22802 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22803             Joseph Myers  <joseph@codesourcery.com>
22804
22805         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22806         as being properly aligned.
22807
22808 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22809
22810         * dlfcn/modstatic5.c: New file.
22811         * dlfcn/tststatic5.c: New file.
22812         * dlfcn/Makefile (tests): Add tststatic5.
22813         (tests-static): Likewise.
22814         (modules-names): Add modstatic5.
22815         (tststatic5-ENV): New variable.
22816         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22817
22818         [BZ #15022]
22819         * elf/dl-support.c (_dl_main_map): New variable.
22820         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22821         (_dl_nns, _dl_load_adds): Set to 1.
22822         (_dl_initial_searchlist): Refer to _dl_main_map.
22823         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22824         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22825         call to _dl_get_origin.
22826         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22827         around call_map.
22828         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22829         * dlfcn/modstatic3.c: New file.
22830         * dlfcn/tststatic3.c: New file.
22831         * dlfcn/tststatic4.c: New file.
22832         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22833         (tests-static): Likewise.
22834         (modules-names): Add modstatic3.
22835         (tststatic3-ENV, tststatic4-ENV): New variables.
22836         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22837         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22838
22839 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22840
22841         * configure.in (CC): Require GCC version 4.4 or later.
22842         * configure: Regenerated.
22843         * manual/install.texi (Tools for Compilation): Update GCC version
22844         requirement.
22845         * INSTALL: Regenerated.
22846
22847 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22848
22849         [BZ #15674]
22850         * string/test-memcmp.c (check2): New.
22851         (main): Call check2.
22852
22853         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22854
22855 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22856
22857         [BZ #15022]
22858         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22859         over to...
22860         (dl_open_worker) [!SHARED]: ... here.
22861
22862 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22863
22864         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22865
22866 2013-06-25  Richard Henderson  <rth@redhat.com>
22867
22868         * locale/programs/locarchive.c: Include <libc-internal.h>
22869
22870 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22871
22872         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22873         trailing whitespace removed.
22874
22875 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22876
22877         [BZ #10283]
22878         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22879         * locale/programs/locarchive.c: Include libc-mmap.h.
22880         (prepare_address_space): Take two new outputs (the mmap base and len).
22881         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22882         values.
22883         (create_archive): Declare new mmap base and len values for
22884         prepare_address_space, and store the result in ah.
22885         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22886         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22887         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22888         Declare new mmap base and len values for
22889         prepare_address_space, and store the result in new_ah.
22890         (open_archive): Declare new mmap base and len values for
22891         prepare_address_space, and store the result in ah.
22892         (close_archive): If ah->mmap_base is not NULL, use that and
22893         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22894         * sysdeps/generic/libc-mmap.h: New file.
22895
22896 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22897
22898         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22899         (ALIGN_UP): Likewise.
22900         (PTR_ALIGN_DOWN): Likewise.
22901         (PTR_ALIGN_UP): Likewise.
22902
22903 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22904
22905         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22906         entry mapped to PPC_PLATFORM_POWER8.
22907         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22908         POWER8.
22909         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22910         (_dl_string_platform): Add case for exporting platform position for
22911         POWER8.
22912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22913         search path to sysdeps/powerpc/powerpc32/power8 directory.
22914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22915         search path to sysdeps/powerpc/powerpc64/power8 directory.
22916         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22917         power7 directories.
22918         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22919         power7 directories.
22920
22921 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22922
22923         * INSTALL: Regenerate.
22924
22925         * nscd/connections.c (nscd_init): Fix comment.
22926
22927 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22928
22929         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22930
22931         [BZ #15667]
22932         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22933         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22934
22935 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22936
22937         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22938         DL_DST_REQ_STATIC.
22939         (DL_DST_REQ_STATIC): Remove macro.
22940
22941 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22942
22943         [BZ #7006]
22944         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22945         with a shift of 0 bits.
22946
22947 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22948
22949         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22950         $(tststatic-ENV).
22951
22952 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22953
22954         [BZ #15655]
22955         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22956
22957 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22958
22959         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22960         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22961         accepts -fno-tree-loop-distribute-patterns.
22962         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22963         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22964         recursive call.
22965         * string/memset.c (memset): Likewise.
22966         * string/test-memmove.c (simple_memmove): Disable loop transformation
22967         to library calls.
22968         * string/test-memset.c (simple_memset): Likewise.
22969         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22970         * benchtests/bench-memset.c (simple_memset): Likewise.
22971         * configure: Regenerated.
22972
22973 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22974
22975         * math/test-misc.c (main): Ignore fesetround failure when failures
22976         of subsequent rounding tests would be ignored.
22977
22978         [BZ #15654]
22979         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22980         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22981         * math/fegetenv.c (__fegetenv): Return 0.
22982         * math/fegetexcept.c (fegetexcept): Return 0.
22983         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22984         FE_TONEAREST.
22985         * math/feholdexcpt.c (feholdexcept): Return 0.
22986         * math/fesetenv.c (__fesetenv): Return 0.
22987         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22988         argument FE_TONEAREST.
22989         * math/feupdateenv.c (__feupdateenv): Return 0.
22990         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22991
22992 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22993
22994         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22995         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22996         ($(objpfx)rtld-%.os rules): Use them.
22997
22998 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22999
23000         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23001         fields.
23002
23003 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23004
23005         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23006         length of target pattern, then descending length of dependency pattern.
23007         * configure.in (AWK): Require gawk 3.1.2 or newer.
23008         * manual/install.texi (Tools for Compilation): Say that we do.
23009         * configure: Regenerated.
23010
23011         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23012         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23013         * scripts/sysd-rules.awk: ... this new script.
23014         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23015         than a glob-style pattern.
23016
23017 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23018
23019         * math/test-misc.c (main): Do not treat incorrectly rounded
23020         conversions as failure unless ROUNDING_TESTS passes.
23021
23022 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23023
23024         [BZ #15631]
23025         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23026         restore exception state around main square root computation, then
23027         check for inexactness explicitly.
23028
23029         * math/libm-test.inc (fma_test_data): Add another test.
23030
23031 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23032
23033         * manual/threads.texi (Non-POSIX Extensions): New document
23034         node.  Document pthread_getattr_default_np and
23035         pthread_setattr_default_np.
23036
23037         * Versions.def (libpthread): Add GLIBC_2.18.
23038         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23040         Likewise.
23041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23042         Likewise.
23043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23044         Likewise.
23045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23046         Likewise.
23047         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23048         Likewise.
23049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23050         Likewise.
23051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23052         Likewise.
23053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23054         Likewise.
23055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23056         Likewise.
23057
23058 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23059
23060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23061         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23062
23063 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23064             H.J. Lu  <hjl.tools@gmail.com>
23065
23066         [BZ #15627]
23067         * sysdeps/x86_64/rtld-memset.c: Remove file.
23068         * sysdeps/x86_64/rtld-memset.S: New file.
23069
23070 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23071
23072         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23073         (test_in_one_mode): Take arguments for whether the rounding mode
23074         is supported for each floating-point type.
23075         (do_test): Pass new arguments to test_in_one_mode using
23076         ROUNDING_TESTS.
23077
23078 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23079
23080         * posix/tst-waitid.c (do_test): Distinguish different instances of
23081         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23082         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23083         before entering the kernel for waitpid.
23084
23085 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23086
23087         * NEWS: Fix note on clock function precision.  Text by Roland
23088         McGrath.
23089
23090 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23091
23092         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23093         it into place only when and if the sanity check passes.
23094
23095 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23096
23097         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23098         output for whether conversion result is exact.  Take argument
23099         indicating whether type is IBM long double.
23100         (round_for_all): Change need_exact field to ibm_ld.
23101         * stdlib/tst-strtod-round.c (struct exactness): New type.
23102         (struct test): Change bool ld_ok field to struct exactness exact.
23103         (TEST): Update all definitions for change to field.
23104         (tests): Regenerate array contents.
23105         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23106         field value.  Check for IBM long double here.
23107         (do_test): Update calls to test_in_one_mode.
23108
23109 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23110
23111         [BZ #12515]
23112         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23113         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23114
23115 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23116
23117         [BZ #15605]
23118         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23119         generated by the compiler on loop optimizations.
23120         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23121         general definitions.
23122
23123 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23124
23125         * math/bug-nextafter.c: Include <math-tests.h>.
23126         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23127         the relevant type.
23128         * math/bug-nexttoward.c: Include <math-tests.h>.
23129         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23130         the relevant type.
23131         * math/test-misc.c: Include <math-tests.h>.
23132         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23133         the relevant type.
23134
23135 2013-06-12  Andreas Jaeger  <aj@suse.de>
23136
23137         * po/ia.po: Update Interlingua translation from translation
23138         project.
23139
23140 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23141
23142         * include/fenv.h: Include stdbool.h.
23143         (struct rm_ctx): New structure.
23144         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23145         Define macro.
23146         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23147         (SET_RESTORE_ROUNDF): Likewise.
23148         (SET_RESTORE_ROUNDL): Likewise.
23149         (SET_RESTORE_ROUND_NOEX): Likewise.
23150         (SET_RESTORE_ROUND_NOEXF): Likewise.
23151         (SET_RESTORE_ROUND_NOEXL): Likewise.
23152         (SET_RESTORE_ROUND_53BIT): Likewise.
23153         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23154         (libc_feresetround_noexf_ctx): Likewise.
23155         (libc_feresetround_noexl_ctx): Likewise.
23156         (libc_feholdsetround_53bit_ctx): Likewise.
23157         (libc_feresetround_53bit_ctx): Likewise.
23158         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23159         (libc_feholdexcept_setround_sse_ctx): New function.
23160         (libc_fesetenv_sse_ctx): Likewise.
23161         (libc_feupdateenv_sse_ctx): Likewise.
23162         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23163         (libc_feholdexcept_setround_387_ctx): Likewise.
23164         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23165         (libc_feholdsetround_387_prec_ctx): Likewise.
23166         (libc_feholdsetround_387_ctx): Likewise.
23167         (libc_feholdsetround_387_53bit_ctx): Likewise.
23168         (libc_feholdsetround_sse_ctx): Likewise.
23169         (libc_feresetround_sse_ctx): Likewise.
23170         (libc_feresetround_387_ctx): Likewise.
23171         (libc_feupdateenv_387_ctx): Likewise.
23172         (libc_feholdexcept_setroundf_ctx): Define macro.
23173         (libc_fesetenvf_ctx): Likewise.
23174         (libc_feupdateenvf_ctx): Likewise.
23175         (libc_feholdsetroundf_ctx): Likewise.
23176         (libc_feresetroundf_ctx): Likewise.
23177         (libc_feholdexcept_setround_ctx): Likewise.
23178         (libc_fesetenv_ctx): Likewise.
23179         (libc_feupdateenv_ctx): Likewise.
23180         (libc_feholdsetround_ctx): Likewise.
23181         (libc_feresetround_ctx): Likewise.
23182         (libc_feholdexcept_setroundl_ctx): Likewise.
23183         (libc_feupdateenvl_ctx): Likewise.
23184         (libc_feholdsetroundl_ctx): Likewise.
23185         (libc_feresetroundl_ctx): Likewise.
23186         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23187         (libc_feresetround_53bit_ctx): Likewise.
23188
23189 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23190
23191         * locale/iso-639.def: Convert to UTF-8.
23192
23193 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23194
23195         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23196         (EXCEPTION_TESTS_double): Likewise.
23197         (EXCEPTION_TESTS_long_double): Likewise.
23198         (EXCEPTION_TESTS): Likewise.
23199         * math/libm-test.inc (test_exceptions): Only test exceptions if
23200         EXCEPTION_TESTS (FLOAT).
23201
23202 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23203
23204         * benchtests/Makefile (string-bench): Add strcpy_chk and
23205         stpcpy_chk.
23206         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23207         * benchtests/bench-stpcpy_chk.c: New file.
23208         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23209         * benchtests/bench-strcpy_chk.c: New file.
23210         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23211         code.
23212         (do_test): Likewise.
23213
23214 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23215
23216         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23217         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23218         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23219         with tabs where appropriate.
23220         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23221         dl-procinfo.h.
23222         [PPC_PLATFORM_PPC440]: Likewise.
23223         [PPC_PLATFORM_PPC464]: Likewise.
23224         [PPC_PLATFORM_PPC476]: Likewise.
23225         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23226         ppc464, and ppc476 platform strings merging from ports/
23227         dl-procinfo.h.
23228
23229 2013-06-11  Andreas Schwab  <schwab@suse.de>
23230
23231         [BZ #14991]
23232         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23233         (from_ucs4_idx): Regenerate.
23234         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23235         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23236         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23237         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23238         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23239         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23240         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23241         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23242         from FROM_LOOP and TO_LOOP specific macros.
23243         (BODY): Handle combining characters.
23244         * iconvdata/BIG5HKSCS.irreversible: Update.
23245         * iconvdata/BIG5HKSCS.precomposed: New file.
23246         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23247         characters.
23248         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23249
23250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23251
23252         * include/sys/time.h: Fix indentation and add copyright header.
23253
23254         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23255         (do_test): Likewise.
23256         * string/test-memchr.c (do_one_test): Likewise.
23257         (do_test): Likewise.
23258         * string/test-memcmp.c (do_one_test): Likewise.
23259         (do_test): Likewise.
23260         * string/test-memcpy.c (do_one_test): Likewise.
23261         (do_test): Likewise.
23262         * string/test-memmem.c (do_one_test): Likewise.
23263         (do_test): Likewise.
23264         (do_random_tests): Likewise.
23265         * string/test-memmove.c (do_one_test): Likewise.
23266         (do_test): Likewise.
23267         * string/test-memset.c (do_one_test): Likewise.
23268         (do_test): Likewise.
23269         * string/test-rawmemchr.c (do_one_test): Likewise.
23270         (do_test): Likewise.
23271         * string/test-strcasecmp.c (do_one_test): Likewise.
23272         (do_test): Likewise.
23273         * string/test-strcasestr.c (do_one_test): Likewise.
23274         (do_test): Likewise.
23275         * string/test-strcat.c (do_one_test): Likewise.
23276         (do_test): Likewise.
23277         * string/test-strchr.c (do_one_test): Likewise.
23278         (do_test): Likewise.
23279         * string/test-strcmp.c (do_one_test): Likewise.
23280         (do_test): Likewise.
23281         * string/test-strcpy.c (do_one_test): Likewise.
23282         (do_test): Likewise.
23283         * string/test-string.h: Likewise.
23284         (test_init): Likewise.
23285         * string/test-strlen.c (do_one_test): Likewise.
23286         (do_test): Likewise.
23287         * string/test-strncasecmp.c (do_one_test): Likewise.
23288         (do_test): Likewise.
23289         * string/test-strncat.c (do_one_test): Likewise.
23290         (do_test): Likewise.
23291         * string/test-strncmp.c (do_one_test): Likewise.
23292         (do_test_limit): Likewise.
23293         (do_test): Likewise.
23294         * string/test-strncpy.c (do_one_test): Likewise.
23295         (do_test): Likewise.
23296         * string/test-strnlen.c (do_one_test): Likewise.
23297         (do_test): Likewise.
23298         * string/test-strpbrk.c (do_one_test): Likewise.
23299         (do_test): Likewise.
23300         * string/test-strrchr.c (do_one_test): Likewise.
23301         (do_test): Likewise.
23302         * string/test-strspn.c (do_one_test): Likewise.
23303         (do_test): Likewise.
23304         * string/test-strstr.c (do_one_test): Likewise.
23305         (do_test): Likewise.
23306
23307         * benchtests/Makefile (string-bench): Add string benchmarks.
23308         * benchtests/bench-bcopy-ifunc.c: New file.
23309         * benchtests/bench-bcopy.c: New file.
23310         * benchtests/bench-bzero-ifunc.c: New file.
23311         * benchtests/bench-bzero.c: New file.
23312         * benchtests/bench-memccpy-ifunc.c: New file.
23313         * benchtests/bench-memccpy.c: New file.
23314         * benchtests/bench-memchr-ifunc.c: New file.
23315         * benchtests/bench-memchr.c: New file.
23316         * benchtests/bench-memcmp-ifunc.c: New file.
23317         * benchtests/bench-memcmp.c: New file.
23318         * benchtests/bench-memmem-ifunc.c: New file.
23319         * benchtests/bench-memmem.c: New file.
23320         * benchtests/bench-memmove-ifunc.c: New file.
23321         * benchtests/bench-memmove.c: New file.
23322         * benchtests/bench-mempcpy-ifunc.c: New file.
23323         * benchtests/bench-mempcpy.c: New file.
23324         * benchtests/bench-memset-ifunc.c: New file.
23325         * benchtests/bench-memset.c: New file.
23326         * benchtests/bench-rawmemchr-ifunc.c: New file.
23327         * benchtests/bench-rawmemchr.c: New file.
23328         * benchtests/bench-stpcpy-ifunc.c: New file.
23329         * benchtests/bench-stpcpy.c: New file.
23330         * benchtests/bench-stpncpy-ifunc.c: New file.
23331         * benchtests/bench-stpncpy.c: New file.
23332         * benchtests/bench-strcasecmp-ifunc.c: New file.
23333         * benchtests/bench-strcasecmp.c: New file.
23334         * benchtests/bench-strcasestr-ifunc.c: New file.
23335         * benchtests/bench-strcasestr.c: New file.
23336         * benchtests/bench-strcat-ifunc.c: New file.
23337         * benchtests/bench-strcat.c: New file.
23338         * benchtests/bench-strchr-ifunc.c: New file.
23339         * benchtests/bench-strchr.c: New file.
23340         * benchtests/bench-strchrnul-ifunc.c: New file.
23341         * benchtests/bench-strchrnul.c: New file.
23342         * benchtests/bench-strcmp-ifunc.c: New file.
23343         * benchtests/bench-strcmp.c: New file.
23344         * benchtests/bench-strcpy-ifunc.c: New file.
23345         * benchtests/bench-strcpy.c: New file.
23346         * benchtests/bench-strcspn-ifunc.c: New file.
23347         * benchtests/bench-strcspn.c: New file.
23348         * benchtests/bench-strlen-ifunc.c: New file.
23349         * benchtests/bench-strlen.c: New file.
23350         * benchtests/bench-strncasecmp-ifunc.c: New file.
23351         * benchtests/bench-strncasecmp.c: New file.
23352         * benchtests/bench-strncat-ifunc.c: New file.
23353         * benchtests/bench-strncat.c: New file.
23354         * benchtests/bench-strncmp-ifunc.c: New file.
23355         * benchtests/bench-strncmp.c: New file.
23356         * benchtests/bench-strncpy-ifunc.c: New file.
23357         * benchtests/bench-strncpy.c: New file.
23358         * benchtests/bench-strnlen-ifunc.c: New file.
23359         * benchtests/bench-strnlen.c: New file.
23360         * benchtests/bench-strpbrk-ifunc.c: New file.
23361         * benchtests/bench-strpbrk.c: New file.
23362         * benchtests/bench-strrchr-ifunc.c: New file.
23363         * benchtests/bench-strrchr.c: New file.
23364         * benchtests/bench-strspn-ifunc.c: New file.
23365         * benchtests/bench-strspn.c: New file.
23366         * benchtests/bench-strstr-ifunc.c: New file.
23367         * benchtests/bench-strstr.c: New file.
23368
23369         * benchtests/Makefile: Disable parallel execution of targets.
23370         (string-bench): Add memcpy.
23371         (benchset): New variable to store a list of benchmark sets.
23372         (bench-func): Renamed from bench.
23373         (bench-set): New target.
23374         (bench): Depend on bench-func and bench-set.
23375         * benchtests/README: Add section on benchmark sets.
23376         * benchtests/bench-memcpy-ifunc.c: New file.
23377         * benchtests/bench-memcpy.c: New file.
23378         * benchtests/bench-string.h: New file.
23379
23380 2013-06-11  Andreas Schwab  <schwab@suse.de>
23381
23382         [BZ #15577]
23383         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23384         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23385         values in the triple.
23386         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23387         terminator in the group key.
23388
23389 2013-06-11  Andreas Jaeger  <aj@suse.de>
23390
23391         * po/zh_TW.po: Update Chinese (traditional) translation from
23392         translation project.
23393
23394 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23395
23396         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23397         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23398         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23399         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23400         (clock_getcpuclockid): Likewise.
23401         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23402         Add weak_alias and libc_hidden_def.
23403         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23404         * rt/clock_gettime.c (clock_gettime): Rename to
23405         __clock_gettime.  Add weak_alias and libc_hidden_def.
23406         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23407         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23408         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23409         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23410         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23411         Likewise.
23412         * rt/clock_settime.c (clock_settime): Rename to
23413         __clock_settime.  Add weak_alias and libc_hidden_def.
23414         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23415
23416 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23417
23418         * mach/err_boot.sub: Remove trailing whitespace.
23419         * mach/err_ipc.sub: Likewise.
23420         * mach/err_mach.sub: Likewise.
23421
23422         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23423         (ROUNDING_TESTS_double): Likewise.
23424         (ROUNDING_TESTS_long_double): Likewise.
23425         (ROUNDING_TESTS): Likewise.
23426         * math/libm-test.inc: Include <math-tests.h>.
23427         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23428         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23429         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23430         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23431
23432 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23433
23434         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23435         of assigning.
23436
23437 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23438
23439         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23440         otherwise empty TRANS lines.
23441         * sysdeps/gnu/errlist.c: Regenerated.
23442
23443         * catgets/gencat.c (error_print): Use (void) in function
23444         definition.
23445         * crypt/crypt_util.c (__init_des): Likewise.
23446         * crypt/speeds.c (Stop): Likewise.
23447         (main): Likewise.
23448         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23449         * inet/ruserpass.c (token): Likewise.
23450         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23451         * intl/localealias.c (extend_alias_table): Likewise.
23452         * intl/plural-exp.c (init_germanic_plural): Likewise.
23453         * libio/fcloseall.c (__fcloseall): Likewise.
23454         * libio/genops.c (_IO_flush_all): Likewise.
23455         (_IO_flush_all_linebuffered): Likewise.
23456         (_IO_cleanup): Likewise.
23457         (_IO_iter_begin): Likewise.
23458         (_IO_iter_end): Likewise.
23459         (_IO_list_lock): Likewise.
23460         (_IO_list_unlock): Likewise.
23461         (_IO_list_resetlock): Likewise.
23462         * libio/getchar.c (getchar): Likewise.
23463         * libio/getchar_u.c (getchar_unlocked): Likewise.
23464         * libio/getwchar.c (getwchar): Likewise.
23465         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23466         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23467         * login/getpt.c (__getpt): Likewise.
23468         * login/tst-utmp.c (main): Likewise.
23469         * malloc/hooks.c (__malloc_check_init): Likewise.
23470         * malloc/malloc.c (__malloc_stats): Likewise.
23471         * malloc/mtrace.c (tr_break): Likewise.
23472         (mtrace): Likewise.
23473         (muntrace): Likewise.
23474         * misc/fstab.c (endfsent): Likewise.
23475         * misc/getclktck.c (__getclktck): Likewise.
23476         * misc/getdtsz.c (__getdtablesize): Likewise.
23477         * misc/gethostid.c (gethostid): Likewise.
23478         * misc/getpagesize.c (__getpagesize): Likewise.
23479         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23480         (__get_nprocs): Likewise.
23481         (__get_phys_pages): Likewise.
23482         (__get_avphys_pages): Likewise.
23483         * misc/getttyent.c (getttyent): Likewise.
23484         (setttyent): Likewise.
23485         (endttyent): Likewise.
23486         * misc/getusershell.c (getusershell): Likewise.
23487         (endusershell): Likewise.
23488         (setusershell): Likewise.
23489         (initshells): Likewise.
23490         * misc/hsearch.c (__hdestroy): Likewise.
23491         * misc/sync.c (sync): Likewise.
23492         * misc/syslog.c (closelog_internal): Likewise.
23493         (closelog): Likewise.
23494         * misc/ttyslot.c (ttyslot): Likewise.
23495         * misc/vhangup.c (vhangup): Likewise.
23496         * posix/fork.c (__fork): Likewise.
23497         * posix/getegid.c (__getegid): Likewise.
23498         * posix/geteuid.c (__geteuid): Likewise.
23499         * posix/getgid.c (__getgid): Likewise.
23500         * posix/getpid.c (__getpid): Likewise.
23501         * posix/getppid.c (__getppid): Likewise.
23502         * posix/getuid.c (__getuid): Likewise.
23503         * posix/pause.c (pause): Likewise.
23504         * posix/setpgrp.c (setpgrp): Likewise.
23505         * posix/setsid.c (__setsid): Likewise.
23506         * posix/test-vfork.c (noop): Likewise.
23507         * resolv/gethnamaddr.c (_endhtent): Likewise.
23508         (_gethtent): Likewise.
23509         (ht_endhostent): Likewise.
23510         (gethostent): Likewise.
23511         (dns_service): Likewise.
23512         * stdlib/drand48.c (drand48): Likewise.
23513         * stdlib/lrand48.c (lrand48): Likewise.
23514         * stdlib/mrand48.c (mrand48): Likewise.
23515         * stdlib/rand.c (rand): Likewise.
23516         * stdlib/random.c (__random): Likewise.
23517         * stdlib/setenv.c (clearenv): Likewise.
23518         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23519         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23520         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23521         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23522         (__get_nprocs): Likewise.
23523         (__get_phys_pages): Likewise.
23524         (__get_avphys_pages): Likewise.
23525         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23526         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23527         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23528         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23529         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23530         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23531         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23532         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23533         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23534         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23535         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23536         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23537         * sysdeps/posix/clock.c (clock): Likewise.
23538         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23539         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23540         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23541         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23542         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23543         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23544         (__get_nprocs_conf): Likewise.
23545         (__get_phys_pages): Likewise.
23546         (__get_avphys_pages): Likewise.
23547         * time/clock.c (clock): Likewise.
23548         * time/tzset.c (__tzname_max): Likewise.
23549
23550 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23551
23552         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23553         (__bswap_32): Do not use "register".
23554         * crypt/crypt.c (_ufc_doit_r): Likewise.
23555         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23556         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23557         * gmon/gmon.c (__monstartup): Likewise.
23558         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23559         * hurd/hurdmalloc.c (more_memory): Likewise.
23560         (malloc): Likewise.
23561         (free): Likewise.
23562         (realloc): Likewise.
23563         (malloc_fork_prepare): Likewise.
23564         (malloc_fork_parent): Likewise.
23565         (malloc_fork_child): Likewise.
23566         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23567         (_svcauth_des): Likewise.
23568         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23569         * inet/inet_net.c (inet_network): Likewise.
23570         * inet/inet_netof.c (inet_netof): Likewise.
23571         * inet/rcmd.c (__validuser2_sa): Likewise.
23572         * io/fts.c (fts_open): Likewise.
23573         (fts_load): Likewise.
23574         (fts_close): Likewise.
23575         (fts_read): Likewise.
23576         (fts_children): Likewise.
23577         (fts_build): Likewise.
23578         (fts_stat): Likewise.
23579         (fts_sort): Likewise.
23580         (fts_alloc): Likewise.
23581         (fts_lfree): Likewise.
23582         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23583         (_IO_file_xsgetn): Likewise.
23584         (_IO_file_xsgetn_mmap): Likewise.
23585         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23586         (_IO_cookie_write): Likewise.
23587         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23588         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23589         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23590         * malloc/obstack.c (_obstack_begin): Likewise.
23591         (_obstack_begin_1): Likewise.
23592         (_obstack_newchunk): Likewise.
23593         (_obstack_allocated_p): Likewise.
23594         (obstack_free): Likewise.
23595         (_obstack_memory_used): Likewise.
23596         * misc/getttyent.c (getttynam): Likewise.
23597         (getttyent): Likewise.
23598         (skip): Likewise.
23599         (value): Likewise.
23600         * misc/getusershell.c (initshells): Likewise.
23601         * misc/syslog.c (__vsyslog_chk): Likewise.
23602         * misc/ttyslot.c (ttyslot): Likewise.
23603         * nis/nis_hash.c (__nis_hash): Likewise.
23604         * posix/fnmatch_loop.c (FCT): Likewise.
23605         * posix/getconf.c (print_all): Likewise.
23606         (main): Likewise.
23607         * posix/getopt.c (exchange): Likewise.
23608         * posix/glob.c (globfree): Likewise.
23609         (prefix_array): Likewise.
23610         (__glob_pattern_type): Likewise.
23611         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23612         (NS_GET32): Likewise.
23613         (NS_PUT16): Likewise.
23614         (NS_PUT32): Likewise.
23615         * resolv/gethnamaddr.c (getanswer): Likewise.
23616         (gethostbyname2): Likewise.
23617         (gethostbyaddr): Likewise.
23618         (_gethtent): Likewise.
23619         (_gethtbyname2): Likewise.
23620         (_gethtbyaddr): Likewise.
23621         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23622         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23623         * resolv/res_init.c (__res_vinit): Likewise.
23624         (net_mask): Likewise.
23625         * resolv/res_mkquery.c (outchar): Likewise.
23626         (PRINT): Likewise.
23627         * stdio-common/printf_fp.c (outchar): Likewise.
23628         (PRINT): Likewise.
23629         * stdio-common/printf_fphex.c (outchar): Likewise.
23630         (PRINT): Likewise.
23631         * stdio-common/printf_size.c (outchar): Likewise.
23632         (PRINT): Likewise.
23633         * stdio-common/test_rdwr.c (main): Likewise.
23634         * stdio-common/tfformat.c (matches): Likewise.
23635         * stdio-common/vfprintf.c (outchar): Likewise.
23636         (printf_unknown): Likewise.
23637         (buffered_vfprintf): Likewise.
23638         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23639         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23640         (ReadFile): Likewise.
23641         * stdlib/qsort.c (SWAP): Likewise.
23642         (_quicksort): Likewise.
23643         * stdlib/setenv.c (__add_to_environ): Likewise.
23644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23645         * stdlib/strtol_l.c (__strtol_l): Likewise.
23646         * stdlib/tst-strtod.c (main): Likewise.
23647         * stdlib/tst-strtol.c (main): Likewise.
23648         * stdlib/tst-strtoll.c (main): Likewise.
23649         * string/bits/string2.h (__strcmp_cc): Likewise.
23650         (__strcmp_cg): Likewise.
23651         (__strcspn_c1): Likewise.
23652         (__strcspn_c2): Likewise.
23653         (__strcspn_c3): Likewise.
23654         (__strspn_c1): Likewise.
23655         (__strspn_c2): Likewise.
23656         (__strspn_c3): Likewise.
23657         (__strsep_1c): Likewise.
23658         (__strsep_2c): Likewise.
23659         (__strsep_3c): Likewise.
23660         * string/memccpy.c (__memccpy): Likewise.
23661         * string/stpcpy.c (__stpcpy): Likewise.
23662         * string/strcmp.c (strcmp): Likewise.
23663         * string/strrchr.c (strrchr): Likewise.
23664         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23665         Likewise.
23666         * sysdeps/mach/hurd/getcwd.c
23667         (_hurd_canonicalize_directory_name_internal): Likewise.
23668         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23669         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23670         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23671         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23672         Likewise, in both definitions.
23673         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23674         definitions.
23675         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23676         64] (__bswap_64): Likewise.
23677         * time/test_time.c (main): Likewise.
23678         * time/tzfile.c (__tzfile_read): Likewise.
23679         (__tzfile_compute): Likewise.
23680         * time/tzset.c (__tzset_parse_tz): Likewise.
23681         (tzset_internal): Likewise.
23682         (compute_change): Likewise.
23683         * wcsmbs/wcscat.c (__wcscat): Likewise.
23684         * wcsmbs/wcschr.c (wcschr): Likewise.
23685         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23686         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23687         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23688         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23689         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23690         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23691         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23692         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23693         * wcsmbs/wmemset.c (wmemset): Likewise.
23694
23695 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23696
23697         * scripts/config.guess: Update to version 2013-05-16.
23698         * scripts/config.sub: Update to version 2013-04-24.
23699         * scripts/install-sh: Update to version 2011-11-20.07.
23700         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23701         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23702
23703 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23704
23705         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23706         * elf/sln.c: Likewise.
23707         * hurd/hurd/ioctl.h: Likewise.
23708         * hurd/hurdmalloc.c: Likewise.
23709         * hurd/xattr.c: Likewise.
23710         * include/shlib-compat.h: Likewise.
23711         * inet/ruserpass.c: Likewise.
23712         * libio/iofgets_u.c: Likewise.
23713         * libio/iofgetws_u.c: Likewise.
23714         * locale/programs/ld-identification.c: Likewise.
23715         * locale/programs/ld-time.c: Likewise.
23716         * mach/msg-destroy.c: Likewise.
23717         * nss/nss_files/files-netgrp.c: Likewise.
23718         * resolv/res_data.c: Likewise.
23719         * soft-fp/op-1.h: Likewise.
23720         * soft-fp/op-2.h: Likewise.
23721         * soft-fp/op-4.h: Likewise.
23722         * soft-fp/op-common.h: Likewise.
23723         * stdio-common/printf_fphex.c: Likewise.
23724         * stdlib/strtod_l.c: Likewise.
23725         * sunrpc/rpc/clnt.h: Likewise.
23726         * sysdeps/generic/framestate.c: Likewise.
23727         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23728         * sysdeps/i386/bsd-setjmp.S: Likewise.
23729         * sysdeps/i386/__longjmp.S: Likewise.
23730         * sysdeps/i386/setjmp.S: Likewise.
23731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23732         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23734         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23735         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23736         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23737         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23738         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23739         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23740         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23741         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23742         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23743         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23744         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23745         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23746         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23747         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23748         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23749         * sysdeps/ieee754/support.c: Likewise.
23750         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23751         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23752         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23753         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23754         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23755         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23756         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23757         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23758         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23759         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23760         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23761         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23762         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23763         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23764         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23765         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23766         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23768
23769 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23770
23771         * posix/transbug.c: Remove executable mode.
23772
23773 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23774
23775         * crypt/speeds.c: Remove trailing whitespace.
23776         * dlfcn/default.c: Likewise.
23777         * elf/ifuncdep2.c: Likewise.
23778         * elf/ifuncmain1.c: Likewise.
23779         * elf/ifuncmain1vis.c: Likewise.
23780         * elf/testobj.h: Likewise.
23781         * elf/tst-stackguard1.c: Likewise.
23782         * gmon/sys/gmon.h: Likewise.
23783         * hurd/hurdmsg.c: Likewise.
23784         * hurd/new-fd.c: Likewise.
23785         * hurd/ports-get.c: Likewise.
23786         * iconvdata/ibm1008_420.c: Likewise.
23787         * inet/tst-getni1.c: Likewise.
23788         * inet/tst-getni2.c: Likewise.
23789         * libio/ioungetc.c: Likewise.
23790         * libio/wfiledoalloc.c: Likewise.
23791         * manual/libm-err-tab.pl: Likewise.
23792         * math/w_dremf.c: Likewise.
23793         * misc/ftruncate.c: Likewise.
23794         * posix/bug-glob2.c: Likewise.
23795         * posix/tst-pcre.c: Likewise.
23796         * posix/wait4.c: Likewise.
23797         * resolv/README: Likewise.
23798         * resolv/res_debug.h: Likewise.
23799         * resolv/tst-inet_ntop.c: Likewise.
23800         * setjmp/bug269-setjmp.c: Likewise.
23801         * soft-fp/extended.h: Likewise.
23802         * soft-fp/op-1.h: Likewise.
23803         * soft-fp/op-2.h: Likewise.
23804         * soft-fp/op-4.h: Likewise.
23805         * soft-fp/op-8.h: Likewise.
23806         * soft-fp/testit.c: Likewise.
23807         * stdio-common/bug16.c: Likewise.
23808         * stdlib/random.c: Likewise.
23809         * sunrpc/rpcsvc/rquota.x: Likewise.
23810         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23815         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23816         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23817         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23818         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23819         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23820         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23821         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23822         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23823         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23824         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23825         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23826         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23827         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23828         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23829         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23830         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23831         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23832         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23833         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23834         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23835         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23836         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23837         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23838         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23839         * sysdeps/ieee754/s_lib_version.c: Likewise.
23840         * sysdeps/mach/hurd/check_fds.c: Likewise.
23841         * sysdeps/mach/hurd/getsockname.c: Likewise.
23842         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23843         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23844         * sysdeps/powerpc/bits/link.h: Likewise.
23845         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23846         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23847         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23848         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23849         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23850         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23851         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23852         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23853         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23854         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23855         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23856         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23857         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23858         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23859         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23860         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23863         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23864         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23865         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23866         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23867         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23868         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23869         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23870         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23871         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23872         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23873         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23874         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23875         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23876         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23877         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23878         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23879         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23880         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23881         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23882         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23883         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23884         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23885         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23886         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23887         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23888         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23889         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23890         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23891         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23892         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23893         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23894         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23895         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23897         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23898         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23899         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23900         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23901         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23902         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23903         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23904         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23905         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23906         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23907         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23908         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23909         * sysdeps/powerpc/sysdep.h: Likewise.
23910         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23911         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23912         * sysdeps/sh/dl-trampoline.S: Likewise.
23913         * sysdeps/sh/memset.S: Likewise.
23914         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23915         * sysdeps/sh/strlen.S: Likewise.
23916         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23917         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23918         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23919         * sysdeps/sparc/sparc32/rem.S: Likewise.
23920         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23921         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23922         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23923         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23924         * sysdeps/sparc/sparc32/urem.S: Likewise.
23925         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23926         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23927         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23928         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23929         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23930         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23931         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23932         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23933         * sysdeps/unix/bsd/times.c: Likewise.
23934         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23935         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23939         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23940         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23941         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23942         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23943         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23944         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23945         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23946         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23947         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23948         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23949         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23950         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23951         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23952         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23953         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23954         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23955         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23956         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23957         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23958         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23959         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23960         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23961         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23962         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23963         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23964         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23965         * sysdeps/x86_64/strcspn.S: Likewise.
23966
23967 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23968
23969         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23970         generated file.  Regenerate properly from gen-translit.pl.
23971         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23972         locale/C-translit.h.
23973
23974 2013-06-05  Andreas Schwab  <schwab@suse.de>
23975
23976         [BZ #15100]
23977         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23978         week as 6 instead of -1.
23979         * time/tst-strptime.c (day_tests): Add test case.
23980
23981 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23982
23983         * sysdeps/generic/math_private.h
23984         (libc_feholdexcept_setround_53bit): Replace with
23985         libc_feholdsetround_53bit.
23986         (libc_feupdateenv_53bit): Replace with
23987         libc_feresetround_53bit.
23988         (SET_RESTORE_ROUND_53BIT): Adjust.
23989
23990 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23991
23992         * string/test-strchrnul.c: Add copyright header.
23993
23994         * posix/tst-getaddrinfo4.c: Increase test timeout.
23995
23996 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23997
23998         [BZ #15536]
23999         * math/libm-test.inc (MAX_EXP): Remove
24000         (MIN_EXP): Define.
24001         (ulp): Use MIN_EXP - MANT_DIG.
24002         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24003
24004 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24005
24006         * po/be.po: Revert last change.
24007         * po/zh_CN.po: Likewise.
24008         * po/header.pot: Likewise.
24009
24010 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24011
24012         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24013         link-libc-deps to empty as target-specific variable.
24014         * Makerules (link-libc-args): New variable.
24015         (libc-for-link): Likewise.
24016         (link-libc-deps): Likewise.
24017         (lib%.so): Depend on $(link-libc-deps).  Link with
24018         $(link-libc-args).
24019         (build-module): Link with $(link-libc-args).
24020         (build-module-asneeded): Likewise.
24021         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24022         list of objects.
24023         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24024         target-specific variable.
24025         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24026         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24027         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24028         libc.
24029         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24030         libc and ld.so.
24031         ($(objpfx)libpcprofile.so): Likewise.
24032         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24033         libc_nonshared.a.
24034         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24035         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24036         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24037         $(link-libc-deps).
24038         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24039         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24040         * login/Makefile ($(objpfx)libutil.so): Likewise.
24041         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24042         * math/Makefile ($(objpfx)libm.so): Likewise.
24043         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24044         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24045         variable instead of depending directly on libc.
24046         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24047         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24048         $(link-libc-deps).
24049         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24050         libc.
24051         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24052         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24053         ($(objpfx)libanl.so): Likewise.
24054         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24055         ld.so.
24056         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24057         $(link-libc-deps).
24058         * sysdeps/i386/fpu/Makefile: Remove file.
24059         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24060         ($(objpfx)libm.so): Remove dependency on ld.so.
24061
24062 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24063
24064         [BZ # 15553]
24065         * nis/yp_xdr.c (XDRMAXNAME): Define.
24066         (XDRMAXRECORD): Define.
24067         (xdr_domainname): Use XDRMAXNAME.
24068         (xdr_mapname): Likewise.
24069         (xdr_peername): Likewise.
24070         (xdr_keydat): Use XDRMAXRECORD.
24071         (xdr_valdat): Likewise.
24072
24073 2013-05-30  Jeff Law  <law@redhat.com>
24074
24075         [BZ #14256]
24076         * manual/errno.texi (ESTALE): Update to account for more than
24077         just NFS file systems.
24078         * sysdeps/gnu/errlist.c: Regenerated.
24079
24080 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24081
24082         [BZ #15465]
24083         * elf/Makefile (tests): Add tst-null-argv.
24084         (modules-names):  Add tst-null-argv-lib.
24085         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24086         (tst-null-argv-ENV): Set environment for tst-null-argv.
24087         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24088         (RTLD_PROGNAME): New macro.
24089         * elf/tst-null-argv.c: New test case.
24090         * elf/tst-null-argv-lib.c: Library for test case.
24091         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24092         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24093         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24094         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24095         * elf/dl-init.c (call_init): Likewise.
24096         (_dl_init): Likewise.
24097         * elf/dl-load.c (print_search_path): Likewise.
24098         (_dl_map_object): Likewise.
24099         * elf/dl-lookup.c (do_lookup_x): Likewise.
24100         (add_dependency): Likewise.
24101         (_dl_lookup_symbol_x): Likewise.
24102         (_dl_debug_bindings): Likewise.
24103         * elf/dl-open.c (_dl_show_scope): Likewise.
24104         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24105         * elf/dl-version.c (match_symbol): Likewise.
24106         (_dl_check_map_versions): Likewise.
24107         * elf/rtld.c (dl_main): Likewise.
24108         (print_unresolved): Use RTLD_PROGNAME.
24109         (print_missing_version): Likewise.
24110         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24111         (elf_machine_rela): Likewise.
24112         * sysdeps/powerpc/powerpc32/dl-machine.c
24113         (__process_machine_rela): Likewise.
24114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24115         Likewise.
24116         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24117         Likewise.
24118         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24119         Likewise.
24120         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24121         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24122         Likewise.
24123         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24124         Likewise.
24125         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24126
24127 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24128
24129         * po/be.po: Add descriptive title.
24130         * po/zh_CN.po: Likewise.
24131         * po/header.pot: Likewise.
24132
24133 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24134
24135         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24136         error message.
24137         (enlarge_archive): Likewise.
24138
24139 2013-05-28  Ben North  <ben@redfrontdoor.org>
24140
24141         * manual/arith.texi (frexp): It is the magnitude of the return
24142         value which lies in [0.5, 1), not the return value itself.
24143
24144 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24145
24146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24147
24148 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24149
24150         * stdio-common/bug26.c (main): Correct fscanf template.
24151
24152         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24153         declare _dl_skip_args.
24154
24155         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24156         Don't declare.
24157
24158         * manual/platform.texi: Add missing @end deftypefun.
24159
24160 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24161
24162         [BZ #15529]
24163         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24164         bit of mantissa of 2^16382.
24165         * math/libm-test.inc (hypot_test_data): Add more tests.
24166
24167         * math/libm-test.inc: Add drem and pow10 to list of tested
24168         functions.
24169         (pow10_test): New function.
24170         (drem_test): Likewise.
24171         (drem_test_tonearest): Likewise.
24172         (drem_test_towardzero): Likewise.
24173         (drem_test_downward): Likewise.
24174         (drem_test_upward): Likewise.
24175         (main): Call the new functions.
24176
24177         * math/libm-test.inc (finite_test_data): Remove.
24178         (finite_test): Run tests from isfinite_test_data.
24179         (gamma_test_data): Remove.
24180         (gamma_test): Run tests from lgamma_test_data.
24181         * sysdeps/i386/fpu/libm-test-ulps: Update.
24182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24183
24184 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185
24186         * manual/platform.texi: Add PowerPC PPR function set documentation.
24187         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24188         implementation.
24189
24190 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24191
24192         * math/libm-test.inc (MAX_EXP): Define.
24193         (ULPDIFF): Define.
24194         (ulp): New function.
24195         (check_float_internal): Use ULPDIFF.
24196         (cpow_test): Disable failing test.
24197         (check_ulp): Test ulp() implemetnation.
24198         (main): Call check_ulp before starting tests.
24199
24200 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24201
24202         * math/gen-libm-test.pl (generate_testfile): Do not handle
24203         START_DATA and END_DATA.
24204         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24205         END_DATA.
24206         (acos_tonearest_test_data): Likewise.
24207         (acos_towardzero_test_data): Likewise.
24208         (acos_downward_test_data): Likewise.
24209         (acos_upward_test_data): Likewise.
24210         (acosh_test_data): Likewise.
24211         (asin_test_data): Likewise.
24212         (asin_tonearest_test_data): Likewise.
24213         (asin_towardzero_test_data): Likewise.
24214         (asin_downward_test_data): Likewise.
24215         (asin_upward_test_data): Likewise.
24216         (asinh_test_data): Likewise.
24217         (atan_test_data): Likewise.
24218         (atanh_test_data): Likewise.
24219         (atan2_test_data): Likewise.
24220         (cabs_test_data): Likewise.
24221         (cacos_test_data): Likewise.
24222         (cacosh_test_data): Likewise.
24223         (carg_test_data): Likewise.
24224         (casin_test_data): Likewise.
24225         (casinh_test_data): Likewise.
24226         (catan_test_data): Likewise.
24227         (catanh_test_data): Likewise.
24228         (cbrt_test_data): Likewise.
24229         (ccos_test_data): Likewise.
24230         (ccosh_test_data): Likewise.
24231         (ceil_test_data): Likewise.
24232         (cexp_test_data): Likewise.
24233         (cimag_test_data): Likewise.
24234         (clog_test_data): Likewise.
24235         (clog10_test_data): Likewise.
24236         (conj_test_data): Likewise.
24237         (copysign_test_data): Likewise.
24238         (cos_test_data): Likewise.
24239         (cos_tonearest_test_data): Likewise.
24240         (cos_towardzero_test_data): Likewise.
24241         (cos_downward_test_data): Likewise.
24242         (cos_upward_test_data): Likewise.
24243         (cosh_test_data): Likewise.
24244         (cosh_tonearest_test_data): Likewise.
24245         (cosh_towardzero_test_data): Likewise.
24246         (cosh_downward_test_data): Likewise.
24247         (cosh_upward_test_data): Likewise.
24248         (cpow_test_data): Likewise.
24249         (cproj_test_data): Likewise.
24250         (creal_test_data): Likewise.
24251         (csin_test_data): Likewise.
24252         (csinh_test_data): Likewise.
24253         (csqrt_test_data): Likewise.
24254         (ctan_test_data): Likewise.
24255         (ctan_tonearest_test_data): Likewise.
24256         (ctan_towardzero_test_data): Likewise.
24257         (ctan_downward_test_data): Likewise.
24258         (ctan_upward_test_data): Likewise.
24259         (ctanh_test_data): Likewise.
24260         (ctanh_tonearest_test_data): Likewise.
24261         (ctanh_towardzero_test_data): Likewise.
24262         (ctanh_downward_test_data): Likewise.
24263         (ctanh_upward_test_data): Likewise.
24264         (erf_test_data): Likewise.
24265         (erfc_test_data): Likewise.
24266         (exp_test_data): Likewise.
24267         (exp_tonearest_test_data): Likewise.
24268         (exp_towardzero_test_data): Likewise.
24269         (exp_downward_test_data): Likewise.
24270         (exp_upward_test_data): Likewise.
24271         (exp10_test_data): Likewise.
24272         (exp2_test_data): Likewise.
24273         (expm1_test_data): Likewise.
24274         (fabs_test_data): Likewise.
24275         (fdim_test_data): Likewise.
24276         (finite_test_data): Likewise.
24277         (floor_test_data): Likewise.
24278         (fma_test_data): Likewise.
24279         (fma_towardzero_test_data): Likewise.
24280         (fma_downward_test_data): Likewise.
24281         (fma_upward_test_data): Likewise.
24282         (fmax_test_data): Likewise.
24283         (fmin_test_data): Likewise.
24284         (fmod_test_data): Likewise.
24285         (fpclassify_test_data): Likewise.
24286         (frexp_test_data): Likewise.
24287         (gamma_test_data): Likewise.
24288         (hypot_test_data): Likewise.
24289         (ilogb_test_data): Likewise.
24290         (isfinite_test_data): Likewise.
24291         (isgreater_test_data): Likewise.
24292         (isgreaterequal_test_data): Likewise.
24293         (isinf_test_data): Likewise.
24294         (isless_test_data): Likewise.
24295         (islessequal_test_data): Likewise.
24296         (islessgreater_test_data): Likewise.
24297         (isnan_test_data): Likewise.
24298         (isnormal_test_data): Likewise.
24299         (issignaling_test_data): Likewise.
24300         (isunordered_test_data): Likewise.
24301         (j0_test_data): Likewise.
24302         (j1_test_data): Likewise.
24303         (jn_test_data): Likewise.
24304         (ldexp_test_data): Likewise.
24305         (lgamma_test_data): Likewise.
24306         (lrint_test_data): Likewise.
24307         (lrint_tonearest_test_data): Likewise.
24308         (lrint_towardzero_test_data): Likewise.
24309         (lrint_downward_test_data): Likewise.
24310         (lrint_upward_test_data): Likewise.
24311         (llrint_test_data): Likewise.
24312         (llrint_tonearest_test_data): Likewise.
24313         (llrint_towardzero_test_data): Likewise.
24314         (llrint_downward_test_data): Likewise.
24315         (llrint_upward_test_data): Likewise.
24316         (log_test_data): Likewise.
24317         (log10_test_data): Likewise.
24318         (log1p_test_data): Likewise.
24319         (log2_test_data): Likewise.
24320         (logb_test_data): Likewise.
24321         (logb_downward_test_data): Likewise.
24322         (lround_test_data): Likewise.
24323         (llround_test_data): Likewise.
24324         (modf_test_data): Likewise.
24325         (nearbyint_test_data): Likewise.
24326         (nextafter_test_data): Likewise.
24327         (nexttoward_test_data): Likewise.
24328         (pow_test_data): Likewise.
24329         (pow_tonearest_test_data): Likewise.
24330         (pow_towardzero_test_data): Likewise.
24331         (pow_downward_test_data): Likewise.
24332         (pow_upward_test_data): Likewise.
24333         (remainder_test_data): Likewise.
24334         (remainder_tonearest_test_data): Likewise.
24335         (remainder_towardzero_test_data): Likewise.
24336         (remainder_downward_test_data): Likewise.
24337         (remainder_upward_test_data): Likewise.
24338         (remquo_test_data): Likewise.
24339         (rint_test_data): Likewise.
24340         (rint_tonearest_test_data): Likewise.
24341         (rint_towardzero_test_data): Likewise.
24342         (rint_downward_test_data): Likewise.
24343         (rint_upward_test_data): Likewise.
24344         (round_test_data): Likewise.
24345         (scalb_test_data): Likewise.
24346         (scalbn_test_data): Likewise.
24347         (scalbln_test_data): Likewise.
24348         (signbit_test_data): Likewise.
24349         (sin_test_data): Likewise.
24350         (sin_tonearest_test_data): Likewise.
24351         (sin_towardzero_test_data): Likewise.
24352         (sin_downward_test_data): Likewise.
24353         (sin_upward_test_data): Likewise.
24354         (sincos_test_data): Likewise.
24355         (sinh_test_data): Likewise.
24356         (sinh_tonearest_test_data): Likewise.
24357         (sinh_towardzero_test_data): Likewise.
24358         (sinh_downward_test_data): Likewise.
24359         (sinh_upward_test_data): Likewise.
24360         (sqrt_test_data): Likewise.
24361         (tan_test_data): Likewise.
24362         (tan_tonearest_test_data): Likewise.
24363         (tan_towardzero_test_data): Likewise.
24364         (tan_downward_test_data): Likewise.
24365         (tan_upward_test_data): Likewise.
24366         (tanh_test_data): Likewise.
24367         (tgamma_test_data): Likewise.
24368         (trunc_test_data): Likewise.
24369         (y0_test_data): Likewise.
24370         (y1_test_data): Likewise.
24371         (yn_test_data): Likewise.
24372         (significand_test_data): Likewise.
24373
24374         * math/gen-libm-test.pl (@functions): Remove variable.
24375         (generate_testfile): Don't handle START and END lines.
24376         * math/libm-test.inc (START): New macro.
24377         (END): Likewise.
24378         (END_COMPLEX): Likewise.
24379         (acos_test): Use END macro without arguments.
24380         (acos_test_tonearest): Likewise.
24381         (acos_test_towardzero): Likewise.
24382         (acos_test_downward): Likewise.
24383         (acos_test_upward): Likewise.
24384         (acosh_test): Likewise.
24385         (asin_test): Likewise.
24386         (asin_test_tonearest): Likewise.
24387         (asin_test_towardzero): Likewise.
24388         (asin_test_downward): Likewise.
24389         (asin_test_upward): Likewise.
24390         (asinh_test): Likewise.
24391         (atan_test): Likewise.
24392         (atanh_test): Likewise.
24393         (atan2_test): Likewise.
24394         (cabs_test): Likewise.
24395         (cacos_test): Use END_COMPLEX macro without arguments.
24396         (cacosh_test): Likewise.
24397         (carg_test): Use END macro without arguments.
24398         (casin_test): Use END_COMPLEX macro without arguments.
24399         (casinh_test): Likewise.
24400         (catan_test): Likewise.
24401         (catanh_test): Likewise.
24402         (cbrt_test): Use END macro without arguments.
24403         (ccos_test): Use END_COMPLEX macro without arguments.
24404         (ccosh_test): Likewise.
24405         (ceil_test): Use END macro without arguments.
24406         (cexp_test): Use END_COMPLEX macro without arguments.
24407         (cimag_test): Use END macro without arguments.
24408         (clog_test): Use END_COMPLEX macro without arguments.
24409         (clog10_test): Likewise.
24410         (conj_test): Likewise.
24411         (copysign_test): Use END macro without arguments.
24412         (cos_test): Likewise.
24413         (cos_test_tonearest): Likewise.
24414         (cos_test_towardzero): Likewise.
24415         (cos_test_downward): Likewise.
24416         (cos_test_upward): Likewise.
24417         (cosh_test): Likewise.
24418         (cosh_test_tonearest): Likewise.
24419         (cosh_test_towardzero): Likewise.
24420         (cosh_test_downward): Likewise.
24421         (cosh_test_upward): Likewise.
24422         (cpow_test): Use END_COMPLEX macro without arguments.
24423         (cproj_test): Likewise.
24424         (creal_test): Use END macro without arguments.
24425         (csin_test): Use END_COMPLEX macro without arguments.
24426         (csinh_test): Likewise.
24427         (csqrt_test): Likewise.
24428         (ctan_test): Likewise.
24429         (ctan_test_tonearest): Likewise.
24430         (ctan_test_towardzero): Likewise.
24431         (ctan_test_downward): Likewise.
24432         (ctan_test_upward): Likewise.
24433         (ctanh_test): Likewise.
24434         (ctanh_test_tonearest): Likewise.
24435         (ctanh_test_towardzero): Likewise.
24436         (ctanh_test_downward): Likewise.
24437         (ctanh_test_upward): Likewise.
24438         (erf_test): Use END macro without arguments.
24439         (erfc_test): Likewise.
24440         (exp_test): Likewise.
24441         (exp_test_tonearest): Likewise.
24442         (exp_test_towardzero): Likewise.
24443         (exp_test_downward): Likewise.
24444         (exp_test_upward): Likewise.
24445         (exp10_test): Likewise.
24446         (exp2_test): Likewise.
24447         (expm1_test): Likewise.
24448         (fabs_test): Likewise.
24449         (fdim_test): Likewise.
24450         (finite_test): Likewise.
24451         (floor_test): Likewise.
24452         (fma_test): Likewise.
24453         (fma_test_towardzero): Likewise.
24454         (fma_test_downward): Likewise.
24455         (fma_test_upward): Likewise.
24456         (fmax_test): Likewise.
24457         (fmin_test): Likewise.
24458         (fmod_test): Likewise.
24459         (fpclassify_test): Likewise.
24460         (frexp_test): Likewise.
24461         (gamma_test): Likewise.
24462         (hypot_test): Likewise.
24463         (ilogb_test): Likewise.
24464         (isfinite_test): Likewise.
24465         (isgreater_test): Likewise.
24466         (isgreaterequal_test): Likewise.
24467         (isinf_test): Likewise.
24468         (isless_test): Likewise.
24469         (islessequal_test): Likewise.
24470         (islessgreater_test): Likewise.
24471         (isnan_test): Likewise.
24472         (isnormal_test): Likewise.
24473         (issignaling_test): Likewise.
24474         (isunordered_test): Likewise.
24475         (j0_test): Likewise.
24476         (j1_test): Likewise.
24477         (jn_test): Likewise.
24478         (ldexp_test): Likewise.
24479         (lgamma_test): Likewise.
24480         (lrint_test): Likewise.
24481         (lrint_test_tonearest): Likewise.
24482         (lrint_test_towardzero): Likewise.
24483         (lrint_test_downward): Likewise.
24484         (lrint_test_upward): Likewise.
24485         (llrint_test): Likewise.
24486         (llrint_test_tonearest): Likewise.
24487         (llrint_test_towardzero): Likewise.
24488         (llrint_test_downward): Likewise.
24489         (llrint_test_upward): Likewise.
24490         (log_test): Likewise.
24491         (log10_test): Likewise.
24492         (log1p_test): Likewise.
24493         (log2_test): Likewise.
24494         (logb_test): Likewise.
24495         (logb_test_downward): Likewise.
24496         (lround_test): Likewise.
24497         (llround_test): Likewise.
24498         (modf_test): Likewise.
24499         (nearbyint_test): Likewise.
24500         (nextafter_test): Likewise.
24501         (nexttoward_test): Likewise.
24502         (pow_test): Likewise.
24503         (pow_test_tonearest): Likewise.
24504         (pow_test_towardzero): Likewise.
24505         (pow_test_downward): Likewise.
24506         (pow_test_upward): Likewise.
24507         (remainder_test): Likewise.
24508         (remainder_test_tonearest): Likewise.
24509         (remainder_test_towardzero): Likewise.
24510         (remainder_test_downward): Likewise.
24511         (remainder_test_upward): Likewise.
24512         (remquo_test): Likewise.
24513         (rint_test): Likewise.
24514         (rint_test_tonearest): Likewise.
24515         (rint_test_towardzero): Likewise.
24516         (rint_test_downward): Likewise.
24517         (rint_test_upward): Likewise.
24518         (round_test): Likewise.
24519         (scalb_test): Likewise.
24520         (scalbn_test): Likewise.
24521         (scalbln_test): Likewise.
24522         (signbit_test): Likewise.
24523         (sin_test): Likewise.
24524         (sin_test_tonearest): Likewise.
24525         (sin_test_towardzero): Likewise.
24526         (sin_test_downward): Likewise.
24527         (sin_test_upward): Likewise.
24528         (sincos_test): Likewise.
24529         (sinh_test): Likewise.
24530         (sinh_test_tonearest): Likewise.
24531         (sinh_test_towardzero): Likewise.
24532         (sinh_test_downward): Likewise.
24533         (sinh_test_upward): Likewise.
24534         (sqrt_test): Likewise.
24535         (tan_test): Likewise.
24536         (tan_test_tonearest): Likewise.
24537         (tan_test_towardzero): Likewise.
24538         (tan_test_downward): Likewise.
24539         (tan_test_upward): Likewise.
24540         (tanh_test): Likewise.
24541         (tgamma_test): Likewise.
24542         (trunc_test): Likewise.
24543         (y0_test): Likewise.
24544         (y1_test): Likewise.
24545         (yn_test): Likewise.
24546         (significand_test): Likewise.
24547
24548 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24549
24550         [BZ #15381]
24551         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24552
24553 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24554
24555         [BZ #14894]
24556         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24557         __ppc_mdoio and __ppc_mdoom.
24558         * manual/platform.texi: Document new functions __ppc_yield,
24559         __ppc_mdoio and __ppc_mdoom.
24560
24561 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24562
24563         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24564         (main): Mention "tls" pseudo-hwcap is legacy.
24565         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24566
24567 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24568
24569         * math/gen-libm-test.pl (parse_args): Output only string of
24570         arguments as text for test name, not full call or descriptions of
24571         tests for extra outputs.
24572         (generate_testfile): Do not pass function name to parse_args.
24573         Generate this_func variable from START.
24574         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24575         field to arg_str.
24576         (struct test_ff_f_data): Likewise.
24577         (test_ff_f_data_nexttoward): Likewise.
24578         (struct test_fi_f_data): Likewise.
24579         (struct test_fl_f_data): Likewise.
24580         (struct test_if_f_data): Likewise.
24581         (struct test_fff_f_data): Likewise.
24582         (struct test_c_f_data): Likewise.
24583         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24584         (struct test_fF_f1_data): Likewise.
24585         (struct test_ffI_f1_data): Likewise.
24586         (struct test_c_c_data): Rename test_name field to arg_str.
24587         (struct test_cc_c_data): Likewise.
24588         (struct test_f_i_data): Likewise.
24589         (struct test_ff_i_data): Likewise.
24590         (struct test_f_l_data): Likewise.
24591         (struct test_f_L_data): Likewise.
24592         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24593         and extra2_name.
24594         (COMMON_TEST_SETUP): New macro.
24595         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24596         (COMMON_TEST_CLEANUP): Likewise.
24597         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24598         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24599         macros.
24600         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24601         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24602         macros.
24603         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24604         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24605         cleanup macros.
24606         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24607         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24608         macros.
24609         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24610         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24611         macros.
24612         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24613         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24614         cleanup macros.
24615         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24616         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24617         cleanup macros.
24618         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24619         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24620         cleanup macros.
24621         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24622         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24623         macros.
24624         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24625         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24626         macros.
24627         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24628         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24629         macros.
24630         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24631         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24632         cleanup macros.
24633         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24634         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24635         cleanup macros.
24636         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24637         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24638         macros.
24639         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24640         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24641         cleanup macros.
24642         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24643         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24644         macros.
24645         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24646         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24647         macros.
24648         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24649         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24650         cleanup macros.
24651         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24652
24653 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24654
24655         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24656         to _sifields.sigfault.
24657         (si_addr_lsb): Define new macro.
24658         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24659         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24660         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24661
24662 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24663
24664         [BZ #15441]
24665         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24666         returns -1.
24667         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24668         null return -1.
24669         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24670         loading the domain.
24671
24672 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24673
24674         * math/gen-libm-test.pl (parse_args): Do not include expected
24675         result in test name.
24676         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24677         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24678         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24679         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24680         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24682
24683 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24684
24685         * benchtests/Makefile: Sort function entries.
24686
24687         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24688         tanh, asinh, acosh, atanh.
24689         * benchtests/acos-inputs: New file.
24690         * benchtests/acosh-inputs: New file.
24691         * benchtests/asin-inputs: New file.
24692         * benchtests/asinh-inputs: New file.
24693         * benchtests/atanh-inputs: New file.
24694         * benchtests/cosh-inputs: New file.
24695         * benchtests/log-inputs: New file.
24696         * benchtests/sinh-inputs: New file.
24697         * benchtests/tanh-inputs: New file.
24698
24699 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24700
24701         [BZ #15339]
24702         * posix/tst-getaddrinfo4.c: New test.
24703         * posix/Makefile (tests): Add it.
24704
24705 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24706
24707         [BZ #15339]
24708         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24709         when no services were used.
24710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24711         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24712
24713 2013-05-21  Andreas Schwab  <schwab@suse.de>
24714
24715         [BZ #15014]
24716         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24717         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24718         successful.
24719         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24720         redundant variable declarations and reallocation of buffer when
24721         parsing as IPv6 address.  Always set NSS status when called from
24722         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24723         buffer too small.  Correct computation of needed size.
24724         * nss/Makefile (tests): Add test-digits-dots.
24725         * nss/test-digits-dots.c: New test.
24726
24727 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24728
24729         * benchtests/Makefile: Remove instructions for adding
24730         benchmark tests.
24731         * benchtests/README: New file to explain how to execute and
24732         enhance the benchmark tests.
24733
24734 2013-05-21  Andreas Schwab  <schwab@suse.de>
24735
24736         [BZ #15493]
24737         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24738         * setjmp/tst-sigsetjmp.c: New test.
24739
24740 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24741
24742         * sysdeps/x86_64/memset.S (memset): New implementation.
24743         (__bzero): Likewise.
24744         (__memset_tail): New function.
24745
24746 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24747
24748         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24749         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24750         __memcpy_sse2_unaligned ifunc selection.
24751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24752         Add memcpy-sse2-unaligned.S.
24753         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24754         Add: __memcpy_sse2_unaligned.
24755
24756 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24757
24758         [BZ #15490]
24759         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24760         math_force_eval before restoring floating-point envrionment.
24761         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24763         Likewise.
24764         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24765         <math_private.h>.
24766         (__nearbyintl): Use math_force_eval before restoring
24767         floating-point environment.
24768         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24769
24770         * math/gen-libm-test.pl (special_functions): Remove.
24771         (parse_args): Don't handle TEST_extra.  Handle functions with no
24772         return value.
24773         * math/libm-test.inc (struct test_sincos_data): Replace with
24774         struct test_fFF_11_data.
24775         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24776         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24777         (sincos_test_data): Change element type to struct
24778         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24779         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24780         RUN_TEST_LOOP_sincos.
24781         * math/README.libm-test: Don't mention special handling of
24782         individual functions.
24783         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24785         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24786         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24787         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24789
24790         * math/gen-libm-test.pl (get_variable): Remove function.
24791         (parse_args): Don't show pointer parameters to call in test
24792         names.  Use "extra output N" in test names for extra outputs
24793         rather than naming variables.
24794
24795 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24796
24797         [BZ #15488]
24798         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24799         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24800         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24801         double tests.
24802         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24803         disable.
24804         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24805         check_long_double.
24806
24807         * math/gen-libm-test.pl (@tests): Remove variable.
24808         ($count): Likewise.
24809         (new_test): Remove function.
24810         (show_exceptions): New function.
24811         (special_functions): Use show_exceptions instead of new_test.
24812         (parse_args): Likewise.
24813         (generate_testfile): Pass only function name in generated call to
24814         print_max_error or print_complex_max_error.
24815         (get_ulps): Do not handle complex tests specially.
24816         (output_test): Rename to ...
24817         (get_all_ulps_for_test): ... this.  Return a string rather than
24818         printing to a file.  Require ulps to be present.
24819         (output_ulps): Generate arrays rather than #defines.
24820         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24821         (struct ulp_data): New type.
24822         (BUILD_COMPLEX_ULP): Remove macro.
24823         (compare_ulp_data): New function.
24824         (find_ulps): Likewise.
24825         (find_test_ulps): Likewise.
24826         (find_function_ulps): Likewise.
24827         (find_complex_function_ulps): Likewise.
24828         (print_max_error): Determine allowed ulps using
24829         find_function_ulps.
24830         (print_complex_max_error): Determine allowed ulps using
24831         find_complex_function_ulps.
24832         (check_float_internal): Determine max ulps using find_test_ulps.
24833         (check_float): Do not take max_ulp parameter.  Update call to
24834         check_float_internal.
24835         (check_complex): Likewise.
24836         (check_int): Do not take max_ulp parameter.
24837         (check_long): Likewise.
24838         (check_bool): Likewise.
24839         (check_longlong): Likewise.
24840         (struct test_f_f_data): Remove max_ulp field.
24841         (struct test_ff_f_data): Likewise.
24842         (struct test_ff_f_data_nexttoward): Likewise.
24843         (struct test_fi_f_data): Likewise.
24844         (struct test_fl_f_data): Likewise.
24845         (struct test_if_f_data): Likewise.
24846         (struct test_fff_f_data): Likewise.
24847         (struct test_c_f_data): Likewise.
24848         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24849         (struct test_fF_f1_data): Likewise.
24850         (struct test_ffI_f1_data): Likewise.
24851         (struct test_c_c_data): Remove max_ulp field.
24852         (struct test_cc_c_data): Likewise.
24853         (struct test_f_i_data): Likewise.
24854         (struct test_ff_i_data): Likewise.
24855         (struct test_f_l_data): Likewise.
24856         (struct test_f_L_data): Likewise.
24857         (struct test_sincos_data): Likewise.
24858         (RUN_TEST_f_f): Do not handle ulps.
24859         (RUN_TEST_LOOP_f_f): Likewise.
24860         (RUN_TEST_2_f): Likewise.
24861         (RUN_TEST_LOOP_2_f): Likewise.
24862         (RUN_TEST_fff_f): Likewise.
24863         (RUN_TEST_LOOP_fff_f): Likewise.
24864         (RUN_TEST_c_f): Likewise.
24865         (RUN_TEST_LOOP_c_f): Likewise.
24866         (RUN_TEST_f_f1): Likewise.
24867         (RUN_TEST_LOOP_f_f1): Likewise.
24868         (RUN_TEST_fF_f1): Likewise.
24869         (RUN_TEST_LOOP_fF_f1): Likewise.
24870         (RUN_TEST_fI_f1): Likewise.
24871         (RUN_TEST_LOOP_fI_f1): Likewise.
24872         (RUN_TEST_ffI_f1): Likewise.
24873         (RUN_TEST_LOOP_ffI_f1): Likewise.
24874         (RUN_TEST_c_c): Likewise.
24875         (RUN_TEST_LOOP_c_c): Likewise.
24876         (RUN_TEST_cc_c): Likewise.
24877         (RUN_TEST_LOOP_cc_c): Likewise.
24878         (RUN_TEST_f_i): Likewise.
24879         (RUN_TEST_LOOP_f_i): Likewise.
24880         (RUN_TEST_f_i_tg): Likewise.
24881         (RUN_TEST_LOOP_f_i_tg): Likewise.
24882         (RUN_TEST_ff_i_tg): Likewise.
24883         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24884         (RUN_TEST_f_b): Likewise.
24885         (RUN_TEST_LOOP_f_b): Likewise.
24886         (RUN_TEST_f_b_tg): Likewise.
24887         (RUN_TEST_LOOP_f_b_tg): Likewise.
24888         (RUN_TEST_f_l): Likewise.
24889         (RUN_TEST_LOOP_f_l): Likewise.
24890         (RUN_TEST_f_L): Likewise.
24891         (RUN_TEST_LOOP_f_L): Likewise.
24892         (RUN_TEST_sincos): Likewise.
24893         (RUN_TEST_LOOP_sincos): Likewise.
24894
24895 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24896
24897         [BZ #15480]
24898         [BZ #15485]
24899         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24900         main case of finite arguments, set rounding mode to FE_TONEAREST
24901         and discard exceptions.
24902         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24903         exceptions.
24904         (remainder_tonearest_test_data): New variable.
24905         (remainder_test_tonearest): New function.
24906         (remainder_towardzero_test_data): New variable.
24907         (remainder_test_towardzero): New function.
24908         (remainder_downward_test_data): New variable.
24909         (remainder_test_downward): New function.
24910         (remainder_upward_test_data): New variable.
24911         (remainder_test_upward): New function.
24912         (main): Call the new test functions.
24913
24914         * math/libm-test.inc (struct test_f_f1_data): Remove field
24915         extra_init.
24916         (struct test_fF_f1_data): Likewise.
24917         (struct test_ffI_f1_data): Likewise.
24918         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24919         based on value of EXTRA_EXPECTED.
24920         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24921         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24922         EXTRA_VAR based on value of EXTRA_EXPECTED.
24923         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24924         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24925         EXTRA_VAR based on value of EXTRA_EXPECTED.
24926         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24927         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24928         EXTRA_VAR based on value of EXTRA_EXPECTED.
24929         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24930         * math/gen-libm-test.pl (parse_args): Don't output initializers
24931         for extra output values.
24932
24933         * math/libm-test.inc (check_int): Expect result to be exactly
24934         equal to expected value and do not handle ulps.
24935         (check_long): Likewise.
24936         (check_longlong): Likewise.
24937
24938         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24939         exceptions.
24940         (cimag_test_data): Likewise.
24941         (conj_test_data): Likewise.
24942         (copysign_test_data): Likewise.
24943         (cproj_test_data): Likewise.
24944         (creal_test_data): Likewise.
24945         (fabs_test_data): Likewise.
24946         (fdim_test_data): Likewise.
24947         (finite_test_data): Likewise.
24948         (floor_test_data): Likewise.
24949         (fmax_test_data): Likewise.
24950         (fmin_test_data): Likewise.
24951         (fmod_test_data): Likewise.
24952         (fpclassify_test_data): Likewise.
24953         (frexp_test_data): Likewise.
24954         (ilogb_test_data): Likewise.
24955         (isfinite_test_data): Likewise.
24956         (isgreater_test_data): Likewise.
24957         (isgreaterequal_test_data): Likewise.
24958         (isinf_test_data): Likewise.
24959         (isless_test_data): Likewise.
24960         (islessequal_test_data): Likewise.
24961         (islessgreater_test_data): Likewise.
24962         (isnan_test_data): Likewise.
24963         (isnormal_test_data): Likewise.
24964         (issignaling_test_data): Likewise.
24965         (isunordered_test_data): Likewise.
24966         (ldexp_test_data): Likewise.
24967         (lrint_test_data): Likewise.
24968         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24969         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24970         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24971         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24972         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24973         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24974         test input.
24975         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24976         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24977         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24978         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24979         that test input.
24980         (lrint_downward_test_data): Test for "inexact" exceptions.
24981         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24982         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24983         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24984         test input.
24985         (lrint_upward_test_data): Test for "inexact" exceptions.
24986         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24987         test input.
24988         (llrint_test_data): Test for "inexact" exceptions.
24989         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24990         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24991         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24992         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24993         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24994         (llrint_downward_test_data): Test for "inexact" exceptions.
24995         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24996         (llrint_upward_test_data): Test for "inexact" exceptions.
24997         (logb_test_data): Likewise.
24998         (logb_downward_test_data): Likewise.
24999         (nextafter_test_data): Likewise.
25000         (nexttoward_test_data): Likewise.
25001         (remainder_test_data): Likewise.
25002         (remquo_test_data): Likewise.
25003         (scalbn_test_data): Likewise.
25004         (scalbln_test_data): Likewise.
25005         (signbit_test_data): Likewise.
25006         (sqrt_test_data): Likewise.
25007         (significand_test_data): Likewise.
25008
25009 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25010
25011         [BZ #15424]
25012         * benchtests/bench-modf.c (struct args): Mark arg0 as
25013         volatile.
25014         * scripts/bench.pl: Mark members of struct args as volatile.
25015
25016 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25017
25018         [BZ # 15497]
25019         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25020         negative infinity on POWER6 or lower.
25021         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25022
25023 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25024
25025         [BZ #15442]
25026         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25027         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25028         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25029         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25030         (_FP_SETQNAN): New macro.
25031         (_FP_SETQNAN_SEMIRAW): Likewise.
25032         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25033         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25034         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25035         (FP_EXTEND): Use _FP_FRAC_SNANP.
25036         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25037         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25038         into account.
25039         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25040         New macro.
25041         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25042         Likewise.
25043
25044 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25045
25046         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25047         with DIVIDE_BY_ZERO_EXCEPTION.
25048         (gamma_test_data): Likewise.
25049         (lgamma_test_data): Likewise.
25050         (log_test_data): Likewise.
25051         (log10_test_data): Likewise.
25052         (log2_test_data): Likewise.
25053         (tgamma_test_data): Likewise.
25054
25055         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25056         (acos_test_tonearest): Likewise.
25057         (acos_test_towardzero): Likewise.
25058         (acos_test_downward): Likewise.
25059         (acos_test_upward): Likewise.
25060         (acosh_test): Likewise.
25061         (asin_test): Likewise.
25062         (asin_test_tonearest): Likewise.
25063         (asin_test_towardzero): Likewise.
25064         (asin_test_downward): Likewise.
25065         (asin_test_upward): Likewise.
25066         (asinh_test): Likewise.
25067         (atan_test): Likewise.
25068         (atanh_test): Likewise.
25069         (atan2_test): Likewise.
25070         (cabs_test): Likewise.
25071         (cacos_test): Likewise.
25072         (cacosh_test): Likewise.
25073         (casin_test): Likewise.
25074         (casinh_test): Likewise.
25075         (catan_test): Likewise.
25076         (catanh_test): Likewise.
25077         (cbrt_test): Likewise.
25078         (ccos_test): Likewise.
25079         (ccosh_test): Likewise.
25080         (cexp_test): Likewise.
25081         (clog_test): Likewise.
25082         (clog10_test): Likewise.
25083         (cos_test): Likewise.
25084         (cos_test_tonearest): Likewise.
25085         (cos_test_towardzero): Likewise.
25086         (cos_test_downward): Likewise.
25087         (cos_test_upward): Likewise.
25088         (cosh_test): Likewise.
25089         (cosh_test_tonearest): Likewise.
25090         (cosh_test_towardzero): Likewise.
25091         (cosh_test_downward): Likewise.
25092         (cosh_test_upward): Likewise.
25093         (cpow_test): Likewise.
25094         (csin_test): Likewise.
25095         (csinh_test): Likewise.
25096         (csqrt_test): Likewise.
25097         (ctan_test): Likewise.
25098         (ctan_test_tonearest): Likewise.
25099         (ctan_test_towardzero): Likewise.
25100         (ctan_test_downward): Likewise.
25101         (ctan_test_upward): Likewise.
25102         (ctanh_test): Likewise.
25103         (ctanh_test_tonearest): Likewise.
25104         (ctanh_test_towardzero): Likewise.
25105         (ctanh_test_downward): Likewise.
25106         (ctanh_test_upward): Likewise.
25107         (erf_test): Likewise.
25108         (erfc_test): Likewise.
25109         (exp_test): Likewise.
25110         (exp_test_tonearest): Likewise.
25111         (exp_test_towardzero): Likewise.
25112         (exp_test_downward): Likewise.
25113         (exp_test_upward): Likewise.
25114         (exp10_test): Likewise.
25115         (exp2_test): Likewise.
25116         (expm1_test): Likewise.
25117         (fmod_test): Likewise.
25118         (gamma_test): Likewise.
25119         (hypot_test): Likewise.
25120         (j0_test): Likewise.
25121         (j1_test): Likewise.
25122         (jn_test): Likewise.
25123         (lgamma_test): Likewise.
25124         (log_test): Likewise.
25125         (log10_test): Likewise.
25126         (log1p_test): Likewise.
25127         (log2_test): Likewise.
25128         (logb_test_downward): Likewise.
25129         (pow_test): Likewise.
25130         (pow_test_tonearest): Likewise.
25131         (pow_test_towardzero): Likewise.
25132         (pow_test_downward): Likewise.
25133         (pow_test_upward): Likewise.
25134         (remainder_test): Likewise.
25135         (remquo_test): Likewise.
25136         (sin_test): Likewise.
25137         (sin_test_tonearest): Likewise.
25138         (sin_test_towardzero): Likewise.
25139         (sin_test_downward): Likewise.
25140         (sin_test_upward): Likewise.
25141         (sincos_test): Likewise.
25142         (sinh_test): Likewise.
25143         (sinh_test_tonearest): Likewise.
25144         (sinh_test_towardzero): Likewise.
25145         (sinh_test_downward): Likewise.
25146         (sinh_test_upward): Likewise.
25147         (sqrt_test): Likewise.
25148         (tan_test): Likewise.
25149         (tan_test_tonearest): Likewise.
25150         (tan_test_towardzero): Likewise.
25151         (tan_test_downward): Likewise.
25152         (tan_test_upward): Likewise.
25153         (tanh_test): Likewise.
25154         (tgamma_test): Likewise.
25155         (y0_test): Likewise.
25156         (y1_test): Likewise.
25157         (yn_test): Likewise.
25158
25159         * math/gen-libm-test.pl (adjust_arg): Remove function.
25160         (special_function): Remove argument $in_func.  Only handle
25161         generating output for tables of tests, not inside functions.
25162         (parse_args): Likewise.
25163         (generate_testfile): Remove variable $in_func.  Update call to
25164         parse_args.
25165         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25166         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25167         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25168         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25169         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25170         (MAX_VALUE_INIT): Rename macro to max_value.
25171         (MIN_VALUE_INIT): Rename macro to min_value.
25172         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25173         (plus_zero): Remove variable.
25174         (minus_zero): Likewise.
25175         (plus_infty): Likewise.
25176         (minus_infty): Likewise.
25177         (qnan_value): Likewise.
25178         (max_value): Likewise.
25179         (min_value): Likewise.
25180         (min_subnorm_value): Likewise.
25181
25182 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25183
25184         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25185         uint64_t or uint32_t usage.
25186         * crypt/sha256-block.c: Likewise.
25187         * crypt/sha256-crypt.c: Likewise.
25188         * crypt/sha256.c: Likewise.
25189         * crypt/sha512-block.c: Likewise.
25190         * crypt/sha512-crypt.c: Likewise.
25191         * crypt/sha512.c: Likewise.
25192         * debug/backtrace-tst.c: Likewise.
25193         * debug/pcprofiledump.c: Likewise.
25194         * elf/cache.c: Likewise.
25195         * elf/dl-cache.c: Likewise.
25196         * elf/dl-misc.c: Likewise.
25197         * elf/dl-profile.c: Likewise.
25198         * elf/dl-support.c: Likewise.
25199         * elf/ldconfig.c: Likewise.
25200         * elf/sprof.c: Likewise.
25201         * iconv/dummy-repertoire.c: Likewise.
25202         * iconv/iconv_charmap.c: Likewise.
25203         * iconv/skeleton.c: Likewise.
25204         * iconvdata/8bit-generic.c: Likewise.
25205         * iconvdata/cp737.h: Likewise.
25206         * iconvdata/cp775.h: Likewise.
25207         * iconvdata/ibm1008.h: Likewise.
25208         * iconvdata/ibm1025.h: Likewise.
25209         * iconvdata/ibm1046.h: Likewise.
25210         * iconvdata/ibm1097.h: Likewise.
25211         * iconvdata/ibm1112.h: Likewise.
25212         * iconvdata/ibm1122.h: Likewise.
25213         * iconvdata/ibm1123.h: Likewise.
25214         * iconvdata/ibm1124.h: Likewise.
25215         * iconvdata/ibm1129.h: Likewise.
25216         * iconvdata/ibm1130.h: Likewise.
25217         * iconvdata/ibm1132.h: Likewise.
25218         * iconvdata/ibm1133.h: Likewise.
25219         * iconvdata/ibm1137.h: Likewise.
25220         * iconvdata/ibm1140.h: Likewise.
25221         * iconvdata/ibm1141.h: Likewise.
25222         * iconvdata/ibm1142.h: Likewise.
25223         * iconvdata/ibm1143.h: Likewise.
25224         * iconvdata/ibm1144.h: Likewise.
25225         * iconvdata/ibm1145.h: Likewise.
25226         * iconvdata/ibm1146.h: Likewise.
25227         * iconvdata/ibm1147.h: Likewise.
25228         * iconvdata/ibm1148.h: Likewise.
25229         * iconvdata/ibm1149.h: Likewise.
25230         * iconvdata/ibm1153.h: Likewise.
25231         * iconvdata/ibm1154.h: Likewise.
25232         * iconvdata/ibm1155.h: Likewise.
25233         * iconvdata/ibm1156.h: Likewise.
25234         * iconvdata/ibm1157.h: Likewise.
25235         * iconvdata/ibm1158.h: Likewise.
25236         * iconvdata/ibm1160.h: Likewise.
25237         * iconvdata/ibm1161.h: Likewise.
25238         * iconvdata/ibm1162.h: Likewise.
25239         * iconvdata/ibm1163.h: Likewise.
25240         * iconvdata/ibm1164.h: Likewise.
25241         * iconvdata/ibm1166.h: Likewise.
25242         * iconvdata/ibm1167.h: Likewise.
25243         * iconvdata/ibm12712.h: Likewise.
25244         * iconvdata/ibm1390.h: Likewise.
25245         * iconvdata/ibm1399.h: Likewise.
25246         * iconvdata/ibm16804.h: Likewise.
25247         * iconvdata/ibm4517.h: Likewise.
25248         * iconvdata/ibm4899.h: Likewise.
25249         * iconvdata/ibm4909.h: Likewise.
25250         * iconvdata/ibm4971.h: Likewise.
25251         * iconvdata/ibm5347.h: Likewise.
25252         * iconvdata/ibm803.h: Likewise.
25253         * iconvdata/ibm856.h: Likewise.
25254         * iconvdata/ibm901.h: Likewise.
25255         * iconvdata/ibm902.h: Likewise.
25256         * iconvdata/ibm9030.h: Likewise.
25257         * iconvdata/ibm9066.h: Likewise.
25258         * iconvdata/ibm921.h: Likewise.
25259         * iconvdata/ibm922.h: Likewise.
25260         * iconvdata/ibm9448.h: Likewise.
25261         * iconvdata/isiri-3342.h: Likewise.
25262         * iconvdata/jis0201.h: Likewise.
25263         * include/link.h: Likewise.
25264         * include/netdb.h: Likewise.
25265         * inet/check_native.c: Likewise.
25266         * inet/check_pf.c: Likewise.
25267         * inet/getipv4sourcefilter.c: Likewise.
25268         * inet/getnameinfo.c: Likewise.
25269         * inet/getsourcefilter.c: Likewise.
25270         * inet/htonl.c: Likewise.
25271         * inet/setipv4sourcefilter.c: Likewise.
25272         * inet/setsourcefilter.c: Likewise.
25273         * inet/test-inet6_opt.c: Likewise.
25274         * inet/tst-network.c: Likewise.
25275         * locale/C-collate.c: Likewise.
25276         * locale/C-ctype.c: Likewise.
25277         * locale/C-time.c: Likewise.
25278         * locale/C-translit.h: Likewise.
25279         * locale/loadarchive.c: Likewise.
25280         * locale/programs/3level.h: Likewise.
25281         * locale/programs/charmap.c: Likewise.
25282         * locale/programs/charmap.h: Likewise.
25283         * locale/programs/ld-address.c: Likewise.
25284         * locale/programs/ld-collate.c: Likewise.
25285         * locale/programs/ld-ctype.c: Likewise.
25286         * locale/programs/ld-identification.c: Likewise.
25287         * locale/programs/ld-measurement.c: Likewise.
25288         * locale/programs/ld-messages.c: Likewise.
25289         * locale/programs/ld-monetary.c: Likewise.
25290         * locale/programs/ld-name.c: Likewise.
25291         * locale/programs/ld-numeric.c: Likewise.
25292         * locale/programs/ld-paper.c: Likewise.
25293         * locale/programs/ld-telephone.c: Likewise.
25294         * locale/programs/ld-time.c: Likewise.
25295         * locale/programs/linereader.c: Likewise.
25296         * locale/programs/locale.c: Likewise.
25297         * locale/programs/locarchive.c: Likewise.
25298         * locale/programs/locfile.h: Likewise.
25299         * locale/programs/repertoire.c: Likewise.
25300         * locale/programs/simple-hash.c: Likewise.
25301         * locale/programs/simple-hash.h: Likewise.
25302         * malloc/memusage.c: Likewise.
25303         * malloc/memusagestat.c: Likewise.
25304         * nis/nis_defaults.c: Likewise.
25305         * nis/nis_hash.c: Likewise.
25306         * nis/nis_print.c: Likewise.
25307         * nis/nis_xdr.c: Likewise.
25308         * nscd/connections.c: Likewise.
25309         * nscd/hstcache.c: Likewise.
25310         * nscd/nscd_gethst_r.c: Likewise.
25311         * nscd/nscd_getserv_r.c: Likewise.
25312         * nscd/nscd_helper.c: Likewise.
25313         * nscd/servicescache.c: Likewise.
25314         * nss/makedb.c: Likewise.
25315         * nss/nss_db/db-XXX.c: Likewise.
25316         * nss/nss_db/db-initgroups.c: Likewise.
25317         * nss/nss_db/db-netgrp.c: Likewise.
25318         * nss/nss_files/files-network.c: Likewise.
25319         * nss/nss_files/files-parse.c: Likewise.
25320         * posix/bug-regex5.c: Likewise.
25321         * posix/fnmatch_loop.c: Likewise.
25322         * posix/regcomp.c: Likewise.
25323         * posix/regexec.c: Likewise.
25324         * posix/tst-rfc3484-2.c: Likewise.
25325         * posix/tst-rfc3484-3.c: Likewise.
25326         * posix/tst-rfc3484.c: Likewise.
25327         * resolv/nss_dns/dns-canon.c: Likewise.
25328         * resolv/nss_dns/dns-network.c: Likewise.
25329         * resolv/res_init.c: Likewise.
25330         * resolv/res_mkquery.c: Likewise.
25331         * resolv/tst-aton.c: Likewise.
25332         * stdlib/cxa_atexit.c: Likewise.
25333         * stdlib/cxa_finalize.c: Likewise.
25334         * stdlib/gen-fpioconst.c: Likewise.
25335         * stdlib/strtol_l.c: Likewise.
25336         * string/tst-endian.c: Likewise.
25337         * sunrpc/auth_des.c: Likewise.
25338         * sunrpc/clnt_udp.c: Likewise.
25339         * sunrpc/rtime.c: Likewise.
25340         * sunrpc/svcauth_des.c: Likewise.
25341         * sunrpc/xdr.c: Likewise.
25342         * sunrpc/xdr_intXX_t.c: Likewise.
25343         * sunrpc/xdr_rec.c: Likewise.
25344         * sysdeps/generic/ldconfig.h: Likewise.
25345         * sysdeps/generic/ldsodefs.h: Likewise.
25346         * sysdeps/generic/memusage.h: Likewise.
25347         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25348         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25349         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25350         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25351         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25353         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25355         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25357         * sysdeps/posix/getaddrinfo.c: Likewise.
25358         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25359         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25360         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25361         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25362         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25363         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25364         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25365         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25366         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25367         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25368         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25369         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25370         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25371         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25372         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25373         * sysdeps/x86_64/dl-tls.h: Likewise.
25374         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25375         * time/alt_digit.c: Likewise.
25376         * time/era.c: Likewise.
25377         * wcsmbs/tst-c16c32-1.c: Likewise.
25378
25379 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25380
25381         * math/libm-test.inc (struct test_sincos_data): New type.
25382         (RUN_TEST_LOOP_sincos): New macro.
25383         (sincos_test_data): New variable.
25384         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25385
25386 2013-05-16  Richard Henderson  <rth@redhat.com>
25387
25388         * math/atest-exp2.c (LIMB64): New macro.
25389         (CONSTSZ): New macro.
25390         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25391         (hexdig): Move ...
25392         (print_mpn_fp): ... to function scope.
25393         (read_mpn_hex): Remove.
25394         (get_log2): Remove.
25395         (exp2_mpn): Use mp_log2.
25396         (main): Use mp_exp1.
25397
25398 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25399
25400         * math/libm-test.inc: Remove comment about not testing "inexact"
25401         exceptions.
25402         (INEXACT_EXCEPTION): New macro.
25403         (NO_INEXACT_EXCEPTION): Likewise.
25404         (INVALID_EXCEPTION_OK): Update value.
25405         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25406         (OVERFLOW_EXCEPTION_OK): Likewise.
25407         (UNDERFLOW_EXCEPTION_OK): Likewise.
25408         (IGNORE_ZERO_INF_SIGN): Likewise.
25409         (ERRNO_UNCHANGED): Likewise.
25410         (ERRNO_EDOM): Likewise.
25411         (ERRNO_ERANGE): Likewise.
25412         (test_exceptions): Handle testing "inexact" exceptions.
25413         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25414         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25415         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25416         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25417         INEXACT_EXCEPTION.
25418         (rint_towardzero_test_data): Likewise.
25419         (rint_downward_test_data): Likewise.
25420         (rint_upward_test_data): Likewise.
25421
25422         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25423         with OVERFLOW_EXCEPTION.
25424         (exp10_test_data): Likewise.
25425         (exp2_test_data): Likewise.
25426         (expm1_test_data): Likewise.
25427         (lgamma_test_data): Likewise.
25428         (pow_test_data): Likewise.
25429         (tgamma_test_data): Likewise.
25430         (yn_test_data): Remove duplicate test of overflow.
25431
25432         * math/libm-test.inc (struct test_cc_c_data): New type.
25433         (RUN_TEST_LOOP_cc_c): New macro.
25434         (cpow_test_data): New variable.
25435         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25436
25437         * math/libm-test.inc (struct test_f_L_data): New type.
25438         (RUN_TEST_LOOP_f_L): New macro.
25439         (llrint_test_data): New variable.
25440         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25441         (llrint_tonearest_test_data): New variable.
25442         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25443         (llrint_towardzero_test_data): New variable.
25444         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25445         (llrint_downward_test_data): New variable.
25446         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25447         (llrint_upward_test_data): New variable.
25448         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25449         (llround_test_data): New variable.
25450         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25451
25452 2013-05-13  Peter Collingbourne  <pcc@google.com>
25453
25454         * math/atest-exp2.c (get_log2): Remove const attribute.
25455
25456 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25457
25458         * math/libm-test.inc (struct test_f_l_data): New type.
25459         (RUN_TEST_LOOP_f_l): New macro.
25460         (lrint_test_data): New variable.
25461         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25462         (lrint_tonearest_test_data): New variable.
25463         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25464         (lrint_towardzero_test_data): New variable.
25465         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25466         (lrint_downward_test_data): New variable.
25467         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25468         (lrint_upward_test_data): New variable.
25469         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25470         (lround_test_data): New variable.
25471         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25472
25473 2013-05-15  Peter Collingbourne  <pcc@google.com>
25474
25475         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25476         (EXTRACT_WORDS64) Use where appropriate.
25477         (INSERT_WORDS64) Likewise.
25478
25479         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25480         constraints with x constraints.
25481         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25482
25483         * malloc/obstack.c (_obstack_compat): Add initializer.
25484
25485 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25486
25487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25488         si_trapno and add si_addr_lsb to _sifields.sigfault.
25489         (si_trapno): Remove macro.
25490         (si_addr_lsb): Define new macro.
25491         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25492
25493 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25494
25495         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25496         instead of TEST_f_l.
25497         (llrint_test_tonearest): Likewise.
25498         (llrint_test_towardzero): Likewise.
25499         (llrint_test_downward): Likewise.
25500         (llrint_test_upward): Likewise.
25501         (llround_test): Likewise.
25502
25503         * math/libm-test.inc (struct test_f_i_data): Add comment.
25504         (RUN_TEST_LOOP_f_b): New macro.
25505         (RUN_TEST_LOOP_f_b_tg): Likewise.
25506         (finite_test_data): New variable.
25507         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25508         (isfinite_test_data): New variable.
25509         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25510         (isinf_test_data): New variable.
25511         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25512         (isnan_test_data): New variable.
25513         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25514         (isnormal_test_data): New variable.
25515         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25516         (issignaling_test_data): New variable.
25517         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25518         (signbit_test_data): New variable.
25519         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25520
25521         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25522         with INVALID_EXCEPTION.
25523         (acosh_test_data): Likewise.
25524         (asin_test_data): Likewise.
25525         (atanh_test_data): Likewise.
25526         (fmod_test_data): Likewise.
25527         (log_test_data): Likewise.
25528         (log10_test_data): Likewise.
25529         (log2_test_data): Likewise.
25530         (pow_test_data): Likewise.
25531         (sqrt_test_data): Likewise.
25532         (y0_test_data): Likewise.
25533         (y1_test_data): Likewise.
25534         (yn_test_data): Likewise.
25535
25536         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25537         function contents.
25538
25539         * math/libm-test.inc (struct test_ff_i_data): New type.
25540         (RUN_TEST_LOOP_ff_i_tg): New macro.
25541         (isgreater_test_data): New variable.
25542         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25543         (isgreaterequal_test_data): New variable.
25544         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25545         (isless_test_data): New variable.
25546         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25547         (islessequal_test_data): New variable.
25548         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25549         (islessgreater_test_data): New variable.
25550         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25551         (isunordered_test_data): New variable.
25552         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25553
25554 2013-05-14  David S. Miller  <davem@davemloft.net>
25555
25556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25557
25558 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25559
25560         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25561
25562         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25563         extra_test to int.
25564         (struct test_f_i_data): Change type of max_ulp to int.
25565
25566         * math/libm-test.inc (test_ffI_f1_data): New type.
25567         (RUN_TEST_LOOP_ffI_f1): New macro.
25568         (remquo_test_data): New variable.
25569         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25570
25571         * setjmp/tst-setjmp-fp.c: New file.
25572         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25573         (link-libm): New variable.
25574         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25575
25576         * math/libm-test.inc (struct test_f_i_data): New type.
25577         (RUN_TEST_LOOP_f_i): New macro.
25578         (RUN_TEST_LOOP_f_i_tg): Likewise.
25579         (fpclassify_test_data): New variable.
25580         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25581         (ilogb_test_data): New variable.
25582         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25583
25584         * math/libm-test.inc (scalbln_test): Correct function name in END
25585         call.
25586
25587         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25588         (RUN_TEST_LOOP_fI_f1): New macro.
25589         (frexp_test_data): New variable.
25590         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25591
25592         * math/libm-test.inc (struct test_fF_f1_data): New type.
25593         (RUN_TEST_LOOP_fF_f1): New macro.
25594         (modf_test_data): New variable.
25595         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25596
25597         * math/libm-test.inc (struct test_f_f1_data): New type.
25598         (RUN_TEST_LOOP_f_f1): New macro.
25599         (gamma_test_data): New variable.
25600         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25601         (lgamma_test_data): New variable.
25602         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25603
25604 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25605
25606         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25607         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25608         (main): Comment "tls" pseudo-hwcap.
25609
25610 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25611
25612         * math/libm-test.inc (struct test_fl_f_data): New type.
25613         (RUN_TEST_LOOP_fl_f): New variable.
25614         (scalbln_test_data): New variable.
25615         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25616
25617         * math/libm-test.inc (struct test_fi_f_data): New type.
25618         (RUN_TEST_LOOP_fi_f): New macro.
25619         (ldexp_test_data): New variable.
25620         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25621         (scalbn_test_data): New variable.
25622         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25623
25624         * math/libm-test.inc (struct test_c_f_data): New type.
25625         (RUN_TEST_LOOP_c_f): New macro.
25626         (cabs_test_data): New variable.
25627         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25628         (carg_test_data): New variable.
25629         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25630         (cimag_test_data): New variable.
25631         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25632         (creal_test_data): New variable.
25633         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25634
25635         * math/libm-test.inc (struct test_if_f_data): New type.
25636         (RUN_TEST_LOOP_if_f): New macro.
25637         (jn_test_data): New variable.
25638         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25639         (yn_test_data): New variable.
25640         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25641
25642         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25643
25644 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25645
25646         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25647         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25648
25649 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25650
25651         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25652         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25653         (bench-deps): Add bench-timing.h.
25654         * benchtests-bench-skeleton.c: Include bench-timing.h.
25655         (main): Use TIMING_* macros instead of clock_gettime.
25656         * benchtests/bench-timing.h: New file.
25657
25658         [BZ #14582]
25659         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25660         Renamed from _LIB_VERSION.
25661         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25662
25663 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25664
25665         * math/libm-test.inc (struct test_fff_f_data): New type.
25666         (RUN_TEST_LOOP_fff_f): New macro.
25667         (fma_test_data): New variable.
25668         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25669         (fma_towardzero_test_data): New variable.
25670         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25671         (fma_downward_test_data): New variable.
25672         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25673         (fma_upward_test_data): New variable.
25674         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25675
25676         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25677         (struct test_c_c_data): New type.
25678         (RUN_TEST_LOOP_c_c): New macro.
25679         (cacos_test_data): New variable.
25680         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25681         (cacosh_test_data): New variable.
25682         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25683         (casin_test_data): New variable.
25684         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25685         (casinh_test_data): New variable.
25686         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25687         (catan_test_data): New variable.
25688         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25689         (catanh_test_data): New variable.
25690         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25691         (ccos_test_data): New variable.
25692         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25693         (ccosh_test_data): New variable.
25694         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25695         (cexp_test_data): New variable.
25696         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25697         (clog_test_data): New variable.
25698         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25699         (clog10_test_data): New variable.
25700         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25701         (conj_test_data): New variable.
25702         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25703         (cproj_test_data): New variable.
25704         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25705         (csin_test_data): New variable.
25706         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25707         (csinh_test_data): New variable.
25708         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25709         (csqrt_test_data): New variable.
25710         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25711         (ctan_test_data): New variable.
25712         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25713         (ctan_tonearest_test_data): New variable.
25714         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25715         (ctan_towardzero_test_data): New variable.
25716         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25717         (ctan_downward_test_data): New variable.
25718         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25719         (ctan_upward_test_data): New variable.
25720         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25721         (ctanh_test_data): New variable.
25722         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25723         (ctanh_tonearest_test_data): New variable.
25724         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25725         (ctanh_towardzero_test_data): New variable.
25726         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25727         (ctanh_downward_test_data): New variable.
25728         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25729         (ctanh_upward_test_data): New variable.
25730         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25731         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25732         of BUILD_COMPLEX.
25733
25734         * math/libm-test.inc (struct test_ff_f_data): New type.
25735         (struct test_ff_f_data_nexttoward): Likewise.
25736         (RUN_TEST_LOOP_2_f): New macro.
25737         (RUN_TEST_LOOP_ff_f): Likewise.
25738         (atan2_test_data): New variable.
25739         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25740         (copysign_test_data): New variable.
25741         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25742         (fdim_test_data): New variable.
25743         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25744         (fmax_test_data): New variable.
25745         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25746         (fmin_test_data): New variable.
25747         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25748         (fmod_test_data): New variable.
25749         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25750         (hypot_test_data): New variable.
25751         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25752         (nextafter_test_data): New variable.
25753         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25754         (nexttoward_test_data): New variable.
25755         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25756         (pow_test_data): New variable.
25757         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25758         (pow_tonearest_test_data): New variable.
25759         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25760         (pow_towardzero_test_data): New variable.
25761         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25762         (pow_downward_test_data): New variable.
25763         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25764         (pow_upward_test_data): New variable.
25765         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25766         (remainder_test_data): New variable.
25767         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25768         (scalb_test_data): New variable.
25769         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25770         * sysdeps/i386/fpu/libm-test-ulps: Update.
25771
25772 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25773
25774         * math/libm-test.inc (fma_test): Use max_value instead of local
25775         variable fltmax.
25776         (nextafter_test): Likewise.
25777
25778         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25779         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25780         (acos_downward_test_data): New variable.
25781         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25782         (acos_upward_test_data): New variable.
25783         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25784         (acosh_test_data): New variable.
25785         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25786         (asin_test_data): New variable.
25787         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25788         (asin_tonearest_test_data): New variable.
25789         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25790         (asin_towardzero_test_data): New variable.
25791         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25792         (asin_downward_test_data): New variable.
25793         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25794         (asin_upward_test_data): New variable.
25795         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25796         (asinh_test_data): New variable.
25797         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25798         (atan_test_data): New variable.
25799         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25800         (atanh_test_data): New variable.
25801         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25802         (cbrt_test_data): New variable.
25803         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25804         (ceil_test_data): New variable.
25805         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25806         (cos_test_data): New variable.
25807         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25808         (cos_tonearest_test_data): New variable.
25809         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25810         (cos_towardzero_test_data): New variable.
25811         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25812         (cos_downward_test_data): New variable.
25813         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25814         (cos_upward_test_data): New variable.
25815         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25816         (cosh_test_data): New variable.
25817         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25818         (cosh_tonearest_test_data): New variable.
25819         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25820         (cosh_towardzero_test_data): New variable.
25821         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25822         (cosh_downward_test_data): New variable.
25823         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25824         (cosh_upward_test_data): New variable.
25825         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25826         (erf_test_data): New variable.
25827         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25828         (erfc_test_data): New variable.
25829         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25830         (exp_test_data): New variable.
25831         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25832         (exp_tonearest_test_data): New variable.
25833         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25834         (exp_towardzero_test_data): New variable.
25835         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25836         (exp_downward_test_data): New variable.
25837         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25838         (exp_upward_test_data): New variable.
25839         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25840         (exp10_test_data): New variable.
25841         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25842         (exp2_test_data): New variable.
25843         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25844         (expm1_test_data): New variable.
25845         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25846         (fabs_test_data): New variable.
25847         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25848         (floor_test_data): New variable.
25849         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25850         (j0_test_data): New variable.
25851         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25852         (j1_test_data): New variable.
25853         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25854         (log_test_data): New variable.
25855         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25856         (log10_test_data): New variable.
25857         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25858         (log1p_test_data): New variable.
25859         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25860         (log2_test_data): New variable.
25861         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25862         (logb_test_data): New variable.
25863         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25864         (logb_downward_test_data): New variable.
25865         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25866         (nearbyint_test_data): New variable.
25867         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25868         (rint_test_data): New variable.
25869         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25870         (rint_tonearest_test_data): New variable.
25871         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25872         (rint_towardzero_test_data): New variable.
25873         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25874         (rint_downward_test_data): New variable.
25875         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25876         (rint_upward_test_data): New variable.
25877         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25878         (round_test_data): New variable.
25879         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25880         (sin_test_data): New variable.
25881         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25882         (sin_tonearest_test_data): New variable.
25883         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25884         (sin_towardzero_test_data): New variable.
25885         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25886         (sin_downward_test_data): New variable.
25887         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25888         (sin_upward_test_data): New variable.
25889         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25890         (sinh_test_data): New variable.
25891         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25892         (sinh_tonearest_test_data): New variable.
25893         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25894         (sinh_towardzero_test_data): New variable.
25895         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25896         (sinh_downward_test_data): New variable.
25897         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25898         (sinh_upward_test_data): New variable.
25899         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25900         (sqrt_test_data): New variable.
25901         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25902         (tan_test_data): New variable.
25903         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25904         (tan_tonearest_test_data): New variable.
25905         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25906         (tan_towardzero_test_data): New variable.
25907         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25908         (tan_downward_test_data): New variable.
25909         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25910         (tan_upward_test_data): New variable.
25911         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25912         (tanh_test_data): New variable.
25913         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25914         (tgamma_test_data): New variable.
25915         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25916         (trunc_test_data): New variable.
25917         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25918         (y0_test_data): New variable.
25919         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25920         (y1_test_data): New variable.
25921         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25922         (significand_test_data): New variable.
25923         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25924
25925 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25926
25927         [BZ #12387]
25928         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25929
25930 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25931
25932         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25933
25934 2013-05-10  Andreas Jaeger  <aj@suse.de>
25935
25936         [BZ #15448]
25937         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25938         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25939
25940 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25941
25942         * math/gen-libm-test.pl (adjust_arg): New function.
25943         (special_functions): Handle generating output in both functions
25944         and arrays.
25945         (parse_args): Likewise.
25946         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25947         $in_func argument to parse_args.
25948         * math/libm-test.inc (struct test_f_f_data): New type.
25949         (IF_ROUND_INIT_): New macro.
25950         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25951         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25952         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25953         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25954         (ROUND_RESTORE_): Likewise.
25955         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25956         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25957         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25958         (ROUND_RESTORE_FE_UPWARD): Likewise.
25959         (RUN_TEST_LOOP_f_f): New macro.
25960         (acos_test_data): New variable.
25961         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25962         (acos_tonearest_test_data): New variable.
25963         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25964
25965 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25966
25967         * benchtests/bench-skeleton.c (startup): Fix coding style.
25968
25969 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25970
25971         [BZ #6809]
25972         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25973         negative infinity argument.
25974         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25975         negative infinity argument.
25976         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25977         negative infinity argument.
25978         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25979         domain errors.
25980
25981 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25982
25983         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25984         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25985         * iconv/iconv_prog.c (main): Likewise.
25986         * locale/programs/charmap-dir.c (charmap_readdir)
25987         (fopen_uncompressed): Likewise.
25988         * locale/programs/locfile.c (siblings_uncached)
25989         (write_locale_data): Use lstat64 instead of lstat.
25990         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25991         stat.
25992
25993 2013-05-10  Andreas Jaeger  <aj@suse.de>
25994
25995         [BZ #15395]
25996         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25997         localization.
25998         Include <locale.h>.
25999
26000 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26001
26002         * elf/dl-close.c (_dl_close_worker): Add comments.
26003
26004 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26005
26006         [BZ #15359]
26007         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26008         high part of pi/2.
26009         (__ieee754_rem_pio2l): Update comments.
26010
26011         [BZ #15429]
26012         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26013         high part of pi/2.
26014         (__ieee754_rem_pio2l): Update comments.
26015
26016         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26017         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26018
26019         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26020         M_PI_4l.
26021
26022         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26023         (M_PI_34_LOG10El): Likewise.
26024         (M_PI2_LOG10El): Likewise.
26025         (M_PI4_LOG10El): Likewise.
26026         (M_PI_LOG10El): Likewise.
26027
26028 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26029
26030         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26031
26032 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26033
26034         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26035         (MINUS_ZERO_INIT): Likewise.
26036         (PLUS_INFTY_INIT): Likewise.
26037         (MINUS_INFTY_INIT): Likewise.
26038         (QNAN_VALUE_INIT): Likewise.
26039         (MAX_VALUE_INIT): Likewise.
26040         (MIN_VALUE_INIT): Likewise.
26041         (MIN_SUBNORM_VALUE_INIT): Likewise.
26042         (plus_zero): Initialize with PLUS_ZERO_INIT.
26043         (minus_zero): Initialize with MINUS_ZERO_INIT.
26044         (plus_infty): Initialize with PLUS_INFTY_INIT.
26045         (minus_infty): Initialize with MINUS_INFTY_INIT.
26046         (qnan_value): Initialize with QNAN_VALUE_INIT.
26047         (max_value): Initialize with MAX_VALUE_INIT.
26048         (min_value): Initialize with MIN_VALUE_INIT.
26049         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26050
26051         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26052         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26053         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26054         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26055
26056         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26057         (RUN_TEST_2_f): Likewise.
26058         (RUN_TEST_ff_f): Likewise.
26059         (RUN_TEST_fi_f): Likewise.
26060         (RUN_TEST_fl_f): Likewise.
26061         (RUN_TEST_fff_f): Likewise.
26062         (RUN_TEST_c_f): Likewise.
26063         (RUN_TEST_f_f1): Likewise.
26064         (RUN_TEST_fF_f1): Likewise.
26065         (RUN_TEST_fI_f1): Likewise.
26066         (RUN_TEST_ffI_f1): Likewise.
26067         (RUN_TEST_c_c): Likewise.
26068         (RUN_TEST_cc_c): Likewise.
26069         (RUN_TEST_f_i): Likewise.
26070         (RUN_TEST_f_i_tg): Likewise.
26071         (RUN_TEST_ff_i_tg): Likewise.
26072         (RUN_TEST_f_b): Likewise.
26073         (RUN_TEST_f_b_tg): Likewise.
26074         (RUN_TEST_f_l): Likewise.
26075         (RUN_TEST_f_L): Likewise.
26076         (RUN_TEST_sincos): Likewise.
26077         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26078         whether to show exceptions.  Do not include ");\n" in return
26079         value.
26080         (special_functions): Output call to RUN_TEST_sincos instead of
26081         check_float calls.  Update calls to new_test.
26082         (parse_args): Output call to single RUN_TEST_* macro instead of
26083         check_* calls and other assignments.  Update calls to new_test.
26084
26085         [BZ #2546]
26086         [BZ #2560]
26087         [BZ #5159]
26088         [BZ #15426]
26089         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26090         input to result for tgamma overflow.
26091         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26092         (gamma_coeff): New variable.
26093         (NCOEFF): New macro.
26094         (gamma_positive): New function.
26095         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26096         underflow here.  Use gamma_positive instead of exp (lgamma) for
26097         other arguments.
26098         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26099         (gamma_coeff): New variable.
26100         (NCOEFF): New macro.
26101         (gammaf_positive): New function.
26102         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26103         underflow here.  Use gamma_positive instead of exp (lgamma) for
26104         other arguments.
26105         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26106         (gamma_coeff): New variable.
26107         (NCOEFF): New macro.
26108         (gammal_positive): New function.
26109         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26110         underflow here.  Use gamma_positive instead of exp (lgamma) for
26111         other arguments.
26112         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26113         (gamma_coeff): New variable.
26114         (NCOEFF): New macro.
26115         (gammal_positive): New function.
26116         (__ieee754_gammal_r): Handle positive infinity, overflow and
26117         underflow here.  Handle NaN the same as positive infinity.  Remove
26118         check x < 0xffffffff for negative integers.  Use gamma_positive
26119         instead of exp (lgamma) for other arguments.
26120         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26121         (gamma_coeff): New variable.
26122         (NCOEFF): New macro.
26123         (gammal_positive): New function.
26124         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26125         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26126         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26127         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26128         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26129         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26130         * sysdeps/generic/math_private.h (__gamma_productf): New
26131         prototype.
26132         (__gamma_product): Likewise.
26133         (__gamma_productl): Likewise.
26134         * math/Makefile (libm-calls): Add gamma_product.
26135         * math/libm-test.inc (tgamma_test): Add more tests.
26136         * sysdeps/i386/fpu/libm-test-ulps: Update.
26137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138
26139 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26140
26141         * benchtests/bench-skeleton.c (main): Preheat CPU.
26142
26143 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26144
26145         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26146
26147 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26148
26149         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26150         and _dl_skip_args_internal.
26151
26152 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26153
26154         * manual/message.texi (Message Translation): Talk about users.
26155         Message to key mapping impacts design.
26156
26157 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26158
26159         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26160
26161         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26162
26163         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26164         * sysdeps/wordsize-64/glob64.c: ... here.
26165
26166         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26167         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26168         New macros.
26169
26170         * debug/getlogin_r_chk.c: Moved to ...
26171         * login/getlogin_r_chk.c: ... here.
26172         * debug/Makefile (routines): Move getlogin_r_chk to ...
26173         * login/Makefile (routines): ... here.
26174         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26175         * login/Versions (libc: GLIBC_2.4): ... here.
26176
26177         * io/poll.c (__poll): Renamed from poll.
26178         Add libc_hidden_def.
26179         (poll): Define as weak alias.
26180
26181         * debug/ptsname_r_chk.c: Moved to ...
26182         * login/ptsname_r_chk.c: ... here.
26183         * debug/Makefile (routines): Move ptsname_r_chk to ...
26184         * login/Makefile (routines): ... here.
26185         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26186         * login/Versions (libc: GLIBC_2.4): ... here.
26187
26188         * posix/getlogin.c: Moved to ...
26189         * login/getlogin.c: ... here.
26190         * posix/getlogin_r.c: Moved to ...
26191         * login/getlogin_r.c: ... here.
26192         * posix/getlogin_r.c: Moved to ...
26193         * login/getlogin_r.c: ... here.
26194         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26195         * login/Makefile (routines): ... here.
26196         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26197         * login/Versions (libc: GLIBC_2.0): ... here.
26198
26199         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26200         (setrlimit): Define as weak alias.
26201
26202         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26203         Call __ names for open, ftruncate, and close.
26204         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26205         (truncate): Define as weak alias.
26206
26207 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26208
26209         * math/gen-libm-test.pl (parse_args): Initialize x before each
26210         test of frexp, modf and remquo.
26211
26212         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26213         test signgam value.
26214
26215 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26216
26217         [BZ #15418]
26218         [BZ #15419]
26219         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26220         internal tests.
26221         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26222
26223 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26224
26225         * elf/dl-writev.h: New file.
26226         * elf/dl-misc.c: Include it.
26227         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26228         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26229
26230 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26231
26232         * math/libm-test.inc (noXFails): Remove variable.
26233         (noXPasses): Likewise.
26234         (BUILD_COMPLEX_INT): Remove macro.
26235         (print_screen): Remove xfail argument.
26236         (print_screen_max_error): Likewise.
26237         (update_stats): Likewise.
26238         (print_max_error): Likewise.  Update calls to other affected
26239         functions.
26240         (print_complex_max_error): Likewise.
26241         (test_single_exception): Update calls to print_screen.
26242         (test_single_errno): Likewise.
26243         (check_float_internal): Remove xfail argument.  Update calls to
26244         other affected functions.
26245         (check_float): Likewise.
26246         (check_complex): Likewise.
26247         (check_int): Likewise.
26248         (check_long): Likewise.
26249         (check_bool): Likewise.
26250         (check_longlong): Likewise.
26251         (main): Don't print noXFails and noXPasses.
26252         * math/gen-libm-test.pl (top level): Don't mention expected
26253         failure handling in comment.
26254         (new_test): Don't handle expected failures.
26255         (parse_args): Don't mention expected failure handling in comment.
26256         (generate_testfile): Don't handle expected failures.
26257         (parse_ulps): Likewise.
26258         (print_ulps_file): Likewise.
26259         (get_failure): Remove function.
26260         (output_test): Don't handle expected failures.
26261         * make/README.libm-test: Don't mention expected failure handling.
26262
26263         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26264         (minus_zero): Likewise.
26265         (plus_infty): Likewise.
26266         (minus_infty): Likewise.
26267         (qnan_value): Likewise.
26268         (max_value): Likewise.
26269         (min_value): Likewise.
26270         (min_subnorm_value): Likewise.
26271         (initialize): Do not initialize those variables dynamically.
26272
26273 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26274
26275         * io/open.c (__open_2): Moved to ...
26276         * io/open_2.c: ... this new file.
26277         * io/open64.c (__open64_2): Moved to ...
26278         * io/open64_2.c: ... this new file.
26279         * io/openat.c (__openat_2): Moved to ...
26280         * io/openat_2.c: ... this new file.
26281         * io/openat64.c (__openat64_2): Moved to ...
26282         * io/openat64_2.c: ... this new file.
26283         * io/Makefile (routines): Add them.
26284         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26285         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26286         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26287         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26288         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26289         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26290         (__openat64): Add hidden_ver.
26291         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26292         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26293
26294         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26295         Separately conditionalize setting of GLRO(dl_sysinfo) so
26296         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26297         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26298
26299 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26300
26301         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26302         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26303         definition.
26304         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26305         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26306         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26307         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26308         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26309
26310 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26311
26312         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26313         test signgam value.
26314
26315         * math/libm-test.inc (hypot_test): Do not use
26316         IGNORE_ZERO_INF_SIGN.
26317
26318 2013-05-03  Andreas Jaeger  <aj@suse.de>
26319
26320         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26321         Linux 3.9.
26322         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26323         (PF_MAX): Adjust for VSOCK change.
26324
26325 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26326
26327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26328
26329 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26330
26331         [BZ #15264]
26332         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26333         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26334         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26335
26336 2013-05-02  David S. Miller  <davem@davemloft.net>
26337
26338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26339
26340 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26341
26342         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26343
26344 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26345
26346         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26347
26348 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26349
26350         [BZ #14952]
26351         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26352         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26353         Use __attribute__ ((__gnu_inline__)).
26354         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26355         Don't use __attribute__ ((__gnu_inline__)).
26356
26357 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26358
26359         [BZ #15423]
26360         * math/s_catan.c (__catan): Handle small real or imaginary part of
26361         input specially to avoid spurious underflow.
26362         * math/s_catanf.c (__catanf): Likewise.
26363         * math/s_catanh.c (__catanh): Likewise.
26364         * math/s_catanhf.c (__catanhf): Likewise.
26365         * math/s_catanhl.c (__catanhl): Likewise.
26366         * math/s_catanl.c (__catanl): Likewise.
26367         * math/libm-test.inc (catan_test): Add more tests.
26368         (catanh_test): Likewise.
26369         * sysdeps/i386/fpu/libm-test-ulps: Update.
26370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26371
26372 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26373
26374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26375
26376 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26377
26378         [BZ #15416]
26379         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26380         accurately for denominator in atan2.
26381         * math/s_catanf.c (__catanf): Likewise.
26382         * math/s_catanh.c (__catanh): Likewise.
26383         * math/s_catanhf.c (__catanhf): Likewise.
26384         * math/s_catanhl.c (__catanhl): Likewise.
26385         * math/s_catanl.c (__catanl): Likewise.
26386         * math/libm-test.inc (catan_test): Add more tests.
26387         (catanh_test): Likewise.
26388         * sysdeps/i386/fpu/libm-test-ulps: Update.
26389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26390
26391 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26392
26393         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26394
26395         * benchtests/Makefile (bench): Remove slow benchmarks.
26396         * benchtests/atan-inputs: Add slow benchmark inputs.
26397         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26398         (BENCH_FUNC): Accept variant offset.
26399         (VARIANT): Define.
26400         * benchtests/bench-skeleton.c (main): Run benchmark for each
26401         variant.
26402         * benchtests/cos-inputs: Add slow benchmark inputs.
26403         * benchtests/exp-inputs: Likewise.
26404         * benchtests/pow-inputs: Likewise.
26405         * benchtests/sin-inputs: Likewise.
26406         * benchtests/slowatan-inputs: Remove.
26407         * benchtests/slowatan.c: Remove.
26408         * benchtests/slowcos-inputs: Remove.
26409         * benchtests/slowcos.c: Remove.
26410         * benchtests/slowexp-inputs: Remove.
26411         * benchtests/slowexp.c: Remove.
26412         * benchtests/slowpow-inputs: Remove.
26413         * benchtests/slowpow.c: Remove.
26414         * benchtests/slowsin-inputs: Remove.
26415         * benchtests/slowsin.c: Remove.
26416         * benchtests/slowtan-inputs: Remove.
26417         * benchtests/slowtan.c: Remove.
26418         * benchtests/tan-inputs: Add slow benchmark inputs.
26419         * scripts/bench.pl: Parse comments and directives.
26420
26421         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26422         in CPPFLAGS.
26423         ($(objpfx)bench-%.c): Remove *-ITER.
26424         * benchtests/bench-modf.c: Remove definition of ITER.
26425         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26426         (main): Loop for DURATION seconds instead of fixed number of
26427         iterations.
26428         * scripts/bench.pl: Don't expect iterations in parameters.
26429
26430 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26431
26432         * io/fchdir.c (__fchdir): Renamed from fchdir.
26433         (fchdir): Define as weak alias.
26434
26435 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26436
26437         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26438         (ERRNO_EDOM): Likewise.
26439         (ERRNO_ERANGE): Likewise.
26440         (noErrnoTests): New variable.
26441         (init_max_error): Set errno to 0.
26442         (test_single_errno): New function.
26443         (test_errno): Likewise.
26444         (check_float_internal): Call test_errno.  Set errno to 0.
26445         (check_complex): Refer to errno tests in comment.
26446         (check_int): Call test_errno.  Set errno to 0.
26447         (check_long): Likewise.
26448         (check_bool): Likewise.
26449         (check_longlong): Likewise.
26450         (cos_test): Use ERRNO_* flags for errno tests instead of
26451         check_int.
26452         (expm1_test): Likewise.
26453         (fmod_test): Likewise.
26454         (ilogb_test): Likewise.
26455         (lgamma_test): Likewise.
26456         (pow_test): Likewise.
26457         (remainder_test): Likewise.
26458         (sin_test): Likewise.
26459         (tan_test): Likewise.
26460         (yn_test): Likewise.
26461         (initialize): Set errno to 0.
26462         (main): Print number of errno tests.
26463         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26464
26465 2013-04-29  Andreas Jaeger  <aj@suse.de>
26466
26467         [BZ #15084]
26468         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26469         and RES_USEVC.
26470
26471         [BZ #15085]
26472         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26473         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26474         unimplemented.
26475
26476         [BZ #15380]
26477         * stdlib/random.c (__initstate): Return NULL if
26478         __initstate fails.
26479
26480         [BZ #15086]
26481         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26482         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26483         RES_SNGLKUPREOP.
26484
26485 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26486
26487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26488
26489 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26490
26491         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26492         of individual tests.
26493         (casin_test): Likewise.
26494         (casinh_test): Likewise.
26495
26496 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26497
26498         [BZ #15409]
26499         * math/s_catan.c (__catan): Handle arguments with large real or
26500         imaginary part separately without squaring.
26501         * math/s_catanf.c (__catanf): Likewise.
26502         * math/s_catanh.c (__catanh): Likewise.
26503         * math/s_catanhf.c (__catanhf): Likewise.
26504         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26505         and redefine.
26506         (__catanhl): Handle arguments with large real or imaginary part
26507         separately without squaring.
26508         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26509         and redefine.
26510         (__catanl): Handle arguments with large real or imaginary part
26511         separately without squaring.
26512         * math/libm-test.inc (catan_test): Add more tests.
26513         (catanh_test): Likewise.
26514         * sysdeps/i386/fpu/libm-test-ulps: Update.
26515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26516
26517 2013-04-27  Andreas Jaeger  <aj@suse.de>
26518
26519         [BZ #15007]
26520         * stdlib/stdlib.h: Update guards for qecvt.
26521         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26522         <stdlib.h>.
26523
26524 2013-04-27  Allan McRae  <allan@archlinux.org>
26525
26526         * sysdeps/i386/fpu/libm-test-ulps: Update.
26527
26528 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26529
26530         [BZ #15406]
26531         * math/s_catan.c: Include <float.h>.
26532         (__catan): Ensure underflow exception occurs for underflowed
26533         result.
26534         * math/s_catanf.c: Include <float.h>.
26535         (__catanf): Ensure underflow exception occurs for underflowed
26536         result.
26537         * math/s_catanh.c: Include <float.h>.
26538         (__catanh): Ensure underflow exception occurs for underflowed
26539         result.
26540         * math/s_catanhf.c: Include <float.h>.
26541         (__catanhf): Ensure underflow exception occurs for underflowed
26542         result.
26543         * math/s_catanhl.c: Include <float.h>.
26544         (__catanhl): Ensure underflow exception occurs for underflowed
26545         result.
26546         * math/s_catanl.c: Include <float.h>.
26547         (__catanl): Ensure underflow exception occurs for underflowed
26548         result.
26549         * math/libm-test.inc (catan_test): Add more tests.
26550         (catanh_test): Likewise.
26551
26552         [BZ #15405]
26553         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26554         underflowed result.
26555         * math/s_ccoshf.c (__ccoshf): Likewise.
26556         * math/s_ccoshl.c (__ccoshl): Likewise.
26557         * math/s_csin.c (__csin): Likewise.
26558         * math/s_csinf.c (__csinf): Likewise.
26559         * math/s_csinh.c (__csinh): Likewise.
26560         * math/s_csinhf.c (__csinhf): Likewise.
26561         * math/s_csinhl.c (__csinhl): Likewise.
26562         * math/s_csinl.c (__csinl): Likewise.
26563         * math/libm-test.inc (ccos_test): Add more tests.
26564         (ccosh_test): Likewise.
26565         (csin_test): Likewise.
26566         (csinh_test): Likewise.
26567
26568 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26569
26570         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26571         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26572         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26573         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26574         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26575         powerpc/power5+/fpu folders.
26576         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26577
26578
26579 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26580
26581         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26582
26583 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26584
26585         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26586         additions to variable.
26587         [$(config-machine) = x86_64] (modules-names): Likewise.
26588         ($(objpfx)tst-audit3): Remove dependency.
26589         ($(objpfx)tst-audit3.out): Likewise.
26590         ($(objpfx)tst-audit4): Likewise.
26591         ($(objpfx)tst-audit4.out): Likewise.
26592         ($(objpfx)tst-audit5): Likewise.
26593         ($(objpfx)tst-audit5.out): Likewise.
26594         ($(objpfx)tst-audit6): Likewise.
26595         ($(objpfx)tst-audit6.out): Likewise.
26596         ($(objpfx)tst-audit7): Likewise.
26597         ($(objpfx)tst-audit7.out): Likewise.
26598         (tst-audit3-ENV): Remove variable.
26599         (tst-audit4-ENV): Likewise.
26600         (tst-audit5-ENV): Likewise.
26601         (tst-audit6-ENV): Likewise.
26602         (tst-audit7-ENV): Likewise.
26603         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26604         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26605         addition to variable.
26606         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26607         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26608         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26609         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26610         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26611         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26612         tst-audit3, tst-audit4 and tst-audit5.
26613         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26614         tst-audit6 and tst-audit7.
26615         [$(subdir) = elf] (modules-names): Add audit modules for those
26616         tests.
26617         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26618         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26619         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26620         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26621         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26622         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26623         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26624         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26625         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26626         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26627         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26628         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26629         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26630         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26631         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26632         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26633         Likewise.
26634         [$(subdir) = elf && $(config-cflags-avx) = yes]
26635         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26636         [$(subdir) = elf && $(config-cflags-avx) = yes]
26637         (CFLAGS-tst-auditmod4a.c): Likewise.
26638         [$(subdir) = elf && $(config-cflags-avx) = yes]
26639         (CFLAGS-tst-auditmod4b.c): Likewise.
26640         [$(subdir) = elf && $(config-cflags-avx) = yes]
26641         (CFLAGS-tst-auditmod6b.c): Likewise.
26642         [$(subdir) = elf && $(config-cflags-avx) = yes]
26643         (CFLAGS-tst-auditmod6c.c): Likewise.
26644         [$(subdir) = elf && $(config-cflags-avx) = yes]
26645         (CFLAGS-tst-auditmod7b.c): Likewise.
26646         * elf/tst-audit3.c: Move to ...
26647         * sysdeps/x86_64/tst-audit3.c: ... here.
26648         * elf/tst-audit4.c: Move to ...
26649         * sysdeps/x86_64/tst-audit4.c: ... here.
26650         * elf/tst-audit5.c: Move to ...
26651         * sysdeps/x86_64/tst-audit5.c: ... here.
26652         * elf/tst-audit6.c: Move to ...
26653         * sysdeps/x86_64/tst-audit6.c: ... here.
26654         * elf/tst-audit7.c: Move to ...
26655         * sysdeps/x86_64/tst-audit7.c: ... here.
26656         * elf/tst-auditmod3a.c: Move to ...
26657         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26658         * elf/tst-auditmod3b.c: Move to ...
26659         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26660         * elf/tst-auditmod4a.c: Move to ...
26661         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26662         * elf/tst-auditmod4b.c: Move to ...
26663         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26664         * elf/tst-auditmod5a.c: Move to ...
26665         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26666         * elf/tst-auditmod5b.c: Move to ...
26667         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26668         * elf/tst-auditmod6a.c: Move to ...
26669         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26670         * elf/tst-auditmod6b.c: Move to ...
26671         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26672         * elf/tst-auditmod6c.c: Move to ...
26673         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26674         * elf/tst-auditmod7a.c: Move to ...
26675         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26676         * elf/tst-auditmod7b.c: Move to ...
26677         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26678
26679 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26680
26681         [BZ #15366]
26682         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26683         define unconditionally.
26684         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26685         define unconditionally.
26686         (INT8_C, INT16_C, etc.): Likewise.
26687
26688 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26689
26690         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26691         __ehdr_start with hidden visibility.
26692
26693         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26694
26695 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26696
26697         * math/libm-test.inc (cos_test): Use accurate hex constants.
26698         (sincost_test): Likewise.
26699
26700 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26701
26702         * math/libm-test.inc (catan_test): Add more tests.
26703         (catanh_test): Likewise.
26704
26705         * math/s_catanf.c (__catanf): Use suffixed floating-point
26706         constants.
26707         * math/s_catanhf.c (__catanhf): Likewise.
26708         * math/s_catanhl.c (__catanhl): Likewise.
26709         * math/s_catanl.c (__catanl): Likewise.
26710
26711         [BZ #15394]
26712         * math/s_catan.c (__catan): Calculate imaginary part of result
26713         with log1p not log unless computing log of number close to 0.
26714         * math/s_catanf.c (__catanf): Likewise.
26715         * math/s_catanl.c (__catanl): Likewise.
26716         * math/s_catanh.c (__catanh): Calculate real part of result with
26717         log1p not log unless computing log of number close to 0.
26718         * math/s_catanhf.c (__catanhf): Likewise.
26719         * math/s_catanhl.c (__catanhl): Likewise.
26720         * math/libm-test.inc (catan_test): Add more tests.
26721         (catanh_test): Likewise.
26722         * sysdeps/i386/fpu/libm-test-ulps: Update.
26723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26724
26725 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26726
26727         * benchtests/Makefile: Mention files in which fast and slow
26728         paths of math functions are implemented.
26729
26730 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26731
26732         * sysdeps/posix/timespec_get.c: New file.
26733
26734 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26735
26736         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26737         POWER.
26738         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26739         for POWER.
26740         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26741         powerpc/power5/fpu folders.
26742         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26743         * benchtests/Makefile: Add modf testcase.
26744         * benchtests/bench-modf.c: New file: Benchmark test for mo
26745
26746 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26747
26748         [BZ #14888]
26749         * time/Makefile (tests): Add tst-strptime-whitespace.
26750         * time/strptime_l.c (get_number): Use ISSPACE.
26751         (__strptime_internal): Likewise.
26752         * time/tst-strptime-whitespace.c: New test case.
26753
26754 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26755
26756         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26757         member.
26758         (_nss_files_init): Set it here.
26759
26760 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26761
26762         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26763         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26764         unsigned.
26765
26766 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26767
26768         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26769
26770 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26771
26772         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26773         size just once.
26774
26775 2013-04-21  David S. Miller  <davem@davemloft.net>
26776
26777         * po/ru.po: Update Russion translation from translation project.
26778
26779 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26780
26781         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26782         and setfsgid.
26783
26784 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26785
26786         * configure.in: Remove i386 configure warning. Remove i386 case.
26787         * configure: Regenerate.
26788         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26789         Add example to error message.
26790         * sysdeps/i386/configure: Regenerate.
26791
26792 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26793
26794         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26795         slowtan.
26796         * benchtests/cos-inputs: New file.
26797         * benchtests/slowcos-inputs: New file.
26798         * benchtests/slowcos.c: New file.
26799         * benchtests/slowtan-inputs: New file.
26800         * benchtests/slowtan.c: New file.
26801         * benchtests/tan-inputs: New file.
26802
26803 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26804
26805         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26806         considered kosher.
26807
26808 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26809
26810         * benchtests/Makefile: Include cppflags-iterator.mk to add
26811         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26812
26813         * Makefile.in (bench-clean): New target.
26814         * benchtests/Makefile (bench-clean): Likewise.
26815
26816 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26817
26818         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26819
26820 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26821
26822         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26823
26824 2013-04-15  Andreas Schwab  <schwab@suse.de>
26825
26826         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26827         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26828         * nscd/pwdcache.c (cache_addpw): Likewise.
26829         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26830         more than recsize.
26831
26832 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26833
26834         * benchtests/Makefile (bench): Write all output to
26835         bench-out.tmp together.
26836
26837 2013-04-15  Andreas Schwab  <schwab@suse.de>
26838
26839         * nscd/nscd.c (main): Don't fork again after closing files.
26840
26841 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26842
26843         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26844
26845         * benchtests/Rules (bench-deps): Collect dependencies into a
26846         single variable.  Add Makefile to dependencies.
26847         ($(objpfx)bench-%.c): Depend on bench-deps.
26848
26849 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26850             Xavier Roche  <roche+kml2@exalead.com>
26851
26852         [BZ #15361]
26853         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26854         just that it's a file descriptor.
26855         * manual/llio.texi (Synchronizing AIO Operations): Update description
26856         for EBADF error from aio_fsync.
26857
26858 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26859
26860         * Rules (bench): Move target definition...
26861         * benchtests/Makefile: ... here.
26862
26863 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26864
26865         * math/libm-test.inc (cos_test): Fix PI/2 test.
26866         (sincos_test): Likewise.
26867         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26868         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26869
26870 2013-04-11  Andreas Schwab  <schwab@suse.de>
26871
26872         [BZ #13988]
26873         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26874         accept exponent character only when digits were seen.
26875         * stdio-common/Makefile (tests): Add bug26.
26876         * stdio-common/bug26.c: New file.
26877
26878         [BZ #14293]
26879         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26880         non-freeable.
26881
26882 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26883
26884         * Makeconfig (rtld-prefix): Define built linker prefix.
26885         * Rules (run-bench): Use it.
26886         * math/Makefile (run-regen-ulps): Likewise.
26887
26888         * Rules (bench): Remove eval.
26889
26890 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26891             Roland McGrath  <roland@hack.frob.com>
26892             Ondrej Bilka  <neleai@seznam.cz>
26893
26894         [BZ #15346]
26895         * time/getdate.c: Include ctype.h and alloca.h.
26896         (__getdate_r): Trim leading and trailing spaces of input.
26897         * time/tst-getdate.c (tests): Add tests with leading and
26898         trailing spaces.
26899
26900 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26901
26902         [BZ #14280]
26903         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26904         when computing value.
26905
26906 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26907
26908         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26909         Use testrun.sh to run libm tests.
26910
26911         [BZ #15309]
26912         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26913
26914 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26915
26916         [BZ #15264]
26917         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26918
26919 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26920
26921         * Makefile.in (regen-ulps): New target.
26922         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26923         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26924         [ifneq (no,$(PERL)] (regen-ulps): New target.
26925         [ifeq (no,$(PERL)] (regen-ulps): New target.
26926         * math/libm-test.inc (ulps_file_name): Define.
26927         (output_dir): New variable.
26928         (options): Add "output-dir" option.
26929         (parse_opt): Handle 'o' case.
26930         (main): If output_dir is non-NULL use it as a prefix
26931         otherwise use "".
26932         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26933
26934 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26935
26936         [BZ #10060, #10062]
26937         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26938         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26939         fail configure if __sync_val_compare_and_swap is not inlined.
26940         * sysdeps/i386/configure: Regenerate.
26941         * configure.in: Build for i686 when configured for i386.
26942         * configure: Regenerate.
26943         * README: Remove i386 reference.
26944
26945 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26946
26947         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26948         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26949
26950 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26951
26952         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26953         (lmsnanval): New variables.
26954         (F): Add conversion tests.
26955         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26956         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26957
26958         * stdio-common/tstdiomisc.c (F): Properly collect individual
26959         tests' results.
26960
26961         [BZ #14686, #15336]
26962         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26963         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26964         Instead, use input NaN values or generate a qNaN by arithmetic
26965         operation.  Also fix bugs to comply with the standard.
26966         * math/libm-test.inc (remainder_test): Add more tests.
26967
26968         [BZ #15335, #15342]
26969         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26970         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26971         input NaN values or generate a qNaN by arithmetic operation.
26972
26973         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26974         unreachable code.
26975
26976         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26977         definitions.
26978
26979 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26980
26981         [BZ #14478]
26982         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26983         underflowed result.
26984         * math/s_cexpf.c (__cexpf): Likewise.
26985         * math/s_cexpl.c (__cexpl): Likewise.
26986         * math/libm-test.inc (cexp_test): Add more tests.
26987
26988 2013-04-03  Andreas Schwab  <schwab@suse.de>
26989
26990         [BZ #15330]
26991         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26992         order arrays from heap if bigger than alloca cutoff.
26993
26994 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26995
26996         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26997         (SNAN_TESTS_double): Refer to GCC PR56831.
26998         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26999         GCC PR56828.
27000
27001 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27002
27003         * Rules (bench): Move bench.out after the run is complete.
27004
27005         * Rules (bench): Echo currently running benchmark.
27006
27007         * benchtests/Makefile (bench): Add atan and slowatan.
27008         * benchtests/atan-inputs: New file.
27009         * benchtests/slowatan-inputs: New file.
27010         * benchtests/slowatan.c: New file.
27011
27012         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27013         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27014         its value.
27015
27016         [BZ #15305]
27017         * sysdeps/unix/sysv/linux/kernel-features.h
27018         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27019         __ASSUME_XFS_RESTRICTED_CHOWN.
27020         * sysdeps/unix/sysv/linux/pathconf.c
27021         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27022         Save and restore errno.
27023
27024 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27025
27026         [BZ #15327]
27027         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27028         arguments using __kernel_casinh.
27029         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27030         arguments using __kernel_casinhf.
27031         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27032         arguments using __kernel_casinhl.
27033         * math/libm-test.inc (cacosh_test): Add more tests.
27034         * sysdeps/i386/fpu/libm-test-ulps: Update.
27035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27036
27037 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27038
27039         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27040         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27041
27042         * bench/Makefile (bench): Add sin and slowsin.
27043         * benchtests/sin-inputs: New file.
27044         * benchtests/slowsin-inputs: New file.
27045         * benchtests/slowsin.c: New file.
27046
27047         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27048         (bench): Add slowexp and slowpow.
27049         (exp-ITER): Increase iterations.
27050         (pow-ITER): Likewise.
27051         * benchtests/exp-inputs: Change input.
27052         * benchtests/pow-inputs: Likewise.
27053         * benchtests/slowexp-inputs: New file.
27054         * benchtests/slowexp.c: New file.
27055         * benchtests/slowpow-inputs: New file.
27056         * benchtests/slowpow.c: New file.
27057
27058 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27059
27060         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27061         instructions.
27062         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27063         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27064         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27065         * benchtests/Makefile: Add rint benchtest.
27066         * benchtests/rint-inputs: Input for rint benchtest.
27067
27068 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27069
27070         * Versions.def (libm): Add GLIBC_2.18.
27071         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27072         hidden libm prototypes.
27073         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27074         * math/Makefile (libm-calls): Add s_issignaling.
27075         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27076         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27077         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27078         declaration.
27079         * math/math.h [__USE_GNU] (issignaling): New macro.
27080         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27081         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27082         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27083         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27084         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27085         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27086         * manual/arith.texi (issignaling): New section.
27087         * manual/libm-err-tab.pl (@all_functions): Update comment.
27088         * math/gen-libm-test.pl (parse_args): Apply special handling for
27089         issignaling.
27090         * math/libm-test.inc (print_float, issignaling_test): New
27091         functions.
27092         (check_float_internal): Add issignaling checks.
27093         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27094         default definition.
27095         * sysdeps/powerpc/math-tests.h: New file.
27096         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27097         tests.
27098         * math/test-snan.c (TEST_FUNC): Likewise.
27099
27100 2013-03-30  David S. Miller  <davem@davemloft.net>
27101
27102         * po/de.po: Update from translation team.
27103
27104 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27105
27106         [BZ #10357]
27107         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27108         imaginary part less than 1.0 and real part less than 0.5
27109         specially.
27110         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27111         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27112         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27113         (cacos_test): Add more tests.
27114         (casin_test): Likewise.
27115         (casinh_test): Likewise.
27116         * sysdeps/i386/fpu/libm-test-ulps: Update.
27117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27118
27119 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27120
27121         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27122         ONE with its value.
27123
27124         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27125         (__pow_mp): Replace ONE and MONE with their values.
27126         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27127         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27128         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27129         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27130         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27131         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27132
27133         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27134
27135         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27136         (__pow_mp): Replace ZERO and MZERO with their values.
27137         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27138         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27139         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27141         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27142         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27143         (__sqr): Likewise.
27144
27145         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27146
27147         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27148
27149 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27150
27151         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27152         Declare with __attribute__ ((weak)).
27153         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27154         Call __call_tls_dtors only if it's not NULL.
27155
27156 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27157
27158         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27159         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27160         magic __ehdr_start linker symbol if it's defined.
27161         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27162         them up here if it was already done.
27163
27164         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27165         (_dl_aux_init): Use const in cast when setting it.
27166         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27167         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27168         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27169
27170         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27171         Declare them here.
27172         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27173         * csu/libc-tls.c: Nor here.
27174         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27175
27176         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27177         (__libc_message): Never call vsyslog.
27178
27179 2013-03-28  Alan Modra  <amodra@gmail.com>
27180
27181         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27182         Define as empty.
27183         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27184         Likewise.
27185
27186 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27187
27188         [BZ #15214]
27189         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27190         underflow.
27191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27192
27193 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27194
27195         [BZ #15304]
27196         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27197         Don't add gid passed as argument.
27198
27199         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27200
27201 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27202
27203         [BZ #15307]
27204         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27205         imaginary part between 1.0 and 1.5 and real part less than 0.5
27206         specially.
27207         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27208         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27209         * math/libm-test.inc (cacos_test): Add more tests.
27210         (casin_test): Likewise.
27211         (casinh_test): Likewise.
27212         * sysdeps/i386/fpu/libm-test-ulps: Update.
27213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27214
27215 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27216
27217         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27218         constants.
27219         (norm): Likewise.
27220         (denorm): Likewise.
27221         (__dbl_mp): Likewise.
27222         (add_magnitudes): Likewise.
27223         (sub_magnitudes): Likewise.
27224         (__add): Likewise.
27225         (__sub): Likewise.
27226         (__mul): Likewise.
27227         (__sqr): Likewise.
27228         (__inv): Likewise.
27229         (__dvd): Likewise.
27230
27231         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27232         commented code.
27233         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27234         (__dubcos): Likewise.
27235         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27236         (__ieee754_acos): Likewise.
27237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27238         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27239         (__exp1): Likewise.
27240         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27241         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27242         (log1): Likewise.
27243         (my_log2): Likewise.
27244         (checkint): Likewise.
27245         * sysdeps/ieee754/dbl-64/e_remainder.c
27246         (__ieee754_remainder): Likewise.
27247         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27248         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27249         (bsloww): Likewise.
27250         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27251
27252         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27253         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27254         MANTISSA_STORE_T to store computations on mantissa.  Use
27255         macros for rounding and division.
27256         (denorm): Likewise.
27257         (__dbl_mp): Likewise.
27258         (add_magnitudes): Likewise.
27259         (sub_magnitudes): Likewise.
27260         (__mul): Likewise.
27261         (__sqr): Likewise.
27262         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27263         powers of two in terms of TWOPOW macro.
27264         (mp_no): Make type of mantissa as MANTISSA_T.
27265         [!RADIXI]: Define RADIXI.
27266         [!TWO52]: Define TWO52.
27267         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27268
27269 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27270
27271         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27272         llroundl symbol when building for PPC32.
27273
27274 2013-03-24  Mark H Weaver  <mhw@netris.org>
27275
27276         * manual/arith.texi (Normalization Functions): Fix prototypes for
27277         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27278
27279 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27280
27281         [BZ #13889]
27282         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27283         high value to check if expl overflow.
27284         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27285         to check for underflow and overflow.
27286         * math/libm-test.inc: Add exp test.
27287
27288 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27289
27290         [BZ #11120]
27291         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27292         with NOT_IN_libc.
27293
27294 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27295
27296         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27297         symbol.
27298
27299 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27300
27301         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27302         wrap blocks consisting of several statements.
27303
27304         * sysdeps/generic/math-tests.h: New file.
27305         * sysdeps/i386/fpu/math-tests.h: Likewise.
27306         * math/test-snan.c: Include it.
27307         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27308
27309 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27310
27311         [BZ #15285]
27312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27313         (__ieee754_j0l): Do not improve calculations using cos of twice
27314         input for inputs above LDBL_MAX / 2.0L.
27315         (__ieee754_y0l): Likewise.
27316         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27317         (__ieee754_j1l): Do not improve calculations using cos of twice
27318         input for inputs above LDBL_MAX / 2.0L.
27319         (__ieee754_y1l): Likewise.
27320         * math/libm-test.inc (j0_test): Add another test.
27321         (j1_test): Likewise.
27322         (y0_test): Likewise.
27323         (y1_test): Likewise.
27324         * sysdeps/i386/fpu/libm-test-ulps: Update.
27325
27326 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27327
27328         * Rules ($(objpfx)bench-%.c): Include code from a C source
27329         file.
27330
27331 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27332
27333         [BZ #15287]
27334         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27335         imaginary part 1.0 and real part less than 0.5 specially.
27336         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27337         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27338         * math/libm-test.inc (cacos_test): Add more tests.
27339         (casin_test): Likewise.
27340         (casinh_test): Likewise.
27341         * sysdeps/i386/fpu/libm-test-ulps: Update.
27342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27343
27344 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27345
27346         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27347         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27348
27349 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27350
27351         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27352         * config.make.in (config-cflags-sse4): Remove variable.
27353         (config-cflags-avx): Likewise.
27354         (config-cflags-sse2avx): Likewise.
27355         (config-cflags-novzeroupper): Likewise.
27356         (config-asflags-i686): Likewise.
27357         (have-mfma4): Likewise.
27358         (have-as-vis3): Likewise.
27359         (MIG): Likewise.
27360         * configure.in (MIG): Do not AC_SUBST.
27361         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27362         (libc_cv_cc_sse4): Do not AC_SUBST.
27363         (libc_cv_cc_avx): Likewise.
27364         (libc_cv_cc_sse2avx): Likewise.
27365         (libc_cv_cc_novzeroupper): Likewise.
27366         (libc_cv_cc_fma4): Likewise.
27367         (libc_cv_as_i686): Likewise.
27368         (libc_cv_sparc_as_vis3): Likewise.
27369         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27370         LIBC_CONFIG_VAR.
27371         (config-asflags-i686): Likewise.
27372         (config-cflags-avx): Likewise.
27373         (config-cflags-sse2avx): Likewise.
27374         (have-mfma4): Likewise.
27375         (config-cflags-novzeroupper): Likewise.
27376         * sysdeps/mach/configure.in (MIG): Likewise.
27377         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27378         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27379         LIBC_CONFIG_VAR.
27380         (config-cflags-avx): Likewise.
27381         (config-cflags-sse2avx): Likewise.
27382         (have-mfma4): Likewise.
27383         (config-cflags-novzeroupper): Likewise.
27384         * configure: Regenerated.
27385         * sysdeps/i386/configure: Likewise.
27386         * sysdeps/mach/configure: Likewise.
27387         * sysdeps/sparc/configure: Likewise.
27388         * sysdeps/x86_64/configure: Likewise.
27389
27390 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27391
27392         [BZ #14812]
27393         * locale/programs/localedef.c (options): Put N_ translation marker
27394         on argument names, not just descriptions.
27395
27396 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27397
27398         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27399
27400 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27401
27402         [BZ #14176]
27403         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27404
27405 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27406
27407         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27408         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27409         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27410         [!BEFORE_ABORT] (before_abort): New function.
27411         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27412         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27413         (writev_for_fatal): New function.
27414         (WRITEV_FOR_FATAL): New macro; call that.
27415         (backtrace_and_maps): New function.
27416         (BEFORE_ABORT): New macro; call that.
27417         (struct str_list): Type removed.
27418         (__libc_message, __libc_fatal): Functions removed.
27419         Include <sysdeps/posix/libc_fatal.c> instead.
27420
27421 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27422
27423         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27424         constants.
27425         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27426         double constants.
27427
27428 2013-03-19  Andreas Schwab  <schwab@suse.de>
27429
27430         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27431         * sysdeps/gnu/configure: Regenerate.
27432
27433         * configure.in: Substitute libc_cv_rtlddir.
27434         * configure: Regenerate.
27435         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27436         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27437         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27438         * elf/Makefile (install-others, CFLAGS-interp.c)
27439         (ldso_install, common-ldd-rewrite): Likewise.
27440         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27441         $(inst_slibdir)/$(rtld-installed-name).
27442         * scripts/rellns-sh: Add -p option.
27443         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27444         for source.
27445
27446 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27447
27448         * manual/nptl.texi: Renamed to ...
27449         * manual/threads.texi: ... this.
27450         * manual/Makefile (chapters): Update.
27451
27452 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27453
27454         [BZ #14812]
27455         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27456         on argument names, not just descriptions.
27457         * malloc/memusagestat.c (options): Likewise.
27458         * nss/getent.c (options): Likewise.
27459
27460 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27461
27462         [BZ #14812]
27463         * iconv/iconv_prog.c (options): Put N_ translation marker
27464         on argument names, not just descriptions.
27465         * iconv/iconvconfig.c (options): Likewise.
27466
27467 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27468
27469         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27470         implementation which is faster on all x86_64 architectures.
27471         Tested on AMD, Intel Nehalem, SNB, IVB.
27472         * sysdeps/x86_64/strnlen.S: Likewise.
27473
27474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27475         Remove all multiarch strlen and strnlen versions.
27476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27477         Remove strlen and strnlen related parts.
27478
27479         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27480         Inline strlen part.
27481         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27482
27483         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27484         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27485         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27486         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27487         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27488         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27489
27490 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27491
27492         * manual/memory.texi (Malloc Tunable Parameters):
27493         Sort parameters alphabetically. Add comments for missing entries.
27494
27495 2013-03-17  David S. Miller  <davem@davemloft.net>
27496
27497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27498
27499 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27500
27501         [BZ #15283]
27502         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27503         for arguments at most half maximum finite value.
27504         * math/libm-test.inc (j0_test): Add more tests.
27505         (j1_test): Likewise.
27506         (y0_test): Likewise.
27507         (y1_test): Likewise.
27508         * sysdeps/i386/fpu/libm-test-ulps: Update.
27509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27510
27511         [BZ #14155]
27512         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27513         1 / x and functions P and Q for arguments above 0x1p256L.
27514         (__ieee754_y0l): Likewise.
27515         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27516         (__ieee754_y1l): Likewise.
27517         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27518         (j1_test): Likewise.
27519         (y0_test): Likewise.
27520         (y1_test): Likewise.
27521
27522 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27523
27524         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27525         variable.
27526
27527 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27528
27529         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27530         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27531         zero since it's initialized to EXEC_PAGESIZE.
27532
27533         * sysdeps/unix/sysv/linux/ldsodefs.h
27534         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27535         * sysdeps/generic/ldsodefs.h: ... here.
27536
27537 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27538
27539         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27540
27541         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27542         math/test-snan.c.
27543         * math/test-snan.c: Renamed from
27544         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27545         * math/Makefile (tests): Add test-snan.
27546         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27547         test-powerpc-snan.
27548
27549         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27550         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27551         functions.
27552         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27553         __builtin_nan family of functions.
27554         * math/libm-test.inc (initialize): Initialize qnan_value with
27555         __builtin_nan family of functions.
27556         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27557         Remove variables.
27558         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27559         Remove functions.
27560         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27561         storage class.  Initialize qNaN_var and sNaN_var with
27562         __builtin_nan and __builtin_nans families of functions,
27563         respectively.
27564
27565         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27566         (sqrt_test): Remove duplicate test with qNaN input.
27567         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27568         (round_test, signbit_test, significand_test): Note missing +/-Inf
27569         as well as qNaN tests.
27570
27571         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27572         qNaN_var.  Fix a few strings, too.
27573         * math/libm-test.inc (nan_value): Rename to qnan_value.
27574         * math/gen-libm-test.pl (%beautify): Adjust to that.
27575         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27576         * math/test-misc.c (main): Likewise.
27577         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27578         to __qnan_bytes, and __qnan_union, respectively.
27579         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27580         Likewise.
27581         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27582         and lqnanval, respectively.
27583         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27584         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27585         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27586         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27587
27588         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27589         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27590         doubles.
27591
27592         * math/test-misc.c (main): Fix copy'n'pastos.
27593         * misc/tst-efgcvt.c (special): Likewise.
27594
27595         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27596         Remove declarations.
27597
27598 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27599
27600         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27601         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27602         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27603         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27604
27605 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27606
27607         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27608         macro to return vdso values correctly in IFUNC implementations.
27609         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27610         Optimization by using IFUNC.
27611
27612 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27613             Richard Henderson  <rth@redhat.com>
27614             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27615
27616         * Makefile.in (bench): New target.
27617         * NEWS: Mention the benchmark framework.
27618         * Rules (bench): Likewise.
27619         (binaries-bench): Generate binaries for functions to
27620         benchmark.
27621         * benchtests/Makefile: New makefile for benchmark tests.
27622         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27623         programs.
27624         * benchtests/exp-inputs: New input file for EXP function.
27625         * benchtests/pow-inputs: New input file for POW function.
27626         * scripts/bench.pl: New script to generate source files for
27627         benchmark programs.
27628
27629 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27630
27631         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27632         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27633         computations on mantissa.  Use macros for rounding and
27634         division.
27635         (denorm): Likewise.
27636         (__dbl_mp): Likewise.
27637         (add_magnitudes): Likewise.
27638         (sub_magnitudes): Likewise.
27639         (__mul): Likewise.
27640         (__sqr): Likewise.
27641         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27642         powers of two in terms of TWOPOW macro.
27643         (mp_no): Make type of mantissa as MANTISSA_T.
27644         [!RADIXI]: Define RADIXI.
27645         [!TWO52]: Define TWO52.
27646         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27647
27648         * manual/nptl.texi (cindex): Modify threads to pthreads.
27649
27650 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27651
27652         * sysdeps/x86_64/preconfigure: Regenerated.
27653
27654 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27655
27656         [BZ #14155]
27657         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27658         0x1p28 and above.
27659         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27660         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27661         0x1p28 and above.
27662         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27663         * math/libm-test.inc (j0_test): Do not allow one spurious
27664         underflow exception.
27665         (y1_test): Likewise.
27666
27667 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27668
27669         * manual/Makefile (chapters): Add nptl.
27670         * manual/debug.texi (Debugging Support): Add link to Threads
27671         chapter.
27672         * manual/nptl.texi: New file.
27673
27674         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27675
27676 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27677
27678         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27679         for non-NULL pointer before the memory validity test. Pointed
27680         out by Holger Brunck <holger.brunck@keymile.com>.
27681
27682 2013-03-13  Andreas Schwab  <schwab@suse.de>
27683
27684         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27685         instead of .os.
27686
27687 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27688
27689         * timezone/zic.c: Update from tzcode 2013b.
27690
27691 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27692
27693         * manual/install.texi (Configuring and compiling):
27694         Mention i686 and i586.
27695         * INSTALL: Regenerate.
27696
27697 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27698
27699         * sysdeps/init_array/elf-init.c: New file.
27700         * csu/elf-init.c
27701         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27702         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27703
27704         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27705         __gmon_start__ as global, but as static with a .preinit_array pointer.
27706         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27707         * sysdeps/init_array/crti.S: New file, empty except for comments.
27708         * sysdeps/init_array/crtn.S: Likewise.
27709
27710 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27711
27712         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27713         definining bcopy.
27714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27715         Remove Prefer_SSE_for_memop.
27716         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27717         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27718         HAS_PREFER_SSE_FOR_MEMOP.
27719         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27720         memset-x86-64.
27721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27722         Remove bzero, memset ifunc support.
27723         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27724         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27725         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27727
27728 2013-03-11  Andreas Schwab  <schwab@suse.de>
27729
27730         [BZ #15234]
27731         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27732         by SHLIB_COMPAT.
27733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27734         (GLIBC_2.16): Remove pthread_atfork.
27735
27736 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27737
27738         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27739         (ptestcases.h): Likewise.
27740
27741 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27742
27743         * Makeconfig ($(common-objpfx)config.status): Depend on
27744         sysdeps/*/preconfigure{,.in} too.
27745
27746 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27747
27748         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27749         (__free_hook): Use void * instead of __malloc_ptr_t.
27750         (__malloc_hook): Likewise.
27751         (__realloc_hook): Likewise.
27752         (__memalign_hook): Likewise.
27753         (__after_morecore_hook): Likewise.
27754         * malloc/arena.c (save_malloc_hook): Likewise.
27755         (save_free_hook): Likewise.
27756         * malloc/hooks.c (malloc_hook_ini): Likewise.
27757         (realloc_hook_ini): Likewise.
27758         (memalign_hook_ini): Likewise.
27759         * malloc/malloc.c (malloc_hook_ini): Likewise.
27760         (realloc_hook_ini): Likewise.
27761         (memalign_hook_ini): Likewise.
27762         (__free_hook): Likewise.
27763         (__malloc_hook): Likewise.
27764         (__realloc_hook): Likewise.
27765         (__memalign_hook): Likewise.
27766         (__libc_malloc): Likewise.
27767         (__libc_free): Likewise.
27768         (__libc_realloc): Likewise.
27769         (__libc_memalign): Likewise.
27770         (__libc_valloc): Likewise.
27771         (__libc_pvalloc): Likewise.
27772         (__libc_calloc): Likewise.
27773         (__posix_memalign): Likewise.
27774         * malloc/morecore.c (__sbrk): Likewise.
27775         (__default_morecore): Likewise.
27776
27777         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27778
27779         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27780         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27781         __malloc_ptrdiff_t.
27782
27783         * malloc/malloc.h (__malloc_size_t): Remove macro.
27784         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27785         __malloc_size_t.
27786         (old_memalign_hook): Likewise.
27787         (old_realloc_hook): Likewise.
27788         (struct hdr): Likewise.
27789         (flood): Likewise.
27790         (mallochook): Likewise.
27791         (memalignhook): Likewise.
27792         (reallochook): Likewise.
27793         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27794         (tr_old_realloc_hook): Likewise.
27795         (tr_old_memalign_hook): Likewise.
27796         (tr_mallochook): Likewise.
27797         (tr_reallochook): Likewise.
27798         (tr_memalignhook): Likewise.
27799
27800 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27801
27802         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27803         default_ldbl_pack and using as default implementation.
27804         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27805         implementation.
27806         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27807         redundant definition.
27808         (ldbl_insert_mantissa): Likewise.
27809         (ldbl_canonicalize): Likewise.
27810         (ldbl_nearbyint): Likewise.
27811         (ldbl_pack): Rename to ldbl_pack_ppc.
27812         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27813         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27814         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27815
27816 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27817
27818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27819         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27820         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27821         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27823         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27824         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27825         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27826
27827 2013-03-07  Andreas Jaeger  <aj@suse.de>
27828
27829         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27830         bits/mman-linux.h.
27831
27832 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27833
27834         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27835         Include mpa.h and declare __MPEXP.
27836         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27837         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27838         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27839         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27840         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27841         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27842         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27843
27844         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27845         (__slowpow): Use long double EXPL and LOGL functions to
27846         compute POW.
27847         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27848         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27849         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27850         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27851         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27852         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27853
27854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27855         intermediate variable to calculate exponent.
27856         (__sqr): Likewise.
27857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27858         Likewise.
27859         (__sqr): Likewise.
27860
27861         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27862         [!NO__SQR]: Define __sqr.
27863         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27864         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27865         sysdeps/ieee754/dbl-64/mpa.c.
27866         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27867
27868         [BZ #12723]
27869         * posix/Makefile (tests): Add tst-pathconf.
27870         * posix/tst-pathconf.c: New test case.
27871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27872         _PC_PIPE_BUF.
27873         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27874
27875 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27876
27877         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27878
27879 2013-03-06  Andreas Jaeger  <aj@suse.de>
27880
27881         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27882         definition via __MAP_ANONYMOUS.
27883
27884         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27885         it's not part of Linux headers.
27886
27887         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27888         (MAP_HUGE_MASK): Define.
27889
27890         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27891         Define.
27892         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27893         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27894         Define.
27895         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27896         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27897         Define.
27898         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27899         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27900         Define.
27901         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27902
27903         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27904         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27905         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27906         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27907         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27908         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27909
27910         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27911         Handle f2fs.
27912
27913         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27914         Handle f2fs and efivarfs.
27915
27916         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27917         f2fs.
27918
27919         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27920         (EFIVARFS_MAGIC): Add.
27921         (F2FS_LINK_MAX): Add.
27922
27923 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27924
27925         * stdio-common/vfprintf.c: Replace __builtin_expect with
27926         __glibc_unlikely.
27927
27928 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27929
27930         [BZ #13550]
27931         * sysdeps/generic/bp-sym.h: Remove file.
27932         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27933         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27934         <bp-sym.h> and <bp-asm.h>.
27935         (__longjmp): Don't use BP_SYM.
27936         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27937         and <bp-asm.h>.
27938         (memcpy): Don't use BP_SYM.
27939         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27940         <bp-sym.h> and <bp-asm.h>.
27941         (memcpy): Don't use BP_SYM.
27942         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27943         <bp-asm.h>.
27944         (memcpy): Don't use BP_SYM.
27945         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27946         <bp-asm.h>.
27947         (memset): Don't use BP_SYM.
27948         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27949         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27950         (__bzero): Don't use BP_SYM.
27951         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27952         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27953         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27954         <bp-sym.h> and <bp-asm.h>.
27955         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27956         pointers.
27957         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27958         <bp-sym.h> and <bp-asm.h>.
27959         (memcpy): Don't use BP_SYM.
27960         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27961         <bp-sym.h> and <bp-asm.h>.
27962         (memset): Don't use BP_SYM.
27963         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27964         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27965         (__bzero): Don't use BP_SYM.
27966         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27967         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27968         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27969         <bp-sym.h> and <bp-asm.h>.
27970         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27971         pointers.
27972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27973         <bp-sym.h> and <bp-asm.h>.
27974         (memcpy): Don't use BP_SYM.
27975         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27976         <bp-sym.h> and <bp-asm.h>.
27977         (memset): Don't use BP_SYM.
27978         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27979         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27980         (__bzero): Don't use BP_SYM.
27981         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27982         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27983         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27984         <bp-sym.h> and <bp-asm.h>.
27985         (__memchr): Don't use BP_SYM.
27986         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27987         <bp-sym.h> and <bp-asm.h>.
27988         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27989         pointers.
27990         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27991         <bp-sym.h> and <bp-asm.h>.
27992         (memcpy): Don't use BP_SYM.
27993         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27994         <bp-sym.h> and <bp-asm.h>.
27995         (__mempcpy): Don't use BP_SYM.
27996         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27997         <bp-sym.h> and <bp-asm.h>.
27998         (__memrchr): Don't use BP_SYM.
27999         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28000         <bp-sym.h> and <bp-asm.h>.
28001         (memset): Don't use BP_SYM.
28002         (__bzero): Likewise.
28003         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28004         <bp-sym.h> and <bp-asm.h>.
28005         (__rawmemchr): Don't use BP_SYM.
28006         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28007         <bp-sym.h> and <bp-asm.h>.
28008         (__STRCMP): Don't use BP_SYM.
28009         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28010         <bp-sym.h> and <bp-asm.h>.
28011         (strchr): Don't use BP_SYM.
28012         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28013         <bp-sym.h> and <bp-asm.h>.
28014         (__strchrnul): Don't use BP_SYM.
28015         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28016         <bp-sym.h> and <bp-asm.h>.
28017         (strlen): Don't use BP_SYM.
28018         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28019         <bp-sym.h> and <bp-asm.h>.
28020         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28021         pointers.
28022         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28023         <bp-sym.h> and <bp-asm.h>.
28024         (__strnlen): Don't use BP_SYM.
28025         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28026         <bp-sym.h> and <bp-asm.h>.
28027         (__GI__setjmp): Don't use BP_SYM.
28028         (_setjmp): Likewise.
28029         (__sigsetjmp): Likewise.
28030         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28031         (L(start_addresses)): Don't use BP_SYM.
28032         (_start): Likewise.
28033         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28034         <bp-asm.h>.
28035         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28036         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28037         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28038         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28039         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28040         <bp-asm.h>.
28041         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28042         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28043         about bounded pointers.
28044         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28045         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28046         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28047         <bp-asm.h>.
28048         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28049         about bounded pointers.  Remove GKM FIXME comments.
28050         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28051         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28052         <bp-asm.h>.
28053         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28054         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28055         Remove GKM FIXME comments.
28056         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28057         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28058         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28059         <bp-asm.h>.
28060         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28061         about bounded pointers.  Remove GKM FIXME comment.
28062         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28063         and <bp-asm.h>.
28064         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28065         pointers.
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28067         <bp-sym.h> and <bp-asm.h>.
28068         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28070         <bp-sym.h> and <bp-asm.h>.
28071         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28072         comment.
28073
28074 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28075
28076         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28077         call free(NULL).
28078
28079 2013-03-05  David S. Miller  <davem@davemloft.net>
28080
28081         * po/es.po: Update from translation team.
28082
28083 2013-03-05  Andreas Jaeger  <aj@suse.de>
28084
28085         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28086         <bits/mman-linux.h>.
28087         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28088         is fine.
28089         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28090         <bits/mman-linux.h> to end of file.
28091         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28092         is fine.
28093         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28094         <bits/mman-linux.h> to end of file.
28095         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28096         is fine.
28097         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28098         <bits/mman-linux.h> to end of file.
28099
28100         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28101         (MCL_CURRENT, MCL_FUTURE): Define here.
28102
28103 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28104
28105         [BZ #15232]
28106         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28107         attribute_hidden.
28108         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28109
28110 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28111
28112         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28113         fourth parameter needed for rt_sigprocmask syscall.
28114         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28116         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28117         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28119         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28120
28121 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28122
28123         [BZ #13550]
28124         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28125         comment about bounded pointers.
28126         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28127         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28128
28129 2013-03-04  Andreas Jaeger  <aj@suse.de>
28130
28131         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28132         common definitions.
28133
28134         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28135         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28136         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28137         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28138         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28139         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28140
28141 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28142
28143         [BZ #15055]
28144         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28145         __ieee754_sqrl instead of __sqrl.
28146
28147 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28148
28149         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28150         * sysdeps/powerpc/fpu_control.h: ... here.
28151         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28152         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28153         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28154         * sysdeps/powerpc/bits/mathinline.h: ... here.
28155
28156 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28157
28158         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28159         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28160         to just [NEED_DL_SYSINFO_DSO].
28161         * elf/dl-support.c: Likewise.
28162         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28163         * elf/rtld.c (dl_main): Likewise.
28164         * elf/setup-vdso.h (setup_vdso): Likewise.
28165         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28166         * sysdeps/unix/sysv/linux/dl-sysdep.c
28167         (_dl_discover_osversion): Likewise.
28168
28169 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28170
28171         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28172         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28173
28174 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28175
28176         * NEWS: Mention libm performance improvements and non-x86 PI
28177         futex support.
28178
28179         * csu/libc-start.c (__pthread_initialize_minimal): Change
28180         function arguments.
28181         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28182
28183 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28184
28185         [BZ #13550]
28186         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28187         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28188         <bp-sym.h> and <bp-asm.h>.
28189         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28190         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28191         and <bp-asm.h>.
28192         (memcpy): Don't use BP_SYM.
28193         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28194         <bp-asm.h>.
28195         (__mpn_add_n): Don't use BP_SYM.
28196         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28197         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28198         and <bp-asm.h>.
28199         (__mpn_addmul_1): Don't use BP_SYM.
28200         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28201         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28202         <bp-sym.h>.
28203         (_setjmp): Don't use BP_SYM.
28204         (__novmx_setjmp): Likewise.
28205         (__GI__setjmp): Likewise.
28206         (__vmx_setjmp): Likewise.
28207         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28208         <bp-sym.h>.
28209         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28210         (__bzero): Don't use BP_SYM.
28211         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28212         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28213         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28214         <bp-sym.h> and <bp-asm.h>.
28215         (memcpy): Don't use BP_SYM.
28216         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28217         <bp-sym.h> and <bp-asm.h>.
28218         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28219         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28220         <bp-sym.h> and <bp-asm.h>.
28221         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28222         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28223         <bp-asm.h>.
28224         (__mpn_lshift): Don't use BP_SYM.
28225         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28226         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28227         <bp-asm.h>.
28228         (memset): Don't use BP_SYM.
28229         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28230         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28231         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28232         <bp-asm.h>.
28233         (__mpn_mul_1): Don't use BP_SYM.
28234         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28235         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28236         <bp-sym.h> and <bp-asm.h>.
28237         (memcmp): Don't use BP_SYM.
28238         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28239         <bp-sym.h> and <bp-asm.h>.
28240         (memcpy): Don't use BP_SYM.
28241         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28242         <bp-sym.h> and <bp-asm.h>.
28243         (memset): Don't use BP_SYM.
28244         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28245         <bp-sym.h> and <bp-asm.h>.
28246         (strncmp): Don't use BP_SYM.
28247         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28248         <bp-sym.h> and <bp-asm.h>.
28249         (memcpy): Don't use BP_SYM.
28250         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28251         <bp-sym.h> and <bp-asm.h>.
28252         (memset): Don't use BP_SYM.
28253         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28254         <bp-sym.h> and <bp-asm.h>.
28255         (__memchr): Don't use BP_SYM.
28256         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28257         <bp-sym.h> and <bp-asm.h>.
28258         (memcmp): Don't use BP_SYM.
28259         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28260         <bp-sym.h> and <bp-asm.h>.
28261         (memcpy): Don't use BP_SYM.
28262         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28263         <bp-sym.h> and <bp-asm.h>.
28264         (__mempcpy): Don't use BP_SYM.
28265         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28266         <bp-sym.h> and <bp-asm.h>.
28267         (__memrchr): Don't use BP_SYM.
28268         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28269         <bp-sym.h> and <bp-asm.h>.
28270         (memset): Don't use BP_SYM.
28271         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28272         <bp-sym.h> and <bp-asm.h>.
28273         (__rawmemchr): Don't use BP_SYM.
28274         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28275         <bp-sym.h> and <bp-asm.h>.
28276         (__STRCMP): Don't use BP_SYM.
28277         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28278         <bp-sym.h> and <bp-asm.h>.
28279         (strchr): Don't use BP_SYM.
28280         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28281         <bp-sym.h> and <bp-asm.h>.
28282         (__strchrnul): Don't use BP_SYM.
28283         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28284         <bp-sym.h> and <bp-asm.h>.
28285         (strlen): Don't use BP_SYM.
28286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28287         <bp-sym.h> and <bp-asm.h>.
28288         (strncmp): Don't use BP_SYM.
28289         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28290         <bp-sym.h> and <bp-asm.h>.
28291         (__strnlen): Don't use BP_SYM.
28292         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28293         <bp-asm.h>.
28294         (__mpn_rshift): Don't use BP_SYM.
28295         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28296         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28297         <bp-sym.h> and <bp-asm.h>.
28298         (__sigsetjmp): Don't use BP_SYM.
28299         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28300         (L(start_addresses)): Don't use BP_SYM.
28301         (_start): Likewise.
28302         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28303         <bp-asm.h>.
28304         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28305         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28306         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28307         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28308         <bp-asm.h>.
28309         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28310         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28311         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28312         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28313         <bp-asm.h>.
28314         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28315         comments.
28316         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28317         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28318         <bp-asm.h>.
28319         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28320         FIXME comments.
28321         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28322         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28323         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28324         <bp-asm.h>.
28325         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28326         comment.
28327         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28328         and <bp-asm.h>.
28329         (strncmp): Don't use BP_SYM,
28330         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28331         <bp-asm.h>.
28332         (__mpn_sub_n): Don't use BP_SYM.
28333         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28334         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28335         and <bp-asm.h>.
28336         (__mpn_submul_1): Don't use BP_SYM.
28337         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28339         <bp-sym.h> and <bp-asm.h>.
28340         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28342         <bp-sym.h> and <bp-asm.h>.
28343         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28344         comment.
28345
28346 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28347
28348         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28349         Use ZK to minimize writes to Z.
28350         (sub_magnitudes): Simplify code a bit.
28351         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28352         Use ZK to minimize writes to Z.
28353         (sub_magnitudes): Simplify code a bit.
28354
28355 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28356
28357         * csu/gmon-start.c: Add special exception to license text.
28358
28359 2013-02-27  Richard Henderson  <rth@redhat.com>
28360
28361         * scripts/config.guess: Update from config.git.
28362         * scripts/config.sub: Likewise.
28363
28364 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28365
28366         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28367
28368         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28369
28370         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28371
28372         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28373
28374         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28375
28376 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28377
28378         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28379         [$(build-shared = yes].
28380
28381 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28382
28383         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28384         (__mul): Reduce iterations for calculating mantissa.
28385
28386         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28387         MPTWO.
28388         (__mpranred): Likewise.
28389
28390         [BZ #15160]
28391         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28392         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28393
28394 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28395
28396         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28397         Define __attribute__.
28398
28399 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28400
28401         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28402         unused.
28403         * posix/regex_internal.h (__attribute): Remove.
28404         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28405         (re_string_context_at): Likewise.
28406         (bitset_not): Use __attribute__ and mark function as possibly
28407         unused.
28408         (bitset_merge): Likewise.
28409         (bitset_mask): Likewise.
28410         (re_string_char_size_at): Likewise.
28411         (re_string_wchar_at): Likewise.
28412         (re_string_elem_size_at): Likewise.
28413
28414 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28415
28416         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28417         code.
28418         (cc32): Likewise.
28419
28420         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28421         (__acr): Likewise.
28422         (__cpy): Likewise.
28423         (norm): Likewise.
28424         (denorm): Likewise.
28425         (__dbl_mp): Likewise.
28426         (add_magnitudes): Likewise.
28427         (sub_magnitudes): Likewise.
28428         (__mul): Likewise.
28429         (__inv): Likewise.
28430
28431         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28432         style.
28433
28434         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28435         style.
28436
28437         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28438         code.
28439
28440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28441         up changes with default code.
28442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28443         Likewise.
28444
28445 2013-02-24  Allan McRae  <allan@archlinux.org>
28446
28447         * manual/socket.texi (The Internet Namespace): Order menu items
28448         to match that in the file.
28449
28450         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28451         node listing of the info page menu.
28452
28453 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28454
28455         [BZ #13550]
28456         * sysdeps/i386/bp-asm.h: Remove file.
28457         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28458         (PARMS): Do not use macros from bp-asm.h.
28459         (S1): Likewise.
28460         (S2): Likewise.
28461         (SIZE): Likewise.
28462         (__mpn_add_n): Do not use BP_SYM
28463         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28464         "bp-asm.h".
28465         (PARMS): Do not use macros from bp-asm.h.
28466         (S1): Likewise.
28467         (SIZE): Likewise.
28468         (__mpn_addmul_1): Do not use BP_SYM
28469         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28470         "bp-asm.h".
28471         (PARMS): Do not use macros from bp-asm.h.
28472         (SIGMSK): Likewise.
28473         (_setjmp): Likewise.  Do not use BP_SYM.
28474         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28475         "bp-asm.h".
28476         (PARMS): Do not use macros from bp-asm.h.
28477         (SIGMSK): Likewise.
28478         (setjmp): Likewise.  Do not use BP_SYM.
28479         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28480         "bp-asm.h".
28481         (PARMS): Do not use macros from bp-asm.h.
28482         (__frexp): Do not use BP_SYM.
28483         (frexp): Likewise.
28484         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28485         "bp-asm.h".
28486         (PARMS): Do not use macros from bp-asm.h.
28487         (__frexpf): Do not use BP_SYM.
28488         (frexpf): Likewise.
28489         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28490         "bp-asm.h".
28491         (PARMS): Do not use macros from bp-asm.h.
28492         (__frexpl): Do not use BP_SYM.
28493         (frexpl): Likewise.
28494         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28495         "bp-asm.h".
28496         (PARMS): Do not use macros from bp-asm.h.
28497         (__remquo): Do not use BP_SYM.
28498         (remquo): Likewise.
28499         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28500         "bp-asm.h".
28501         (PARMS): Do not use macros from bp-asm.h.
28502         (__remquof): Do not use BP_SYM.
28503         (remquof): Likewise.
28504         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28505         "bp-asm.h".
28506         (PARMS): Do not use macros from bp-asm.h.
28507         (__remquol): Do not use BP_SYM.
28508         (remquol): Likewise.
28509         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28510         "bp-asm.h".
28511         (PARMS): Do not use macros from bp-asm.h.
28512         (DEST): Likewise.
28513         (SRC): Likewise.
28514         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28515         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28516         "bp-asm.h".
28517         (PARMS): Do not use macros from bp-asm.h.
28518         (strlen): Do not use BP_SYM.
28519         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28520         "bp-asm.h".
28521         (PARMS): Do not use macros from bp-asm.h.
28522         (S1): Likewise.
28523         (S2): Likewise.
28524         (SIZE): Likewise.
28525         (__mpn_add_n): Do not use BP_SYM.
28526         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28527         "bp-asm.h".
28528         (PARMS): Do not use macros from bp-asm.h.
28529         (S1): Likewise.
28530         (SIZE): Likewise.
28531         (__mpn_addmul_1): Do not use BP_SYM.
28532         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28533         weak_alias.
28534         (bzero): Likewise.
28535         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28536         "bp-asm.h".
28537         (PARMS): Do not use macros from bp-asm.h.
28538         (S): Likewise.
28539         (SIZE): Likewise.
28540         (__mpn_lshift): Do not use BP_SYM.
28541         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28542         "bp-asm.h".
28543         (PARMS): Do not use macros from bp-asm.h.
28544         (DEST): Likewise.
28545         (SRC): Likewise.
28546         (LEN): Likewise.
28547         (memcpy): Likewise.  Do not use BP_SYM.
28548         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28549         libc_hidden_def and weak_alias.
28550         (mempcpy): Do not use BP_SYM in weak_alias.
28551         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28552         "bp-asm.h".
28553         (PARMS): Do not use macros from bp-asm.h.
28554         (DEST): Likewise.
28555         (LEN): Likewise.
28556         [!BZERO_P] (CHR): Likewise.
28557         (memset): Likewise.  Do not use BP_SYM.
28558         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28559         "bp-asm.h".
28560         (PARMS): Do not use macros from bp-asm.h.
28561         (S1): Likewise.
28562         (SIZE): Likewise.
28563         (__mpn_mul_1): Do not use BP_SYM.
28564         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28565         "bp-asm.h".
28566         (PARMS): Do not use macros from bp-asm.h.
28567         (S): Likewise.
28568         (SIZE): Likewise.
28569         (__mpn_rshift): Do not use BP_SYM.
28570         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28571         "bp-asm.h".
28572         (PARMS): Do not use macros from bp-asm.h.
28573         (STR): Likewise.
28574         (CHR): Likewise.
28575         (strchr): Likewise.  Do not use BP_SYM.
28576         (index): Do not use BP_SYM in weak_alias.
28577         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28578         "bp-asm.h".
28579         (PARMS): Do not use macros from bp-asm.h.
28580         (DEST): Likewise.
28581         (SRC): Likewise.
28582         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28583         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28584         "bp-asm.h".
28585         (PARMS): Do not use macros from bp-asm.h.
28586         (strlen): Do not use BP_SYM.
28587         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28588         "bp-asm.h".
28589         (PARMS): Do not use macros from bp-asm.h.
28590         (S1): Likewise.
28591         (S2): Likewise.
28592         (SIZE): Likewise.
28593         (__mpn_sub_n): Do not use BP_SYM.
28594         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28595         "bp-asm.h".
28596         (PARMS): Do not use macros from bp-asm.h.
28597         (S1): Likewise.
28598         (SIZE): Likewise.
28599         (__mpn_submul_1): Do not use BP_SYM.
28600         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28601         "bp-asm.h".
28602         (PARMS): Do not use macros from bp-asm.h.
28603         (S1): Likewise.
28604         (S2): Likewise.
28605         (SIZE): Likewise.
28606         (__mpn_add_n): Do not use BP_SYM.
28607         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28608         weak_alias.
28609         (bzero): Likewise.
28610         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28611         "bp-asm.h".
28612         (PARMS): Do not use macros from bp-asm.h.
28613         (BLK2): Likewise.
28614         (LEN): Likewise.
28615         (memcmp): Do not use BP_SYM.
28616         (bcmp): Do not use BP_SYM in weak_alias.
28617         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28618         "bp-asm.h".
28619         (PARMS): Do not use macros from bp-asm.h.
28620         (DEST): Likewise.
28621         (SRC): Likewise.
28622         (LEN): Likewise.
28623         (memcpy): Likewise.  Do not use BP_SYM.
28624         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28625         "bp-asm.h".
28626         (PARMS): Do not use macros from bp-asm.h.
28627         (DEST): Likewise.
28628         (SRC): Likewise.
28629         (LEN): Likewise.
28630         (memmove): Likewise.  Do not use BP_SYM.
28631         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28632         "bp-asm.h".
28633         (PARMS): Do not use macros from bp-asm.h.
28634         (DEST): Likewise.
28635         (SRC): Likewise.
28636         (LEN): Likewise.
28637         (__mempcpy): Likewise.  Do not use BP_SYM.
28638         (mempcpy): Do not use BP_SYM in weak_alias.
28639         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28640         "bp-asm.h".
28641         (PARMS): Do not use macros from bp-asm.h.
28642         (DEST): Likewise.
28643         (LEN): Likewise.
28644         [!BZERO_P] (CHR): Likewise.
28645         (memset): Likewise.  Do not use BP_SYM.
28646         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28647         "bp-asm.h".
28648         (PARMS): Do not use macros from bp-asm.h.
28649         (STR2): Likewise.
28650         (strcmp): Do not use BP_SYM.
28651         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28652         "bp-asm.h".
28653         (PARMS): Do not use macros from bp-asm.h.
28654         (STR): Likewise.
28655         (DELIM): Likewise.
28656         [USE_AS_STRTOK_R] (SAVE): Likewise.
28657         (FUNCTION): Likewise.  Do not use BP_SYM.
28658         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28659         aliases.
28660         (strtok_r): Likewise.
28661         (__GI___strtok_r): Likewise.
28662         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28663         (PARMS): Do not use macros from bp-asm.h.
28664         (S): Likewise.
28665         (SIZE): Likewise.
28666         (__mpn_lshift): Do not use BP_SYM.
28667         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28668         (PARMS): Do not use macros from bp-asm.h.
28669         (STR): Likewise.
28670         (CHR): Likewise.
28671         (__memchr): Do not use BP_SYM.
28672         (memchr): Do not use BP_SYM in weak_alias.
28673         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28674         (PARMS): Do not use macros from bp-asm.h.
28675         (BLK2): Likewise.
28676         (LEN): Likewise.
28677         (memcmp): Do not use BP_SYM.
28678         (bcmp): Do not use BP_SYM in weak_alias.
28679         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28680         (PARMS): Do not use macros from bp-asm.h.
28681         (S1): Likewise.
28682         (SIZE): Likewise.
28683         (__mpn_mul_1): Do not use BP_SYM.
28684         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28685         "bp-asm.h".
28686         (PARMS): Do not use macros from bp-asm.h.
28687         (STR): Likewise.
28688         (CHR): Likewise.
28689         (__rawmemchr): Do not use BP_SYM.
28690         (rawmemchr): Do not use BP_SYM in weak_alias.
28691         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28692         (PARMS): Do not use macros from bp-asm.h.
28693         (S): Likewise.
28694         (SIZE): Likewise.
28695         (__mpn_rshift): Do not use BP_SYM.
28696         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28697         (PARMS): Do not use macros from bp-asm.h.
28698         (SIGMSK): Likewise.
28699         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28700         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28701         (_start): Do not use BP_SYM.
28702         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28703         (PARMS): Do not use macros from bp-asm.h.
28704         (DEST): Likewise.
28705         (SRC): Likewise.
28706         (__stpcpy): Likewise.  Do not use BP_SYM.
28707         (stpcpy): Do not use BP_SYM in weak_alias.
28708         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28709         "bp-asm.h".
28710         (PARMS): Do not use macros from bp-asm.h.
28711         (DEST): Likewise.
28712         (SRC): Likewise.
28713         (LEN): Likewise.
28714         (__stpncpy): Likewise.  Do not use BP_SYM.
28715         (stpncpy): Do not use BP_SYM in weak_alias.
28716         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28717         (PARMS): Do not use macros from bp-asm.h.
28718         (STR): Likewise.
28719         (CHR): Likewise.
28720         (strchr): Likewise.  Do not use BP_SYM.
28721         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28722         "bp-asm.h".
28723         (PARMS): Do not use macros from bp-asm.h.
28724         (STR): Likewise.
28725         (CHR): Likewise.
28726         (__strchrnul): Likewise.  Do not use BP_SYM.
28727         (strchrnul): Do not use BP_SYM in weak_alias.
28728         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28729         "bp-asm.h".
28730         (PARMS): Do not use macros from bp-asm.h.
28731         (STOP): Likewise.
28732         (strcspn): Do not use BP_SYM.
28733         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28734         "bp-asm.h".
28735         (PARMS): Do not use macros from bp-asm.h.
28736         (STR): Likewise.
28737         (STOP): Likewise.
28738         (strpbrk): Likewise.  Do not use BP_SYM.
28739         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28740         "bp-asm.h".
28741         (PARMS): Do not use macros from bp-asm.h.
28742         (STR): Likewise.
28743         (CHR): Likewise.
28744         (strrchr): Likewise.  Do not use BP_SYM.
28745         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28746         (PARMS): Do not use macros from bp-asm.h.
28747         (SKIP): Likewise.
28748         (strspn): Do not use BP_SYM.
28749         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28750         (PARMS): Do not use macros from bp-asm.h.
28751         (STR): Likewise.
28752         (DELIM): Likewise.
28753         (SAVE): Likewise.
28754         (FUNCTION): Likewise.  Do not use BP_SYM.
28755         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28756         aliases.
28757         (strtok_r): Likewise.
28758         (__GI___strtok_r): Likewise.
28759         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28760         (PARMS): Do not use macros from bp-asm.h.
28761         (S1): Likewise.
28762         (S2): Likewise.
28763         (SIZE): Likewise.
28764         (__mpn_sub_n): Do not use BP_SYM.
28765         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28766         "bp-asm.h".
28767         (PARMS): Do not use macros from bp-asm.h.
28768         (S1): Likewise.
28769         (SIZE): Likewise.
28770         (__mpn_submul_1): Do not use BP_SYM.
28771         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28772         <bp-sym.h>.
28773         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28774         and <bp-asm.h>.
28775         (PARMS): Do not use macros from bp-asm.h.
28776         (FLAGS): Likewise.
28777         (PTID): Likewise.
28778         (TLS): Likewise.
28779         (CTID): Likewise.
28780         (__clone): Do not use BP_SYM.
28781         (clone): Do not use BP_SYM in weak_alias.
28782         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28783         and <bp-asm.h>.
28784         (PARMS): Do not use macros from bp-asm.h.
28785         (LEN): Likewise.
28786         (__mmap64): Do not use BP_SYM.
28787         (mmap64): Do not use BP_SYM in weak_alias.
28788         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28789         <bp-sym.h> and <bp-asm.h>.
28790         (PARMS): Do not use macros from bp-asm.h.
28791         (__posix_fadvise64_l64): Do not use BP_SYM.
28792         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28793         (PARMS): Do not use macros from bp-asm.h.
28794         (NSOPS): Likewise.
28795         (semtimedop): Do not use BP_SYM.
28796         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28797         and <bp-asm.h>.
28798
28799 2013-02-21  Allan McRae  <allan@archlinux.org>
28800
28801         * manual/message.texi (Charset conversion in gettext):
28802         Move @end statement to beginning of line.
28803
28804 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805
28806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28807         static.
28808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28809         Likewise.
28810
28811         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28812         (denorm): Likewise.
28813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28815
28816 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28817
28818         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28819         tail-call to the resolved function if pltexit isn't needed.
28820
28821 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28822
28823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28824         or Y being zero as being unlikely.
28825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28826         Likewise.
28827
28828 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28829
28830         * manual/nss.texi (System Databases and Name Service Switch):
28831         Remove frobnicate @pxref.
28832
28833 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28834
28835         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28836         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28837
28838 2013-02-20  Petr Machata  <pmachata@redhat.com>
28839
28840         * elf/elf.h (R_ARM_TARGET1): New macro.
28841         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28842         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28843         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28844         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28845         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28846         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28847         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28848         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28849         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28850         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28851         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28852         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28853         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28854         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28855         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28856         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28857         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28858         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28859         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28860         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28861         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28862         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28863         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28864         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28865         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28866         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28867         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28868         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28869         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28870         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28871         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28872         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28873         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28874         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28875         (R_ARM_THM_GOT_BREL12): Likewise.
28876         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28877         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28878         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28879         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28880         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28881         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28882         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28883         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28884         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28885
28886 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28887
28888         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28889         __attribute_used__ to __attribute__ ((unused)).
28890
28891 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28892
28893         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28894         powerpc mpa.c.
28895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28896         comment formatting.
28897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28898
28899 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28900
28901         [BZ #13550]
28902         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28903         Remove macro.
28904         (ENTER): Remove both macro definitions.
28905         (LEAVE): Likewise.
28906         (CHECK_BOUNDS_LOW): Likewise.
28907         (CHECK_BOUNDS_HIGH): Likewise.
28908         (CHECK_BOUNDS_BOTH): Likewise.
28909         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28910         (RETURN_BOUNDED_POINTER): Likewise.
28911         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28912         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28913         (POP_ERRNO_LOCATION_RETURN): Likewise.
28914         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28915         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28916         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28917         macros.
28918         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28919         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28920         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28921         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28922         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28923         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28924         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28925         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28926         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28927         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28928         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28929         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28930         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28931         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28932         removed macros.
28933         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28934         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28935         macros.
28936         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28937         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28938         * sysdeps/i386/i586/memset.S (memset): Likewise.
28939         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28940         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28941         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28942         macros.
28943         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28944         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28945         Change uses of L(2) to L(out).
28946         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28947         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28948         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28949         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28950         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28951         removed macros.
28952         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28953         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28954         macros.
28955         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28956         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28957         (RETURN): Do not use macro LEAVE.
28958         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28959         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28960         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28961         * sysdeps/i386/i686/memset.S (memset): Likewise.
28962         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28963         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28964         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28965         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28966         Likewise.
28967         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28968         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28969         L(1_2) and L(1_3) into L(1).
28970         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28971         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28972         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28973         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28974         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28975         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28976         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28977         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28978         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28979         macros.
28980         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28981         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28982         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28983         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28984         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28985         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28986         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28987         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28988         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28989         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28990         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28991         * sysdeps/i386/strspn.S (strspn): Likewise.
28992         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28993         conditional code.
28994         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28995         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28996         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28997         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28998         L(1_3) into L(1_1).
28999         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29000         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29001         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29002         macros.
29003         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29004
29005 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29006
29007         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29008         macro.
29009
29010 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29011
29012         * math/atest-exp.c (exp_mpn): Remove ROUND.
29013         * math/atest-exp2.c (exp_mpn): Likewise.
29014         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29015
29016         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29017         * stdlib/tst-tls-atexit-lib.c: Likewise.
29018         * stdlib/tst-tls-atexit.c: Likewise.
29019
29020 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29021
29022         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29023         and __attribute_alloc_size__.
29024
29025 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29026
29027         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29028         __attribute_alloc_size__.
29029         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29030         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29031
29032 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29033
29034         * include/programs/xmalloc.h: New file.
29035         * catgets/gencat.c: Include it.
29036         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29037         * elf/pldd.c: Likewise.
29038         * iconv/iconv_charmap.c: Likewise.
29039         * iconv/iconvconfig.c: Likewise.
29040         * iconv/strtab.c: Likewise.
29041         * locale/programs/locale.c: Likewise.
29042         * locale/programs/localedef.h: Likewise.
29043         * locale/programs/simple-hash.c: Likewise.
29044         * nscd/nscd.h: Likewise.
29045         * nss/makedb.c: Likewise.
29046         * sysdeps/generic/ldconfig.h: Likewise.
29047
29048 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29049
29050         * Versions.def: Add GLIBC_2.18.
29051         * include/link.h (struct link_map): New member l_tls_dtor_count.
29052         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29053         (__call_tls_dtors): Likewise.
29054         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29055         __cxa_thread_atexit_impl.
29056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29057         Likewise.
29058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29059         Likewise.
29060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29061         Likewise.
29062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29063         Likewise.
29064         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29066         Likewise.
29067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29068         Likewise.
29069         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29071         Likewise.
29072         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29073         (tests): Add test case tst-tls-atexit.
29074         (modules-names): Add shared library for tst-tls-atexit.
29075         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29076         (GLIBC_PRIVATE): Add __call_tls_dtors.
29077         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29078         for libstdc++.
29079         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29080         * stdlib/tst-tls-atexit.c: New test case.
29081         * stdlib/tst-tls-atexit-lib.c: New test case.
29082
29083         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29084
29085         * elf/Versions (ld): Add _dl_find_dso_for_object.
29086         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29087         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29088         (dl_open_worker): Use _dl_find_dso_for_object.
29089         * elf/dl-sym.c (do_sym): Likewise.
29090         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29091
29092 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29093
29094         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29095         Syntactic changes only.
29096         (_dl_runtime_profile): Do a tail-call to the resolved function.
29097
29098 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29099
29100         [BZ #13550]
29101         * sysdeps/x86_64/bp-asm.h: Remove file.
29102         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29103         <bp-sym.h> and <bp-asm.h>.
29104         (__clone): Do not use BP_SYM.
29105         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29106         <bp-sym.h> and <bp-asm.h>.
29107         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29108         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29109         "bp-asm.h".
29110         (_setjmp): Do not use BP_SYM.
29111         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29112         "bp-asm.h".
29113         (setjmp): Do not use BP_SYM.
29114         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29115         libc_hidden_def.
29116         (mempcpy): Do not use BP_SYM in weak_alias.
29117         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29118         "bp-asm.h".
29119         (strchr): Do not use BP_SYM.
29120         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29121         "bp-asm.h".
29122         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29123         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29124         (_start): Do not use BP_SYM.
29125         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29126         "bp-asm.h".
29127         (strcat): Do not use BP_SYM.
29128         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29129         "bp-asm.h".
29130         (STRCMP): Do not use BP_SYM.
29131         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29132         "bp-asm.h".
29133         (STRCPY): Do not use BP_SYM.
29134         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29135         "bp-asm.h".
29136         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29137         "bp-asm.h".
29138         (FUNCTION): Do not use BP_SYM.
29139         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29140         weak_alias.
29141         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29142
29143 2013-02-17  Andreas Jaeger  <aj@suse.de>
29144
29145         * time/Versions: Sort entries.
29146         * string/Versions: Likewise.
29147         * resolv/Versions: Likewise.
29148         * posix/Versions: Likewise.
29149         * iconv/Versions: Likewise.
29150         * elf/Versions: Likewise.
29151         * wcsmbs/Versions: Likewise.
29152
29153 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29154
29155         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29156         loop termination condition.
29157
29158         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29159         variable to calculate EZ.
29160         (__sqr): Likewise.
29161
29162         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29163         the lower precision input.
29164
29165 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29166
29167         [BZ #13550]
29168         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29169         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29170         (run-via-rtld-prefix): Do not handle %-bp tests.
29171         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29172         (all-object-suffixes): Remove .ob.
29173         (bppfx): Remove variable.
29174         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29175         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29176         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29177         [$(build-bounded) = yes] (libtype.ob): Likewise.
29178         * Makerules (elide-routines.ob): Remove variable.
29179         (do-tests-clean): Do not handle *-bp.out.
29180         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29181         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29182         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29183         (tests): Do not include $(tests-bp.out).
29184         (xtests): Do not include $(xtests-bp.out).
29185         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29186         [$(build-bounded) = yes] ($(addprefix
29187         $(objpfx),$(binaries-bounded))): Remove rule.
29188         ($(objpfx)%-bp.out): Remove rule.
29189         * config.make.in (build-bounded): Remove variable.
29190         * crypt/Makefile [$(build-bounded) = yes]
29191         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29192         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29193         append to variable.
29194         [$(build-bounded) = yes] (install-lib): Likewise.
29195         [$(build-bounded) = yes] (generated): Likewise.
29196         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29197         Remove rule.
29198         * intl/Makefile [$(build-bounded) = yes]
29199         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29200         * math/Makefile [$(build-bounded) = yes]
29201         ($(tests:%=$(objpfx)%-bp): Likewise.
29202         * misc/Makefile [$(build-bounded) = yes]
29203         ($(objpfx)tst-tsearch-bp): Likewise.
29204         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29205         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29206         Remove dependency.
29207         * string/Makefile (o-objects.ob): Remove variable.
29208         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29209         (CFLAGS-.ob): Remove variable.
29210         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29211         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29212         both definitions of variable.
29213         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29214         (ASFLAGS-.ob): Remove variable.
29215
29216 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29217
29218         [BZ #13550]
29219         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29220         Remove __BOUNDED_POINTERS__ from condition.
29221         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29222         * string/bits/string2.h [!__NO_STRING_INLINES &&
29223         !__BOUNDED_POINTERS__]: Likewise.
29224         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29225         Likewise.
29226         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29227         Remove conditional code.
29228         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29229         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29230         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29231         condition.
29232
29233         [BZ #13550]
29234         * csu/libc-start.c: Do not include <bp-sym.h>.
29235         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29236         * elf/dl-open.c: Do not include <bp-sym.h>.
29237         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29238         * math/fegetenv.c: Do not include <bp-sym.h>.
29239         (fegetenv): Do not use BP_SYM in versioned symbols.
29240         * nptl/sysdeps/pthread/bits/libc-lockP.h
29241         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29242         <bp-sym.h>.
29243         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29244         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29245         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29246         (__pthread_mutex_destroy): Likewise.
29247         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29248         (__pthread_mutex_lock): Likewise.
29249         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29250         (__pthread_mutex_trylock): Likewise.
29251         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29252         (__pthread_mutex_unlock): Likewise.
29253         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29254         (__pthread_mutexattr_init): Likewise.
29255         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29256         (__pthread_mutexattr_destroy): Likewise.
29257         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29258         (__pthread_mutexattr_settype): Likewise.
29259         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29260         (__pthread_rwlock_init): Likewise.
29261         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29262         (__pthread_rwlock_destroy): Likewise.
29263         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29264         (__pthread_rwlock_rdlock): Likewise.
29265         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29266         (__pthread_rwlock_tryrdlock): Likewise.
29267         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29268         (__pthread_rwlock_wrlock): Likewise.
29269         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29270         (__pthread_rwlock_trywrlock): Likewise.
29271         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29272         (__pthread_rwlock_unlock): Likewise.
29273         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29274         (__pthread_key_create): Likewise.
29275         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29276         (__pthread_setspecific): Likewise.
29277         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29278         (__pthread_getspecific): Likewise.
29279         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29280         Likewise.
29281         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29282         (_pthread_cleanup_push_defer): Likewise.
29283         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29284         (_pthread_cleanup_pop_restore): Likewise.
29285         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29286         (pthread_setcancelstate): Likewise.
29287         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29288         <bp-sym.h>.
29289         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29290         (memchr): Do not use BP_SYM in weak_alias.
29291         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29292         (fegetenv): Do not use BP_SYM in versioned symbols.
29293         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29294         (fesetenv): Do not use BP_SYM in versioned symbols.
29295         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29296         (feupdateenv): Do not use BP_SYM in versioned symbols.
29297         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29298         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29299         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29300         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29301         (open64): Do not use BP_SYM in weak_alias.
29302         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29303         (fegetenv): Do not use BP_SYM in versioned symbols.
29304         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29305         (fesetenv): Do not use BP_SYM in versioned symbols.
29306         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29307         (feupdateenv): Do not use BP_SYM in versioned symbols.
29308         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29309         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29310         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29311         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29312         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29313         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29314         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29315         <bp-sym.h>.
29316         (__libc_start_main): Do not use BP_SYM.
29317
29318 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29319
29320         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29321         redundant return line.
29322         (norm): Likewise.
29323         (denorm): Likewise.
29324         (dbl_mp): Likewise.
29325         (sub_magnitudes): Likewise.
29326         (__add): Likewise.
29327         (__sub): Likewise.
29328         (__mul): Likewise.
29329         (__inv): Likewise.
29330         (__dvd): Likewise.
29331         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29332         (norm): Likewise.
29333         (denorm): Likewise.
29334         (dbl_mp): Likewise.
29335         (sub_magnitudes): Likewise.
29336         (__add): Likewise.
29337         (__sub): Likewise.
29338         (__mul): Likewise.
29339         (__inv): Likewise.
29340         (__dvd): Likewise.
29341
29342         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29343         instead of __mul.
29344         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29345         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29346         (cc32): Likewise.
29347
29348         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29349         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29350         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29351         of __mul for squares.
29352         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29353         function
29354         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29355         Likewise.
29356         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29357         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29358
29359 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29360
29361         [BZ #13550]
29362         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29363         code.
29364         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29365         prototype or function definition.  Rename ubp_* variables and
29366         parameters.  Remove argv definitions conditional on
29367         [__BOUNDED_POINTERS__].
29368         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29369         * elf/dl-runtime.c (_dl_fixup): Likewise.
29370         * include/set-hooks.h (RUN_HOOK): Likewise.
29371         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29372         definition.
29373         * string/strcpy.c (strcpy): Do not use __unbounded.
29374         * sysdeps/generic/frame.h (struct layout): Likewise.
29375         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29376         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29377         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29378         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29379         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29380         (__backtrace): Likewise.
29381         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29382         use __ptrvalue.
29383         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29384         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29385         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29386         Likewise.
29387         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29388         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29389         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29390         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29391         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29392         Do not use __unbounded.
29393         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29394         Rename __unboundedrlimits parameter to rlimits in prototype.
29395         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29396         Do not use __unbounded.
29397         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29398         not use __ptrvalue.
29399         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29400         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29401         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29402         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29403         __ptrvalue or __unbounded.
29404         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29405         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29406         use __unbounded.
29407         (__new_msgctl): Do not use __ptrvalue.
29408         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29409         __unbounded.
29410         (__libc_msgrcv): Do not use __ptrvalue.
29411         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29412         startup_info): Do not use __unbounded.
29413         (__libc_start_main): Likewise.  Rename ubp_* variables and
29414         parameters.  Remove argv definitions conditional on
29415         [__BOUNDED_POINTERS__].
29416         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29417         __ptrvalue.
29418         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29419         use __unbounded.
29420         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29421         or __ptrvalue.
29422         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29423         use __unbounded.
29424         (__new_shmctl): Do not use __ptrvalue.
29425         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29426         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29427         Likewise.
29428         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29429         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29430         (__libc_sigaction): Likewise.
29431         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29432         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29433         Likewise.
29434         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29435
29436 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29437
29438         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29439
29440         * string/mempcpy.c: Implement by calling memcpy.
29441
29442 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29443
29444         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29445
29446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29447         evaluation.
29448
29449         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29450         values in the mantissa.
29451
29452         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29453         minimize writes to Z.
29454         (sub_magnitudes): Simplify code a bit.
29455
29456 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29457
29458         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29459         from the message.  The linker prefixes all warnings with that already.
29460
29461 2013-02-12  Andreas Schwab  <schwab@suse.de>
29462
29463         [BZ #15078]
29464         * posix/regexec.c (extend_buffers): Add parameter min_len.
29465         (check_matching): Pass minimum needed length.
29466         (clean_state_log_if_needed): Likewise.
29467         (get_subexp): Likewise.
29468         * posix/Makefile (tests): Add bug-regex34.
29469         (bug-regex34-ENV): Define.
29470         * posix/bug-regex34.c: New file.
29471
29472         [BZ #11561]
29473         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29474         elements compare against the byte sequence of it, not its name.
29475         * posix/Makefile (tests): Add bug-regex35.
29476         (bug-regex35-ENV): Define.
29477         * posix/bug-regex35.c: New file.
29478
29479 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29480
29481         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29482         comment.
29483         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29484         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29485         (CHECK_EOL): Add undef.
29486
29487 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29488
29489         * bits/stdlib-bsearch.h: New file.
29490         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29491         * stdlib/stdlib.h: Likewise.
29492
29493 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29494
29495         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29496         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29497         declaration.
29498         * manual/search.texi (Array Search Function): Add missing const in
29499         lfind prototype.
29500         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29501         declaration to use rlim_t.
29502         (Basic Scheduling Functions): Remove erroneous const from
29503         sched_getparam prototype.  Remove erroneous * from
29504         sched_get_priority_max and sched_get_priority_min prototypes.
29505         (Resource Usage): Fix summary @comment on vtimes to refer to
29506         sys/vtimes.h rather than vtimes.h.
29507         Add missing *s in vtimes prototype.
29508         (Limits on Resources): Fix ulimit prototype to return long int.
29509         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29510         prototypes to use long int rather than double.
29511         (BSD Random): Fix initstate and setstate to use char *, not void *.
29512         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29513         prototype to make second argument 'struct aiocb64 *const[]'.
29514         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29515         (Status of AIO Operations): Remove erroneous const in aio_return and
29516         aio_return64 prototypes.
29517         (Synchronizing I/O): Fix sync prototype to return void.
29518         * manual/startup.texi (Suboptions): Remove an erroneous const in
29519         getsubopt prototype.
29520         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29521         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29522         use size_t rather than int.
29523         (Scanning All Users): Likewise for getpwent_r.
29524         (Setting Groups): Add missing const to setgroups prototype.
29525         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29526         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29527         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29528         'const void *' rather than 'const char *'.
29529         (Host Address Functions): Likewise for inet_ntop.
29530         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29531         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29532         ssize_t for return value.
29533         (Sending Data): Likewise for send, sendto, sendmsg.
29534         (Socket Option Functions): Add a missing const in setsockopt prototype.
29535         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29536         use wchar_t for the argument.
29537         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29538         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29539         take no arguments.
29540         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29541         double/float/long double for second argument.
29542         Fix return types of significand, significandf, significandl.
29543         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29544         argument in fchmod prototype.
29545         (File Owner): Use uid_t and gid_t in fchown prototype.
29546         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29547         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29548         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29549         use 'const struct dirent **' as argument types to CMP function pointer
29550         argument.
29551         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29552         (File Times): Fix summary magic @comment for struct utimbuf and utime
29553         to refer to utime.h, not time.h.
29554         * manual/string.texi (Argz Functions): Add missing const in
29555         argz_extract and argz_next prototypes.
29556         (Finding Tokens in a String): Likewise for basename.
29557         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29558         (Copying and Concatenation): Fix typo in wmemmove prototype.
29559         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29560         (Signal Stack): Remove erroneous const in sigstack prototype.
29561         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29562         prototype.
29563         (Simple Calendar Time): Likewise for stime.
29564         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29565         prototype.
29566         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29567         say sys/sysctl.h instead.
29568         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29569         and vsyslog prototypes.
29570
29571 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29572
29573         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29574         Remove.
29575
29576 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29577
29578         * misc/sys/mman.h: Fix typo in mremap comment.
29579
29580 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29581
29582         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29583         the '\0' terminator.
29584
29585 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29586
29587         [BZ #13550]
29588         * debug/segfault.c: Don't include <bp-checks.h>.
29589         * sysdeps/generic/bp-checks.h: Remove file.
29590         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29591         (__GETDENTS): Don't use CHECK_N.
29592         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29593         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29594         (__getgroups): Don't use CHECK_N.
29595         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29596         (setgroups): Don't use CHECK_N.
29597         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29598         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29599         (__libc_msgrcv): Don't use CHECK_N.
29600         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29601         (__libc_msgsnd): Don't use CHECK_N.
29602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29603         <bp-checks.h>.
29604         (__libc_pread): Don't use CHECK_N.
29605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29606         include <bp-checks.h>.
29607         (__libc_pread64): Don't use CHECK_N.
29608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29609         include <bp-checks.h>.
29610         (__libc_pwrite): Don't use CHECK_N.
29611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29612         include <bp-checks.h>.
29613         (__libc_pwrite64): Don't use CHECK_N.
29614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29615         <bp-checks.h>.
29616         (__libc_pread): Don't use CHECK_N.
29617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29618         include <bp-checks.h>.
29619         (__libc_pread64): Don't use CHECK_N.
29620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29621         include <bp-checks.h>.
29622         (__libc_pwrite): Don't use CHECK_N.
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29624         include <bp-checks.h>.
29625         (__libc_pwrite64): Don't use CHECK_N.
29626         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29627         (do_pread): Don't use CHECK_N.
29628         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29629         (do_pread64): Don't use CHECK_N.
29630         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29631         (do_pwrite): Don't use CHECK_N.
29632         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29633         (do_pwrite64): Don't use CHECK_N.
29634         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29635         (__libc_readv): Don't use CHECK_N.
29636         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29637         (semop): Don't use CHECK_N.
29638         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29639         <bp-checks.h>.
29640         (semtimedop): Don't use CHECK_N.
29641         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29642         (__libc_pread): Don't use CHECK_N.
29643         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29644         <bp-checks.h>.
29645         (__libc_pread64): Don't use CHECK_N.
29646         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29647         <bp-checks.h>.
29648         (__libc_pwrite): Don't use CHECK_N.
29649         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29650         <bp-checks.h>.
29651         (__libc_pwrite64): Don't use CHECK_N.
29652         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29653         <bp-checks.h>.
29654         (__libc_msgrcv): Don't use CHECK_N.
29655         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29656         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29657         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29658         (__libc_writev): Don't use CHECK_N.
29659
29660 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29661
29662         * string/strcpy.c: Removed unused variable.
29663
29664         * Makeconfig (+sysdep-includes): Define with := rather than =.
29665         Use an existing include/ subdir of each sysdeps dir before it.
29666
29667 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29668
29669         * nscd/connection.c (register_traced_file): Comment function.
29670         [HAVE_INOTIFY] (union __inev): Define.
29671         [HAVE_INOTIFY] (inotify_check_files): New function.
29672         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29673         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29674         clear_db_cache.
29675         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29676
29677 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29678
29679         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29680         loaded if not already and that a failure is permanent.
29681
29682 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29683
29684         [BZ #15006]
29685         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29686         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29687
29688 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29689
29690         [BZ #13550]
29691         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29692         (CHECK_1_NULL_OK): Likewise.
29693         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29694         (__fxstat): Do not use CHECK_1.
29695         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29696         <bp-checks.h>.
29697         (___fxstat64): Do not use CHECK_1.
29698         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29699         <bp-checks.h>.
29700         (__fxstatat): Do not use CHECK_1.
29701         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29702         <bp-checks.h>.
29703         (__fxstatat64): Do not use CHECK_1.
29704         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29705         <bp-checks.h>.
29706         (__fxstat): Do not use CHECK_1.
29707         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29708         <bp-checks.h>.
29709         (__fxstatat): Do not use CHECK_1.
29710         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29711         <bp-checks.h>.
29712         (__getresgid): Do not use CHECK_1.
29713         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29714         <bp-checks.h>.
29715         (__getresuid): Do not use CHECK_1.
29716         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29717         <bp-checks.h>.
29718         (__lxstat): Do not use CHECK_1.
29719         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29720         <bp-checks.h>.
29721         (__old_msgctl): Do not use CHECK_1.
29722         (__new_msgctl): Likewise.
29723         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29724         <bp-checks.h>.
29725         (__new_setrlimit): Do not use CHECK_1.
29726         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29727         <bp-checks.h>.
29728         (__old_shmctl): Do not use CHECK_1.
29729         (__new_shmctl): Likewise.
29730         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29731         <bp-checks.h>.
29732         (__xstat): Do not use CHECK_1.
29733         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29734         (__lxstat): Do not use CHECK_1.
29735         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29736         <bp-checks.h>.
29737         (___lxstat64): Do not use CHECK_1.
29738         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29739         (__old_msgctl): Do not use CHECK_1.
29740         (__new_msgctl): Likewise.
29741         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29742         <bp-checks.h>.
29743         (__gettimeofday): Do not use CHECK_1.
29744         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29745         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29746         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29747         <bp-checks.h>.
29748         (__gettimeofday): Do not use CHECK_1.
29749         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29750         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29751         (__new_shmctl): Do not use CHECK_1.
29752         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29753         <bp-checks.h>.
29754         (do_sigtimedwait): Do not use CHECK_1.
29755         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29756         <bp-checks.h>.
29757         (do_sigwaitinfo): Do not use CHECK_1.
29758         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29759         <bp-checks.h>.
29760         (msgctl): Do not use CHECK_1.
29761         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29762         <bp-checks.h>.
29763         (shmctl): Do not use CHECK_1.
29764         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29765         (ustat): Do not use CHECK_1.
29766         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29767         <bp-checks.h>.
29768         (__fxstat): Do not use CHECK_1.
29769         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29770         <bp-checks.h>.
29771         (__fxstatat): Do not use CHECK_1.
29772         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29773         <bp-checks.h>.
29774         (__lxstat): Do not use CHECK_1.
29775         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29776         <bp-checks.h>.
29777         (__xstat): Do not use CHECK_1.
29778         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29779         (__xstat): Do not use CHECK_1.
29780         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29781         (___xstat64): Do not use CHECK_1.
29782
29783         [BZ #13550]
29784         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29785         definitions.
29786         (CHECK_BOUNDS_HIGH): Likewise.
29787         * string/strcpy.c: Do not include <bp-checks.h>.
29788         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29789
29790 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29791
29792         * nscd/nscd-client.h (__nscd_drop_map_ref):
29793         Add __attribute__ ((unused)).
29794         * nis/nss-nisplus.h (niserr2nss): Likewise.
29795
29796         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29797         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29798
29799         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29800         Remove inline keyword.
29801         * include/rounding-mode.h (round_away): Likewise.
29802         * libio/wfileops.c (adjust_wide_data): Likewise.
29803         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29804         (__m128i_strloadu_tolower): Likewise.
29805         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29806         (__m128i_strloadu_tolower): Likewise.
29807         * time/mktime.c (ydhms_diff): Likewise.
29808         * locale/elem-hash.h (elem_hash): Likewise.
29809         * locale/setlocale.c (setdata): Likewise.
29810         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29811         (re_string_wchar_at): Likewise.
29812         (bitset_not, bitset_merge, bitset_mask): Likewise.
29813         [!(__GNUC__ > 3)] (inline): Remove macro.
29814         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29815         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29816         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29817         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29818         * string/memcmp.c (memcmp_bytes): Likewise.
29819         * locale/programs/locarchive.c (compute_hashval): Likewise.
29820         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29821         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29822         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29823         * nss/getent.c (print_rpc, print_protocols): Likewise.
29824         (print_passwd, print_group, print_aliases): Likewise.
29825         * nis/nss-nisplus.h (niserr2nss): Likewise.
29826         * nscd/connections.c (restart_p): Likewise.
29827         Change return type to bool.
29828
29829 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29830
29831         * Makeconfig (all-Depend-files): Add existing
29832         $(sorted-subdirs:=/Depend) files.
29833         (all-subdirs): Remove nss.
29834         * sysdeps/unix/inet/Subdirs: Add it here instead.
29835         * hesiod/Depend: New file.
29836
29837         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29838         instead of calling alloca.
29839
29840         * io/lseek.c (__lseek): Rename to __libc_lseek.
29841         Define __lseek as an alias.
29842
29843         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29844
29845 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29846
29847         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29848         else clause and remove check for non-standard endianness.
29849
29850 2013-02-04  David S. Miller  <davem@davemloft.net>
29851
29852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29853
29854 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29855
29856         [BZ #13550]
29857         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29858         (__ubp_memchr): Remove prototype.
29859         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29860         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29861         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29862         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29863         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29864         Remove alias.
29865         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29866         (__ubp_memchr): Likewise.
29867         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29868         (__ubp_memchr): Likewise.
29869         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29870         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29871         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29872         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29873         CHECK_STRING.
29874         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29875         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29876         (__getcwd): Do not use CHECK_STRING.
29877         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29878         <bp-checks.h>.
29879         (__real_chown): Do not use CHECK_STRING.
29880         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29881         <bp-checks.h>.
29882         (fchownat): Do not use CHECK_STRING.
29883         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29884         CHECK_STRING.
29885         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29886         <bp-checks.h>.
29887         (__lchown): Do not use CHECK_STRING.
29888         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29889         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29890         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29891         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29893         include <bp-checks.h>.
29894         (truncate64): Do not use CHECK_STRING.
29895         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29896         <bp-checks.h>.
29897         (__real_chown): Do not use CHECK_STRING.
29898         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29899         <bp-checks.h>.
29900         (__lchown): Do not use CHECK_STRING.
29901         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29902         <bp-checks.h>.
29903         (__chown): Do not use CHECK_STRING.
29904         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29905         <bp-checks.h>.
29906         (truncate64): Do not use CHECK_STRING.
29907         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29908         Likewise.
29909         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29910         (__xmknod): Do not use CHECK_STRING.
29911         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29912         <bp-checks.h>.
29913         (__xmknodat): Do not use CHECK_STRING.
29914         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29915         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29916
29917 2013-02-04  Andreas Schwab  <schwab@suse.de>
29918
29919         [BZ #14142]
29920         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29921         * include/netdb.h: Likewise for h_errno.
29922         * elf/tst-stackguard1.c: Include <tls.h>.
29923
29924 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29925
29926         * elf/link.h (struct link_map): Extend the l_addr comment.
29927         * include/link.h (struct link_map): Likewise.
29928
29929 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29930
29931         [BZ #13550]
29932         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29933         (BOUNDED_1): Remove macro.
29934         * debug/backtrace.c: Don't include <bp-checks.h>.
29935         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29936         (__backtrace): Likewise.
29937         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29938         <bp-checks.h>.
29939         (__backtrace): Don't use BOUNDED_1.
29940         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29941         <bp-checks.h>.
29942         (__backtrace): Don't use BOUNDED_1.
29943         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29944         (__backtrace): Don't use BOUNDED_1.
29945         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29946         (shmat): Don't use BOUNDED_N.
29947
29948 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29949
29950         [BZ #13550]
29951         * sysdeps/generic/bp-start.h: Remove file.
29952         * csu/libc-start.c: Don't include <bp-start.h>.
29953         (LIBC_START_MAIN): Set up __environ directly instead of using
29954         INIT_ARGV_and_ENVIRON.
29955         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29956         <bp-start.h>.
29957
29958         [BZ #13550]
29959         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29960         definitions.
29961         (CHECK_FCNTL): Likewise.
29962         (CHECK_N_PAGES): Likewise.
29963
29964         [BZ #13550]
29965         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29966         definitions.
29967         (CHECK_SIGSET_NULL_OK): Likewise.
29968         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29969         <bp-checks.h>.
29970         (sigpending): Don't use CHECK_SIGSET.
29971         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29972         <bp-checks.h>.
29973         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29974         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29975         <bp-checks.h>.
29976         (do_sigsuspend): Don't use CHECK_SIGSET.
29977         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29978         use CHECK_SIGSET.
29979         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29980         (do_sigwait): Don't use CHECK_SIGSET.
29981         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29982         use CHECK_SIGSET.
29983         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29984         include <bp-checks.h>.
29985         (sigpending): Don't use CHECK_SIGSET.
29986         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29987         include <bp-checks.h>.
29988         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29989         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29990         <bp-checks.h>.
29991         (sigpending): Don't use CHECK_SIGSET.
29992         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29993         <bp-checks.h>.
29994         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29995
29996         [BZ #13550]
29997         * sysdeps/generic/bp-semctl.h: Remove file.
29998         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29999         <bp-checks.h> and <bp-semctl.h>.
30000         (__old_semctl): Don't use CHECK_SEMCTL.
30001         (__new_semctl): Likewise.
30002         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30003         and <bp-semctl.h>.
30004         (__old_semctl): Don't use CHECK_SEMCTL.
30005         (__new_semctl): Likewise.
30006         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30007         <bp-checks.h> and <bp-semctl.h>.
30008         (__old_semctl): Don't use CHECK_SEMCTL.
30009         (__new_semctl): Likewise.
30010         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30011         <bp-checks.h> and <bp-semctl.h>.
30012         (semctl): Don't use CHECK_SEMCTL.
30013
30014         [BZ #13550]
30015         * Makerules (elide-bp-thunks): Remove variable.
30016         (elide-routines.oS): Don't use $(elide-bp-thunks).
30017         (elide-routines.os): Likewise.
30018         (elide-routines.o): Likewise.
30019         (elide-routines.op): Likewise.
30020         (elide-routines.og): Likewise.
30021         (objects): Don't use $(bp-thunks).
30022         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30023         include.
30024         (common-generated): Do not add s-proto-bp.d.
30025         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30026         (int): Likewise.
30027         (typ): Likewise.
30028         Do not generate makefile rules for bounded-pointer thunks.
30029         * sysdeps/generic/bp-thunks.h: Remove file.
30030         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30031         * sysdeps/unix/s-proto-bp.S: Likewise.
30032
30033         [BZ #15062]
30034         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30035         parts of result separately when argument is not close to line from
30036         -i to i and one part of argument is small.
30037         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30038         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30039         * math/libm-test.inc (cacos_test): Add more tests.
30040         (casin_test): Likewise.
30041         (casinh_test): Likewise.
30042         * sysdeps/i386/fpu/libm-test-ulps: Update.
30043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30044
30045 2013-01-31  David S. Miller  <davem@davemloft.net>
30046
30047         * po/de.po: Update from translation team.
30048
30049 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30050
30051         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30052
30053 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30054
30055         * configure.in (_AC_PROG_CC_C89): New definition.
30056         * configure: Regenerate.
30057
30058         * configure.in (AC_PROG_CPP): New definition.
30059         * configure: Regenerate.
30060
30061 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30062
30063         * debug/tst-backtrace.h: New file.
30064         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30065         (ret): Remove variable.
30066         (x): Likewise.
30067         (FAIL): Remove macro.
30068         (NO_INLINE): Likewise.
30069         (fn1): Use match function instead of strstr.
30070         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30071         (ret): Remove variable.
30072         (x): Likewise.
30073         (FAIL): Remove macro.
30074         (NO_INLINE): Likewise.
30075         (fn): Use match function instead of strstr.
30076         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30077         (ret): Remove variable.
30078         (x): Likewise.
30079         (FAIL): Remove macro.
30080         (NO_INLINE): Likewise.
30081         (handle_signal): Use match function instead of strstr.
30082         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30083         (ret): Remove variable.
30084         (x): Likewise.
30085         (FAIL): Remove macro.
30086         (NO_INLINE): Likewise.
30087         (handle_signal): Use match function instead of strstr.
30088
30089 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30090
30091         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30092
30093 2013-01-23  David S. Miller  <davem@davemloft.net>
30094
30095         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30096         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30097         argument of CAS if possible.
30098         * sysdeps/sparc/sparc64/bits/atomic.h
30099         (__arch_compare_and_exchange_val_32_acq): Likewise.
30100         (__arch_compare_and_exchange_val_64_acq): Likewise.
30101
30102 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30103
30104         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30105         * sysdeps/posix/ulimit.c: ... this.
30106         Include <limits.h>.
30107         * sysdeps/unix/bsd/ulimit.c: Remove file.
30108
30109 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30110
30111         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30112         (LDFLAGS-tst-array5): Likewise.
30113
30114 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30115
30116         [BZ #15036]
30117         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30118         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30119         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30120         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30121
30122 2013-01-21  David S. Miller  <davem@davemloft.net>
30123
30124         * sysdeps/sparc/backtrace.c: New file.
30125         * sysdeps/sparc/sparc32/backtrace.h: New file.
30126         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30127         * sysdeps/sparc/sparc64/backtrace.h: New file.
30128         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30129         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30130         -funwind-tables.
30131
30132 2013-01-21  Andreas Schwab  <schwab@suse.de>
30133
30134         [BZ #15020]
30135         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30136         closed its stdout.
30137
30138 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30139
30140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30141         "mpa2.h".
30142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30143
30144 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30145             Mark Mitchell  <mark@codesourcery.com>
30146             Tom de Vries  <tom@codesourcery.com>
30147             Paul Pluzhnikov  <ppluzhnikov@google.com>
30148
30149         * debug/tst-backtrace2.c: New file.
30150         * debug/tst-backtrace3.c: Likewise.
30151         * debug/tst-backtrace4.c: Likewise.
30152         * debug/tst-backtrace5.c: Likewise.
30153         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30154         (CFLAGS-tst-backtrace3.c): Likewise.
30155         (CFLAGS-tst-backtrace4.c): Likewise.
30156         (CFLAGS-tst-backtrace5.c): Likewise.
30157         (LDFLAGS-tst-backtrace2): Likewise.
30158         (LDFLAGS-tst-backtrace3): Likewise.
30159         (LDFLAGS-tst-backtrace4): Likewise.
30160         (LDFLAGS-tst-backtrace5): Likewise.
30161         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30162         tst-backtrace4 and tst-backtrace5.
30163
30164 2013-01-18  Anton Blanchard  <anton@samba.org>
30165             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30166
30167         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30168         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30169         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30170         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30172         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30173         "+r" and remove output regs list as redundant.  Add explicit inline
30174         asm to specify register of return val to work around compiler codegen
30175         bug.  Remove (int) cast on return value.  Add return type parameter to
30176         use in macro so that this macro does not truncate return value for
30177         64-bit values.
30178         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30179         pass to INTERNAL_VSYSCALL_NCS.
30180         (INLINE_VSYSCALL): Add 'long int' as return type to
30181         INTERNAL_VSYSCALL_NCS macro invocation.
30182         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30183         INTERNAL_VSYSCALL_NCS macro invocation.
30184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30185
30186 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30187
30188         [BZ #14496]
30189         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30190         Fix application of SIMD FP exception mask.
30191
30192         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30193         mp_no from a power of two.
30194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30195         __mpexp_twomm1.  Use __pow_mp.
30196
30197         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30198         multiplication.
30199
30200 2013-01-17  David S. Miller  <davem@davemloft.net>
30201
30202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30203
30204 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30205
30206         [BZ #15023]
30207         * include/complex.h: Condition contents on [!_COMPLEX_H].
30208         (__kernel_casinhf): New prototype.
30209         (__kernel_casinh): Likewise.
30210         (__kernel_casinhl): Likewise.
30211         * math/Makefile (libm_calls): Add k_casinh.
30212         * math/k_casinh.c: New file.
30213         * math/k_casinhf.c: Likewise.
30214         * math/k_casinhl.c: Likewise.
30215         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30216         finite nonzero arguments.
30217         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30218         finite nonzero arguments.
30219         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30220         finite nonzero arguments.
30221         * math/s_casinh.c: Do not include <float.h>.
30222         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30223         * math/s_casinhf.c: Do not include <float.h>.
30224         (__casinhf): Move code for finite nonzero arguments to
30225         k_casinhf.c.
30226         * math/s_casinhl.c: Do not include <float.h>.
30227         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30228         redefine.
30229         (__casinhl): Move code for finite nonzero arguments to
30230         k_casinhl.c.
30231         * math/libm-test.inc (cacos_test): Add more tests.
30232         * sysdeps/i386/fpu/libm-test-ulps: Update.
30233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30234
30235 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30236
30237         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30238         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30239         [!HAVE_MREMAP]: Remove [defined linux] case.
30240         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30241
30242 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30243
30244         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30245
30246 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30247
30248         * elf/elf.h (R_386_SIZE32): New relocation.
30249         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30250         R_386_SIZE32.
30251         (elf_machine_rela): Likewise.
30252         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30253         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30254
30255 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30256
30257         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30258         (FP_FAST_FMA): Do not define.
30259         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30260         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30261         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30262         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30263         !_SOFT_FLOAT]: Likewise.
30264         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30265         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30266         value.
30267         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30268         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30269         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30270         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30271         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30272         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30273         file.
30274
30275 2013-01-16  Andreas Schwab  <schwab@suse.de>
30276
30277         [BZ #14327]
30278         * include/stdlib.h (__mktemp): Add declaration.
30279         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30280         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30281
30282 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30283
30284         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30285         definitions.
30286         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30287         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30288         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30289         definitions here.
30290         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30291         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30292         definitions.
30293         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30294         and ONE.
30295         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30296         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30297         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30298         definitions.
30299         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30300         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30301         definitions.
30302         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30303
30304         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30305
30306 2013-01-15  David S. Miller  <davem@davemloft.net>
30307
30308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30309         trunc{,f} to libm-sysdep_routes.
30310         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30312         file.
30313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30315         file.
30316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30317         file.
30318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30320         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30321         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30322         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30323         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30324         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30325         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30326
30327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30328         nearbyint{,f} to libm-sysdep_routes.
30329         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30331         New file.
30332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30333         file.
30334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30335         New file.
30336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30337         file.
30338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30340         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30341         file.
30342         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30343         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30344         file.
30345         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30346         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30347         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30348
30349         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30350         libc_feholdexcept and libc_fesetenv.
30351
30352 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30353
30354         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30355
30356 2013-01-14  David S. Miller  <davem@davemloft.net>
30357
30358         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30359         (SPARC_ASM_VIS2_IFUNC): Likewise.
30360         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30362         use of 'siam' instruction.
30363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30364         Likewise.
30365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30366         Likewise.
30367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30368         Likewise.
30369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30370         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30371         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30372         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30374         file.
30375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30376         file.
30377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30378         file.
30379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30380         file.
30381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30386         new VIS2 routines.
30387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30390         Likewise.
30391         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30392         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30393         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30394         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30396         routines to libm-sysdep_routines.
30397         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30398
30399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30400         fdim/fdimf to libm-sysdep_routines.
30401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30402         file.
30403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30405         file.
30406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30409         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30410         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30411         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30412         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30413
30414 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30415
30416         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30417         to optimize copies.
30418
30419         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30422
30423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30424         local variable MPTWO.
30425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30426         Likewise.
30427
30428 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30429
30430         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30431         GLOB_NOESCAPE.
30432
30433 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30434
30435         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30436
30437 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30438
30439         * manual/pattern.texi (glob_t): Document gl_flags.
30440         (glob64_t): Likewise.
30441
30442 2013-01-11  David S. Miller  <davem@davemloft.net>
30443
30444         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30445         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30446         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30447         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30448         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30449         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30450         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30451         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30452         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30453         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30454         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30455         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30456         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30457
30458         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30459         sparc V9 rather than using V8 code.
30460         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30461         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30462
30463         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30464         Move to...
30465         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30466         Here.
30467
30468 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30469
30470         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30471         not in the main loop.
30472         * configure: Regenerated.
30473
30474 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30475
30476         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30477         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30478         to just #else.
30479         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30480         [!__GLIBC_HAVE_LONG_LONG] case.
30481         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30482         condition to just #else.
30483         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30484         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30485         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30486         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30487         unconditional.
30488         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30489         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30490         #elif condition to just #else.
30491         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30492         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30493         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30494         #elif condition to just #else.
30495
30496 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30497
30498         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30499         (EF_MIPS_ARCH_64): Fix value.
30500         (EF_MIPS_ARCH_32R2): New.
30501         (EF_MIPS_ARCH_64R2): New.
30502
30503 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30504
30505         * Makeconfig (+link-pie-before-libc): New.
30506         (+link-pie-after-libc): Likewise.
30507         (+link-pie-tests): Likewise.
30508         (+link-pie): Rewritten.
30509         (link-before-libc): Remove $(config-LDFLAGS).
30510         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30511         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30512         (config-LDFLAGS): Renamed to ...
30513         (rtld-LDFLAGS): This.
30514         (rtld-tests-LDFLAGS): New macro.
30515         (link-libc-rpath-link): Likewise.
30516         (link-libc-tests-rpath-link): Likewise.
30517         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30518         (link-libc): Prepand $(link-libc-rpath-link).
30519         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30520         (test-program-prefix): New macro.
30521         (test-via-rtld-prefix): Likewise.
30522         (test-program-cmd): Likewise.
30523         (host-test-program-cmd): Likewise.
30524         * Makefile ($(common-objpfx)testrun.sh): Replace
30525         $(run-program-prefix) with $(test-program-prefix).
30526         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30527         $(rtld-LDFLAGS).
30528         ($(common-objpfx)shlib.lds): Likewise.
30529         (build-module-helper): Likewise.
30530         ($(common-objpfx)format.lds): Likewise.
30531         * Rules (binaries-pie-tests): New.
30532         (binaries-pie-notests): Likewise.
30533         (binaries-pie): Rewritten.
30534         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30535         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30536         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30537         (make-test-out): Replace $(host-built-program-cmd) with
30538         $(host-test-program-cmd).
30539         * config.make.in (build-hardcoded-path-in-tests): New variable.
30540         * configure.in (--enable-hardcoded-path-in-tests): New configure
30541         option.
30542         (hardcoded_path_in_tests): New AC_SUBST.
30543         * configure: Regenerated.
30544         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30545         $(built-program-cmd) with $(test-program-cmd).
30546         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30547         (test_program_cmd): This.
30548         * elf/Makefile ($(objpfx)order.out): Run test with
30549         $(test-program-prefix).
30550         ($(objpfx)order2.out): Likewise.
30551         ($(objpfx)tst-initorder.out): Likewise.
30552         ($(objpfx)tst-initorder2.out): Likewise.
30553         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30554         $(test-program-cmd).
30555         ($(objpfx)tst-array1-static.out): Likewise.
30556         ($(objpfx)tst-array2.out): Likewise.
30557         ($(objpfx)tst-array3.out): Likewise.
30558         ($(objpfx)tst-array4.out): Likewise.
30559         ($(objpfx)tst-array5.out): Likewise.
30560         ($(objpfx)tst-array5-static.out): Likewise.
30561         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30562         $(test-program-cmd).
30563         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30564         $(run-program-prefix) with $(test-program-prefix).
30565         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30566         (test_program_prefix): This.
30567         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30568         $(run-program-prefix) with $(test-program-prefix).
30569         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30570         (test_program_prefix): This.
30571         * iconvdata/tst-tables.sh: Likewise.
30572         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30573         $(run-program-prefix) with $(test-program-prefix).
30574         ($(objpfx)tst-translit.out): Likewise.
30575         ($(objpfx)tst-gettext2.out): Likewise.
30576         ($(objpfx)tst-gettext4.out): Likewise.
30577         ($(objpfx)tst-gettext6.out): Likewise.
30578         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30579         (test_program_prefix): This.
30580         * intl/tst-gettext2.sh: Likewise.
30581         * intl/tst-gettext4.sh  Likewise.
30582         * intl/tst-gettext6.sh: Likewise.
30583         * intl/tst-translit.sh: Likewise.
30584         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30585         with $(test-program-cmd).
30586         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30587         $(run-program-prefix) with $(test-program-prefix).
30588         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30589         (test_program_prefix): This.
30590         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30591         $(run-program-prefix) with $(test-program-prefix).
30592         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30593         (test_program_prefix): This.
30594         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30595         * posix/Makefile ($(objpfx)globtest.out): Replace
30596         $(run-via-rtld-prefix) and $(test-wrapper) with
30597         $(test-program-prefix) and $(test-via-rtld-prefix).
30598         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30599         $(test-program-prefix).
30600         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30601         $(host-test-program-cmd).
30602         (tst-spawn-ARGS): Likewise.
30603         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30604         $(test-program-prefix).
30605         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30606         (test_via_rtld_prefix): This.
30607         (test_wrapper): Renamed to ...
30608         (test_program_prefix): This.
30609         (run_program_prefix): Replaced by test_program_prefix.
30610         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30611         (test_program_prefix): This.
30612         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30613         with $(host-test-program-cmd).
30614         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30615         $(run-program-prefix) with $(test-program-prefix).
30616         ($(objpfx)tst-printf.out): Likewise.
30617         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30618         $(test-program-cmd).
30619         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30620         (test_program_prefix): This.
30621         * stdio-common/tst-unbputc.sh: Likewise.
30622         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30623         $(run-program-prefix) with $(test-program-prefix).
30624         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30625         (test_program_prefix): This.
30626         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30627         $(built-program-cmd) with $(test-program-cmd).
30628
30629 2013-01-11  Andreas Jaeger  <aj@suse.de>
30630
30631         [BZ #15003]
30632         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30633         value. Sync with Linux 3.7.
30634
30635 2013-01-10  David S. Miller  <davem@davemloft.net>
30636
30637         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30638         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30639         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30640
30641 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30642
30643         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30644         never set.
30645         * configure: Regenerated.
30646
30647 2013-01-10  David S. Miller  <davem@davemloft.net>
30648
30649         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30650         sparc V9 rather than using V8 code.
30651         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30652         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30653
30654 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30655
30656         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30657         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30658         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30659         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30660         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30661         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30662         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30663         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30664         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30665         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30666         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30667         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30668         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30669         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30670         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30671         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30672         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30673         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30674         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30675         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30676         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30677         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30678         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30679         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30680         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30681         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30682         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30683
30684 2013-01-10  David S. Miller  <davem@davemloft.net>
30685
30686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30687
30688 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30689
30690         * posix/Makefile (tests-static): New variable.
30691         (tests): Add $(tests-static).
30692         (tst-exec-static-ARGS): New variable.
30693         (tst-spawn-static-ARGS): Likewise.
30694         * posix/tst-exec-static.c: New file.
30695         * posix/tst-spawn-static.c: Likewise.
30696         * posix/tst-exec.c: Support run directly.
30697         * posix/tst-spawn.c: Likewise.
30698
30699 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30700
30701         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30702         long.
30703         * math/bits/mathcalls.h (llrint): Likewise.
30704         (llround): Likewise.
30705         * stdlib/stdlib.h (struct drand48_data): Likewise.
30706         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30707         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30708         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30709         Likewise.
30710         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30711         Likewise.
30712         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30713         (elf_greg_t): Likewise.
30714         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30715         (__jmp_buf): Likewise.
30716         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30717         definitions.
30718         (llrint): Likewise, for all definitions.
30719         (llrintl): Likewise.
30720
30721         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30722         Remove [__GNUC__] condition.
30723         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30724         condition to just [__USE_ISOC99].
30725         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30726
30727 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30728
30729         [BZ #14200]
30730         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30731         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30732         defined.
30733         (_POSIX_V6_ILP32_OFF32): Likewise.
30734         (_XBS5_ILP32_OFF32): Likewise.
30735         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30736         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30737
30738 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30739
30740         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30741
30742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30743         doubles __mpexp_twomm1.  Adjust usage.
30744         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30745         Remove.
30746
30747 2013-01-10  Andreas Schwab  <schwab@suse.de>
30748
30749         [BZ #14964]
30750         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30751         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30752
30753 2013-01-09  David S. Miller  <davem@davemloft.net>
30754
30755         [BZ #15003]
30756         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30757         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30758         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30759         (TCP_FASTOPEN): Define.
30760         (tcp_repair_opt): New structure.
30761         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30762         enum values.
30763         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30764         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30765         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30766         (tcp_cookie_transactions): New structure.
30767
30768 2013-01-09  Anton Blanchard  <anton@samba.org>
30769
30770         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30771         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30773         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30774
30775 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30776
30777         * include/features.h (__USE_ANSI): Remove.
30778
30779 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30780
30781         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30782
30783         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30784
30785 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30786
30787         * sysdeps/s390/fpu/libm-test-ulps: Update.
30788
30789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30790
30791         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30792         (__acr): Likewise.
30793         (__cpy): Likewise.
30794         (norm): Likewise.
30795         (denorm): Likewise.
30796         (__mp_dbl): Likewise.
30797         (__dbl_mp): Likewise.
30798         (add_magnitudes): Likewise.
30799         (sub_magnitudes): Likewise.
30800         (__add): Likewise.
30801         (__sub): Likewise.
30802         (__mul): Likewise.
30803         (__inv): Likewise.
30804         (__dvd): Likewise.
30805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30806         (__acr): Likewise.
30807         (__cpy): Likewise.
30808         (norm): Likewise.
30809         (denorm): Likewise.
30810         (__mp_dbl): Likewise.
30811         (__dbl_mp): Likewise.
30812         (add_magnitudes): Likewise.
30813         (sub_magnitudes): Likewise.
30814         (__add): Likewise.
30815         (__sub): Likewise.
30816         (__mul): Likewise.
30817         (__inv): Likewise.
30818         (__dvd): Likewise.
30819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30820         (__acr): Likewise.
30821         (__cpy): Likewise.
30822         (norm): Likewise.
30823         (denorm): Likewise.
30824         (__mp_dbl): Likewise.
30825         (__dbl_mp): Likewise.
30826         (add_magnitudes): Likewise.
30827         (sub_magnitudes): Likewise.
30828         (__add): Likewise.
30829         (__sub): Likewise.
30830         (__mul): Likewise.
30831         (__inv): Likewise.
30832         (__dvd): Likewise.
30833
30834 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30835
30836         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30837         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30838         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30839         2 && __USE_EXTERN_INLINES]: Likewise.
30840
30841 2013-01-08  Andreas Jaeger  <aj@suse.de>
30842
30843         [BZ# 14985]
30844         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30845         Remove.
30846         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30847         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30848
30849 2013-01-07  Anton Blanchard  <anton@samba.org>
30850
30851         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30852         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30853         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30854         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30856         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30857         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30858         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30861         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30862         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30863         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30864         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30865         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30866         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30867         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30869         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30870         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30871         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30872         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30873         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30874         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30875         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30876         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30877         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30878         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30879         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30880         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30881         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30883         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30884         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30885         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30886         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30888         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30889         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30890         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30891         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30893         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30894
30895 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30896
30897         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30898         (__MALLOC_PMT): Likewise.
30899         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30900         [__GNUC__], only on [_LIBC].
30901         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30902         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30903         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30904         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30905         forward declaration.
30906         (realloc_hook_ini): Likewise.
30907         (memalign_hook_ini): Likewise.
30908         (__libc_memalign): Do not use __MALLOC_PMT in variable
30909         declaration.
30910         (__libc_valloc): Likewise.
30911         (__libc_pvalloc): Likewise.
30912         (__libc_calloc): Likewise.
30913         (__posix_memalign): Likewise.
30914
30915         [BZ #14996]
30916         * math/s_casinh.c: Include <float.h>.
30917         (__casinh): Do not do computation with squaring and square root
30918         for large arguments.
30919         * math/s_casinhf.c: Include <float.h>.
30920         (__casinhf): Do not do computation with squaring and square root
30921         for large arguments.
30922         * math/s_casinhl.c: Include <float.h>.
30923         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30924         (__casinhl): Do not do computation with squaring and square root
30925         for large arguments.
30926         * math/libm-test.inc (casin_test): Add more tests.
30927         (casinh_test): Likewise.
30928         * sysdeps/i386/fpu/libm-test-ulps: Update.
30929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30930
30931 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30932
30933         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30934         (__x86_64_raw_data_cache_size): Likewise.
30935         (__x86_64_data_cache_size_half): Likewise.
30936         (__x86_64_raw_data_cache_size_half): Likewise.
30937         (__x86_64_shared_cache_size): Likewise.
30938         (__x86_64_raw_shared_cache_size): Likewise.
30939         (__x86_64_shared_cache_size_half): Likewise.
30940         (__x86_64_raw_shared_cache_size_half): Likewise.
30941         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30942         to ...
30943         (__x86_data_cache_size): This.
30944         (__x86_64_raw_data_cache_size): Renamed to ...
30945         (__x86_raw_data_cache_size): This.
30946         (__x86_64_data_cache_size_half): Renamed to ...
30947         (__x86_data_cache_size_half): This.
30948         (__x86_64_raw_data_cache_size_half): Renamed to ...
30949         (__x86_raw_data_cache_size_half): This.
30950         (__x86_64_shared_cache_size): Renamed to ...
30951         (__x86_shared_cache_size): This.
30952         (__x86_64_raw_shared_cache_size): Renamed to ...
30953         (__x86_raw_shared_cache_size): This.
30954         (__x86_64_shared_cache_size_half): Renamed to ...
30955         (__x86_shared_cache_size_half): This.
30956         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30957         (__x86_raw_shared_cache_size_half): This.
30958         * sysdeps/x86_64/memcpy.S: Updated.
30959         * sysdeps/x86_64/memset.S: Likewise.
30960         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30961         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30962         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30963
30964 2013-01-04  David S. Miller  <davem@davemloft.net>
30965
30966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30967
30968 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30969
30970         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30971         1 to avoid redefinition warning.
30972         (__USE_GNU): Don't define.
30973         (init_signaling_nan): Protoize.
30974
30975         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30976
30977 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30978
30979         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30981         (__cpymn): Likewise.
30982         (norm): Remove commented code.
30983         (denorm): Likewise.
30984         (__mp_dbl): Likewise.
30985         (__inv): Likewise.
30986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30987         (__cpymn): Likewise.
30988         (norm): Remove commented code.
30989         (denorm): Likewise.
30990         (__mp_dbl): Likewise.
30991         (__inv): Likewise.
30992
30993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30994         mp_no value for 1.0 and 2.0.
30995         (norm): Use RADIXI instead of radixi.d.
30996         (denorm): Likewise.
30997         (__mul): Use 0.0 instead of zero.d.
30998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30999         mp_no value for 1.0 and 2.0.
31000         (norm): Use RADIXI instead of radixi.d.
31001         (denorm): Likewise.
31002         (__mul): Use 0.0 instead of zero.d.
31003
31004 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31005
31006         [BZ #14994]
31007         * math/s_casinh.c (__casinh): Reduce finite argument to first
31008         quadrant then set signs of results at the end.
31009         * math/s_casinhf.c (__casinhf): Likewise.
31010         * math/s_casinhl.c (__casinhl): Likewise.
31011         * math/libm-test.inc (casin_test): Add more tests.
31012         (casinh_test): Likewise.
31013         * sysdeps/i386/fpu/libm-test-ulps: Update.
31014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31015
31016 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31017
31018         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31019
31020         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31021
31022         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31023         declarations.
31024         (denorm): Likewise.
31025         (__mp_dbl): Likewise.
31026         (__inv): Likewise.
31027
31028         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31029         and adjust the header comment.
31030
31031         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31032         variable name from declaration.
31033
31034 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31035
31036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31037         Initialize COMMON_CPUID_INDEX_7 element.
31038         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31039         (CPUID_RTM): Likewise.
31040         (HAS_RTM): Likewise.
31041         (COMMON_CPUID_INDEX_7): New enum.
31042
31043 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31044
31045         [BZ #14981]
31046         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31047         size is zero, record memory as freed.
31048
31049 2013-01-03  Andreas Jaeger  <aj@suse.de>
31050
31051         * po/ia.po: Add new Interlingua translation.
31052
31053 2012-01-03  Allan McRae  <allan@archlinux.org>
31054
31055         * locale/programs/localedef.c: Fix description of '--posix' flag.
31056
31057 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31058
31059         * NEWS: Update dates in second copyright notice.
31060         * README: Update copyright dates in example.
31061         * manual/libc.texinfo: Update copyright dates.
31062         * scripts/test-installation.pl: Update copyright date in --version
31063         output.
31064
31065         * hurd/ctty-input.c: Fix copyright notice formatting.
31066         * hurd/ctty-output.c: Likewise.
31067         * hurd/dtable.c: Likewise.
31068         * hurd/hurd-raise.c: Likewise.
31069         * hurd/hurdprio.c: Likewise.
31070         * hurd/msgportdemux.c: Likewise.
31071         * misc/sys/file.h: Likewise.
31072         * misc/sys/ioctl.h: Likewise.
31073         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31074         * sysdeps/mach/hurd/chdir.c: Likewise.
31075         * sysdeps/mach/hurd/fchdir.c: Likewise.
31076         * sysdeps/mach/hurd/rename.c: Likewise.
31077         * sysdeps/mach/hurd/rmdir.c: Likewise.
31078         * sysdeps/mach/hurd/seekdir.c: Likewise.
31079         * sysdeps/mach/hurd/setsid.c: Likewise.
31080         * sysdeps/posix/wait3.c: Likewise.
31081
31082         * All files with FSF copyright notices: Update copyright dates
31083         using scripts/update-copyrights.
31084         * intl/plural.c: Regenerated.
31085         * locale/programs/charmap-kw.h: Likewise.
31086         * locale/programs/locfile-kw.h: Likewise.
31087
31088 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089
31090         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31091         four values.
31092
31093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31094         calculation loop and add branch prediction.
31095
31096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31097         check access beyond bounds of m1np.
31098
31099         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31100         MPTWO.
31101         (__inv): Remove local variable MPTWO to use the global
31102         constant.
31103         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31104         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31105         variable MPTWO.
31106         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31107         MP3HALFS static const.
31108
31109 2013-01-01  David S. Miller  <davem@davemloft.net>
31110
31111         * po/ca.po: Update from translation team.
31112
31113 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31114
31115         * scripts/update-copyrights: New file.
31116         * Makeconfig: Reformat copyright notice.
31117         * ctype/ctype.h: Likewise.
31118         * debug/swprintf_chk.c: Likewise.
31119         * elf/dl-cache.c: Likewise.
31120         * elf/dl-debug.c: Likewise.
31121         * elf/dl-object.c: Likewise.
31122         * grp/initgroups.c: Likewise.
31123         * hurd/Makefile: Likewise.
31124         * hurd/hurd/signal.h: Likewise.
31125         * hurd/hurdfault.c: Likewise.
31126         * hurd/hurdioctl.c: Likewise.
31127         * hurd/hurdlookup.c: Likewise.
31128         * hurd/intr-msg.c: Likewise.
31129         * iconv/gconv_open.c: Likewise.
31130         * libio/swprintf.c: Likewise.
31131         * locale/lc-ctype.c: Likewise.
31132         * locale/nl_langinfo.c: Likewise.
31133         * mach/Machrules: Likewise.
31134         * mach/Makefile: Likewise.
31135         * malloc/obstack.h: Likewise.
31136         * manual/Makefile: Likewise.
31137         * manual/tsort.awk: Likewise.
31138         * misc/bits/stab.def: Likewise.
31139         * nis/nis_print_group_entry.c: Likewise.
31140         * nis/nis_table.c: Likewise.
31141         * nis/nss_compat/compat-pwd.c: Likewise.
31142         * nis/nss_compat/compat-spwd.c: Likewise.
31143         * po/Makefile: Likewise.
31144         * posix/fnmatch.c: Likewise.
31145         * posix/regex.h: Likewise.
31146         * resolv/Makefile: Likewise.
31147         * resolv/nss_dns/dns-network.c: Likewise.
31148         * resolv/res_hconf.c: Likewise.
31149         * scripts/gen-sorted.awk: Likewise.
31150         * soft-fp/soft-fp.h: Likewise.
31151         * stdio-common/printf.h: Likewise.
31152         * stdlib/monetary.h: Likewise.
31153         * stdlib/random.c: Likewise.
31154         * stdlib/random_r.c: Likewise.
31155         * sysdeps/generic/Makefile: Likewise.
31156         * sysdeps/gnu/Makefile: Likewise.
31157         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31158         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31159         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31160         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31161         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31162         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31163         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31165         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31166         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31167         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31168         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31169         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31170         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31171         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31172         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31173         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31174         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31175         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31176         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31177         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31178         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31179         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31180         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31181         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31183         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31184         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31185         * sysdeps/mach/hurd/errnos.awk: Likewise.
31186         * sysdeps/mach/hurd/fork.c: Likewise.
31187         * sysdeps/mach/hurd/getcwd.c: Likewise.
31188         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31189         * sysdeps/mach/hurd/mmap.c: Likewise.
31190         * sysdeps/mach/hurd/utimes.c: Likewise.
31191         * sysdeps/mach/hurd/xmknod.c: Likewise.
31192         * sysdeps/posix/profil.c: Likewise.
31193         * sysdeps/posix/readdir_r.c: Likewise.
31194         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31195         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31196         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31197         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31198         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31200         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31201         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31203         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31204         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31205         * sysdeps/pthread/lio_listio.c: Likewise.
31206         * sysdeps/sparc/dl-procinfo.h: Likewise.
31207         * sysdeps/unix/i386/sysdep.S: Likewise.
31208         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31209         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31210         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31211         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31213         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31214         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31215         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31216         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31217         * sysdeps/wordsize-32/divdi3.c: Likewise.
31218         * time/sys/time.h: Likewise.
31219         * wcsmbs/Makefile: Likewise.
31220
31221 2013-01-01  David S. Miller  <davem@davemloft.net>
31222
31223         * po/fr.po: Update from translation team.
31224
31225         * catgets/gencat.c: Update copyright year.
31226         * csu/version.c: Likewise.
31227         * debug/catchsegv.sh: Likewise.
31228         * debug/pcprofiledump.c: Likewise.
31229         * debug/xtrace.sh: Likewise.
31230         * elf/ldconfig.c: Likewise.
31231         * elf/ldd.bash.in: Likewise.
31232         * elf/pldd.c: Likewise.
31233         * elf/sotruss.ksh: Likewise.
31234         * elf/sprof.c: Likewise.
31235         * iconv/iconv_prog.c: Likewise.
31236         * iconv/iconvconfig.c: Likewise.
31237         * locale/programs/locale.c: Likewise.
31238         * locale/programs/localedef.c: Likewise.
31239         * login/programs/pt_chown.c: Likewise.
31240         * malloc/memusage.sh: Likewise.
31241         * malloc/memusagestat.c: Likewise.
31242         * malloc/mtrace.pl: Likewise.
31243         * nscd/nscd.c: Likewise.
31244         * nss/getent.c: Likewise.
31245         * nss/makedb.c: Likewise.
31246         * posix/getconf.c: Likewise.
31247
31248 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31249
31250         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31251         numbers.
31252
31253 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31254
31255         * math/bits/mathcalls.h (modf): Use __nonnull.
31256
31257 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31258
31259         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31260         (split): Use macro CN instead of the bare value.
31261         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31262         could be used.
31263         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31264         instead of the bare value.
31265         (power1): Likewise.
31266
31267 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31268
31269         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31270         __ATAN_TWOM.
31271         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31272
31273         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31274         their values.
31275         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31276         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31277         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31278         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31279
31280 2012-12-28  Andreas Jaeger  <aj@suse.de>
31281
31282         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31283         values are from Linux 3.7.
31284
31285         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31286         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31287
31288 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31289
31290         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31291         TRUE case.
31292
31293         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31294         (norm): Likewise.
31295         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31296         variables with preprocessor constants.
31297         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31298         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31299         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31300
31301 2012-12-27  Bruno Haible  <bruno@clisp.org>
31302
31303         [BZ #14317]
31304         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31305         only if needed.
31306
31307 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31308
31309         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31310         and use variable directly.
31311         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31312
31313         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31314         MPONE.
31315         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31317         variable MPONE.
31318         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31319         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31320         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31321         include directive.  Remove local variable MPONE.
31322         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31323         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31324         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31325
31326 2012-12-25  David S. Miller  <davem@davemloft.net>
31327
31328         * version.h (RELEASE): Set to "development".
31329         (VERSION): Set to "2.17.90".
31330         * NEWS: Add 2.18 section.
31331
31332 2012-12-21  David S. Miller  <davem@davemloft.net>
31333
31334         * po/hr.po: Update from translation team.
31335
31336 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31337
31338         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31339
31340 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31341
31342         * NEWS:  Mention new memcpy for MIPS.
31343
31344 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31345
31346         * manual/contrib.texi (Contributors): Spelling correction.
31347
31348 2012-12-15  David S. Miller  <davem@davemloft.net>
31349
31350         * po/ru.po: Update from translation team.
31351
31352 2012-12-13  David S. Miller  <davem@davemloft.net>
31353
31354         * NEWS: Mention IFUNC testsuite enhancements.
31355
31356         * po/pl.po: Update from translation team.
31357         * po/bg.po: Likewise.
31358
31359         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31360         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31361
31362 2012-12-11  David S. Miller  <davem@davemloft.net>
31363
31364         * po/sv.po: Update from translation team.
31365
31366         * po/vi.po: Update from translation team.
31367
31368         * po/cs.po: Update from translation team.
31369
31370         * po/de.po: Update from translation team.
31371         * po/eo.po: Likewise.
31372         * po/nl.po: Likewise.
31373
31374 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31375
31376         [BZ #14246]
31377         * manual/argp.texi (Argp Helper Functions): Move node to follow
31378         Argp Parsing State.
31379
31380         [BZ #14872]
31381         * manual/conf.texi (Limits on File System Capacity): Mention if
31382         terminating null is included in the max size.
31383
31384 2012-12-10  Andreas Jaeger  <aj@suse.de>
31385
31386         * po/cs.po: Update from translation team.
31387
31388 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31389
31390         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31391         void pointer and cast to uintptr_t.
31392         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31393         path.
31394         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31395         * sysdeps/s390/s390-64/memset.S: Likewise.
31396
31397 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31398
31399         [BZ #14833]
31400         * menual/message.texi (Message Translation): Fix typos.
31401         (Helper programs for gettext): Likewise.
31402
31403 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31404
31405         [BZ #14898]
31406         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31407         Change to -1.
31408
31409 2012-12-07  David S. Miller  <davem@davemloft.net>
31410
31411         * po/libc.pot: Update.
31412
31413 2012-12-07  Richard Henderson  <rth@redhat.com>
31414
31415         [BZ #10114]
31416         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31417         normal/normal case to before the switch.
31418         (_FP_DIV): Likewise.
31419
31420 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31421             Mike Frysinger  <vapier@gentoo.org>
31422
31423         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31424         check for __NR_fadvise64_64.
31425
31426 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31427
31428         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31429         0, not just to plain "0" as a statement.
31430         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31431         with cw.
31432
31433 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31434
31435         * NEWS: Use sourceware.org in Bugzilla URL.
31436
31437 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438
31439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31440         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31441
31442         * stdio-common/tst-put-error.c (do_test): Add newline to the
31443         padded test to ensure flush.
31444
31445 2012-12-05  Jeff Law  <law@redhat.com>
31446
31447         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31448
31449 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31450
31451         * README: Don't refer to ports add-on as distributed separately.
31452         Mention AArch64 in list of systems supported in the ports add-on.
31453
31454         * LICENSES: Add more non-FSF copyright and license notices.
31455
31456         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31457         ((unused)).
31458
31459         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31460
31461         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31462         10000 as width of padded output.
31463
31464 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31465
31466         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31467
31468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31469         variable LX with __attribute__ ((unused)).
31470         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31471         Likewise.
31472         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31473         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31474         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31475         with __attribute__ ((unused)).
31476
31477 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31478
31479         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31480
31481 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31482
31483         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31484         (CFLAGS-nldbl-acos.c): New variable.
31485         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31486         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31487         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31488         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31489         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31490         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31491         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31492         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31493         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31494         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31495         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31496         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31497         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31498         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31499         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31500         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31501         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31502         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31503         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31504         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31505         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31506         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31507         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31508         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31509         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31510         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31511         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31512         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31513         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31514         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31515         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31516         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31517         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31518         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31519         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31520         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31521         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31522         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31523         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31524         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31525         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31526         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31527         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31528         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31529         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31530         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31531         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31532         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31533         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31534         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31535         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31536         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31537         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31538         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31539         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31540         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31541         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31542         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31543         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31544         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31545         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31546         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31547         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31548         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31549         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31550         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31551         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31552         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31553         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31554         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31555         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31556         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31557         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31558         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31559         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31560         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31561         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31562         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31563         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31564         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31565         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31566         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31567         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31568         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31569         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31570         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31571         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31572         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31573         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31574         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31575         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31576         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31577         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31578         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31579         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31580         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31581         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31582
31583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31584         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31585
31586         [BZ #14914]
31587         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31588         whole low double instead of just low 47 bits when splitting values
31589         into two parts.
31590
31591 2012-12-03  Allan McRae  <allan@archlinux.org>
31592
31593         * manual/stdio.texi (Predefined Printf Handlers): Remove
31594         @hsep and @vsep usage.
31595
31596 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31597
31598         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31599         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31600
31601 2012-12-03  Jeff Law  <law@redhat.com>
31602
31603         * time/sys/time.h (settimeofday): Do not mark TV argument
31604         as __nonnull.
31605
31606 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31607
31608         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31609         when currently writing and seek to current position when not.
31610         * libio/Makefile (tests): Remove bug-fclose1.
31611         * libio/bug-fclose1.c: Delete.
31612
31613 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31614
31615         * manual/arith.texi (feenableexcept): Fix typo.
31616         (fedisableexcept): Likewise.
31617
31618 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31619
31620         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31621         second, differently-typed declaration, rather than a cast.
31622
31623 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31624
31625         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31626         * include/rpc/svc.h: ... here.
31627
31628 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31629
31630         [BZ #13013]
31631         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31632         depending n and resplen2 to catch cases where answer
31633         equals answerp2.
31634
31635 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31636
31637         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31638         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31639
31640 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31641
31642         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31643
31644 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31645
31646         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31647
31648 2012-11-28  Jeff Law  <law@redhat.com>
31649
31650         [BZ #13761]
31651         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31652         dataset_temporary.  Track alloca usage into alloca_used.
31653         If dataset is large allocate and release it via malloc/free.
31654
31655 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31656
31657         [BZ #14197]
31658         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31659
31660 2012-11-28  David S. Miller  <davem@davemloft.net>
31661
31662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31663
31664 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31665
31666         [BZ #14803]
31667         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31668         of pi/2 rounded to nearest to 64 bits.
31669         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31670         nearest to 64 bits.
31671         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31672         bits.
31673
31674 2012-11-28  Jeff Law <law@redhat.com>
31675             Martin Osvald <mosvald@redhat.com>
31676
31677         [BZ #14889]
31678         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31679         * sunrpc/svc.c: Include time.h.
31680         (__svc_accept_failed): New function.
31681         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31682         any reason other than EINTR, call __svc_accept_failed.
31683         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31684         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31685
31686 2012-11-28  Andreas Schwab  <schwab@suse.de>
31687
31688         * scripts/abilist.awk: Also handle indirect functions in .opd
31689         section.
31690
31691 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31692
31693         [BZ #13881]
31694         * sysdeps/x86/fpu/powl_helper.c: New file.
31695         * sysdeps/x86/fpu/Makefile: Likewise.
31696         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31697         (p3): New object.
31698         (__ieee754_powl): Use __powl_helper for finite arguments except
31699         integer exponents below 8.
31700         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31701         (p3): New object.
31702         (__ieee754_powl): Use __powl_helper for finite arguments except
31703         integer exponents below 8.
31704         * math/libm-test.inc (pow_test): Add more tests and enable some
31705         previously disabled tests.
31706         * sysdeps/i386/fpu/libm-test-ulps: Update.
31707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31708
31709 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31710             Carlos O'Donell  <carlos_odonell@mentor.com>
31711
31712         * nss/makedb.c (is_prime): Assert that input is odd and greater
31713         than 4.  Note that fact in a comment too.
31714         (next_prime): Add 4 to input.
31715
31716 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31717
31718         [BZ #11741]
31719         * libio/Makefile (tests): Add test case tst-fwrite-error.
31720         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31721         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31722         * libio/tst-fwrite-error.c: New test case.
31723
31724 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31725
31726         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31727         before casting to void *.
31728         * include/libc-internal.h (__pointer_type): New macro.
31729         (__integer_if_pointer_type_sub): Likewise.
31730         (__integer_if_pointer_type): Likewise.
31731         (cast_to_integer): Likewise.
31732         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31733         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31734         before casting to atomic64_t.
31735         (atomic_exchange_acq): Likewise.
31736         (__arch_exchange_and_add_body): Likewise.
31737         (__arch_add_body): Likewise.
31738         (atomic_add_negative): Likewise.
31739         (atomic_add_zero): Likewise.
31740
31741 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31742
31743         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31744         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31745         (add_fdes): Likewise.
31746         (linear_search_fdes): Likewise.
31747         (binary_search_unencoded_fdes): Likewise.
31748
31749 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31750
31751         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31752
31753 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31754
31755         * configure.in: Autodetect C++ header directories.
31756         * configure: Regenerated.
31757
31758 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31759
31760         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31761
31762 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31763
31764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31765
31766 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31767
31768         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31769         LDBL_MANT_DIG == 106]: Disable some tests.
31770         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31771         Likewise.
31772         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31773         Likewise.
31774
31775         [BZ #14871]
31776         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31777         input for small inputs.  Return +/- pi/2 for large inputs.
31778         * math/libm-test.inc (atan_test): Add more tests.
31779
31780         * sysdeps/generic/unwind-dw2-fde-glibc.c
31781         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31782         __attribute__ ((unused)).
31783
31784         [BZ #14645]
31785         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31786         x * y if x and y are nonzero and z is zero.
31787
31788         [BZ #14811]
31789         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31790         nonzero exponents with absolute value below 0x1p-117 to +/-
31791         0x1p-117.
31792
31793         [BZ #14869]
31794         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31795         up arguments below 2**-450, not just those below 2**-500.
31796         * math/libm-test.inc (hypot_test): Add another test.
31797
31798         [BZ #14868]
31799         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31800         Return a+b for ratio over 2**120, not 2**60.
31801         * math/libm-test.inc (hypot_test): Add another test.
31802
31803         * math/libm-test.inc (clog_test): Use
31804         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31805         (clog10_test): Likewise.
31806
31807         [BZ #6778]
31808         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31809
31810 2012-11-22  Andreas Schwab  <schwab@suse.de>
31811
31812         * sysdeps/i386/fpu/libm-test-ulps: Update.
31813
31814 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31815
31816         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31817         printf output with newline.
31818
31819 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31820
31821         [BZ #14865]
31822         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31823         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31824         -z nodlopen, -z initfirst and -z execstack support.
31825         * configure: Regenerated.
31826
31827         * elf/elf.h (DF_1_NODIRECT): New macro.
31828         (DF_1_IGNMULDEF): Likewise.
31829         (DF_1_NOKSYMS): Likewise.
31830         (DF_1_NOHDR): Likewise.
31831         (DF_1_EDITED): Likewise.
31832         (DF_1_NORELOC): Likewise.
31833         (DF_1_SYMINTPOSE): Likewise.
31834         (DF_1_GLOBAUDIT): Likewise.
31835         (DF_1_SINGLETON): Likewise.
31836         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31837         DT_1_SUPPORTED_MASK bits.
31838         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31839
31840 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31841
31842         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31843
31844 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31845
31846         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31847         macro.
31848
31849         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31850         (sendmmsg): Move declarations...
31851         * socket/sys/socket.h: ... here.
31852         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31853         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31854         include it from...
31855         * socket/recvmmsg.c: ... this new file.
31856         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31857         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31858         definition of __sendmmsg hidden.
31859         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31860         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31861         Move ENOSYS stub into and include it from...
31862         * socket/sendmmsg.c: ... this new file.
31863         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31864         (sysdep_routines): Move recvmmsg and sendmmsg...
31865         * socket/Makefile (routines): ... here.
31866         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31867         (GLIBC_PRIVATE): Add __sendmmsg.
31868         * include/sys/socket.h (__sendmmsg): Add declarations.
31869         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31870         sendmmsg.
31871
31872 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31873
31874         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31875         variable I1 with __attribute__ ((unused)).
31876         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31877
31878 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31879
31880         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31881         DUMMY variables with __attribute__ ((unused)).
31882
31883         * bits/byteswap.h: Include <bits/types.h>.
31884         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31885
31886 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31887
31888         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31889         string_t.  Do not manually set errno.
31890         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31891         length with __strnlen.  Make sure to both set errno and return it on
31892         failure.
31893
31894 2012-11-19  David S. Miller  <davem@davemloft.net>
31895
31896         With help from Joseph Myers.
31897         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31898         very large arguments properly.
31899         * math/libm-test.inc (atan_test): New tests.
31900         (atan2_test): New tests.
31901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31902         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31903
31904 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31905
31906         [BZ #14856]
31907         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31908         Define to 3.
31909
31910         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31911         [POSIX] (EADDRNOTAVAIL): Likewise.
31912         [POSIX] (EAFNOSUPPORT): Likewise.
31913         [POSIX] (EALREADY): Likewise.
31914         [POSIX] (ECONNABORTED): Likewise.
31915         [POSIX] (ECONNREFUSED): Likewise.
31916         [POSIX] (ECONNRESET): Likewise.
31917         [POSIX] (EDESTADDRREQ): Likewise.
31918         [POSIX] (EDQUOT): Likewise.
31919         [POSIX] (EHOSTUNREACH): Likewise.
31920         [POSIX] (EIDRM): Likewise.
31921         [POSIX] (EISCONN): Likewise.
31922         [POSIX] (ELOOP): Likewise.
31923         [POSIX] (EMULTIHOP): Likewise.
31924         [POSIX] (ENETDOWN): Likewise.
31925         [POSIX] (ENETUNREACH): Likewise.
31926         [POSIX] (ENOBUFS): Likewise.
31927         [POSIX] (ENODATA): Likewise.
31928         [POSIX] (ENOLINK): Likewise.
31929         [POSIX] (ENOMSG): Likewise.
31930         [POSIX] (ENOPROTOOPT): Likewise.
31931         [POSIX] (ENOSR): Likewise.
31932         [POSIX] (ENOSTR): Likewise.
31933         [POSIX] (ENOTCONN): Likewise.
31934         [POSIX] (ENOTSOCK): Likewise.
31935         [POSIX] (EOPNOTSUPP): Likewise.
31936         [POSIX] (EOVERFLOW): Likewise.
31937         [POSIX] (EPROTO): Likewise.
31938         [POSIX] (EPROTONOSUPPORT): Likewise.
31939         [POSIX] (EPROTOTYPE): Likewise.
31940         [POSIX] (ESTALE): Likewise.
31941         [POSIX] (ETIME): Likewise.
31942         [POSIX] (ETXTBSY): Likewise.
31943         [POSIX] (EWOULDBLOCK): Likewise.
31944         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31945         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31946         [POSIX] (SEEK_CUR): Likewise.
31947         [POSIX] (SEEK_END): Likewise.
31948         [POSIX || UNIX98] (mode_t): Do not require.
31949         [POSIX] (off_t): Likewise.
31950         [POSIX] (pid_t): Likewise.
31951         [POSIX] (sys/stat.h): Do not allow header.
31952         [POSIX] (unistd.h): Likewise.
31953         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31954         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31955         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31956         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31957         require.
31958         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31959         sigevent): Specify elements.
31960         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31961         entry.
31962         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31963         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31964
31965         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31966         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31967         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31968         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31969         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31970         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31971         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31972         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31973         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31974         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31975         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31976         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31977         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31978         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31979         Likewise.
31980         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31981         Likewise.
31982         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31983         Likewise.
31984         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31985         Likewise.
31986         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31987         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31988         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31989         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31990         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31991         Specify lower bound on value.
31992         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31993         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31994         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31995         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31996         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31997         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31998         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31999         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32000         value.
32001         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32002         as optional.
32003         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32004         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32005         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32006         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32007         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32008         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32009         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32010         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32011         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32012         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32013         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32014         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32015         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32016         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32017         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32018         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32019         entry.
32020         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32021         optional.
32022         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32023         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32024         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32025         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32026         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32027         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32028         Likewise.
32029         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32030         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32031         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32032         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32033         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32034         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32035         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32036         as optional.
32037         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32038         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32039         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32040         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32041         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32042         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32043         specify as optional.
32044         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32045         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32046         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32047         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32048         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32049         [XPG3] (NL_LANGMAX): Likewise.
32050         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32051         [POSIX || XPG3] (NL_NMAX): Likewise.
32052         [POSIX || XPG3] (NL_SETMAX): Likewise.
32053         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32054         [XPG3] (NZERO): Likewise.
32055         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32056         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32057         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32058         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32059         (REG_ERANGE): Expect.
32060         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32061         optional-constant.
32062         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32063         Use (void) in prototype.
32064         [POSIX] (*_t): Allow.
32065         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32066         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32067         (WRDE_BADVAL): Expect.
32068
32069         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32070         expect.
32071         [XPG3 || XPG4] (O_RSYNC): Likewise.
32072         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32073         Likewise.
32074         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32075         [XPG3 || XPG4] (sigqueue): Likewise.
32076         [XPG3 || XPG4] (sigtimedwait): Likewise.
32077         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32078         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32079         [XPG3 || XPG4] (vsnprintf): Likewise.
32080         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32081         Likewise.
32082         [XPG3 || XPG4] (blksize_t): Likewise.
32083         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32084         Likewise.
32085         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32086         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32087         [XPG3 || XPG4] (struct itimerspec): Likewise.
32088         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32089         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32090         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32091         [XPG3 || XPG4] (clockid_t): Likewise.
32092         [XPG3 || XPG4] (timer_t): Likewise.
32093         [XPG3 || XPG4] (clock_getres): Likewise.
32094         [XPG3 || XPG4] (clock_gettime): Likewise.
32095         [XPG3 || XPG4] (clock_settime): Likewise.
32096         [XPG3 || XPG4] (nanosleep): Likewise.
32097         [XPG3 || XPG4] (timer_create): Likewise.
32098         [XPG3 || XPG4] (timer_delete): Likewise.
32099         [XPG3 || XPG4] (timer_gettime): Likewise.
32100         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32101         [XPG3 || XPG4] (timer_settime): Likewise.
32102         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32103         [XPG3 || XPG4] (getlogin_r): Likewise.
32104         [XPG3 || XPG4] (pread): Likewise.
32105         [XPG3 || XPG4] (pthread_atfork): Likewise.
32106         [XPG3 || XPG4] (pwrite): Likewise.
32107
32108         [BZ #14835]
32109         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32110         <bits/siginfo.h>.
32111
32112 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32113
32114         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32115         finalizing MALLSTREAM.
32116
32117         * sysdeps/mach/hurd/syncfs.c: New file.
32118
32119 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32120
32121         [BZ #14719]
32122         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32123         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32125         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32126         (_nss_dns_gethostbyname4_r): Likewise.
32127         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32128         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32129
32130 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32131
32132         [BZ #13763]
32133         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32134
32135 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32136
32137         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32138         * elf/cache.c (print_entry): Print ",AArch64" for
32139         FLAG_AARCH64_LIB64
32140
32141         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32142         * elf/cache.c (print_entry): Print ",hard-float" for
32143         FLAG_ARM_LIBHF.
32144
32145 2012-11-18  David S. Miller  <davem@davemloft.net>
32146
32147         With help from Joseph Myers.
32148         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32149         cutoff to 2**-13.
32150         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32151         cutoff to 2**-25.
32152         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32153         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32154         small.
32155         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32156         * math/libm-test.inc (y0_test): New tests.
32157         (y1_test): New tests.
32158         * sysdeps/i386/fpu/libm-test-ulps: Update.
32159         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32161
32162 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32163
32164         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32165         64-bit targets.
32166         * configure: Regenerated.
32167
32168 2012-11-17  David S. Miller  <davem@davemloft.net>
32169
32170         [BZ #14811]
32171         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32172         nonzero exponents with absolute value below 0x1p-128 to +/-
32173         0x1p-128.
32174
32175 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32176
32177         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32178
32179         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32180
32181         * posix/getconf-speclist.c: New file.
32182         * posix/posix-envs.def: Likewise.
32183         * posix/confstr.c (START_ENV_GROUP): New macro.
32184         (END_ENV_GROUP): Likewise.
32185         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32186         (KNOWN_PRESENT_ENV_STRING): Likewise.
32187         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32188         (UNKNOWN_ENVIRONMENT): Likewise.
32189         (confstr): Include posix-envs.def instead of handling
32190         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32191         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32192         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32193         (END_ENV_GROUP): Likewise.
32194         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32195         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32196         (UNKNOWN_ENVIRONMENT): Likewise.
32197         (__sysconf): Include posix-envs.def instead of handling associated
32198         cases directly here.
32199         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32200         preprocessing getconf-speclist.c rather than running getconf or
32201         generating empty file.
32202
32203 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32204
32205         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32206
32207 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32208
32209         [BZ #14672]
32210         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32211
32212 2012-11-16  David S. Miller  <davem@davemloft.net>
32213
32214         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32215         smaller than LDBL_EPSILON/2.0L, just return xm1.
32216
32217 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32218
32219         * elf/tst-array1.c (init): Set constructor priority to 1000.
32220         (fini): Set destructor priority to 1000.
32221         * elf/tst-array2dep.c: Likewise.
32222
32223 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32224
32225         [BZ #11741]
32226         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32227         (_IO_new_file_xsputn): Also return EOF if none of the input
32228         data was written when overflow failed.
32229         * libio/iopadn.c (_IO_padn): Likewise.
32230         * libio/iowpadn.c (_IO_wpadn): Likewise.
32231         * stdio-common/tst-put-error.c: Add copyright notice.
32232         (do_test): Add case for printing padded string.
32233         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32234         _IO_padn returned error.
32235         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32236         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32237         return EOF.
32238
32239 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32240
32241         * libio/libioP.h: Add comment note that the references to C++
32242         bits are now obsolete.
32243
32244 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32245
32246         * math/libm-test.inc (check_complex): Use asprintf.
32247
32248 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32249
32250         * debug/pcprofiledump.c (print_version): Update copyright year.
32251         * malloc/memusagestat.c (print_version): Likewise.
32252
32253 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32254
32255         [BZ #14831]
32256         * elf/Makefile (tests): Add tst-audit8.
32257         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32258         ($(objpfx)tst-audit8.out): New target.
32259         (tst-audit8-ENV): New variable.
32260         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32261         audit if l_reloc_result is NULL.
32262         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32263         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32264         * elf/tst-audit8.c: New file.
32265
32266 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32267
32268         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32269         * misc/Makefile (CFLAGS-select.c): Define.
32270         * posix/Makefile (CFLAGS-pause.c): Define.
32271
32272 2012-11-13  David S. Miller  <davem@davemloft.net>
32273
32274         * crypt/Makefile: Move test targets after toplevel Rules
32275         inclusion.  Grab any necessary sysdep routines when linking.
32276         * crypt/md5.c (md5_process_block): Remove define, we will always
32277         name it __md5_process_block.
32278         (md5_finish_ctx): Update md5_process_block call.
32279         (md5_stream): Likewise.
32280         (md5_process_bytes): Likewise.
32281         (md5_process_block): Rename to __md5_process_block and move to ...
32282         * crypt/md5-block.c: ... here.
32283         * crypt/sha256.c (sha256_process_block): Move to ...
32284         * crypt/sha256-block.c: ... here.
32285         * crypt/sha512.c (sha512_process_block): Move to ...
32286         * crypt/sha512-block.c: ... here.
32287         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32288         path.
32289         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32290         * sysdeps/sparc/sparc64/multiarch/Makefile
32291         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32292         crypt subdir.
32293         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32294         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32295         multiarch changes.
32296         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32297         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32298         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32299         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32300         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32301         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32302         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32303         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32304         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32305         file.
32306         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32307         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32308         file.
32309         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32310
32311 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32312
32313         * timezone/tzselect.ksh: Update from tzcode git revision
32314         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32315         * timezone/zdump.c: Likewise.
32316         * timezone/zic.c: Likewise.
32317         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32318         in TZVERSION setting, not $(PKGVERSION).
32319         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32320         REPORT_BUGS_TO settings.
32321
32322         [BZ #14838]
32323         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32324         macro.
32325
32326 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32327
32328         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32329         detection to immediately after _FP_ROUND().
32330         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32331         bits are 0.
32332
32333 2012-11-11  David S. Miller  <davem@davemloft.net>
32334
32335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32336         inttypes.h
32337         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32338         __close rather than their public counterparts.
32339
32340 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32341
32342         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32343         file.
32344         [UNIX98] (sem_timedwait): Do not expect.
32345         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32346         [XPG4 || UNIX98] (sockatmark): Do not expect.
32347         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32348         (clock_getcpuclockid): Do not expect.
32349         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32350         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32351         Do not expect.
32352         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32353         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32354         [UNIX98] (vwscanf): Likewise.
32355         [UNIX98] (vswscanf): Likewise.
32356
32357 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32358
32359         * timezone/version.h: Remove file.
32360         * timezone/README: Do not refer to version.h.
32361         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32362         $(objpfx)version.h.
32363         ($(objpfx)zdump.o): Likewise.
32364         ($(objpfx)version.h): New target.
32365
32366         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32367         2012i.
32368         * timezone/README: Don't mention modification to tzselect.ksh.
32369         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32370         work on unmodified tzselect.ksh.  Substitute version numbers in
32371         tzselect.ksh.
32372
32373         * Makefile (format-me): Remove.
32374         (INSTALL): Adjust indentation.  Use commands directly instead of
32375         using $(format-me).
32376
32377         * aclocal.m4 (ACX_PKGVERSION): New macro.
32378         (ACX_BUGURL): Likewise.
32379         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32380         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32381         (REPORT_BUGS_TO): Likewise.
32382         * configure: Regenerated.
32383         * config.h.in (PKGVERSION): New macro.
32384         (REPORT_BUGS_TO): Likewise.
32385         * config.make.in (PKGVERSION): New variable.
32386         (PKGVERSION_TEXI): Likewise.
32387         (REPORT_BUGS_TO): Likewise.
32388         (REPORT_BUGS_TEXI): Likewise.
32389         * Makefile (format-me): Use -I$(common-objpfx)manual.
32390         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32391         ($(common-objpfx)manual/%): New target.
32392         (manual/%): Remove target.
32393         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32394         (print_version): Use PKGVERSION.
32395         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32396         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32397         and REPORT_BUGS_TO.
32398         ($(objpfx)xtrace): Likewise.
32399         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32400         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32401         (print_version): Use PKGVERSION.
32402         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32403         (do_version): Use PKGVERSION.
32404         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32405         REPORT_BUGS_TO.
32406         (common-ldd-rewrite): Likewise.
32407         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32408         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32409         (print_version): Use PKGVERSION.
32410         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32411         * elf/pldd.c (argp_program_bug_address): Remove variable.
32412         (more_help): New function.
32413         (argp): Use more_help.
32414         (print_version): Use PKGVERSION.
32415         * elf/sln.c (main): Use PKGVERSION.
32416         (usage): Use REPORT_BUGS_TO.
32417         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32418         (top level): Use PKGVERSION.
32419         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32420         (print_version): Use PKGVERSION.
32421         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32422         (print_version): Use PKGVERSION.
32423         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32424         (print_version): Use PKGVERSION.
32425         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32426         (print_version): Use PKGVERSION.
32427         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32428         (print_version): Use PKGVERSION.
32429         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32430         (print_version): Use PKGVERSION.
32431         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32432         and BUGURL.
32433         ($(objpfx)memusage): Likewise.
32434         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32435         (do_version): Use PKGVERSION.
32436         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32437         (print_version): Use PKGVERSION.
32438         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32439         ($PKGVERSION): New variable.
32440         ($REPORT_BUGS_TO): Likewise.
32441         (usage): Use $REPORT_BUGS_TO.
32442         (top level): Use $PKGVERSION.
32443         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32444         ($(objpfx)pkgvers.texi): New rule.
32445         ($(objpfx)stamp-pkgvers): Likewise.
32446         * manual/install.texi: Include pkgvers.texi.
32447         (--with-pkgversion): Document new configure option.
32448         (--with-bugurl): Likewise.
32449         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32450         than necessarily for this particular distribution.  Use
32451         REPORT_BUGS_TO for where to report bugs.
32452         * INSTALL: Regenerated.
32453         * manual/libc.texinfo: Include pkgvers.texi.
32454         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32455         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32456         (print_version): Use PKGVERSION.
32457         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32458         (print_version): Use PKGVERSION.
32459         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32460         (print_version): Use PKGVERSION.
32461         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32462         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32463         macro.
32464         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32465         (print_version): Use PKGVERSION.
32466         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32467         (print_version): Use PKGVERSION.
32468         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32469         and PKGVERSION.
32470
32471         * timezone/checktab.awk: Update from tzcode 2012i.
32472         * timezone/ialloc.c: Likewise.
32473         * timezone/private.h: Likewise.
32474         * timezone/scheck.c: Likewise.
32475         * timezone/tzfile.h: Likewise.
32476         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32477         (TZVERSION): Hardcode tzcode version number.
32478         * timezone/zdump.c: Update from tzcode 2012i.
32479         * timezone/zic.c: Likewise.
32480         * timezone/version.h: New file.
32481         * timezone/README: Describe version.h.  Update upstream location.
32482
32483         [BZ #14824]
32484         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32485         (mktemp): Enable declaration.
32486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32487         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32489         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32490         Likewise.
32491         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32492         Likewise.
32493         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32494         Likewise.
32495         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32496         Likewise.
32497         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32498         Likewise.
32499         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32500         Likewise.
32501
32502         [BZ #14821]
32503         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32504         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32505         for copies of such integer values.
32506         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32507         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32508
32509 2012-11-09  Andreas Jaeger  <aj@suse.de>
32510
32511         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32512         definitions and declarations that are provided by
32513         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32514
32515 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32516
32517         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32518         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32519         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32520         definition.
32521
32522 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32523
32524         * elf/elf.h: Update comment before AArch64 relocations.
32525
32526 2012-11-07  David S. Miller  <davem@davemloft.net>
32527
32528         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32529         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32530         (__start_context): Declare.
32531         (__makecontext_ret): Delete.
32532         (__makecontext): Hook up __start_context instead of
32533         __makecontext_ret.
32534         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32535         (sysdep_routines): Add __start_context when in stdlib.
32536
32537 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32538
32539         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32540         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32541         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32542         hardcoded "nm".
32543         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32544         (READELF): New variable.  Use it instead of hardcoded "readelf".
32545
32546 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32547
32548         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32549         * sysdeps/x86/Makefile: Here.
32550         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32551         * sysdeps/x86/tst-xmmymm.sh: This.
32552
32553 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32554
32555         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32556         expectations.
32557         [UNIX98] (pthread_barrier_t): Do not expect.
32558         [UNIX98] (pthread_barrierattr_t): Likewise.
32559         [UNIX98] (pthread_spinlock_t): Likewise.
32560         [UNIX98] (pthread_barrier_destroy): Likewise.
32561         [UNIX98] (pthread_barrier_init): Likewise.
32562         [UNIX98] (pthread_barrier_wait): Likewise.
32563         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32564         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32565         [UNIX98] (pthread_barrierattr_init): Likewise.
32566         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32567         [UNIX98] (pthread_getcpuclockid): Likewise.
32568         [UNIX98] (pthread_mutex_timedlock): Likewise.
32569         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32570         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32571         [UNIX98] (pthread_sigmask): Likewise.
32572         [UNIX98] (pthread_spin_destroy): Likewise.
32573         [UNIX98] (pthread_spin_init): Likewise.
32574         [UNIX98] (pthread_spin_lock): Likewise.
32575         [UNIX98] (pthread_spin_trylock): Likewise.
32576         [UNIX98] (pthread_spin_unlock): Likewise.
32577         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32578         Do not expect.
32579         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32580         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32581         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32582         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32583         [XPG3 || XPG4] (pthread_key_t): Likewise.
32584         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32585         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32586         [XPG3 || XPG4] (pthread_once_t): Likewise.
32587         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32588         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32589         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32590         [XPG3 || XPG4] (pthread_t): Likewise.
32591
32592         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32593         not expect.
32594         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32595
32596         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32597         Change function return type to int.
32598
32599         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32600         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32601         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32602         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32603         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32604         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32605         [!POSIX] (posix_madvise): Likewise.
32606         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32607         && !UNIX98].
32608         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32609         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32610         (mode_t): Likewise.
32611         (posix_mem_offset): Likewise.
32612         (posix_typed_mem_get_info): Likewise.
32613         (posix_typed_mem_open): Likewise.
32614
32615         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32616         Change condition to [XOPEN2K8].
32617
32618         * conform/conformtest.pl: Preprocess allow-header data with -x c
32619         instead of from stdin.
32620         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32621         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32622         [C99-based standards] (cerfc): Likewise.
32623         [C99-based standards] (cexp2): Likewise.
32624         [C99-based standards] (cexpm1): Likewise.
32625         [C99-based standards] (clog10): Likewise.
32626         [C99-based standards] (clog1p): Likewise.
32627         [C99-based standards] (clog2): Likewise.
32628         [C99-based standards] (clgamma): Likewise.
32629         [C99-based standards] (ctgamma): Likewise.
32630         [C99-based standards] (cerff): Likewise.
32631         [C99-based standards] (cerfcf): Likewise.
32632         [C99-based standards] (cexp2f): Likewise.
32633         [C99-based standards] (cexpm1f): Likewise.
32634         [C99-based standards] (clog10f): Likewise.
32635         [C99-based standards] (clog1pf): Likewise.
32636         [C99-based standards] (clog2f): Likewise.
32637         [C99-based standards] (clgammaf): Likewise.
32638         [C99-based standards] (ctgammaf): Likewise.
32639         [C99-based standards] (cerfl): Likewise.
32640         [C99-based standards] (cerfcl): Likewise.
32641         [C99-based standards] (cexp2l): Likewise.
32642         [C99-based standards] (cexpm1l): Likewise.
32643         [C99-based standards] (clog10l): Likewise.
32644         [C99-based standards] (clog1pl): Likewise.
32645         [C99-based standards] (clog2l): Likewise.
32646         [C99-based standards] (clgammal): Likewise.
32647         [C99-based standards] (ctgammal): Likewise.
32648         * conform/data/inttypes.h-data [C99-based standards]: Include
32649         stdint.h-data.  Remove all expectations for stdint.h contents.
32650         [C99-based standards] (PRI*): Do not allow.
32651         [C99-based standards] (SCN*): Likewise.
32652         [C99-based standards] (*_t): Likewise.
32653         [C99-based-standards] (PRId8): Expect macro.
32654         [C99-based-standards] (PRIi8): Likewise.
32655         [C99-based-standards] (PRIo8): Likewise.
32656         [C99-based-standards] (PRIu8): Likewise.
32657         [C99-based-standards] (PRIx8): Likewise.
32658         [C99-based-standards] (PRIX8): Likewise.
32659         [C99-based-standards] (SCNd8): Likewise.
32660         [C99-based-standards] (SCNi8): Likewise.
32661         [C99-based-standards] (SCNo8): Likewise.
32662         [C99-based-standards] (SCNu8): Likewise.
32663         [C99-based-standards] (SCNx8): Likewise.
32664         [C99-based-standards] (PRIdLEAST8): Likewise.
32665         [C99-based-standards] (PRIiLEAST8): Likewise.
32666         [C99-based-standards] (PRIoLEAST8): Likewise.
32667         [C99-based-standards] (PRIuLEAST8): Likewise.
32668         [C99-based-standards] (PRIxLEAST8): Likewise.
32669         [C99-based-standards] (PRIXLEAST8): Likewise.
32670         [C99-based-standards] (SCNdLEAST8): Likewise.
32671         [C99-based-standards] (SCNiLEAST8): Likewise.
32672         [C99-based-standards] (SCNoLEAST8): Likewise.
32673         [C99-based-standards] (SCNuLEAST8): Likewise.
32674         [C99-based-standards] (SCNxLEAST8): Likewise.
32675         [C99-based-standards] (PRIdFAST8): Likewise.
32676         [C99-based-standards] (PRIiFAST8): Likewise.
32677         [C99-based-standards] (PRIoFAST8): Likewise.
32678         [C99-based-standards] (PRIuFAST8): Likewise.
32679         [C99-based-standards] (PRIxFAST8): Likewise.
32680         [C99-based-standards] (PRIXFAST8): Likewise.
32681         [C99-based-standards] (SCNdFAST8): Likewise.
32682         [C99-based-standards] (SCNiFAST8): Likewise.
32683         [C99-based-standards] (SCNoFAST8): Likewise.
32684         [C99-based-standards] (SCNuFAST8): Likewise.
32685         [C99-based-standards] (SCNxFAST8): Likewise.
32686         [C99-based-standards] (PRId16): Likewise.
32687         [C99-based-standards] (PRIi16): Likewise.
32688         [C99-based-standards] (PRIo16): Likewise.
32689         [C99-based-standards] (PRIu16): Likewise.
32690         [C99-based-standards] (PRIx16): Likewise.
32691         [C99-based-standards] (PRIX16): Likewise.
32692         [C99-based-standards] (SCNd16): Likewise.
32693         [C99-based-standards] (SCNi16): Likewise.
32694         [C99-based-standards] (SCNo16): Likewise.
32695         [C99-based-standards] (SCNu16): Likewise.
32696         [C99-based-standards] (SCNx16): Likewise.
32697         [C99-based-standards] (PRIdLEAST16): Likewise.
32698         [C99-based-standards] (PRIiLEAST16): Likewise.
32699         [C99-based-standards] (PRIoLEAST16): Likewise.
32700         [C99-based-standards] (PRIuLEAST16): Likewise.
32701         [C99-based-standards] (PRIxLEAST16): Likewise.
32702         [C99-based-standards] (PRIXLEAST16): Likewise.
32703         [C99-based-standards] (SCNdLEAST16): Likewise.
32704         [C99-based-standards] (SCNiLEAST16): Likewise.
32705         [C99-based-standards] (SCNoLEAST16): Likewise.
32706         [C99-based-standards] (SCNuLEAST16): Likewise.
32707         [C99-based-standards] (SCNxLEAST16): Likewise.
32708         [C99-based-standards] (PRIdFAST16): Likewise.
32709         [C99-based-standards] (PRIiFAST16): Likewise.
32710         [C99-based-standards] (PRIoFAST16): Likewise.
32711         [C99-based-standards] (PRIuFAST16): Likewise.
32712         [C99-based-standards] (PRIxFAST16): Likewise.
32713         [C99-based-standards] (PRIXFAST16): Likewise.
32714         [C99-based-standards] (SCNdFAST16): Likewise.
32715         [C99-based-standards] (SCNiFAST16): Likewise.
32716         [C99-based-standards] (SCNoFAST16): Likewise.
32717         [C99-based-standards] (SCNuFAST16): Likewise.
32718         [C99-based-standards] (SCNxFAST16): Likewise.
32719         [C99-based-standards] (PRId32): Likewise.
32720         [C99-based-standards] (PRIi32): Likewise.
32721         [C99-based-standards] (PRIo32): Likewise.
32722         [C99-based-standards] (PRIu32): Likewise.
32723         [C99-based-standards] (PRIx32): Likewise.
32724         [C99-based-standards] (PRIX32): Likewise.
32725         [C99-based-standards] (SCNd32): Likewise.
32726         [C99-based-standards] (SCNi32): Likewise.
32727         [C99-based-standards] (SCNo32): Likewise.
32728         [C99-based-standards] (SCNu32): Likewise.
32729         [C99-based-standards] (SCNx32): Likewise.
32730         [C99-based-standards] (PRIdLEAST32): Likewise.
32731         [C99-based-standards] (PRIiLEAST32): Likewise.
32732         [C99-based-standards] (PRIoLEAST32): Likewise.
32733         [C99-based-standards] (PRIuLEAST32): Likewise.
32734         [C99-based-standards] (PRIxLEAST32): Likewise.
32735         [C99-based-standards] (PRIXLEAST32): Likewise.
32736         [C99-based-standards] (SCNdLEAST32): Likewise.
32737         [C99-based-standards] (SCNiLEAST32): Likewise.
32738         [C99-based-standards] (SCNoLEAST32): Likewise.
32739         [C99-based-standards] (SCNuLEAST32): Likewise.
32740         [C99-based-standards] (SCNxLEAST32): Likewise.
32741         [C99-based-standards] (PRIdFAST32): Likewise.
32742         [C99-based-standards] (PRIiFAST32): Likewise.
32743         [C99-based-standards] (PRIoFAST32): Likewise.
32744         [C99-based-standards] (PRIuFAST32): Likewise.
32745         [C99-based-standards] (PRIxFAST32): Likewise.
32746         [C99-based-standards] (PRIXFAST32): Likewise.
32747         [C99-based-standards] (SCNdFAST32): Likewise.
32748         [C99-based-standards] (SCNiFAST32): Likewise.
32749         [C99-based-standards] (SCNoFAST32): Likewise.
32750         [C99-based-standards] (SCNuFAST32): Likewise.
32751         [C99-based-standards] (SCNxFAST32): Likewise.
32752         [C99-based-standards] (PRId64): Likewise.
32753         [C99-based-standards] (PRIi64): Likewise.
32754         [C99-based-standards] (PRIo64): Likewise.
32755         [C99-based-standards] (PRIu64): Likewise.
32756         [C99-based-standards] (PRIx64): Likewise.
32757         [C99-based-standards] (PRIX64): Likewise.
32758         [C99-based-standards] (SCNd64): Likewise.
32759         [C99-based-standards] (SCNi64): Likewise.
32760         [C99-based-standards] (SCNo64): Likewise.
32761         [C99-based-standards] (SCNu64): Likewise.
32762         [C99-based-standards] (SCNx64): Likewise.
32763         [C99-based-standards] (PRIdLEAST64): Likewise.
32764         [C99-based-standards] (PRIiLEAST64): Likewise.
32765         [C99-based-standards] (PRIoLEAST64): Likewise.
32766         [C99-based-standards] (PRIuLEAST64): Likewise.
32767         [C99-based-standards] (PRIxLEAST64): Likewise.
32768         [C99-based-standards] (PRIXLEAST64): Likewise.
32769         [C99-based-standards] (SCNdLEAST64): Likewise.
32770         [C99-based-standards] (SCNiLEAST64): Likewise.
32771         [C99-based-standards] (SCNoLEAST64): Likewise.
32772         [C99-based-standards] (SCNuLEAST64): Likewise.
32773         [C99-based-standards] (SCNxLEAST64): Likewise.
32774         [C99-based-standards] (PRIdFAST64): Likewise.
32775         [C99-based-standards] (PRIiFAST64): Likewise.
32776         [C99-based-standards] (PRIoFAST64): Likewise.
32777         [C99-based-standards] (PRIuFAST64): Likewise.
32778         [C99-based-standards] (PRIxFAST64): Likewise.
32779         [C99-based-standards] (PRIXFAST64): Likewise.
32780         [C99-based-standards] (SCNdFAST64): Likewise.
32781         [C99-based-standards] (SCNiFAST64): Likewise.
32782         [C99-based-standards] (SCNoFAST64): Likewise.
32783         [C99-based-standards] (SCNuFAST64): Likewise.
32784         [C99-based-standards] (SCNxFAST64): Likewise.
32785         [C99-based-standards] (PRIdMAX): Likewise.
32786         [C99-based-standards] (PRIiMAX): Likewise.
32787         [C99-based-standards] (PRIoMAX): Likewise.
32788         [C99-based-standards] (PRIuMAX): Likewise.
32789         [C99-based-standards] (PRIxMAX): Likewise.
32790         [C99-based-standards] (PRIXMAX): Likewise.
32791         [C99-based-standards] (SCNdMAX): Likewise.
32792         [C99-based-standards] (SCNiMAX): Likewise.
32793         [C99-based-standards] (SCNoMAX): Likewise.
32794         [C99-based-standards] (SCNuMAX): Likewise.
32795         [C99-based-standards] (SCNxMAX): Likewise.
32796         [C99-based-standards] (PRIdPTR): Likewise.
32797         [C99-based-standards] (PRIiPTR): Likewise.
32798         [C99-based-standards] (PRIoPTR): Likewise.
32799         [C99-based-standards] (PRIuPTR): Likewise.
32800         [C99-based-standards] (PRIxPTR): Likewise.
32801         [C99-based-standards] (PRIXPTR): Likewise.
32802         [C99-based-standards] (SCNdPTR): Likewise.
32803         [C99-based-standards] (SCNiPTR): Likewise.
32804         [C99-based-standards] (SCNoPTR): Likewise.
32805         [C99-based-standards] (SCNuPTR): Likewise.
32806         [C99-based-standards] (SCNxPTR): Likewise.
32807         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32808         allow.
32809         * conform/data/stdint.h-data: Update comments to clarify
32810         requirements.
32811         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32812         type.
32813         [C99-based standards] (INT8_MAX): Likewise.
32814         [C99-based standards] (INT16_MIN): Likewise.
32815         [C99-based standards] (INT16_MAX): Likewise.
32816         [C99-based standards] (INT32_MIN): Likewise.
32817         [C99-based standards] (INT32_MAX): Likewise.
32818         [C99-based standards] (INT64_MIN): Likewise.
32819         [C99-based standards] (INT64_MAX): Likewise.
32820         [C99-based standards] (UINT8_MAX): Likewise.
32821         [C99-based standards] (UINT16_MAX): Likewise.
32822         [C99-based standards] (UINT32_MAX): Likewise.
32823         [C99-based standards] (UINT64_MAX): Likewise.
32824         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32825         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32826         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32827         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32828         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32829         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32830         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32831         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32832         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32833         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32834         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32835         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32836         [C99-based standards] (INT_FAST8_MIN): Likewise.
32837         [C99-based standards] (INT_FAST8_MAX): Likewise.
32838         [C99-based standards] (INT_FAST16_MIN): Likewise.
32839         [C99-based standards] (INT_FAST16_MAX): Likewise.
32840         [C99-based standards] (INT_FAST32_MIN): Likewise.
32841         [C99-based standards] (INT_FAST32_MAX): Likewise.
32842         [C99-based standards] (INT_FAST64_MIN): Likewise.
32843         [C99-based standards] (INT_FAST64_MAX): Likewise.
32844         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32845         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32846         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32847         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32848         [C99-based standards] (INTPTR_MIN): Likewise.
32849         [C99-based standards] (INTPTR_MAX): Likewise.
32850         [C99-based standards] (UINTPTR_MAX): Likewise.
32851         [C99-based standards] (INTMAX_MIN): Likewise.
32852         [C99-based standards] (INTMAX_MAX): Likewise.
32853         [C99-based standards] (UINTMAX_MAX): Likewise.
32854         [C99-based standards] (PTRDIFF_MIN): Likewise.
32855         [C99-based standards] (PTRDIFF_MAX): Likewise.
32856         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32857         [C99-based standards] (SIZE_MAX): Likewise.
32858         [C99-based standards] (WCHAR_MAX): Likewise.
32859         [C99-based standards] (WINT_MAX): Likewise.
32860         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32861         constraint on value.
32862         [C99-based standards] (WCHAR_MIN): Likewise.
32863         [C99-based standards] (WINT_MIN): Likewise.
32864         [C99-based standards] (*_t): Allow.
32865         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32866         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32867         Include math.h-data and complex.h-data.  Remove all expectations
32868         of math.h and complex.h contents.
32869         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32870         at end of line.
32871         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32872         (struct tm): Expect tag.
32873         [C99-based-standards] (wcstof): Expect function.
32874         [C99-based-standards] (wcstold): Likewise.
32875         [C99-based-standards] (wcstoll): Likewise.
32876         [C99-based-standards] (wcstoull): Likewise.
32877         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32878         macro-int-constant.  Specify type.
32879         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32880         constraint on value.
32881         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32882         Specify type.
32883         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32884         Specify value.
32885         [ISO C standards]: Do not allow headers.
32886         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32887         wcs[abcdefghijklmnopqrstuvwxyz]*.
32888         [ISO C standards] (*_t): Do not allow.
32889         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32890         Expect function.
32891         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32892         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32893         Specify type.
32894         [ISO C standards]: Do not allow headers.
32895         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32896         is[abcdefghijklmnopqrstuvwxyz]*.
32897         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32898         to[abcdefghijklmnopqrstuvwxyz]*.
32899         [ISO C standards] (*_t): Do not allow.
32900         * conform/data/stdalign.h-data: New file.
32901         * conform/data/stdbool.h-data: Likewise.
32902         * conform/data/stdnoreturn.h-data: Likewise.
32903
32904 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32905
32906         [BZ #14815]
32907         * manual/filesys.texi (Directory Entries): Typo fix.
32908         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32909
32910 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32911
32912         * elf/elf.h (EM_AARCH64): New macro.
32913         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32914         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32915         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32916         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32917         (R_AARCH64_TLSDESC): Likewise.
32918         (NT_ARM_TLS): Likewise.
32919         (NT_ARM_HW_BREAK): Likewise.
32920         (NT_ARM_HW_WATCH): Likewise.
32921
32922 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32923
32924         [BZ #14811]
32925         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32926         (__ieee754_powl): Saturate nonzero exponents with absolute value
32927         below 0x1p-79 to +/- 0x1p-79.
32928         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32929         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32930         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32931         nonzero exponents with absolute value below 0x1p-32 to +/-
32932         0x1p-32.
32933         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32934         (__ieee754_powl): Saturate nonzero exponents with absolute value
32935         below 0x1p-79 to +/- 0x1p-79.
32936         * math/libm-test.inc (pow_test): Add more tests.
32937
32938 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32939
32940         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32941         _dl_s390_cap_flags with kernel. Increase string length.
32942         (_dl_s390_platforms): Add z196 and zEC12.
32943
32944 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32945
32946         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32947         Change XOPEN21K to XOPEN2K.
32948
32949 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32950
32951         * string/memmove.c: Use memcpy when possible.
32952
32953 2012-11-06  Andreas Jaeger  <aj@suse.de>
32954
32955         * po/eo.po: Update from translation team.
32956
32957 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32958
32959         [BZ #14793]
32960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32961         exponent and small x and y exponents, scale x or y up.  Increase
32962         by 2 the exponent used in scaling up.
32963         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32964         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32965         * math/libm-test.inc (fma_test): Add more tests.
32966         (fma_test_towardzero): Likewise.
32967         (fma_test_downward): Likewise.
32968         (fma_test_upward): Likewise.
32969
32970 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32971
32972         [BZ #14805]
32973         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32974         fenv_t *.
32975
32976         [BZ #14801]
32977         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32978         namespace for names of struct fields.
32979         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32980         fenv_t fields.
32981         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32982         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32983
32984 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32985
32986         [BZ #3665]
32987         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32988
32989 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32990
32991         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32992         PTR_DEMANGLE.
32993
32994         [BZ #5246]
32995         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32996         PTR_DEMANGLE.
32997
32998 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32999
33000         [BZ #14797]
33001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33002         definitely overflow as x * y not x * y + z.
33003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33005         * math/libm-test.inc (fma_test): Add more tests.
33006         (fma_test_towardzero): Likewise.
33007         (fma_test_downward): Likewise.
33008         (fma_test_upward): Likewise.
33009
33010 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33011
33012         [BZ #157]
33013
33014         * include/stub-tag.h: Remove file.
33015         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33016         '#include' of it.
33017         * manual/maint.texi (Porting): Don't reference it.
33018         * Makerules ($(objpfx)stubs): Likewise.
33019         * dirent/closedir.c: Don't include <stub-tag.h>.
33020         * dirent/dirfd.c: Likewise.
33021         * dirent/fdopendir.c: Likewise.
33022         * dirent/getdents.c: Likewise.
33023         * dirent/getdents64.c: Likewise.
33024         * dirent/opendir.c: Likewise.
33025         * dirent/readdir.c: Likewise.
33026         * dirent/readdir64.c: Likewise.
33027         * dirent/readdir64_r.c: Likewise.
33028         * dirent/readdir_r.c: Likewise.
33029         * dirent/rewinddir.c: Likewise.
33030         * dirent/seekdir.c: Likewise.
33031         * dirent/telldir.c: Likewise.
33032         * gmon/profil.c: Likewise.
33033         * grp/setgroups.c: Likewise.
33034         * inet/if_index.c: Likewise.
33035         * io/access.c: Likewise.
33036         * io/chdir.c: Likewise.
33037         * io/chmod.c: Likewise.
33038         * io/chown.c: Likewise.
33039         * io/close.c: Likewise.
33040         * io/dup.c: Likewise.
33041         * io/dup2.c: Likewise.
33042         * io/dup3.c: Likewise.
33043         * io/euidaccess.c: Likewise.
33044         * io/faccessat.c: Likewise.
33045         * io/fchdir.c: Likewise.
33046         * io/fchmod.c: Likewise.
33047         * io/fchmodat.c: Likewise.
33048         * io/fchown.c: Likewise.
33049         * io/fchownat.c: Likewise.
33050         * io/fcntl.c: Likewise.
33051         * io/flock.c: Likewise.
33052         * io/fstatfs.c: Likewise.
33053         * io/fstatfs64.c: Likewise.
33054         * io/fstatvfs.c: Likewise.
33055         * io/fstatvfs64.c: Likewise.
33056         * io/futimens.c: Likewise.
33057         * io/fxstat.c: Likewise.
33058         * io/fxstat64.c: Likewise.
33059         * io/fxstatat.c: Likewise.
33060         * io/fxstatat64.c: Likewise.
33061         * io/getcwd.c: Likewise.
33062         * io/isatty.c: Likewise.
33063         * io/lchmod.c: Likewise.
33064         * io/lchown.c: Likewise.
33065         * io/link.c: Likewise.
33066         * io/linkat.c: Likewise.
33067         * io/lseek.c: Likewise.
33068         * io/lseek64.c: Likewise.
33069         * io/lxstat64.c: Likewise.
33070         * io/mkdir.c: Likewise.
33071         * io/mkdirat.c: Likewise.
33072         * io/mkfifo.c: Likewise.
33073         * io/mkfifoat.c: Likewise.
33074         * io/open.c: Likewise.
33075         * io/open64.c: Likewise.
33076         * io/openat.c: Likewise.
33077         * io/openat64.c: Likewise.
33078         * io/pipe.c: Likewise.
33079         * io/pipe2.c: Likewise.
33080         * io/poll.c: Likewise.
33081         * io/posix_fadvise.c: Likewise.
33082         * io/posix_fadvise64.c: Likewise.
33083         * io/posix_fallocate.c: Likewise.
33084         * io/posix_fallocate64.c: Likewise.
33085         * io/read.c: Likewise.
33086         * io/readlink.c: Likewise.
33087         * io/readlinkat.c: Likewise.
33088         * io/rmdir.c: Likewise.
33089         * io/sendfile.c: Likewise.
33090         * io/sendfile64.c: Likewise.
33091         * io/statfs.c: Likewise.
33092         * io/statfs64.c: Likewise.
33093         * io/statvfs.c: Likewise.
33094         * io/statvfs64.c: Likewise.
33095         * io/symlink.c: Likewise.
33096         * io/symlinkat.c: Likewise.
33097         * io/ttyname.c: Likewise.
33098         * io/ttyname_r.c: Likewise.
33099         * io/umask.c: Likewise.
33100         * io/unlink.c: Likewise.
33101         * io/unlinkat.c: Likewise.
33102         * io/utime.c: Likewise.
33103         * io/utimensat.c: Likewise.
33104         * io/write.c: Likewise.
33105         * io/xmknod.c: Likewise.
33106         * io/xmknodat.c: Likewise.
33107         * io/xstat.c: Likewise.
33108         * io/xstat64.c: Likewise.
33109         * login/getpt.c: Likewise.
33110         * login/grantpt.c: Likewise.
33111         * login/unlockpt.c: Likewise.
33112         * math/e_acoshl.c: Likewise.
33113         * math/e_acosl.c: Likewise.
33114         * math/e_asinl.c: Likewise.
33115         * math/e_atan2l.c: Likewise.
33116         * math/e_atanhl.c: Likewise.
33117         * math/e_coshl.c: Likewise.
33118         * math/e_expl.c: Likewise.
33119         * math/e_fmodl.c: Likewise.
33120         * math/e_gammal_r.c: Likewise.
33121         * math/e_hypotl.c: Likewise.
33122         * math/e_j0l.c: Likewise.
33123         * math/e_j1l.c: Likewise.
33124         * math/e_jnl.c: Likewise.
33125         * math/e_lgammal_r.c: Likewise.
33126         * math/e_log10l.c: Likewise.
33127         * math/e_log2l.c: Likewise.
33128         * math/e_logl.c: Likewise.
33129         * math/e_powl.c: Likewise.
33130         * math/e_rem_pio2l.c: Likewise.
33131         * math/e_sinhl.c: Likewise.
33132         * math/e_sqrtl.c: Likewise.
33133         * math/fclrexcpt.c: Likewise.
33134         * math/fedisblxcpt.c: Likewise.
33135         * math/feenablxcpt.c: Likewise.
33136         * math/fegetenv.c: Likewise.
33137         * math/fegetexcept.c: Likewise.
33138         * math/fegetround.c: Likewise.
33139         * math/feholdexcpt.c: Likewise.
33140         * math/fesetenv.c: Likewise.
33141         * math/fesetround.c: Likewise.
33142         * math/feupdateenv.c: Likewise.
33143         * math/fgetexcptflg.c: Likewise.
33144         * math/fraiseexcpt.c: Likewise.
33145         * math/fsetexcptflg.c: Likewise.
33146         * math/ftestexcept.c: Likewise.
33147         * math/k_cosl.c: Likewise.
33148         * math/k_rem_pio2l.c: Likewise.
33149         * math/k_sinl.c: Likewise.
33150         * math/k_tanl.c: Likewise.
33151         * math/s_asinhl.c: Likewise.
33152         * math/s_atanl.c: Likewise.
33153         * math/s_cbrtl.c: Likewise.
33154         * math/s_erfl.c: Likewise.
33155         * math/s_expm1l.c: Likewise.
33156         * math/s_log1pl.c: Likewise.
33157         * math/s_tanhl.c: Likewise.
33158         * misc/acct.c: Likewise.
33159         * misc/brk.c: Likewise.
33160         * misc/chflags.c: Likewise.
33161         * misc/chroot.c: Likewise.
33162         * misc/fchflags.c: Likewise.
33163         * misc/fgetxattr.c: Likewise.
33164         * misc/flistxattr.c: Likewise.
33165         * misc/fremovexattr.c: Likewise.
33166         * misc/fsetxattr.c: Likewise.
33167         * misc/fsync.c: Likewise.
33168         * misc/ftruncate.c: Likewise.
33169         * misc/futimes.c: Likewise.
33170         * misc/futimesat.c: Likewise.
33171         * misc/getdomain.c: Likewise.
33172         * misc/getdtsz.c: Likewise.
33173         * misc/gethostid.c: Likewise.
33174         * misc/gethostname.c: Likewise.
33175         * misc/getloadavg.c: Likewise.
33176         * misc/getpagesize.c: Likewise.
33177         * misc/getsysstats.c: Likewise.
33178         * misc/getxattr.c: Likewise.
33179         * misc/gtty.c: Likewise.
33180         * misc/ioctl.c: Likewise.
33181         * misc/lgetxattr.c: Likewise.
33182         * misc/listxattr.c: Likewise.
33183         * misc/llistxattr.c: Likewise.
33184         * misc/lremovexattr.c: Likewise.
33185         * misc/lsetxattr.c: Likewise.
33186         * misc/lutimes.c: Likewise.
33187         * misc/madvise.c: Likewise.
33188         * misc/mincore.c: Likewise.
33189         * misc/mlock.c: Likewise.
33190         * misc/mlockall.c: Likewise.
33191         * misc/mmap.c: Likewise.
33192         * misc/mprotect.c: Likewise.
33193         * misc/msync.c: Likewise.
33194         * misc/munlock.c: Likewise.
33195         * misc/munlockall.c: Likewise.
33196         * misc/munmap.c: Likewise.
33197         * misc/preadv.c: Likewise.
33198         * misc/preadv64.c: Likewise.
33199         * misc/ptrace.c: Likewise.
33200         * misc/pwritev.c: Likewise.
33201         * misc/pwritev64.c: Likewise.
33202         * misc/readv.c: Likewise.
33203         * misc/reboot.c: Likewise.
33204         * misc/remap_file_pages.c: Likewise.
33205         * misc/removexattr.c: Likewise.
33206         * misc/revoke.c: Likewise.
33207         * misc/select.c: Likewise.
33208         * misc/setdomain.c: Likewise.
33209         * misc/setegid.c: Likewise.
33210         * misc/seteuid.c: Likewise.
33211         * misc/sethostid.c: Likewise.
33212         * misc/sethostname.c: Likewise.
33213         * misc/setregid.c: Likewise.
33214         * misc/setreuid.c: Likewise.
33215         * misc/setxattr.c: Likewise.
33216         * misc/sstk.c: Likewise.
33217         * misc/stty.c: Likewise.
33218         * misc/swapoff.c: Likewise.
33219         * misc/swapon.c: Likewise.
33220         * misc/sync.c: Likewise.
33221         * misc/syncfs.c: Likewise.
33222         * misc/syscall.c: Likewise.
33223         * misc/truncate.c: Likewise.
33224         * misc/ualarm.c: Likewise.
33225         * misc/usleep.c: Likewise.
33226         * misc/ustat.c: Likewise.
33227         * misc/utimes.c: Likewise.
33228         * misc/vhangup.c: Likewise.
33229         * misc/writev.c: Likewise.
33230         * posix/_exit.c: Likewise.
33231         * posix/alarm.c: Likewise.
33232         * posix/execve.c: Likewise.
33233         * posix/fexecve.c: Likewise.
33234         * posix/fork.c: Likewise.
33235         * posix/fpathconf.c: Likewise.
33236         * posix/getaddrinfo.c: Likewise.
33237         * posix/getegid.c: Likewise.
33238         * posix/geteuid.c: Likewise.
33239         * posix/getgid.c: Likewise.
33240         * posix/getgroups.c: Likewise.
33241         * posix/getlogin.c: Likewise.
33242         * posix/getlogin_r.c: Likewise.
33243         * posix/getpgid.c: Likewise.
33244         * posix/getpid.c: Likewise.
33245         * posix/getppid.c: Likewise.
33246         * posix/getresgid.c: Likewise.
33247         * posix/getresuid.c: Likewise.
33248         * posix/getsid.c: Likewise.
33249         * posix/getuid.c: Likewise.
33250         * posix/glob64.c: Likewise.
33251         * posix/nanosleep.c: Likewise.
33252         * posix/pathconf.c: Likewise.
33253         * posix/pause.c: Likewise.
33254         * posix/posix_madvise.c: Likewise.
33255         * posix/pread.c: Likewise.
33256         * posix/pread64.c: Likewise.
33257         * posix/pwrite.c: Likewise.
33258         * posix/pwrite64.c: Likewise.
33259         * posix/sched_getaffinity.c: Likewise.
33260         * posix/sched_getp.c: Likewise.
33261         * posix/sched_gets.c: Likewise.
33262         * posix/sched_primax.c: Likewise.
33263         * posix/sched_primin.c: Likewise.
33264         * posix/sched_rr_gi.c: Likewise.
33265         * posix/sched_setaffinity.c: Likewise.
33266         * posix/sched_setp.c: Likewise.
33267         * posix/sched_sets.c: Likewise.
33268         * posix/sched_yield.c: Likewise.
33269         * posix/setgid.c: Likewise.
33270         * posix/setlogin.c: Likewise.
33271         * posix/setpgid.c: Likewise.
33272         * posix/setresgid.c: Likewise.
33273         * posix/setresuid.c: Likewise.
33274         * posix/setsid.c: Likewise.
33275         * posix/setuid.c: Likewise.
33276         * posix/sleep.c: Likewise.
33277         * posix/spawni.c: Likewise.
33278         * posix/sysconf.c: Likewise.
33279         * posix/times.c: Likewise.
33280         * posix/wait.c: Likewise.
33281         * posix/wait3.c: Likewise.
33282         * posix/wait4.c: Likewise.
33283         * posix/waitpid.c: Likewise.
33284         * resolv/gai_sigqueue.c: Likewise.
33285         * resource/getpriority.c: Likewise.
33286         * resource/getrlimit.c: Likewise.
33287         * resource/getrusage.c: Likewise.
33288         * resource/nice.c: Likewise.
33289         * resource/setpriority.c: Likewise.
33290         * resource/setrlimit.c: Likewise.
33291         * resource/ulimit.c: Likewise.
33292         * rt/aio_cancel.c: Likewise.
33293         * rt/aio_fsync.c: Likewise.
33294         * rt/aio_read.c: Likewise.
33295         * rt/aio_sigqueue.c: Likewise.
33296         * rt/aio_suspend.c: Likewise.
33297         * rt/aio_write.c: Likewise.
33298         * rt/clock_getres.c: Likewise.
33299         * rt/clock_gettime.c: Likewise.
33300         * rt/clock_nanosleep.c: Likewise.
33301         * rt/clock_settime.c: Likewise.
33302         * rt/lio_listio.c: Likewise.
33303         * rt/mq_close.c: Likewise.
33304         * rt/mq_getattr.c: Likewise.
33305         * rt/mq_notify.c: Likewise.
33306         * rt/mq_open.c: Likewise.
33307         * rt/mq_receive.c: Likewise.
33308         * rt/mq_send.c: Likewise.
33309         * rt/mq_setattr.c: Likewise.
33310         * rt/mq_timedreceive.c: Likewise.
33311         * rt/mq_timedsend.c: Likewise.
33312         * rt/mq_unlink.c: Likewise.
33313         * rt/shm_open.c: Likewise.
33314         * rt/shm_unlink.c: Likewise.
33315         * rt/timer_create.c: Likewise.
33316         * rt/timer_delete.c: Likewise.
33317         * rt/timer_getoverr.c: Likewise.
33318         * rt/timer_gettime.c: Likewise.
33319         * rt/timer_settime.c: Likewise.
33320         * setjmp/__longjmp.c: Likewise.
33321         * setjmp/setjmp.c: Likewise.
33322         * signal/kill.c: Likewise.
33323         * signal/killpg.c: Likewise.
33324         * signal/raise.c: Likewise.
33325         * signal/sigaction.c: Likewise.
33326         * signal/sigaltstack.c: Likewise.
33327         * signal/sigblock.c: Likewise.
33328         * signal/sigignore.c: Likewise.
33329         * signal/sigintr.c: Likewise.
33330         * signal/signal.c: Likewise.
33331         * signal/sigpause.c: Likewise.
33332         * signal/sigpending.c: Likewise.
33333         * signal/sigqueue.c: Likewise.
33334         * signal/sigreturn.c: Likewise.
33335         * signal/sigset.c: Likewise.
33336         * signal/sigsetmask.c: Likewise.
33337         * signal/sigstack.c: Likewise.
33338         * signal/sigsuspend.c: Likewise.
33339         * signal/sigtimedwait.c: Likewise.
33340         * signal/sigvec.c: Likewise.
33341         * signal/sigwait.c: Likewise.
33342         * signal/sigwaitinfo.c: Likewise.
33343         * signal/sysv_signal.c: Likewise.
33344         * socket/accept.c: Likewise.
33345         * socket/accept4.c: Likewise.
33346         * socket/bind.c: Likewise.
33347         * socket/connect.c: Likewise.
33348         * socket/getpeername.c: Likewise.
33349         * socket/getsockname.c: Likewise.
33350         * socket/getsockopt.c: Likewise.
33351         * socket/isfdtype.c: Likewise.
33352         * socket/listen.c: Likewise.
33353         * socket/recv.c: Likewise.
33354         * socket/recvfrom.c: Likewise.
33355         * socket/recvmsg.c: Likewise.
33356         * socket/send.c: Likewise.
33357         * socket/sendmsg.c: Likewise.
33358         * socket/sendto.c: Likewise.
33359         * socket/setsockopt.c: Likewise.
33360         * socket/shutdown.c: Likewise.
33361         * socket/sockatmark.c: Likewise.
33362         * socket/socket.c: Likewise.
33363         * socket/socketpair.c: Likewise.
33364         * stdio-common/ctermid.c: Likewise.
33365         * stdio-common/cuserid.c: Likewise.
33366         * stdio-common/remove.c: Likewise.
33367         * stdio-common/rename.c: Likewise.
33368         * stdio-common/renameat.c: Likewise.
33369         * stdio-common/tempname.c: Likewise.
33370         * stdlib/getcontext.c: Likewise.
33371         * stdlib/makecontext.c: Likewise.
33372         * stdlib/setcontext.c: Likewise.
33373         * stdlib/swapcontext.c: Likewise.
33374         * stdlib/system.c: Likewise.
33375         * streams/fattach.c: Likewise.
33376         * streams/fdetach.c: Likewise.
33377         * streams/getmsg.c: Likewise.
33378         * streams/getpmsg.c: Likewise.
33379         * streams/putmsg.c: Likewise.
33380         * streams/putpmsg.c: Likewise.
33381         * sysdeps/unix/bsd/getpt.c: Likewise.
33382         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33383         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33384         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33386         Likewise.
33387         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33388         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33389         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33390         * sysvipc/msgctl.c: Likewise.
33391         * sysvipc/msgget.c: Likewise.
33392         * sysvipc/msgrcv.c: Likewise.
33393         * sysvipc/msgsnd.c: Likewise.
33394         * sysvipc/semctl.c: Likewise.
33395         * sysvipc/semget.c: Likewise.
33396         * sysvipc/semop.c: Likewise.
33397         * sysvipc/semtimedop.c: Likewise.
33398         * sysvipc/shmat.c: Likewise.
33399         * sysvipc/shmctl.c: Likewise.
33400         * sysvipc/shmdt.c: Likewise.
33401         * sysvipc/shmget.c: Likewise.
33402         * termios/tcdrain.c: Likewise.
33403         * termios/tcflow.c: Likewise.
33404         * termios/tcflush.c: Likewise.
33405         * termios/tcgetattr.c: Likewise.
33406         * termios/tcgetpgrp.c: Likewise.
33407         * termios/tcsendbrk.c: Likewise.
33408         * termios/tcsetattr.c: Likewise.
33409         * termios/tcsetpgrp.c: Likewise.
33410         * time/adjtime.c: Likewise.
33411         * time/clock.c: Likewise.
33412         * time/getitimer.c: Likewise.
33413         * time/gettimeofday.c: Likewise.
33414         * time/setitimer.c: Likewise.
33415         * time/settimeofday.c: Likewise.
33416         * time/stime.c: Likewise.
33417         * time/time.c: Likewise.
33418
33419 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33420
33421         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33422         /usr/old/bin.
33423
33424         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33425         instead of spaces.
33426         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33427
33428 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33429
33430         [BZ #14796]
33431         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33432         FE_TONEAREST before applying Dekker multiplication and Knuth
33433         addition.  Clear inexact exceptions and check for exact zero
33434         results afterwards.
33435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33436         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33438         * math/libm-test.inc (fma_test): Add more tests.
33439         (fma_test_towardzero): Likewise.
33440         (fma_test_downward): Likewise.
33441         (fma_test_upward): Likewise.
33442         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33443         function.
33444         (libc_fesetround): New macro.
33445         (libc_fesetroundf): Likewise.
33446         (libc_fesetroundl): Likewise.
33447         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33448         function.
33449         (libc_fesetround_387): Likewise.
33450         (libc_fesetroundf): New macro.
33451         (libc_fesetround): Likewise.
33452         (libc_fesetroundl): Likewise.
33453         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33454         function.
33455         (libc_fesetroundf): New macro.
33456         (libc_fesetround): Likewise.
33457         (libc_fesetroundl): Likewise.
33458         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33459         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33460         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33461         libm_hidden_ver.
33462         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33463         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33464         libm_hidden_def.
33465         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33466         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33467         libm_hidden_ver.
33468         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33469         libm_hidden_def.
33470
33471         [BZ #3439]
33472         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33473         integer constant usable in #if and use that to give value to enum
33474         constant.
33475         (FE_DIVBYZERO): Likewise.
33476         (FE_UNDERFLOW): Likewise.
33477         (FE_OVERFLOW): Likewise.
33478         (FE_INVALID): Likewise.
33479         (FE_INVALID_SNAN): Likewise.
33480         (FE_INVALID_ISI): Likewise.
33481         (FE_INVALID_IDI): Likewise.
33482         (FE_INVALID_ZDZ): Likewise.
33483         (FE_INVALID_IMZ): Likewise.
33484         (FE_INVALID_COMPARE): Likewise.
33485         (FE_INVALID_SOFTWARE): Likewise.
33486         (FE_INVALID_SQRT): Likewise.
33487         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33488         (FE_TONEAREST): Likewise.
33489         (FE_TOWARDZERO): Likewise.
33490         (FE_UPWARD): Likewise.
33491         (FE_DOWNWARD): Likewise.
33492         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33493         (FE_DIVBYZERO): Likewise.
33494         (FE_OVERFLOW): Likewise.
33495         (FE_UNDERFLOW): Likewise.
33496         (FE_INEXACT): Likewise.
33497         (FE_TONEAREST): Likewise.
33498         (FE_DOWNWARD): Likewise.
33499         (FE_UPWARD): Likewise.
33500         (FE_TOWARDZERO): Likewise.
33501         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33502         (FE_UNDERFLOW): Likewise.
33503         (FE_OVERFLOW): Likewise.
33504         (FE_DIVBYZERO): Likewise.
33505         (FE_INVALID): Likewise.
33506         (FE_TONEAREST): Likewise.
33507         (FE_TOWARDZERO): Likewise.
33508         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33509         (FE_OVERFLOW): Likewise.
33510         (FE_UNDERFLOW): Likewise.
33511         (FE_DIVBYZERO): Likewise.
33512         (FE_INEXACT): Likewise.
33513         (FE_TONEAREST): Likewise.
33514         (FE_TOWARDZERO): Likewise.
33515         (FE_UPWARD): Likewise.
33516         (FE_DOWNWARD): Likewise.
33517         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33518         (FE_DIVBYZERO): Likewise.
33519         (FE_OVERFLOW): Likewise.
33520         (FE_UNDERFLOW): Likewise.
33521         (FE_INEXACT): Likewise.
33522         (FE_TONEAREST): Likewise.
33523         (FE_DOWNWARD): Likewise.
33524         (FE_UPWARD): Likewise.
33525         (FE_TOWARDZERO): Likewise.
33526
33527 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33528
33529         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33530
33531 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33532
33533         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33534         commands.  Quote $PWD.
33535         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33536         -x" by "export".
33537         (remove_newlines): Remove.
33538
33539 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33540
33541         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33542         * stdlib/stdlib.h (atof): Moved to ...
33543         * include/bits/stdlib-float.h: Here.  New file.
33544         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33545         * stdlib/bits/stdlib-float.h: New file.
33546         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33547         -mno-sse -mno-mmx.
33548         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33549         <xmmintrin.h>.
33550
33551 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33552
33553         * conform/conformtest.pl (@headers): Add fenv.h.
33554         * conform/data/fenv.h-data: New file.
33555         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33556         include of <math/fenv.h>.
33557
33558         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33559         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33560         && !UNIX98].  Enables tests for XOPEN2K8.
33561         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33562         POSIX2008]: Likewise.
33563
33564         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33565         (struct rusage): Do not expect type or its members.
33566
33567         [BZ #3439]
33568         * math/math.h (FP_NAN): Define macro to integer constant usable in
33569         #if and use that to give value to enum constant.
33570         (FP_INFINITE): Likewise.
33571         (FP_ZERO): Likewise.
33572         (FP_SUBNORMAL): Likewise.
33573         (FP_NORMAL): Likewise.
33574
33575 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33576
33577         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33578         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33579         arguments.
33580
33581 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33582
33583         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33584         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33585         autoconf-time if not.
33586         * configure.in: Remove AC_PREREQ.
33587
33588 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33589
33590         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33591         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33592         of the internal implementation.
33593
33594 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33595
33596         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33597         except include of <misc/sys/syslog.h>.
33598
33599 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33600
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33602         function returns with a NULL context exit with zero.
33603
33604 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33605
33606         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33607
33608 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33609
33610         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33611         (run_program_cmd): This.
33612         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33613         (tst_langinfo): New variable.  Use it.
33614
33615 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33616
33617         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33618         floating point opcodes.
33619
33620 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33621
33622         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33623         variable.
33624
33625         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33626
33627         * sysdeps/mach/hurd/powerpc: Remove directory.
33628         * sysdeps/mach/powerpc: Likewise.
33629
33630 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33631
33632         * scripts/check-local-headers.sh: Ignore c++ headers.
33633
33634 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33635
33636         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33637         __libc_cleanup_region_start argument.
33638
33639 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33640
33641         [BZ #14784]
33642         [BZ #14785]
33643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33644         x * y using scaling, not as x * y + z.
33645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33647         * math/libm-test.inc (fma_test): Add more tests.
33648         (fma_test_towardzero): Likewise.
33649         (fma_test_downward): Likewise.
33650         (fma_test_upward): Likewise.
33651
33652 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33653
33654         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33655
33656 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33657
33658         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33659         New variable.
33660
33661 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33662
33663         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33664
33665 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33666
33667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33668         Fix sort order.
33669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33670         Likewise.
33671
33672 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33673
33674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33675         Fix the order of the list for glibc 2.17.
33676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33677         Likewise.
33678
33679 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33680
33681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33682
33683 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33684
33685         [BZ #14610]
33686         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33687         for low part of x being zero before using __atanl (y).
33688         * math/libm-test.inc (atan2_test): Add another test.
33689
33690         * manual/install.texi (Configuring and compiling): Document
33691         general use of test-wrapper and test-wrapper-env.
33692         * INSTALL: Regenerated.
33693
33694         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33695         (__fma): Do not extract and scale down low bits on after-rounding
33696         systems when result rounded to normal precision would have normal
33697         exponent.
33698         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33699         (__fmal): Do not extract and scale down low bits on after-rounding
33700         systems when result rounded to normal precision would have normal
33701         exponent.
33702         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33703         (__fmal): Do not extract and scale down low bits on after-rounding
33704         systems when result rounded to normal precision would have normal
33705         exponent.
33706         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33707         macro.
33708         (fma_test): Add more tests.
33709         (fma_test_towardzero): Likewise.
33710         (fma_test_downward): Likewise.
33711         (fma_test_upward): Likewise.
33712
33713 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33714
33715         * sysdeps/i386/tininess.h: Renamed to ...
33716         * sysdeps/x86/tininess.h: This.
33717         * sysdeps/x86_64/tininess.h: Removed.
33718
33719 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33720
33721         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33722         input.  Use $(build-program-cmd).
33723         ($(objpfx)tst-array1-static.out): Likewise.
33724         ($(objpfx)tst-array2.out): Likewise.
33725         ($(objpfx)tst-array3.out): Likewise.
33726         ($(objpfx)tst-array4.out): Likewise.
33727         ($(objpfx)tst-array5.out): Likewise.
33728         ($(objpfx)tst-array5-static.out): Likewise.
33729
33730 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33731
33732         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33733         if defined.
33734
33735         * nss/nsswitch.h (nss_interface_function): Provide new
33736         macro for use with NSS functions.
33737         * grp/initgroups.c: Use new macro.
33738         * nss/getXXbyYY.c: Likewise.
33739         * nss/getXXbyYY_r.c: Likewise.
33740         * nss/getXXent.c: Likewise.
33741         * nss/getXXent_r.c: Likewise.
33742         * sysdeps/posix/getaddrinfo.c: Likewise.
33743
33744 2012-10-30  Andreas Jaeger  <aj@suse.de>
33745
33746         * po/ru.po: Update Russion translation from translation project.
33747
33748 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33749
33750         [BZ #14152]
33751         [BZ #14783]
33752         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33753         result and shift together with sticky bit instead of replicating
33754         round-to-nearest rounding.
33755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33757         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33758         missing underflow exceptions.
33759         (fma_test_towardzero): Add more tests.
33760         (fma_test_downward): Likewise.
33761         (fma_test_upward): Likewise.
33762
33763         [BZ #14047]
33764         * sysdeps/generic/tininess.h: New file.
33765         * sysdeps/i386/tininess.h: Likewise.
33766         * sysdeps/sh/tininess.h: Likewise.
33767         * sysdeps/x86_64/tininess.h: Likewise.
33768         * stdlib/tst-strtod-underflow.c: Likewise.
33769         * stdlib/tst-tininess.c: Likewise.
33770         * stdlib/strtod_l.c: Include <tininess.h>.
33771         (round_and_return): Do not set errno for exact underflow cases.
33772         Force an underflow exception when setting errno for underflow.
33773         Determine underflow based on rounding to normal precision if
33774         TININESS_AFTER_ROUNDING.
33775         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33776         ERANGE for exact underflow cases.
33777         * stdlib/Makefile (tests): Add tst-tininess and
33778         tst-strtod-underflow.
33779         ($(objpfx)tst-tininess): Use $(link-libm).
33780         ($(objpfx)tst-strtod-underflow): Likewise.
33781
33782 2012-10-30  Andreas Jaeger  <aj@suse.de>
33783
33784         [BZ#14767]
33785         * elf/Makefile (tests): Remove conditional for have-initfini-array
33786         since this is now always required and the variable does not exist
33787         anymore.
33788         (tests-static): Likewise.
33789         (modules-names): Likewise.
33790
33791         * po/eo.po: Add Esperanto translation from translation project.
33792
33793         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33794         merged with constructor/destructor.
33795         (init_array): Likewise.
33796         * elf/tst-array2dep.c (fini_array): Likewise.
33797         (init_array): Likewise.
33798
33799 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33800
33801         * manual/message.texi: Delete @cartouche tags.
33802
33803 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33804
33805         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33806         EOPNOTSUPP.
33807         * sysdeps/mach/hurd/fsync.c: Likewise.
33808
33809         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33810         [_POSIX_REALTIME_SIGNALS]: Change condition to
33811         [_POSIX_REALTIME_SIGNALS > 0].
33812
33813 2012-10-27  Andreas Jaeger  <aj@suse.de>
33814
33815         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33816         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33817         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33818         [__WORDSIZE != 64]: Likewise.
33819
33820 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33821
33822         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33823         *  iconvdata/tst-tables.sh: Likewise.
33824
33825 2012-10-25  David S. Miller  <davem@davemloft.net>
33826
33827         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33828         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33829         of strtoull.
33830
33831         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33832         ifunc-impl-list.c
33833         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33834         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33835         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33836         file.
33837
33838 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33839
33840         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33841         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33842         __getdirentries.
33843
33844 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33845             Jim Blandy  <jimb@codesourcery.com>
33846
33847         * scripts/cross-test-ssh.sh: New file.
33848         * manual/install.texi (Configuring and compiling): Document use of
33849         cross-test-ssh.sh.
33850         * INSTALL: Regenerated.
33851
33852 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33853
33854         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33855         EOPNOTSUPP.
33856
33857 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33858
33859         * Makeconfig (run-program-prefix): Fix comment.
33860
33861 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33862             Jim Blandy  <jimb@codesourcery.com>
33863
33864         * Makeconfig (test-wrapper): New variable,
33865         (test-wrapper-env): Likewise.
33866         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33867         (run-built-tests): Define to yes.
33868         (run-program-prefix): Use $(test-wrapper).
33869         (built-program-cmd): Likewise.
33870         * Rules (make-test-out): Use $(test-wrapper-env) and
33871         $(host-built-program-cmd).
33872         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33873         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33874         tst-pathopt.sh.
33875         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33876         $(test-wrapper-env) to tst-rtld-load-self.sh.
33877         ($(objpfx)order2.out): Use $(test-wrapper).
33878         ($(objpfx)tst-initorder.out): Likewise.
33879         ($(objpfx)tst-initorder2.out): Likewise.
33880         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33881         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33882         (test_wrapper_env): New variable.  Use it to run ld.so.
33883         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33884         Use it to run ld.so.
33885         (test_wrapper_env): Likewise.
33886         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33887         $(test-wrapper) to run-iconv-test.sh.
33888         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33889         (ICONV): Use $test_wrapper.
33890         * posix/Makefile ($(objpfx)globtest.out): Pass
33891         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33892         globtest.sh, not $(run-program-prefix).
33893         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33894         (test_wrapper): Likewise.
33895         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33896         set together with run_via_rtld_prefix.
33897         (run_program_prefix): Define in terms of test_wrapper and
33898         run_via_rtld_prefix.
33899
33900 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33901
33902         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33903         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33904         Targets removed.
33905
33906         [BZ #14743]
33907         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33908         Declare __clock_getres, __clock_gettime, __clock_settime,
33909         __clock_nanosleep, and __clock_getcpuclockid.
33910         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33911         Remove librt_hidden_def (clock_gettime).
33912         * sysdeps/unix/clock_gettime.c: Likewise.
33913         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33914         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33915         * rt/clock_getres.c: Define __clock_getres as an alias.
33916         * sysdeps/posix/clock_getres.c: Likewise.
33917         * rt/clock_settime.c: Define __clock_settime as an alias.
33918         * sysdeps/unix/clock_settime.c: Likewise.
33919         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33920         * sysdeps/unix/clock_nanosleep.c: Likewise.
33921         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33922         * rt/clock-compat.c: New file.
33923         * rt/Makefile (librt-routines): Add clock-compat and move
33924         $(clock-routines) to ...
33925         (routines): ... here, new variable.
33926         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33927         Don't add get_clockfreq here.
33928         * rt/Versions (libc: GLIBC_2.17): New version set.
33929         Add clock_* symbols here.
33930         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33931         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33932         (GLIBC_2.17): Add clock_* symbols.
33933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33935         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33937         Likewise.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33939         Likewise.
33940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33944         * NEWS: Mention the move.
33945
33946         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33947         Use __open, __read, __close rather than their public counterparts.
33948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33949         (__get_clockfreq_via_cpuinfo): Likewise.
33950         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33951         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33952
33953         * config.h.in (HAVE_IFUNC): New #undef.
33954         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33955         was successful.
33956         * configure: Regenerated.
33957
33958 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33959
33960         * configure.in: Move READELF check to start of file.
33961         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33962         libc_cv_asm_gnu_indirect_function in the process.
33963         * configure: Regenerated.
33964
33965 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33966
33967         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33968         send the output to /dev/null.
33969         (libc_cv_cc_with_libunwind): Likewise.
33970         (libc_cv_as_noexecstack): Likewise.
33971         * configure: Regenerate.
33972
33973 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33974
33975         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33976
33977         * posix/globtest.sh (TMPDIR): Do not set.
33978         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33979         (testout): Likewise.
33980
33981 2012-10-24  Andreas Jaeger  <aj@suse.de>
33982
33983         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33984         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33985         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33986         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33987         posix_fadvise64, posix_fallocate64.
33988
33989         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33990         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33991         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33992         Likewise.
33993         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33994         Likewise.
33995         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33996
33997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33998         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33999         <bits/fcntl-linux.h>.
34000         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34001
34002         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34003         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34004         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34005         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34006         [__WORDSIZE != 64]: Likewise.
34007
34008 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34009
34010         * Makeconfig (run-built-tests): New variable.
34011         * Rules [$(cross-compiling) = yes]: Change condition to
34012         [$(run-built-tests) = no].
34013         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34014         to [$(run-built-tests) = yes].
34015         * elf/Makefile [$(cross-compiling) = no]: Likewise
34016         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34017         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34018         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34019         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34020         * io/Makefile [$(cross-compiling) = no]: Likewise.
34021         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34022         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34023         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34024         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34025         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34026         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34027         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34028         * string/Makefile [$(cross-compiling) = no]: Likewise.
34029
34030         * posix/Makefile ($(objpfx)globtest.out): Pass
34031         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34032         $(rtld-installed-name).
34033         * posix/globtest.sh (elf_objpfx): Remove variable.
34034         (rtld_installed_name): Likewise.
34035         (library_path): Likewise.
34036         (run_program_prefix): New variable.  Use for running globtest
34037         binary.
34038
34039 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34040             Joseph Myers  <joseph@codesourcery.com>
34041
34042         * Makeconfig (host-built-program-cmd): New variable.
34043         * elf/Makefile (tst-stackguard1-ARGS): Use
34044         $(host-built-program-cmd).
34045         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34046         (tst-spawn-ARGS): Likewise.
34047         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34048
34049 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34050             Jim Blandy  <jimb@codesourcery.com>
34051
34052         * Makeconfig (run-via-rtld-prefix): New variable.
34053         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34054         (built-program-cmd): Likewise.
34055
34056 2012-10-22  Andreas Jaeger  <aj@suse.de>
34057
34058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34059         __O_RSYNC if it exists, otherwise to O_SYNC.
34060
34061 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34062             Joseph Myers  <joseph@codesourcery.com>
34063
34064         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34065         /dev/null.
34066         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34067         from /dev/null
34068         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34069         /dev/null.
34070
34071 2012-10-22  Andreas Jaeger  <aj@suse.de>
34072
34073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34074         Define always.
34075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34076
34077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34078         bits/fcntl-linux.h.
34079
34080         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34081         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34082
34083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34084         to __O_LARGEFILE.
34085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34086         to __O_LARGEFILE.
34087
34088 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34089             Joseph Myers  <joseph@codesourcery.com>
34090
34091         * config.make.in (NM): New variable.
34092
34093 2012-10-21  Andreas Jaeger  <aj@suse.de>
34094
34095         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34096         definitions and declarations that are provided by
34097         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34098
34099 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34100
34101         [BZ #14683]
34102         * elf/Makefile (tests-static): Add tst-leaks1-static.
34103         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34104         ($(objpfx)tst-leaks1-static): New rule.
34105         ($(objpfx)tst-leaks1-static-mem): Likewise.
34106         (tst-leaks1-static-ENV): New macro.
34107         * elf/dl-open.c (dl_open_worker): Check the main application
34108         only if SHARED is defined.
34109         * elf/tst-leaks1-static.c: New file.
34110
34111 2012-10-20  Andreas Jaeger  <aj@suse.de>
34112
34113         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34114         generic values for Linux.
34115         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34116         and declarations that are provided by <bits/fcntl-linux.h> and
34117         include <bits/fcntl-linux.h>.
34118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34119         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34120
34121 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34122
34123         * io/fcntl.h: Move include of <bits/types.h> to the top and
34124         include it unconditionally.
34125
34126 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34127
34128         * wcsmbs/Makefile (tests-ifunc): New variable.
34129         (tests): Add $(tests-ifunc).
34130         * wcsmbs/test-wcschr-ifunc.c: New file.
34131         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34132         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34133         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34134         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34135         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34136
34137         * string/Makefile (tests-ifunc): New variable.
34138         (tests): Add $(tests-ifunc).
34139         * string/test-memccpy.c (TEST_NAME): New macro.
34140         * string/test-memchr.c (TEST_NAME): Likewise.
34141         * string/test-memcmp.c (TEST_NAME): Likewise.
34142         * string/test-memcpy.c (TEST_NAME): Likewise.
34143         * string/test-memmem.c (TEST_NAME): Likewise.
34144         * string/test-memmove.c (TEST_NAME): Likewise.
34145         * string/test-memset.c (TEST_NAME): Likewise.
34146         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34147         * string/test-stpcpy.c (TEST_NAME): Likewise.
34148         * string/test-stpncpy.c (TEST_NAME): Likewise.
34149         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34150         * string/test-strcasestr.c (TEST_NAME): Likewise.
34151         * string/test-strcat.c (TEST_NAME): Likewise.
34152         * string/test-strchr.c (TEST_NAME): Likewise.
34153         * string/test-strcmp.c(TEST_NAME): Likewise.
34154         * string/test-strcpy.c (TEST_NAME): Likewise.
34155         * string/test-strcspn.c (TEST_NAME): Likewise.
34156         * string/test-strlen.c (TEST_NAME): Likewise.
34157         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34158         * string/test-strncmp.c (TEST_NAME): Likewise.
34159         * string/test-strncpy.c (TEST_NAME): Likewise.
34160         * string/test-strnlen.c (TEST_NAME): Likewise.
34161         * string/test-strpbrk.c (TEST_NAME): Likewise.
34162         * string/test-strrchr.c (TEST_NAME): Likewise.
34163         * string/test-strspn.c (TEST_NAME): Likewise.
34164         * string/test-strstr.c (TEST_NAME): Likewise.
34165         * string/test-bcopy-ifunc.c: New file.
34166         * string/test-bzero-ifunc.c: Likewise.
34167         * string/test-memccpy-ifunc.c: Likewise.
34168         * string/test-memchr-ifunc.c: Likewise.
34169         * string/test-memcmp-ifunc.c: Likewise.
34170         * string/test-memcpy-ifunc.c: Likewise.
34171         * string/test-memmem-ifunc.c: Likewise.
34172         * string/test-memmove-ifunc.c: Likewise.
34173         * string/test-mempcpy-ifunc.c: Likewise.
34174         * string/test-memset-ifunc.c: Likewise.
34175         * string/test-rawmemchr-ifunc.c: Likewise.
34176         * string/test-stpcpy-ifunc.c: Likewise.
34177         * string/test-stpncpy-ifunc.c: Likewise.
34178         * string/test-strcasecmp-ifunc.c: Likewise.
34179         * string/test-strcasestr-ifunc.c: Likewise.
34180         * string/test-strcat-ifunc.c: Likewise.
34181         * string/test-strchr-ifunc.c: Likewise.
34182         * string/test-strchrnul-ifunc.c: Likewise.
34183         * string/test-strcmp-ifunc.c: Likewise.
34184         * string/test-strcpy-ifunc.c: Likewise.
34185         * string/test-strcspn-ifunc.c: Likewise.
34186         * string/test-strlen-ifunc.c: Likewise.
34187         * string/test-strncasecmp-ifunc.c: Likewise.
34188         * string/test-strncat-ifunc.c: Likewise.
34189         * string/test-strncmp-ifunc.c: Likewise.
34190         * string/test-strncpy-ifunc.c: Likewise.
34191         * string/test-strnlen-ifunc.c: Likewise.
34192         * string/test-strpbrk-ifunc.c: Likewise.
34193         * string/test-strrchr-ifunc.c: Likewise.
34194         * string/test-strspn-ifunc.c: Likewise.
34195         * string/test-strstr-ifunc.c: Likewise.
34196
34197         * debug/Makefile (tests-ifunc): New variable.
34198         (tests): Add $(tests-ifunc).
34199         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34200         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34201         * debug/test-stpcpy_chk-ifunc.c: New file.
34202         * debug/test-strcpy_chk-ifunc.c: Likewise.
34203
34204 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34205
34206         [BZ #13601]
34207         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34208         header is not read in.
34209
34210 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34211
34212         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34213         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34214         directly.  Pass built executable to script as
34215         $(built-program-cmd).
34216         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34217         $testprogram without using LD_LIBRARY_PATH and $ldso.
34218
34219         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34220         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34221         $(rtld-installed-name).
34222         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34223         (rtld_installed_name): Likewise.
34224         (library_path): Likewise.
34225         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34226         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34227         $(run-program-prefix) to tst-tables.sh.
34228         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34229         it to run tst-table-from and tst-table-to.
34230         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34231         Pass it to tst-table.sh.
34232         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34233         $(run-program-prefix) to tst-gettext.sh.
34234         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34235         tst-translit.sh.
34236         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34237         tst-gettext2.sh.
34238         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34239         to run tst-gettext.
34240         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34241         to run tst-gettext2.
34242         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34243         to run tst-translit.
34244         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34245         $(run-program-prefix) to tst-mtrace.sh.
34246         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34247         to run tst-mtrace.
34248         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34249         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34250         $(rtld-installed-name).
34251         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34252         (rtld_installed_name): Likewise.
34253         (run_program_prefix): New variable.  Use it to run wordexp-test.
34254
34255         * Makeconfig (ARCH): Remove all definitions.
34256         (machine): Likewise.
34257         [ARCH]: Remove conditional code.
34258         [!objdir]: Give error.
34259         [!objdir] (objpfx): Remove.
34260         [!objdir] (common-objpfx): Likewise.
34261         [!objdir] (common-objdir): Likewise.
34262         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34263         AC_CONFIG_FILES call.
34264         * configure: Regenerated.
34265
34266         [BZ #13888]
34267         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34268         or TMPDIR.
34269         (testout): Likewise.
34270
34271         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34272         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34273         $(rtld-installed-name).
34274         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34275         (rtld_installed_name): Likwise.
34276         (runit): Remove function.
34277         (run_getconf): New variable,  Use it for running getconf binary.
34278
34279 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34280
34281         [BZ #14716]
34282         * string/test-memmem.c (check_result): New function.
34283         (do_one_test): Use it.
34284         (check1): New function.
34285         (test_main): Use it.
34286
34287 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34288
34289         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34290
34291 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34292
34293         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34294         (_G_LSEEK64): Likewise.
34295         (_G_MMAP64): Likewise.
34296         (_G_FSTAT64): Likewise.
34297         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34298         (_G_LSEEK64): Likewise.
34299         (_G_MMAP64): Likewise.
34300         (_G_FSTAT64): Likewise.
34301         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34302         unconditional.  Call __mmap64 directly.
34303         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34304         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34305         __lseek64 directly.
34306         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34307         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34308         __mmap64 directly.
34309         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34310         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34311         __lseek64 directly.
34312         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34313         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34314         __lseek64 directly.
34315         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34316         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34317         __lseek64 directly.
34318         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34319         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34320         __fxstat64 directly.
34321         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34322         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34323         unconditional.
34324         (freopen64) [!_G_OPEN64]: Remove conditional code.
34325         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34326         unconditional.
34327         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34328         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34329         unconditional.
34330         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34331         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34332         unconditional.
34333         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34334         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34335         unconditional.
34336         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34337         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34338         unconditional.
34339         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34340         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34341         unconditional.
34342         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34343         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34344         unconditional.
34345         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34346
34347 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34348
34349         [BZ #12140]
34350         * manual/memory.texi (Malloc Tunable Parameters): Add note
34351         about free list pointers overwriting some perturb bytes.
34352         Wording suggested by Roland McGrath.
34353
34354 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34355
34356         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34357         (lgamma_test): Likewise.
34358         (tgamma_test): Likewise.
34359
34360 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34361
34362         [BZ #14700]
34363         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34364         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34365
34366 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34367
34368         * NEWS: Mention BZ #14716.
34369         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34370         when removing AVAILABLE1_USES_J macro.
34371
34372 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34373
34374         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34375         (__bswap_64): __uint64_t for unsigned 64-bit int.
34376
34377 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34378
34379         * include/string.h (memmem): Declare libc hidden alias.
34380         * string/memmem.c (memmem): Define libc hidden alias.
34381         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34382         __read, __close instead of open, read, close.
34383
34384 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34385
34386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34387         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34388         global and hidden.
34389         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34390         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34391         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34392         Likewise.
34393         (__rawmemchr_sse2): Likewise.
34394         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34395         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34396         (__strchr_sse2): Likewise.
34397         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34398         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34399         (__strcasecmp_sse2): Likewise.
34400         (__strncasecmp_sse2): Likewise.
34401         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34402         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34403         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34404         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34405         (__strrchr_sse2): Likewise.
34406         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34407         ifunc-impl-list.c.
34408         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34409         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34410         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34411         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34412         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34413         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34414         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34415         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34416         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34417         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34418         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34419         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34420         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34421         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34422         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34423         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34424         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34425         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34426         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34427         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34428         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34429         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34430         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34431         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34432         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34433         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34434         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34435         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34436         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34437         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34438
34439         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34440         global and hidden.
34441         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34442         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34443         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34444         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34445         Likewise.
34446         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34447         Likewise.
34448         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34449         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34450         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34451         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34452         ifunc-impl-list.c.
34453         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34454         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34455         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34456         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34457         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34458         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34459         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34460         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34461         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34462         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34463         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34464         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34465         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34466         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34467         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34468         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34469         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34470         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34471         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34472         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34473         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34474         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34475         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34476         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34477         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34478         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34479         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34480         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34481         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34482         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34483         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34484         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34485         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34486         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34487         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34488         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34489         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34490         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34491         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34492         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34493         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34494
34495         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34496         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34497         * include/ifunc-impl-list.h: New file.
34498         * misc/ifunc-impl-list.c: Likewise.
34499         * misc/Makefile (routines): Add ifunc-impl-list.
34500         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34501         * string/test-string.h: Include <ifunc-impl-list.h>.
34502         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34503         TEST_NAME]: New variables.
34504         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34505         are defined.
34506         (test_init): Call __libc_ifunc_impl_list to initialize
34507         func_list if TEST_IFUNC and TEST_NAME are defined.
34508
34509         * string/Makefile (strop-tests): Add bcopy and bzero.
34510         * string/test-bcopy.c: New file.
34511         * string/test-bzero.c: Likewise.
34512         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34513         defined.
34514         * string/test-memset.c: Support bzero test if TEST_BZERO is
34515         defined.
34516         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34517         __libc_memmove.
34518         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34519         __libc_memset.
34520         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34521         of memset.
34522
34523 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34524
34525         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34526         * configure: Regenerated.
34527
34528         * Makeconfig (+link-static-before-libc): Don't include
34529         $(link-static-libc).
34530
34531         * libio/libio.h (_IO_pos_t): Remove.
34532
34533 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34534
34535         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34536         McGrath.
34537
34538 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34539
34540         * crypt/crypt-entry.c: Include fips-private.h.
34541         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34542         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34543         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34544         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34545
34546 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34547
34548         * crypt/crypt-private.h: Include stdbool.h.
34549         (_ufc_setup_salt_r): Return bool.
34550         * crypt/crypt-entry.c: Include errno.h.
34551         (__crypt_r): Return NULL with EINVAL for bad salt.
34552         * crypt/crypt_util.c (bad_for_salt): New.
34553         (_ufc_setup_salt_r): Check that salt is long enough and within
34554         the specified alphabet.
34555         * crypt/badsalttest.c: New file.
34556         * crypt/Makefile (tests): Add it.
34557         ($(objpfx)badsalttest): New.
34558
34559 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34560
34561         * NEWS: Add entry for BZ #14602.
34562
34563 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34564
34565         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34566         type-generic.
34567         * math/libm-test.inc: Update comment listing what functions and
34568         macros are tested.
34569         (isgreater_test): New function.
34570         (isgreaterequal_test): Likewise.
34571         (isless_test): Likewise.
34572         (islessequal_test): Likewise.
34573         (islessgreater_test): Likewise.
34574         (isunordered_test): Likewise.
34575         (main): Call the new functions.
34576
34577 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34578
34579         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34580         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34581         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34582         * sysdeps/i386/configure: Regenerated.
34583         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34584         * sysdeps/mach/configure: Regenerated.
34585         * sysdeps/mach/hurd/configure: Regenerated.
34586         * sysdeps/powerpc/configure: Regenerated.
34587         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34588         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34589         * sysdeps/s390/s390-32/configure: Regenerated.
34590         * sysdeps/s390/s390-64/configure: Regenerated.
34591         * sysdeps/sh/configure: Regenerated.
34592         * sysdeps/sparc/configure: Regenerated.
34593         * sysdeps/unix/sysv/linux/configure: Regenerated.
34594         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34595         * sysdeps/x86_64/configure: Regenerated.
34596
34597         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34598         defined.  Don't check if MAP is NULL.
34599
34600 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34601
34602         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34603         (_G_stat64): Likewise.
34604         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34605         (_G_stat64): Likewise.
34606         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34607         instead of struct _G_stat64.
34608         * libio/fileops.c (mmap_remap_check): Likewise.
34609         (decide_maybe_mmap): Likewise.
34610         (_IO_new_file_seekoff): Likewise.
34611         (_IO_file_stat): Likewise.
34612         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34613         _G_off64_t.
34614         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34615         instead of struct _G_stat64.
34616         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34617
34618 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34619
34620         [BZ #14602]
34621         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34622         Replace with ...
34623         (CHECK_EOL): New macro.
34624         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34625         CHECK_EOL.
34626         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34627         Replace with CHECK_EOL.
34628         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34629         Replace with CHECK_EOL.
34630
34631 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34632
34633         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34634         type-generic.
34635         * math/libm-test.inc: Update comment listing what functions and
34636         macros are tested.
34637         (finite_test): New function.
34638         (isinf_test): Likewise.
34639         (isnan_test): Likewise.
34640         (fpclassify_test): Test subnormal input.
34641         (isfinite_test): Likewise.
34642         (isnormal_test): Likewise.
34643         (main): Call the new functions.
34644
34645 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34646
34647         [BZ #14660]
34648         * Makerules (%.dynsym): Force C locale when running
34649         $(OBJDUMP) --dynamic-syms.
34650
34651 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34652
34653         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34654         <stdint.h>.
34655
34656 2012-10-06  David S. Miller  <davem@davemloft.net>
34657
34658         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34659         upper 32-bits of the length value in %o2 since we use branch-on-register
34660         tests which consider the entire 64-bit register.
34661
34662 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34663
34664         * string/test-strstr.c (check2): Add a test for page boundary.
34665
34666 2012-10-05  David S. Miller  <davem@davemloft.net>
34667
34668         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34669         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34670         file.
34671         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34672         sysdep_routines.
34673         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34674         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34675         and bzero when HWCAP_SPARC_CRYPTO is present.
34676
34677 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34678
34679         [BZ #14602]
34680         * string/test-strstr.c (check2): New function.
34681         (test_main): Call check2.
34682
34683         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34684         and bug-strchr1.
34685         * string/bug-strcasestr1.c (do_test): Moved to ...
34686         * string/test-strcasestr.c (check1): Here.  New function.
34687         (do_one_test): Break out result checking code into ...
34688         (check_result): This.  New function.
34689         (do_one_test): Call check_result.
34690         (test_main): Call check1.
34691         * string/bug-strchr1.c (do_test): Moved to ...
34692         * string/test-strchr.c (check1): Here.  New function.
34693         (do_one_test): Break out result checking code into ...
34694         (check_result): This.  New function.
34695         (do_one_test): Call check_result.
34696         (test_main): Call check1.
34697         * string/bug-strstr1.c (main): Moved to ...
34698         * string/test-strstr.c (check1): Here.  New function.
34699         (do_one_test): Break out result checking code into ...
34700         (check_result): This.  New function.
34701         (do_one_test): Call check_result.
34702         (test_main): Call check1.
34703         * string/bug-strcasestr1.c: Removed.
34704         * string/bug-strchr1.c: Likewise.
34705         * string/bug-strstr1.c: Likewise.
34706
34707         * elf/Makefile (dl-routines): Add hwcaps.
34708         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34709         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34710         (_dl_important_hwcaps): Moved to ...
34711         * elf/dl-hwcaps.c: Here.  New file.
34712         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34713
34714         [BZ #14557]
34715         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34716         if IS_IN_rtld isn't defined.
34717
34718         * elf/dl-support.c (_dl_sysinfo_map): New.
34719         Include "get-dynamic-info.h" and "setup-vdso.h".
34720         (_dl_non_dynamic_init): Call setup_vdso.
34721         * elf/dynamic-link.h: Don't include <assert.h>.
34722         (elf_get_dynamic_info): Moved to ...
34723         * elf/get-dynamic-info.h: Here.  New file.
34724         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34725         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34726         * elf/setup-vdso.h: Here.  New file.
34727         * elf/rtld.c: Include "setup-vdso.h".
34728         (dl_main): Call setup_vdso.
34729
34730 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34731
34732         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34733         creal in comment listing functions tested.  List finite, isinf,
34734         isnan, isless, islessequal, isgreater, isgreaterequal,
34735         islessgreater, isunordered, lgamma_r and pow10 as functions and
34736         macros not tested.  Mention which functions not tested are aliases
34737         for other functions.  Fix typo.  Note that signs of NaNs are not
34738         tested.
34739
34740         * scripts/config.guess: Update from config.git.
34741         * scripts/config.sub: Likewise.
34742
34743 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34744
34745         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34746         * misc/madvise.c (madvise): Renamed to __madvise.
34747         Make madvise a weak alias.
34748         * include/sys/mman.h: Declare __madvise.
34749         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34750         * sysdeps/unix/syscalls.list
34751         (madvise): Make __madvise the strong name, and madvise a weak alias.
34752         * sysdeps/unix/sysv/linux/syscalls.list
34753         (madvise, mmap): Remove redundant entries.
34754         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34755         * malloc/malloc.c (mtrim): Likewise.
34756         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34757
34758 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34759
34760         * sysdeps/mach/hurd/dl-cache.c: File removed.
34761         * config.h.in (USE_LDCONFIG): New #undef.
34762         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34763         * configure: Regenerated.
34764         * elf/Makefile (dl-routines): Add dl-cache only under
34765         [$(use-ldconfig) = yes].
34766         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34767         cache on [USE_LDCONFIG].
34768         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34769         [USE_LDCONFIG].
34770         * elf/rtld.c (dl_main): Likewise.
34771
34772 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34773
34774         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34775         _SC_LEVEL4_CACHE_LINESIZE.
34776
34777 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34778
34779         * sysdeps/unix/bsd/confstr.h: File removed.
34780
34781 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34782
34783         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34784         sys/sdt-config.h.
34785
34786 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34787
34788         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34789         Make 'mapoff' field ElfW(Off) rather than off_t.
34790
34791 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34792
34793         * nscd/Makefile: Remove nscd-cflags and all its users.
34794         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34795         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34796
34797         [BZ #10631]
34798         * malloc.c (malloc_printerr): Clarify error message.
34799
34800 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34801
34802         [BZ #14648]
34803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34804         Set bit_FMA_Usable if FMA is supported.
34805         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34806         macro.
34807         (bit_FMA4_Usable): Updated.
34808         (index_FMA_Usable): New macro.
34809         (CPUID_FMA): Likewise
34810         (HAS_FMA): Defined with bit_FMA_Usable.
34811
34812 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34813
34814         * bits/types.h (__swblk_t): Type removed.
34815         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34816         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34817         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34818         (__SWBLK_T_TYPE): Likewise.
34819         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34820         (__SWBLK_T_TYPE): Likewise.
34821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34822         (__SWBLK_T_TYPE): Likewise.
34823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34824         (__SWBLK_T_TYPE): Likewise.
34825
34826 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34827             Honza Horak <hhorak@redhat.com>
34828
34829         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34830         (xdr_mapname): Use YPMAXMAP as maxsize.
34831         (xdr_peername): Use YPMAXPEER as maxsize.
34832         (xdr_keydat): Use YPAXRECORD as maxsize.
34833         (xdr_valdat): Use YPMAXRECORD as maxsize.
34834
34835 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34836
34837         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34838
34839         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34840         * csu/init-first.c: ... here.
34841         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34842         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34843         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34844         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34845         * sysdeps/i386/init-first.c: File removed.
34846         * sysdeps/sh/init-first.c: File removed.
34847
34848 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34849
34850         [BZ #14645]
34851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34852         if x * y might underflow to zero and z is zero.
34853         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34855         * math/libm-test.inc (min_subnorm_value): New variable.
34856         (fma_test): Add more tests.
34857         (fma_test_towardzero): Likewise.
34858         (fma_test_downward): Likewise
34859         (fma_test_upward): Likewise.
34860         (initialize): Set min_subnorm_value.
34861
34862 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34863
34864         [BZ #14638]
34865         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34866         0 + 0.
34867         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34868         mode for addition resulting in exact zero.
34869         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34871         exact 0 + 0.
34872         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34873         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34874         * math/libm-test.inc (fma_test): Add more tests.
34875         (fma_test_towardzero): New function.
34876         (fma_test_downward): Likewise.
34877         (fma_test_upward): Likewise.
34878         (main): Call the new functions.
34879
34880 2012-09-28  David S. Miller  <davem@davemloft.net>
34881
34882         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34883
34884 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34885
34886         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34887         instead of SIGALRM.
34888
34889         * sysdeps/gnu/_G_config.h: Moved to ...
34890         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34891         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34892         * sysdeps/generic/_G_config.h: ... here.
34893
34894         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34895
34896         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34897
34898         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34899         Conditionalize target on [libnss_test1.so-version].
34900
34901         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34902
34903         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34904         (elfobjdir): Move out of conditionals.
34905
34906         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34907         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34908         (__nss_lookup_function): Conditionalize label remove_from_tree on
34909         [!DO_STATIC_NSS || SHARED], matching its only use.
34910
34911 2012-09-28  David S. Miller  <davem@davemloft.net>
34912
34913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34914         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34915         file.
34916         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34917         sysdep_routines.
34918         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34920         when HWCAP_SPARC_CRYPTO is present.
34921
34922 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34923
34924         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34925
34926 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34927
34928         [BZ #6530]
34929         * stdio-common/vfprintf.c (process_string_arg): Revert
34930         2000-07-22 change.
34931
34932 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34933
34934         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34935         for testcase.
34936         * stdio-common/tst-sprintf.c: Include <locale.h>
34937         (main): Test sprintf's handling of incomplete multibyte
34938         characters.
34939
34940 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34941
34942         * elf/dl-runtime.c (VERSYMIDX): Removed.
34943         * elf/dl-version.c (VERSYMIDX): Likewise.
34944         * elf/do-rel.h (VERSYMIDX): Likewise.
34945         (VALIDX): Likewise.
34946         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34947         * elf/rtld.c (VALIDX): Likewise.
34948         (ADDRIDX): Likewise.
34949         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34950         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34951         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34952         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34953         (VALIDX): Likewise.
34954         (ADDRIDX): Likewise.
34955
34956 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34957
34958         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34959
34960 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34961
34962         [BZ #11438]
34963         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34964         to global scope.
34965         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34966         addresses are in the same scope as 192.0.2/24.
34967         * posix/gai.conf: Document new scope table defaults.
34968
34969 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34970
34971         [BZ #5298]
34972         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34973         for ftell.  Compute offsets from write pointers instead.
34974         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34975
34976 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34977
34978         [BZ #14543]
34979         * libio/Makefile (tests): New test case tst-fseek.
34980         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34981         combination works in wide mode.
34982         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34983         state when the external buffer state changes.
34984
34985 2012-09-27  David S. Miller  <davem@davemloft.net>
34986
34987         [BZ #14376]
34988         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34989         pass reloc->r_addend in as the 'high' argument to
34990         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34991
34992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34993
34994 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34995
34996         * rt/tst-aio2.c: Include <pthread.h>.
34997         * rt/tst-aio3.c: Likewise.
34998
34999 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35000
35001         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35002
35003 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35004
35005         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35006         contents on [SHARED].
35007
35008 2012-09-26  Marek Polacek  <polacek@redhat.com>
35009
35010         [BZ #14530]
35011         [BZ #13741]
35012         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35013         for C++ and GCC <4.3 as well as for non GCC compilers.
35014
35015 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35016
35017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35018
35019 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35020
35021         * Makefile.in (all, install): Declare with .PHONY.
35022         Reported by Michael Hope <michael.hope@linaro.org>.
35023
35024 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35025
35026         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35027         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35028         system header.
35029         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35030         Likewise.
35031         (sydep_routines): Add the new and the internal functions.
35032         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35033         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35035         (GLIBC_2.17): Add the new function.
35036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35037         (GLIBC_2.17): Likewise.
35038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35039         (GLIBC_2.17): Likewise.
35040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35041         (GLIBC_2.17): Likewise.
35042         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35043
35044 2012-09-25  Alan Modra  <amodra@gmail.com>
35045
35046         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35047         Add release barrier before setting once_control to say
35048         initialisation is done.  Add hints on lwarx.  Use macro in
35049         place of isync.
35050         (clear_once_control): Add release barrier.
35051
35052 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35053
35054         [BZ #13629]
35055         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35056         specially.
35057         * math/s_clog10.c (__clog10): Likewise.
35058         * math/s_clog10f.c (__clog10f): Likewise.
35059         * math/s_clog10l.c (__clog10l): Likewise.
35060         * math/s_clogf.c (__clogf): Likewise.
35061         * math/s_clogl.c (__clogl): Likewise.
35062         * math/Makefile (libm-calls): Add x2y2m1.
35063         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35064         (__x2y2m1): Likewise.
35065         (__x2y2m1l): Likewise.
35066         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35067         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35068         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35069         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35070         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35071         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35072         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35073         * sysdeps/i386/fpu/libm-test-ulps: Update.
35074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35075
35076         [BZ #14621]
35077         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35078         int as type of variable DEPTH.
35079         (glob): Use size_t instead of int as type of variables NEWCOUNT
35080         and OLD_PATHC.
35081
35082 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35083
35084         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35085         Add s_sincosf-sse2.
35086         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35087         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35088         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35089         macros for using routine as __sincosf_ia32.
35090         Use macro for function declaration and weak_alias.
35091         * sysdeps/i386/fpu/libm-test-ulps: Update.
35092
35093         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35094         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35095
35096         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35097         subnormal argument.
35098         * math/s_cexpf.c (__cexpf): Likewise.
35099         * math/s_csinf.c (__csinf): Likewise.
35100         * math/s_csinhf.c (__csinhf): Likewise.
35101         * math/s_ctanf.c (__ctanf): Likewise.
35102         * math/s_ctanhf.c (__ctanhf): Likewise.
35103         * math/s_ccosh.c (__ccoshf): Likewise.
35104         * math/s_cexp.c (__cexpl): Likewise.
35105         * math/s_csin.c (__csin): Likewise.
35106         * math/s_csinh.c (__csinh): Likewise.
35107         * math/s_ctan.c (__ctan): Likewise.
35108         * math/s_ctanh.c (ctanh): Likewise.
35109         * math/s_ccoshl.c (__ccoshl): Likewise.
35110         * math/s_cexpl.c (__cexpl): Likewise.
35111         * math/s_csinl.c (__csinl): Likewise.
35112         * math/s_csinhl.c (__csinhl): Likewise.
35113         * math/s_ctanl.c (__ctanl): Likewise.
35114         * math/s_ctanhl.c (__ctanhl): Likewise.
35115
35116 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35117
35118         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35119         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35120         (_IO_off_t): Define to __off_t, not _G_off_t.
35121         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35122         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35123         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35124         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35125         type of __dummy and __dummy2 fields.
35126         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35127         (_G_ssize_t): Likewise.
35128         (_G_off_t): Likewise.
35129         (_G_pid_t): Likewise.
35130         (_G_uid_t): Likewise.
35131         (_G_wchar_t): Likewise.
35132         (_G_wint_t): Likewise.
35133         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35134         (_G_ssize_t): Likewise.
35135         (_G_off_t): Likewise.
35136         (_G_pid_t): Likewise.
35137         (_G_uid_t): Likewise.
35138         (_G_wchar_t): Likewise.
35139         (_G_wint_t): Likewise.
35140         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35141         (_G_ssize_t): Likewise.
35142         (_G_off_t): Likewise.
35143         (_G_pid_t): Likewise.
35144         (_G_uid_t): Likewise.
35145         (_G_wchar_t): Likewise.
35146         (_G_wint_t): Likewise.
35147
35148 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35149
35150         * malloc/arena.c: Include malloc-sysdep.h.
35151         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35152         is sufficient to shrink the heap or an unmap is needed.
35153         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35154         new function check_may_shrink_heap.
35155         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35156         new function check_may_shrink_heap.
35157
35158 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35159
35160         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35161         comments.
35162
35163 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35164
35165         * catgets/test-gencat.sh: Add "set -e".
35166         * elf/tst-pathopt.sh: Likewise.
35167         * grp/tst_fgetgrent.sh: Likewise.
35168         * iconvdata/run-iconv-test.sh: Likewise.
35169         * intl/tst-gettext.sh: Likewise.
35170         * intl/tst-gettext2.sh: Likewise.
35171         * intl/tst-gettext4.sh: Likewise.
35172         * intl/tst-gettext6.sh: Likewise.
35173         * intl/tst-translit.sh: Likewise.
35174         * io/ftwtest-sh: Likewise.
35175         * libio/test-freopen.sh: Likewise.
35176         * malloc/tst-mtrace.sh: Likewise.
35177         * posix/globtest.sh: Likewise.
35178         * posix/tst-getconf.sh: Likewise.
35179         * posix/wordexp-tst.sh: Likewise.
35180         * stdio-common/tst-printf.sh: Likewise.
35181         * stdio-common/tst-unbputc.sh: Likewise.
35182         * stdlib/tst-fmtmsg.sh: Likewise.
35183         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35184         * catgets/Makefile: Do not specify -e option when running
35185         testsuite shell scripts.
35186         * elf/Makefile: Likewise.
35187         * grp/Makefile: Likewise.
35188         * iconvdata/Makefile: Likewise.
35189         * intl/Makefile: Likewise.
35190         * io/Makefile: Likewise.
35191         * libio/Makefile: Likewise.
35192         * malloc/Makefile: Likewise.
35193         * posix/Makefile: Likewise.
35194         * stdio-common/Makefile: Likewise.
35195         * stdlib/Makefile: Likewise.
35196         * sysdeps/x86_64/Makefile: Likewise.
35197
35198         * io/ftwtest-sh: Add copyright header.
35199         * posix/globtest.sh: Likewise.
35200         * posix/tst-getconf.sh: Likewise.
35201         * posix/wordexp-tst.sh: Likewise.
35202         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35203
35204 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35205
35206         [BZ #13679]
35207         * Makeconfig (+link): Defined as $(+link-static) if
35208         $(build-shared) isn't yes.
35209         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35210         isn't yes.
35211         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35212
35213         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35214
35215         [BZ #14562]
35216         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35217         new chunk size with MALLOC_ALIGN_MASK.
35218
35219 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35220
35221         [BZ #5044]
35222         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35223         <rounding-mode.h>.
35224         (__printf_fphex): Determine rounding using get_rounding_mode and
35225         round_away.
35226         * stdio-common/tst-printf-round.c (struct hex_test): New
35227         structure.
35228         (hex_tests): New variable.
35229         (test_hex_in_one_mode): New function.
35230         (do_test): Also run tests for hex float output.
35231
35232 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35233
35234         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35235         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35236         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35237         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35238         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35239         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35240         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35241         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35242
35243 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35244
35245         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35246         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35247         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35248         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35249
35250 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35251
35252         [BZ #14579]
35253         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35254         mode only.
35255         * elf/tst-rtld-load-self.sh: New test.
35256         * elf/Makefile: Run it.
35257
35258 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35259
35260         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35261         (tst-writev-ENV): Remove.
35262         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35263
35264 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35265
35266         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35267
35268 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35269
35270         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35271         unconditional.
35272         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35273         Likewise.
35274         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35275         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35276         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35277         Likewise.
35278
35279 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35280
35281         [BZ #14587]
35282         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35283         * config.make.in (have-cpp-asm-debuginfo): Removed.
35284         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35285         * configure: Regenerated.
35286
35287 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35288
35289         [BZ #5044]
35290         * stdio-common/printf_fp.c: Include <stdbool.h> and
35291         <rounding-mode.h>.
35292         (___printf_fp): Determine rounding using get_rounding_mode and
35293         round_away.
35294         * stdio-common/tst-printf-round.c: New file.
35295         * stdio-common/Makefile (tests): Add tst-printf-round.
35296         (link-libm): New variable.
35297         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35298
35299 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35300
35301         [BZ #14576]
35302         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35303         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35304         Likewise.
35305         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35306         Likewise.
35307
35308 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35309
35310         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35311         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35312         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35313         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35314
35315 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35316
35317         [BZ #14518]
35318         * include/rounding-mode.h: New file.
35319         * sysdeps/generic/get-rounding-mode.h: Likewise.
35320         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35321         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35322         (MAX_VALUE): New macro.
35323         (MIN_VALUE): Likewise.
35324         (overflow_value): New function.
35325         (underflow_value): Likewise.
35326         (round_and_return): Use overflow_value and underflow_value to
35327         determine return values in overflow and underflow cases.  Use
35328         round_away to determine rounding depending on rounding mode.
35329         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35330         determine return values in overflow and underflow cases.
35331         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35332         (struct test_results): New structure.
35333         (struct test): Use struct test_results to store expected results
35334         for all rounding modes.
35335         (TEST): Include expected results for all rounding modes.
35336         (test_in_one_mode): New function.
35337         (do_test): Use test_in_one_mode to compute and check results.
35338         Check results for all rounding modes.
35339         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35340         $(link-libm).
35341
35342 2012-12-09  Allan McRae  <allan@archlinux.org>
35343
35344         * sysdeps/i386/fpu/libm-test-ulps: Update
35345
35346 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35347
35348         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35349         (_G_int32_t): Likewise.
35350         (_G_uint16_t): Likewise.
35351         (_G_uint32_t): Likewise.
35352         (_G_HAVE_BOOL): Likewise.
35353         (_G_HAVE_ATEXIT): Likewise.
35354         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35355         (_G_HAVE_IO_FILE_OPEN): Likewise.
35356         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35357         (_G_int32_t): Likewise.
35358         (_G_uint16_t): Likewise.
35359         (_G_uint32_t): Likewise.
35360         (_G_HAVE_BOOL): Likewise.
35361         (_G_HAVE_ATEXIT): Likewise.
35362         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35363         (_G_HAVE_IO_FILE_OPEN): Likewise.
35364         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35365         (_G_int32_t): Likewise.
35366         (_G_uint16_t): Likewise.
35367         (_G_uint32_t): Likewise.
35368         (_G_HAVE_BOOL): Likewise.
35369         (_G_HAVE_ATEXIT): Likewise.
35370         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35371         (_G_HAVE_IO_FILE_OPEN): Likewise.
35372
35373 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35374
35375         * csu/libc-tls.c: Update copyright years.
35376
35377 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35378
35379         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35380         [!_G_USING_THUNKS]: Remove conditional code.
35381         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35382         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35383
35384         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35385         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35386         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35387         (_G_VTABLE_LABEL_PREFIX): Likewise.
35388         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35389         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35390         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35391         (_G_VTABLE_LABEL_PREFIX): Likewise.
35392         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35393         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35394         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35395         (_G_VTABLE_LABEL_PREFIX): Likewise.
35396         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35397
35398 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35399
35400         * libio/Makefile: Include ../Makeconfig before tests.
35401         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35402         only if $(build-shared) is yes.
35403
35404         * iconv/gconv_db.c: Update copyright years.
35405
35406 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35407
35408         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35409         unwind info if defined PIC. Fix special cases description.
35410         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35411
35412         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35413         DP_HI_MASK entry.
35414         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35415
35416 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35417
35418         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35419
35420         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35421         is NULL.
35422
35423         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35424         (LDLIBS-tst-chk4): This.
35425         (LDFLAGS-tst-chk5): Renamed to ...
35426         (LDLIBS-tst-chk5): This.
35427         (LDFLAGS-tst-chk6): Renamed to ...
35428         (LDLIBS-tst-chk6): This.
35429         (LDFLAGS-tst-lfschk4): Renamed to ...
35430         (LDLIBS-tst-lfschk4): This.
35431         (LDFLAGS-tst-lfschk5): Renamed to ...
35432         (LDLIBS-tst-lfschk5): This.
35433         (LDFLAGS-tst-lfschk6): Renamed to ...
35434         (LDLIBS-tst-lfschk6): This.
35435
35436         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35437         on $(common-objpfx)soversions.mk.
35438
35439 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35440
35441         [BZ #10014]
35442         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35443         example host name.
35444
35445 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35446
35447         * malloc/arena.c (arena_get_retry): New function that gets
35448         another arena for the caller to try its request on.
35449         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35450         current arena cannot fulfill the request.
35451         (__libc_memalign): Likewise.
35452         (__libc_memalign): Likewise.
35453         (__libc_pvalloc): Likewise.
35454         (__libc_calloc): Likewise.
35455
35456 2012-09-05  John Tobey  <john.tobey@gmail.com>
35457
35458         [BZ #13542]
35459         * manual/arith.texi (Operations on Complex): Fix description
35460         of carg branch cut.
35461
35462 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35463
35464         [BZ #10014]
35465         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35466         host name.
35467
35468         [BZ #10038]
35469         * manual/memory.texi (Memory): Make order of menu items match
35470         order of sections.
35471
35472 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35473
35474         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35475         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35476         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35477
35478 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35479
35480         * csu/libc-tls.c (static_dtv): Renamed to ...
35481         (_dl_static_dtv): This.  Make it global.
35482         (_dl_initial_dtv): Removed.
35483         (__libc_setup_tls): Updated.
35484         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35485         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35486         DL_INITIAL_DTV.
35487
35488 2012-09-06  Petr Machata  <pmachata@redhat.com>
35489
35490         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35491         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35492         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35493         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35494
35495 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35496
35497         [BZ #14545]
35498         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35499         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35500         freeing dtv[-1].
35501
35502 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35503
35504         [BZ #14544]
35505         * Makeconfig (link-static-before-libc): Replace $(+prector)
35506         with $(+prectorT).
35507         (link-static-after-libc): Replace $(+postctor) with
35508         $(+postctorT).
35509         (link-bounded): Replace $(+prector)/$(+postctor) with
35510         $(+prectorT)/$(+postctorT).
35511         (+prectorT): New macro.
35512         (+postctorT): Likewise.
35513
35514 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35515
35516         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35517         (round_str): Handle values above the maximum for IBM long double
35518         as inexact.
35519         * stdlib/tst-strtod-round.c (tests): Regenerated.
35520
35521 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35522
35523         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35524         assembler flag.
35525         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35526         zarch_nohighgprs around the zarch optimized routines.
35527         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35528         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35529         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35530         for zarch.
35531
35532 2012-09-05  David S. Miller  <davem@davemloft.net>
35533
35534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35535
35536         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35537         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35538         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35539         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35540         entries.
35541
35542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35543
35544         * malloc/arena.c: Fold copyright years.
35545         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35546
35547 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35548
35549         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35550
35551 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35552
35553         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35554
35555 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35556
35557         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35558         change internal state upon failure.
35559
35560 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35561
35562         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35563         * malloc/memusage.c (mmap): Likewise.
35564         (mmap64, mremap): Likewise.  Adjust name in comment.
35565
35566 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35567
35568         * libio/fileops.c: Fix typos in comments.
35569         * libio/oldfileops.c: Likewise.
35570         * libio/wfileops.c: Likewise.
35571
35572 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35573
35574         [BZ #1349]
35575         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35576         (tst-malloc-usable-ENV): Set environment for test case.
35577         * malloc/hooks.c (malloc_check_get_size): New function to get
35578         requested size.
35579         * malloc/malloc.c (musable): Use malloc_check_get_size.
35580         * malloc/tst-malloc-usable.c: New test case.
35581
35582 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35583
35584         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35585
35586 2012-09-05  Allan McRae  <allan@archlinux.org>
35587
35588         [BZ #13966]
35589         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35590         determine header location.
35591         * configure: Regenerated.
35592
35593 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35594
35595         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35596         float format.
35597         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35598         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35599         format.
35600         (test): Regenerate.
35601
35602 2012-09-04  David S. Miller  <davem@davemloft.net>
35603
35604         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35605         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35606         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35607
35608 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35609
35610         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35611         failures.
35612
35613         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35614
35615 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35616
35617         [BZ #9914]
35618         * libio/iogetdelim.c: Include <limits.h>.
35619         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35620         + len + 1 would overflow.
35621
35622 2012-09-03  Andreas Jaeger  <aj@suse.de>
35623
35624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35625         * sysdeps/i386/fpu/libm-test-ulps: Update.
35626
35627 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35628
35629         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35630         Add s_sinf-sse2, s_conf-sse2.
35631
35632         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35633         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35634         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35635         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35636
35637         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35638         for using routine as __sinf_ia32.
35639         Use macro for function declaration and weak_alias.
35640         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35641         for using routine as __cosf_ia32.
35642         Use macro for function declaration and weak_alias.
35643
35644         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35645         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35646
35647         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35648         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35650
35651         * math/libm-test.inc (cos_test): Add more test cases.
35652         (sin_test): Likewise.
35653         (sincos_test): Likewise.
35654
35655 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35656
35657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35658         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35659         hidden.
35660         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35661
35662 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35663
35664         [BZ #14538]
35665         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35666         first element of the GOT.
35667         (elf_machine_load_address): Return the difference between
35668         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35669
35670 2012-09-01  Allan McRae  <allan@archlinux.org>
35671
35672         [BZ #13412]
35673         * configure.in (AWK): Require gawk version 3.0 or later.
35674         * configure: Regenerated.
35675
35676 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35677
35678         * sysdeps/unix/sysv/linux/kernel-features.h
35679         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35680         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35681         [__NR_clock_getres]: Make code unconditional.
35682         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35683         (clock_getcpuclockid): Remove code left unreachable by removal of
35684         conditionals.
35685         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35686         code unconditional.
35687         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35688         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35689         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35690         Make code unconditional.
35691         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35692         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35693         * sysdeps/unix/sysv/linux/clock_settime.c
35694         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35695         conditional code.
35696         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35697         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35698
35699 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35700
35701         [BZ #14476]
35702         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35703         scripts/test-installation.pl.
35704
35705         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35706         and $ld_so_version if it is set.
35707
35708 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35709
35710         [BZ #14516]
35711         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35712         failure if reading from procfs failed.
35713         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35714
35715 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35716
35717         * sysdeps/unix/sysv/linux/kernel-features.h
35718         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35719         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35720         Remove conditional code.
35721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35722         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35723         Remove conditional code.
35724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35725         * sysdeps/unix/sysv/linux/i386/fxstat.c
35726         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35728         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35729         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35731         * sysdeps/unix/sysv/linux/i386/lxstat.c
35732         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35733         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35734         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35735         Remove conditional code.
35736         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35737         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35738         Remove conditional code.
35739         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35740         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35741         <kernel-features.h>.
35742         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35743         Remove.
35744         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35745         Remove conditional code.
35746         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35747         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35748         Remove conditional.
35749
35750 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35751
35752         [BZ #5400]
35753         * NEWS: Add fixed bug number.
35754
35755 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35756
35757         [BZ #14519]
35758         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35759         underflowing exponent in case of negative sign.
35760         * stdlib/tst-strtod-round-data: Add more tests.
35761         * stdlib/tst-strtod-round.c (tests): Regenerated.
35762
35763         [BZ #3479]
35764         * stdlib/strtod_l.c (NDIG): Remove.
35765         (HEXNDIG): Likewise.
35766         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35767         smallest representable value.
35768         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35769         lie within an exact representation of 1/2 ulp of the result.
35770         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35771         unconditionally.
35772         (TENS_P9_IDX): Define unconditionally.
35773         (TENS_P9_SIZE): Likewise.
35774         (TENS_P10_IDX): Likewise.
35775         (TENS_P10_SIZE): Likewise.
35776         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35777         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35778         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35779         entries for 10^2^13 and 10^2^14.
35780         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35781         (TENS_P13_IDX): Define.
35782         (TENS_P13_SIZE): Likewise.
35783         (TENS_P14_IDX): Likewise.
35784         (TENS_P14_SIZE): Likewise.
35785         (_fpioconst_pow10): Change array size to
35786         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35787         unconditional.
35788         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35789         1024]: Add entries for 10^2^13 and 10^2^14.
35790         [LAST_POW10 > _LAST_POW10]: Remove #error.
35791         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35792         (_fpioconst_pow10): Change array size to
35793         FPIOCONST_POW10_ARRAY_SIZE.
35794         * stdlib/gen-fpioconst.c: New file.
35795         * stdlib/gen-tst-strtod-round.c: Likewise.
35796         * stdlib/tst-strtod-round-data: Likewise.
35797         * stdlib/tst-strtod-round.c: Likewise.
35798         * stdlib/Makefile (tests): Add tst-strtod-round.
35799
35800         [BZ #14459]
35801         * stdlib/strtod_l.c: Include <stdint.h>.
35802         (NDEBUG): Do not define.
35803         (round_and_return): Change EXPONENT parameter to type intmax_t.
35804         Rearrange calculations to avoid internal overflow possibilities.
35805         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35806         Rearrange calculations to avoid internal overflow possibilities.
35807         Assert that number fits inside MPNSIZE limbs.
35808         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35809         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35810         calculations and add assertions to avoid internal overflow
35811         possibilities.  Add casts to avoid signed/unsigned operations.
35812         * stdlib/tst-strtod-overflow.c: New file.
35813         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35814
35815 2012-08-25  Marek Polacek  <polacek@redhat.com>
35816
35817         * time/time.h: Fix some typos in comments.
35818
35819 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35820
35821         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35822         * posix/tst-rfc3484-2.c: Likewise.
35823         * posix/tst-rfc3484-3.c: Likewise.
35824
35825 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35826
35827         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35828         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35829
35830 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35831
35832         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35833         #include of fxstatat64.c.
35834
35835 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35836
35837         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35838         * shadow/getspent_r.c: Likewise.
35839         * shadow/getspnam.c: Likewise.
35840         * shadow/getspnam_r.c: Likewise.
35841         * gshadow/getsgent.c: Likewise.
35842         * gshadow/getsgent_r.c: Likewise.
35843         * gshadow/getsgnam.c: Likewise.
35844         * gshadow/getsgnam_r.c: Likewise.
35845         * inet/getnetbyad.c: Likewise.
35846         * inet/getnetbyad_r.c: Likewise.
35847         * inet/getnetbynm.c: Likewise.
35848         * inet/getnetbynm_r.c: Likewise.
35849         * inet/getnetent.c: Likewise.
35850         * inet/getnetent_r.c: Likewise.
35851         * inet/getproto.c: Likewise.
35852         * inet/getproto_r.c: Likewise.
35853         * inet/getprtent.c: Likewise.
35854         * inet/getprtent_r.c: Likewise.
35855         * inet/getprtname.c: Likewise.
35856         * inet/getprtname_r.c: Likewise.
35857         * inet/getrpcbyname.c: Likewise.
35858         * inet/getrpcbyname_r.c: Likewise.
35859         * inet/getrpcbynumber.c: Likewise.
35860         * inet/getrpcbynumber_r.c: Likewise.
35861         * inet/getrpcent.c: Likewise.
35862         * inet/getrpcent_r.c: Likewise.
35863         * inet/getaliasent.c: Likewise.
35864         * inet/getaliasent_r.c: Likewise.
35865         * inet/getaliasname.c: Likewise.
35866         * inet/getaliasname_r.c: Likewise.
35867         * nscd/getgrgid_r.c: Likewise.
35868         * nscd/getgrnam_r.c: Likewise.
35869         * nscd/gethstbyad_r.c: Likewise.
35870         * nscd/gethstbynm3_r.c: Likewise.
35871         * nscd/getpwnam_r.c: Likewise.
35872         * nscd/getpwuid_r.c: Likewise.
35873         * nscd/getsrvbynm_r.c: Likewise.
35874         * nscd/getsrvbypt_r.c: Likewise.
35875         * nscd/gai.c: Likewise.
35876
35877         * configure.in (build_nscd): New substituted variable, set
35878         by --disable-build-nscd and defaults to $use_nscd.
35879         * configure: Regenerated.
35880         * config.make.in (build-nscd): New substituted variable.
35881         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35882         Change conditional to require [$(build-nscd) = yes] as well.
35883         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35884
35885         [BZ# 13696]
35886         * configure.in (use_nscd): New substituted variable, set by
35887         --disable-nscd.  If enabled, define USE_NSCD.
35888         * configure: Regenerated.
35889         * config.h.in: Add USE_NSCD.
35890         * config.make.in (use-nscd): New substituted variable.
35891         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35892         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35893         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35894         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35895         (CFLAGS-getgrnam_r.c): Likewise.
35896         (CFLAGS-initgroups.c): Likewise.
35897         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35898         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35899         Variables removed.
35900         * inet/getnetgrent_r.c
35901         (nscd_setnetgrent): New function, broken out of ...
35902         (setnetgrent): ... here.  Call it.
35903         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35904         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35905         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35906         * nscd/Makefile (routines, aux): Move definitions after include of
35907         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35908         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35909         Conditionalize on [USE_NSCD].
35910         (is_nscd, nscd_init_cb): Likewise.
35911         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35912         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35913         * nss/nss_db/db-init.c: Likewise.
35914         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35915         [USE_NSCD].
35916         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35917         (make_request): Use it.
35918         (cache_valid_p): New function.
35919         (__check_pf): Use it.
35920         * NEWS: Add item for --disable-nscd.
35921
35922 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35923
35924         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35925         to support sed >= 4.2.1-20-ga9bf076.
35926         * configure: Regenerated.
35927
35928 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35929
35930         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35931         Conditionalize whole body on [IREL].
35932
35933 2012-08-22  Jeff Law <law@redhat.com>
35934
35935         [BZ #14505]
35936         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35937         if the family is PF_UNSPEC.
35938
35939 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35940
35941         * Makerules (lib-version): Rename from V.
35942         (install-lib-nosubdir): Change V to lib-version.
35943
35944 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35945
35946         [BZ #14252]
35947         * powerpc32/power6/wcschr.c: New file.
35948         * powerpc32/power6/wcscpy.c: New file.
35949         * powerpc32/power6/wcsrchr.c: New file.
35950         * powerpc64/power6/wcschr.c: New file.
35951         * powerpc64/power6/wcscpy.c: New file.
35952         * powerpc64/power6/wcsrchr.c: New file.
35953
35954 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35955
35956         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35957         (two_way_short_needle): Use it.
35958         * string/strstr.c (AVAILABLE1_USES_J): Define.
35959         * string/strcasestr.c: Likewise.
35960
35961         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35962         array references.
35963         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35964
35965         [BZ #11607]
35966         * NEWS: Add an entry.
35967         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35968         define their defaults.
35969         (two_way_short_needle): Detect end-of-string on-the-fly.
35970         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35971         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35972         * string/bug-strcasestr1.c: New test.
35973         * string/Makefile: Run it.
35974
35975 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35976
35977         [BZ #11607]
35978         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35979         the first character.
35980
35981 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35982
35983         * csu/elf-init.c (__libc_csu_irel): Function removed.
35984         * csu/libc-start.c (apply_irel): New function.
35985         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35986
35987 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35988
35989         * sysdeps/unix/sysv/linux/kernel-features.h
35990         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35991         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35992         <kernel-features.h>.
35993         [__NR_fadvise64_64]: Make code unconditional.
35994         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35995         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35996         !__NR_fadvise64_64)]: Likewise.
35997         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35998         !__NR_fadvise64_64))]: Likewise.
35999         [__NR_fadvise64]: Make code unconditional.
36000         [!__NR_fadvise64]: Remove conditional code.
36001         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36002         <kernel-features.h>.
36003         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36004         unconditional.
36005         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36006         conditional code.
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36008         not include <kernel-features.h>.
36009         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36010         unconditional.
36011         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36012         conditional code.
36013         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36014         include <kernel-features.h>.
36015         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36016         unconditional.
36017         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36018         conditional code.
36019
36020 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36021
36022         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36023         slight instruction rearrangements per scrollpipe analysis.
36024         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36025
36026 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36027
36028         * manual/syslog.texi (syslog; vsyslog, closelog):
36029         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36030         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36031
36032         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36033         DSOCAPS to match condition on defining it.
36034
36035 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36036
36037         * sysdeps/unix/sysv/linux/kernel-features.h
36038         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36040         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36041         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36043         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36044         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36046         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36047         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36048
36049         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36050         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36051
36052         * sysdeps/unix/sysv/linux/kernel-features.h
36053         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36054         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36055         unconditional.
36056         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36057         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36058         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36059         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36060         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36061         Make code unconditional.
36062         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36063         (__mmap64) [!__NR_mmap2]: Likewise.
36064         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36065         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36066         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36067         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36068         [__NR_mmap2]: Make code unconditional.
36069         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36070         (__mmap64) [!__NR_mmap2]: Likewise.
36071
36072 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36073
36074         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36075
36076 2012-08-18  Andreas Jaeger  <aj@suse.de>
36077
36078         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36079
36080 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36081
36082         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36083         * include/unistd.h (__have_sock_cloexec): Likewise.
36084         (__have_pipe2): Likewise.
36085         (__have_dup3): Likewise.
36086
36087 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36088
36089         [BZ #9685]
36090         * include/unistd.h (__have_pipe2): Change define into an extern int.
36091         (__have_dup3): Likewise.
36092         * socket/have_sock_cloexec.c: Include fcntl.h.
36093         (__have_pipe2): New variable.
36094         (__have_dup3): Likewise.
36095
36096 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36097
36098         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36099
36100 2012-08-17  Marek Polacek  <polacek@redhat.com>
36101
36102         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36103         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36104
36105 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36106
36107         * configure.in: Add AC_SUBST for sysheaders.
36108         * configure: Regenerated.
36109         * config.make.in (sysheaders): New substituted variable.
36110
36111         * sysdeps/unix/mkfifo.c: Moved ...
36112         * sysdeps/posix/mkfifo.c: ... here.
36113         * sysdeps/unix/mkfifoat.c: Moved ...
36114         * sysdeps/posix/mkfifoat.c: ... here.
36115
36116         * sysdeps/unix/utime.c: Moved ...
36117         * sysdeps/posix/utime.c: ... here.
36118
36119         * sysdeps/unix/time.c: Moved ...
36120         * sysdeps/posix/time.c: ... here.
36121         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36122         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36123
36124         * sysdeps/unix/nice.c: Moved ...
36125         * sysdeps/posix/nice.c: ... here.
36126
36127         * sysdeps/unix/alarm.c: Moved ...
36128         * sysdeps/posix/alarm.c: ... here.
36129
36130         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36131
36132 2012-08-17  Jeff Law <law@redhat.com>
36133
36134         * intl/Makefile (codeset_mo): New variable.
36135         ($(codeset_mo)): New target.
36136         (tst-codeset.out): Depend on that.  Remove explicit rule.
36137         (tst-gettext3.out, tst-gettext5.out): Likewise.
36138         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36139         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36140         * intl/tst-codeset.sh: Remove.
36141         * intl/tst-gettext3.sh: Likewise.
36142         * intl/tst-gettext5.sh: Likewise.
36143
36144 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36145
36146         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36147         * sysdeps/unix/syscalls.list: ... here.
36148
36149         * sysdeps/posix/getaddrinfo.c
36150         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36151         (gaiconf_init, gaiconf_reload): Use them.
36152         [!_STATBUF_ST_NSEC]
36153         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36154         Define using time_t rather than struct timespec.
36155
36156         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36157         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36158         Macros removed.
36159         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36160         [!NO_THREADS].
36161         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36162         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36163         Likewise.
36164
36165         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36166         __libc_cleanup_push argument.
36167
36168         * bits/param.h: New file.
36169         * misc/sys/param.h: New file.
36170         * include/sys/param.h: New file.
36171         * misc/Makefile (headers): Add bits/param.h.
36172         * sysdeps/generic/sys/param.h: File removed.
36173         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36174         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36175         * sysdeps/mach/hurd/bits/param.h: New file.
36176         * sysdeps/mach/hurd/sys/param.h: File removed.
36177
36178         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36179         last change.
36180
36181         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36182         [_IO_MTSAFE_IO].
36183         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36184         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36185         New macros.
36186
36187         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36188         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36189         rather than -D_IO_MTSAFE_IO conditionally.
36190         * stdio-common/Makefile (CPPFLAGS): Likewise.
36191         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36192         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36193         Use $(libio-mtsafe).
36194         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36195         of -D_IO_MTSAFE_IO.
36196         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36197         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36198         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36199         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36200         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36201         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36202         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36203         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36204         (CFLAGS-fread_u_chk.c): Likewise.
36205         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36206         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36207         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36208         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36209         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36210         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36211         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36212         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36213         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36214
36215         * libio/Makefile: Test [$(libc-reentrant) = yes]
36216         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36217
36218         * Makeconfig
36219         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36220         * sysdeps/pthread/configure: File removed.
36221         * sysdeps/pthread/Makeconfig: New file.
36222         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36223         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36224
36225 2012-08-16  Gary Benson  <gbenson@redhat.com>
36226
36227         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36228         unmapping the first object in a namespace.
36229
36230 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36231
36232         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36233         (__internal_setnetgrent): ... this.  Add internal_function to
36234         definition.  Add libc_hidden_def.
36235         (setnetgrent): Update caller.
36236         (internal_endnetgrent): Renamed to ...
36237         (__internal_endnetgrent): ... this.  Add internal_function to
36238         definition.  Add libc_hidden_def.
36239         (endnetgrent): Update caller.
36240         (internal_getnetgrent_r): Renamed to ...
36241         (__internal_getnetgrent_r): ... this.  Add internal_function to
36242         definition.  Add libc_hidden_def.
36243         (__getnetgrent_r): Update caller.
36244         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36245
36246 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36247
36248         * stdlib/longlong.h: Update from GCC.
36249
36250 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36251
36252         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36253         on _QL, which is set by umul_ppmm but never used.
36254         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36255         variables, which are set by GMP macros but never used.
36256         * stdio-common/_itowa.c (_itowa): Likewise.
36257         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36258         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36259
36260 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36261
36262         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36263         struct La_sh_regs is not constant.
36264         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36265         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36266         and struct La_sparc64_regs are not constant.
36267
36268 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36269
36270         * sysdeps/unix/sysv/linux/kernel-features.h
36271         (__ASSUME_POSIX_TIMERS): Remove.
36272         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36273         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36274         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36275         Make code unconditional.
36276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36277         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36278         Make code unconditional.
36279         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36280         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36281         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36282         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36283         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36284         Make code unconditional.
36285         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36286         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36287         (__libc_missing_posix_timers): Remove.
36288
36289 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36290
36291         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36292         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36293
36294         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36295
36296         * elf/dl-sym.c: Include <stdlib.h>.
36297
36298         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36299         constants, which avoids warnings in 32-bit builds.
36300
36301         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36302         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36303
36304         * misc/lseek.c: File moved to ...
36305         * io/lseek.c: ... here.
36306
36307         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36308
36309         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36310         shifting LEN more than 31 bits at once.
36311
36312 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36313
36314         [BZ #14195]
36315         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36316         segmentation fault for a case of two empty input strings.
36317         * string/test-strncasecmp.c (check1): Renamed to...
36318         (bz12205): ...this.
36319         (bz14195): Add new testcase for two empty input strings and N > 0.
36320         (test_main): Call new testcase, adapt for renamed function.
36321
36322 2012-08-15  Andreas Jaeger  <aj@suse.de>
36323
36324         [BZ #14090]
36325         * crypt/md5test2.c: New test, based on test supplied by Serge
36326         Belyshev <belyshev@depni.sinp.msu.ru>.
36327         * crypt/Makefile (xtests): Add md5test-giant..
36328         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36329
36330 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36331
36332         [BZ #14090]
36333         * crypt/md5.c (md5_process_block): Don't assume the buffer
36334         length is less than 2**32.
36335         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36336         length is less than 2**64.
36337
36338 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36339
36340         * string/str-two-way.h: Include <sys/param.h>.
36341         (MAX): Macro removed.
36342
36343         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36344         Move #define and #undef of memmove to just before and after
36345         including <string.h>.
36346
36347         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36348         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36349         and after including <string.h>.  Move declarations of
36350         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36351         to before #include "string/memmove.c".
36352
36353         * include/dirent.h: Declare __getdirentries.
36354
36355         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36356         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36357
36358 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36359
36360         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36361         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36362         * sysdeps/i386/configure: Regenerated.
36363         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36364         STABS_CURRENT_FILE, and STABS_FUN.
36365         (END): Remove call to STABS_FUN_END.
36366         (STABS_CURRENT_FILE1): Delete.
36367         (STABS_CURRENT_FILE): Likewise.
36368         (STABS_FUN): Likewise.
36369         (STABS_FUN_END): Likewise.
36370         (STABS_FUN2): Likewise.
36371         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36372         * sysdeps/x86_64/configure: Regenerated.
36373
36374 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36375
36376         * elf/dl-open.c: Include <atomic.h>.
36377         * elf/dl-lookup.c: Likewise.
36378
36379 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36380
36381         * sysdeps/unix/sysv/linux/kernel-features.h
36382         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36383         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36384         unconditionally.
36385         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36386         unconditionally.
36387         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36388         condition on __ASSUME_CLONE_THREAD_FLAGS.
36389
36390 2012-08-14  Andreas Jaeger  <aj@suse.de>
36391
36392         * sysdeps/i386/fpu/libm-test-ulps: Update.
36393
36394 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36395
36396         * include/atomic.h (atomic_exchange_and_add): Split into ...
36397         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36398         New atomic macros.
36399
36400 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36401
36402         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36403
36404 2012-08-13  Jeff Law <law@redhat.com>
36405
36406         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36407         null byte in the output string.
36408
36409 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36410
36411         * sysdeps/unix/sysv/linux/kernel-features.h
36412         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36413         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36414         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36415         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36416         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36417         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36418         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36419
36420 2012-08-09  Jeff Law <law@redhat.com>
36421
36422         [BZ #13939]
36423         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36424         When avoid_arena is set, don't retry in the that arena.  Pick the
36425         next one, whatever it might be.
36426         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36427         (arena_lock): Pass in new parameter to arena_get2.
36428         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36429         arena_get2.
36430         (__libc_malloc): Unify retrying after main arena failure with
36431         __libc_memalign version.
36432         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36433
36434 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36435
36436         [BZ #14166]
36437         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36438         to __redirect_strstr.
36439         (__strstr_sse42): Use typeof __redirect_strstr.
36440         (__strstr_ia32): Likewise.
36441         (__libc_strstr): New prototype.
36442         (strstr): Renamed to ...
36443         (__libc_strstr): This.
36444         (strstr): New strong alias of __libc_strstr.
36445         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36446         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36447         __redirect_time.
36448         Include <time.h>.
36449         (__libc_time): New prototype.
36450         (time_ifunc): Replace time with __libc_time.
36451         (time): New strong alias and hidden definition of __libc_time.
36452         (__GI_time): Remove strong alias.
36453         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36454         Include <stddef.h>.
36455         (memmove): Redefined to __redirect_memmove.
36456         (__memmove_sse2): Use typeof __redirect_memmove.
36457         (__memmove_ssse3): Likewise.
36458         (__memmove_ssse3_back): Likewise.
36459         (__libc_memmove): New prototype.
36460         (memmove): Renamed to ...
36461         (__libc_memmove): This.
36462         (memmove): New strong alias of __libc_memmove.
36463
36464 2012-08-08  Mark Salter  <msalter@redhat.com>
36465
36466         * elf/elf.h
36467         (R_MN10300_TLS_GD): Define.
36468         (R_MN10300_TLS_LD): Likewise.
36469         (R_MN10300_TLS_LDO): Likewise.
36470         (R_MN10300_TLS_GOTIE): Likewise.
36471         (R_MN10300_TLS_IE): Likewise.
36472         (R_MN10300_TLS_LE): Likewise.
36473         (R_MN10300_TLS_DTPMOD): Likewise.
36474         (R_MN10300_TLS_DTPOFF): Likewise.
36475         (R_MN10300_TLS_TPOFF): Likewise.
36476         (R_MN10300_SYM_DIFF): Likewise.
36477         (R_MN10300_ALIGN): Likewise.
36478         (R_MN10300_NUM): Update.
36479
36480 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36481
36482         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36483         Remove.
36484
36485 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36486
36487         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36488
36489         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36490         sysdeps/unix -> sysdeps/posix move.
36491         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36492
36493 2012-08-07      Allan McRae     <allan@archlinux.org>
36494
36495         [BZ #14303]
36496         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36497         (SUNOS_CPP): Likewise.
36498         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36499         not found.
36500         (open_input): Call CPP using execvp.
36501
36502 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36503
36504         * sysdeps/unix/sysv/linux/kernel-features.h
36505         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36506         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36507         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36508         (__ASSUME_WAITID_SYSCALL): Likewise.
36509         * sysdeps/unix/sysv/linux/dl-execstack.c
36510         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36511         code unconditional.
36512         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36513         conditional code.
36514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36515         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36516         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36517         code.
36518         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36519         unconditional.
36520         [__ASSUME_WAITID_SYSCALL]: Likewise.
36521         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36522
36523 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36524
36525         * sysdeps/unix/closedir.c: Renamed to ...
36526         * sysdeps/posix/closedir.c: ... here.
36527         * sysdeps/unix/dirfd.c: Renamed to ...
36528         * sysdeps/posix/dirfd.c: ... here.
36529         * sysdeps/unix/dirstream.h: Renamed to ...
36530         * sysdeps/posix/dirstream.h: ... here.
36531         * sysdeps/unix/fdopendir.c: Renamed to ...
36532         * sysdeps/posix/fdopendir.c: ... here.
36533         * sysdeps/unix/opendir.c: Renamed to ...
36534         * sysdeps/posix/opendir.c: ... here.
36535         * sysdeps/unix/readdir.c: Renamed to ...
36536         * sysdeps/posix/readdir.c: ... here.
36537         * sysdeps/unix/readdir_r.c: Renamed to ...
36538         * sysdeps/posix/readdir_r.c: ... here.
36539         * sysdeps/unix/rewinddir.c: Renamed to ...
36540         * sysdeps/posix/rewinddir.c: ... here.
36541         * sysdeps/unix/seekdir.c: Renamed to ...
36542         * sysdeps/posix/seekdir.c: ... here.
36543         * sysdeps/unix/telldir.c: Renamed to ...
36544         * sysdeps/posix/telldir.c: ... here.
36545         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36546         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36547         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36548         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36549
36550         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36551         * bits/fcntl.h: ... here.
36552
36553         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36554         not 0.
36555         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36556         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36557         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36558         (struct flock): Move l_start, l_len to the beginning.
36559         Use __pid_t for l_pid.
36560         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36561         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36562         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36563         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36564         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36565         [__USE_LARGEFILE64] (struct flock64): New type.
36566         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36567
36568         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36569         * bits/dirent.h: ... here.
36570
36571         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36572         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36573
36574 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36575
36576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36577         Change from 2.6.0 to 2.6.16.
36578         * sysdeps/unix/sysv/linux/configure: Regenerated.
36579         * sysdeps/unix/sysv/linux/kernel-features.h
36580         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36581         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36582         version.
36583         (__ASSUME_UTIMES): Likewise.
36584         (__ASSUME_CLONE_STOPPED): Remove.
36585         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36586         architectures, not kernel version.
36587         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36588         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36589         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36590         (__ASSUME_WAITID_SYSCALL): Likewise.
36591         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36592         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36593         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36594         refer to older versions.
36595
36596 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36597
36598         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36599         Define alphasort64 as an alias.
36600         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36601         Define versionsort64 as an alias.
36602         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36603         Define scandir64 as an alias.
36604         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36605         Define scandirat64 as an alias.
36606         * dirent/alphasort64.c (alphasort64):
36607         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36608         * dirent/versionsort64.c: Likewise.
36609         * dirent/scandir64.c: Likewise.
36610         * dirent/scandirat64.c: Likewise.
36611         * sysdeps/wordsize-64/alphasort.c: File removed.
36612         * sysdeps/wordsize-64/alphasort64.c: File removed.
36613         * sysdeps/wordsize-64/scandir.c: File removed.
36614         * sysdeps/wordsize-64/scandir64.c: File removed.
36615         * sysdeps/wordsize-64/scandirat.c: File removed.
36616         * sysdeps/wordsize-64/scandirat64.c: File removed.
36617         * sysdeps/wordsize-64/versionsort.c: File removed.
36618         * sysdeps/wordsize-64/versionsort64.c: File removed.
36619         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36620         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36622         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36624         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36625         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36626         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36627
36628         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36630         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36632         [defined __arch64__ || defined __sparcv9]
36633         (__INO_T_MATCHES_INO64_T): New macro.
36634         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36635         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36636         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36637         * sysdeps/unix/sysv/linux/bits/dirent.h
36638         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36639         (_DIRENT_MATCHES_DIRENT64): New macro.
36640
36641         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36642         Define lockf64 as an alias.
36643         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36644         Define fseeko64 as an alias.
36645         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36646         Define ftello64 as an alias.
36647         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36648         Define _IO_fgetpos64 and fgetpos64 as aliases.
36649         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36650         Define _IO_fsetpos64 and fsetpos64 as aliases.
36651         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36652         Conditionalize body on this.
36653         * libio/fseeko64.c: Likewise.
36654         * libio/ftello64.c: Likewise.
36655         * libio/iofgetpos64.c: Likewise.
36656         * libio/iofsetpos64.c: Likewise.
36657         * sysdeps/wordsize-64/lockf.c: File removed.
36658         * sysdeps/wordsize-64/lockf64.c: File removed.
36659         * sysdeps/wordsize-64/fseeko.c: File removed.
36660         * sysdeps/wordsize-64/fseeko64.c: File removed.
36661         * sysdeps/wordsize-64/ftello.c: File removed.
36662         * sysdeps/wordsize-64/ftello64.c: File removed.
36663         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36664         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36665         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36666         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36667         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36668         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36669         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36670         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36671         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36672         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36673         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36674         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36677
36678         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36680         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36681         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36682         [defined __arch64__ || defined __sparcv9]
36683         (__OFF_T_MATCHES_OFF64_T): New macro.
36684         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36685         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36686         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36687         (__OFF_T_MATCHES_OFF64_T): New macro.
36688
36689 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36690
36691         * stdlib/secure-getenv.c (__secure_getenv): Replace
36692         GLIBC_2_16 with GLIBC_2_17.
36693
36694 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36695
36696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36697         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36698
36699 2012-08-03  David S. Miller  <davem@davemloft.net>
36700
36701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36702
36703 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36704
36705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36706         Remove.
36707         (__ASSUME_CORRECT_SI_PID): Likewise.
36708         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36709         (__ASSUME_TMPFS_NAME): Likewise.
36710         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36711         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36712         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36713         (HAVE_AUX_SECURE): Make definition unconditional.
36714         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36715         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36716
36717 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36718
36719         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36720         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36721         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36722         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36723         __eloop_threshold instead of SYMLOOP_MAX.
36724
36725         * sysdeps/generic/eloop-threshold.h: New file.
36726         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36727         of MAXSYMLINKS.
36728         * elf/chroot_canon.c (chroot_canon): Likewise.
36729
36730 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36731
36732         [BZ #13717]
36733         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36734         Change to 2.6.0 everywhere.
36735         * sysdeps/unix/sysv/linux/configure: Regenerated.
36736         * sysdeps/unix/sysv/linux/kernel-features.h
36737         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36738         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36739         kernel versions.
36740         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36741         (__ASSUME_FUTEX_REQUEUE): Remove.
36742         (__ASSUME_STATFS64): Define unconditionally.
36743         (__ASSUME_AT_SECURE): Likewise.
36744         (__ASSUME_CORRECT_SI_PID): Likewise.
36745         (__ASSUME_TGKILL): Define without depending on kernel version for
36746         i386.
36747         (__ASSUME_UTIMES): Likewise.
36748         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36749         kernel version.
36750         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36751         (__ASSUME_TMPFS_NAME): Likewise.
36752         * README: Update reference to Linux kernel versions.
36753
36754 2012-08-02  Marek Polacek  <polacek@redhat.com>
36755
36756         [BZ# 14150]
36757         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36758         libc_cv_asm_type_prefix with %.
36759         * configure: Regenerated.
36760         * include/libc-symbols.h: Remove comment about
36761         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36762         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36763         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36764         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36765         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36766         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36767         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36768         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36769         * elf/tst-unique2mod1.c: Likewise.
36770         * elf/tst-unique1mod2.c: Likewise.
36771         * elf/tst-unique1mod1.c: Likewise.
36772         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36773         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36774         Replace ASM_TYPE_DIRECTIVE with .type.
36775         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36776         * sysdeps/i386/sysdep.h: Likewise.
36777         * sysdeps/x86_64/sysdep.h: Likewise.
36778         * sysdeps/sh/sysdep.h: Likewise.
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36780         Do not define ASM_TYPE_DIRECTIVE.
36781         * sysdeps/powerpc/sysdep.h: Likewise.
36782         * sysdeps/powerpc/powerpc32/sysdep.h:
36783         Replace ASM_TYPE_DIRECTIVE with .type.
36784         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36785         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36786         * sysdeps/i386/fpu/e_powf.S: Likewise.
36787         * sysdeps/i386/fpu/e_expl.S: Likewise.
36788         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36789         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36790         * sysdeps/i386/fpu/e_pow.S: Likewise.
36791         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36792         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36793         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36794         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36795         * sysdeps/i386/fpu/e_log2.S: Likewise.
36796         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36797         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36798         * sysdeps/i386/fpu/e_powl.S: Likewise.
36799         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36800         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36801         * sysdeps/i386/fpu/e_logl.S: Likewise.
36802         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36803         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36804         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36805         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36806         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36807         * sysdeps/i386/fpu/e_log.S: Likewise.
36808         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36809         * sysdeps/i386/fpu/e_logf.S: Likewise.
36810         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36811         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36812         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36813         * sysdeps/i386/fpu/e_log10.S: Likewise.
36814         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36815         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36816         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36817         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36818         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36819         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36820         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36821         * sysdeps/i386/i686/strtok.S: Likewise.
36822         * sysdeps/i386/i386-mcount.S: Likewise.
36823         * sysdeps/i386/strtok.S: Likewise.
36824         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36825         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36826         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36827         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36828         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36829         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36830         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36831         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36832         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36833         * sysdeps/x86_64/_mcount.S: Likewise.
36834         * sysdeps/x86_64/strtok.S: Likewise.
36835         * sysdeps/sh/_mcount.S: Likewise.
36836
36837 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36838
36839         * libio/iofopen.c: Include <fcntl.h>.
36840         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36841         (_IO_fopen64, fopen64): Define as aliases.
36842         * libio/iofopen64.c: Include <fcntl.h>.
36843         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36844         Conditionalize body on this.
36845         * sysdeps/wordsize-64/iofopen.c: File removed.
36846         * sysdeps/wordsize-64/iofopen64.c: File removed.
36847
36848 2012-08-01  Marek Polacek  <polacek@redhat.com>
36849
36850         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36851         Use dlfcn directly instead of a variable.
36852         (binfmt-subdir): Do not define.
36853         (dlfcn): Likewise.
36854
36855 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36856
36857         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36858         Remove all definitions.
36859         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36860         <kernel-features.h>.
36861         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36862         (miss_F_GETOWN_EX): Remove all definitions.
36863         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36864         macro definition.
36865         [!__ASSUME_FCNTL64]: Remove conditional code.
36866         [__ASSUME_FCNTL64]: Make code unconditional.
36867         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36868         <kernel-features.h>.
36869         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36870         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36871         (lockf64) [__NR_fcntl64]: Make code unconditional.
36872         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36873
36874         * sysdeps/unix/sysv/linux/kernel-features.h
36875         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36876         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36877         Make code unconditional.
36878         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36879         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36881         [__NR_vfork]: Make code unconditional.
36882         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36883         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36885         [__NR_vfork]: Make code unconditional.
36886         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36887         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36888
36889 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36890
36891         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36892         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36893
36894         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36895         Define mkstemp64 as an alias.
36896         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36897         Define mkstemps64 as an alias.
36898         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36899         Define mkostemp64 as an alias.
36900         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36901         Define mkostemps64 as an alias.
36902         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36903         Conditionalize body on this.
36904         * misc/mkostemp64.c: Likewise.
36905         * misc/mkostemps64.c: Likewise.
36906         * misc/mkstemps64.c: Likewise.
36907         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36908         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36909         * sysdeps/wordsize-64/mkostemp.c: File removed.
36910         * sysdeps/wordsize-64/mkstemp.c: File removed.
36911         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36912         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36913         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36914         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36915
36916         [BZ #14138]
36917         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36918         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36919         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36920         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36921
36922         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36923         compat_symbol macros from <shlib-compat.h> rather than the underlying
36924         default_symbol_version and symbol_version macros, so that DEFAULT
36925         lines in shlib-versions are respected.
36926         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36927
36928 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36929
36930         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36931         Declare with warn_unused_result.
36932         (setgid, setregid, setegid, setresgid): Likewise.
36933         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36934         Likewise.
36935         * WUR-REPORT: Remove set*id functions.
36936
36937 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36938
36939         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36940
36941 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36942
36943         [BZ #10191]
36944         * include/sys/socket.h (__libc_accept, __libc_accept4):
36945         Add attribute_hidden.
36946         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36947
36948         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36949         use of PTR_MANGLE.
36950         * inet/getnetgrent_r.c (setup): Likewise.
36951
36952         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36953
36954 2012-07-31  David S. Miller  <davem@davemloft.net>
36955
36956         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36957
36958 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36959
36960         [BZ #13629]
36961         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36962         value between 1.0 and 2.0 and smaller part has absolute value less
36963         than 1.0.
36964         * math/s_clog10.c (__clog10): Likewise.
36965         * math/s_clog10f.c (__clog10f): Likewise.
36966         * math/s_clog10l.c (__clog10l): Likewise.
36967         * math/s_clogf.c (__clogf): Likewise.
36968         * math/s_clogl.c (__clogl): Likewise.
36969         * math/libm-test.inc (clog_test): Add more tests.
36970         (clog10_test): Likewise.
36971         * sysdeps/i386/fpu/libm-test-ulps: Update.
36972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36973
36974 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36975
36976         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36977         Exit with zero in case no suitable GID is found, and write a
36978         message to standard error.
36979
36980 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36981
36982         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36983         rather than to 1.
36984         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36985         (MAXPATHLEN): Removed.
36986         (NOGROUP, NODEV): New macros.
36987         (setbit, clrbit, isset, isclr): New macros.
36988         (howmany, roundup, powerof2): New macros.
36989         (DEV_BSIZE): New macro.
36990
36991         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36992         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36993
36994         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36995         definition on [!__NO_LONG_DOUBLE_MATH].
36996
36997         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36998         PTR_MANGLE and PTR_DEMANGLE.
36999
37000         * socket/accept4.c (accept4): Rename to __libc_accept4.
37001         Define accept4 as a weak alias.
37002
37003         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37004         on [_DIRENT_HAVE_D_TYPE].
37005         * io/ftw.c (ftw_dir): Likewise.
37006
37007         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37008
37009         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37010
37011         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37012         Use the BSD numbers rather than the arbitrary ones we had.
37013         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37014         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37015         (SIGXCPU, SIGXFSZ): New macros.
37016         (_NSIG): Now 32.
37017
37018         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37019         initializer on [_LIBC_REENTRANT].
37020
37021         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37022         definitions inside [_POSIX_MAPPED_FILES].
37023
37024         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37025
37026         * dirent/opendir.c: Include <fcntl.h>.
37027
37028         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37029         (__libc_getspecific): Likewise.
37030         (__libc_key_create): Likewise.
37031
37032         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37033         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37034         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37035         (tmpfile64): Define as alias.
37036         * sysdeps/wordsize-64/tmpfile.c: File removed.
37037         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37038         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37039         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37040
37041         * stdio-common/vfscanf.c: Include <stdbool.h>.
37042         * nss/makedb.c: Likewise.
37043         * stdio-common/_i18n_number.h: Likewise.
37044         * argp/argp-help.c: Likewise.
37045         * posix/wordexp.c: Likewise.
37046         * sysdeps/posix/spawni.c: Likewise.
37047         * nss/nss_files/files-initgroups.c: Likewise.
37048         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37049         * nss/nss_files/files-initgroups.c: Likewise.
37050         * nss/nss_db/db-netgrp.c: Likewise.
37051         * nss/nss_db/db-initgroups.c: Likewise.
37052         * io/fchmodat.c: Include <sys/stat.h>.
37053
37054         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37055         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37056
37057         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37058         [HAVE_MMAP].
37059
37060         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37061         Add multiple inclusion protection.
37062
37063 2012-07-27  David S. Miller  <davem@davemloft.net>
37064
37065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37066
37067 2012-07-27  Gary Benson  <gbenson@redhat.com>
37068
37069         [BZ #14298]
37070         * elf/rtld.c: Include <stap-probe.h>.
37071         (dl_main): Added static probes "init_start" and "init_complete".
37072         * elf/dl-load.c: Include <stap-probe.h>.
37073         (lose): Take new parameter "nsid".
37074         Added static probe "map_failed".
37075         (_dl_map_object_from_fd): Pass namespace id to lose.
37076         Added static probe "map_start".
37077         (open_verify): Pass namespace id to lose.
37078         * elf/dl-open.c: Include <stap-probe.h>.
37079         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37080         and "reloc_complete".
37081         * elf/dl-close.c: Include <stap-probe.h>.
37082         (_dl_close_worker): Added static probes "unmap_start" and
37083         "unmap_complete".
37084         * elf/rtld-debugger-interface.txt: New file documenting the above.
37085
37086 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37087
37088         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37089         rather than a string variable.
37090         * sunrpc/rpc_main.c (h_output): Likewise.
37091         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37092
37093 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37094
37095         * inet/check_native.c: New file.
37096
37097 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37098
37099         [BZ #13629]
37100         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37101         if larger part has absolute value 1.0.
37102         * math/s_clog10.c (__clog10): Likewise.
37103         * math/s_clog10f.c (__clog10f): Likewise.
37104         * math/s_clog10l.c (__clog10l): Likewise.
37105         * math/s_clogf.c (__clogf): Likewise.
37106         * math/s_clogl.c (__clogl): Likewise.
37107         * math/libm-test.inc (clog_test): Add more tests.
37108         (clog10_test): Likewise.
37109         * sysdeps/i386/fpu/libm-test-ulps: Update.
37110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37111
37112         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37113         (pltexit): Likewise.
37114         (La_regs): Likewise.
37115         (La_retval): Likewise.
37116         (int_retval): Likewise.
37117         Update #error for removed macros to refer only to definitions in
37118         tst-audit.h.
37119         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37120         macro.
37121         (pltexit): Likewise.
37122         (La_regs): Likewise.
37123         (La_retval): Likewise.
37124         (int_retval): Likewise.
37125         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37126         macro.
37127         (pltexit): Likewise.
37128         (La_regs): Likewise.
37129         (La_retval): Likewise.
37130         (int_retval): Likewise.
37131         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37132         macro.
37133         (pltexit): Likewise.
37134         (La_regs): Likewise.
37135         (La_retval): Likewise.
37136         (int_retval): Likewise.
37137         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37138         macro.
37139         (pltexit): Likewise.
37140         (La_regs): Likewise.
37141         (La_retval): Likewise.
37142         (int_retval): Likewise.
37143         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37144         macro.
37145         (pltexit): Likewise.
37146         (La_regs): Likewise.
37147         (La_retval): Likewise.
37148         (int_retval): Likewise.
37149         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37150         macro.
37151         (pltexit): Likewise.
37152         (La_regs): Likewise.
37153         (La_retval): Likewise.
37154         (int_retval): Likewise.
37155         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37156         macro definitions in tst-audit.h.
37157         * sysdeps/i386/tst-audit.h: New file.
37158         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37159         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37160         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37161         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37162         * sysdeps/sh/tst-audit.h: Likewise.
37163         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37164         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37165         * sysdeps/x86_64/tst-audit.h: Likewise.
37166
37167 2012-07-26  Andreas Jaeger  <aj@suse.de>
37168
37169         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37170         ptrace.
37171
37172         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37173         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37174         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37175         PTRACE_O_MASK.
37176         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37177         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37178         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37179
37180         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37181         value.
37182
37183         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37184         _sigsys.
37185         (si_call_addr, si_syscall, si_arch): Define new macro.
37186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37187         _sigsys.
37188         (si_call_addr, si_syscall, si_arch): Define new marcro.
37189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37190         _sigsys.
37191         (si_call_addr, si_syscall, si_arch): Define new macro.
37192         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37193         _sigsys.
37194         (si_call_addr, si_syscall, si_arch): Define new macro.
37195
37196 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37197
37198         [BZ #13717]
37199         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37200         Change to 2.4.21 where previously 2.4.1.
37201         * sysdeps/unix/sysv/linux/configure: Regenerated.
37202         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37203         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37204         Linux kernel version.
37205         (__ASSUME_STD_AUXV): Remove.
37206         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37207         kernel version.
37208         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37209         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37210         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37211         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37212         (__ASSUME_NETLINK_SUPPORT): Likewise.
37213         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37214         (__no_netlink_support): Remove conditional definition.
37215         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37216         Remove.
37217         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37218         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37219         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37220         (if_nameindex_ioctl): Remove.
37221         (if_nameindex_netlink): Do not handle __no_netlink_support.
37222         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37223         code.
37224         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37225         Remove conditional code.
37226         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37227         code.
37228         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37229         unconditional.
37230         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37231         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37232         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37233         Remove.
37234         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37235         [!__ASSUME_STD_AUXV]: Remove conditional code.
37236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37237         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37238         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37240         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37241         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37242         code.
37243         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37245         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37246         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37247         conditional code.
37248         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37250         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37251         code.
37252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37253         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37254         conditional code.
37255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37256         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37257         code unconditional.
37258         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37259         conditional code.
37260         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37261         unconditional.
37262         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37263         conditional code.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37265         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37266         unconditional.
37267         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37268         conditional code.
37269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37270         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37271         code unconditional.
37272         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37273         conditional code.
37274         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37275         unconditional.
37276         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37277         conditional code.
37278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37279         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37280         code unconditional.
37281         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37282         conditional code.
37283         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37284         unconditional.
37285         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37286         conditional code.
37287
37288 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37289
37290         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37291         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37292         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37293         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37294         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37295         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37296         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37297         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37298         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37299         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37300         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37301         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37302         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37303         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37304         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37305         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37306         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37307         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37308         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37310         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37311         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37312         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37313
37314 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37315
37316         * Versions.def: Add GLIBC_2.17.
37317         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37318         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37319         Introduce __libc_secure_getenv.
37320         * stdlib/Versions (2.17): Add secure_getenv
37321         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37322         * stdlib/secure-getenv.c: Rename __secure_getenv to
37323         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37324         symbol __secure_getenv for GLIBC_2.0.
37325         * stdlib/tst-secure-getenv.c: New.
37326         * stdlib/Makefile (tests): Add testcase.
37327         * manual/startup.texi (Environment Access): Document
37328         secure_getenv.
37329         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37330         __libc_secure_getenv.
37331         * inet/ruserpass.c (ruserpass): Likewise.
37332         * malloc/mtrace.c (mtrace): Likewise.
37333         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37334         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37335         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37336         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37337         HAVE_SECURE_GETENV.
37338         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37339         __secure_getenv to __libc_secure_getenv.
37340         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37342         Likewise.
37343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37344         Likewise.
37345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37347         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37352
37353 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37354
37355         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37356         (struct La_i86_retval): Likewise.
37357         (struct La_x86_64_regs): Likewise.
37358         (struct La_x86_64_retval): Likewise.
37359         (struct La_x32_regs): Likewise.
37360         (struct La_x32_retval): Likewise.
37361         (struct La_ppc32_regs): Likewise.
37362         (struct La_ppc32_retval): Likewise.
37363         (struct La_ppc64_regs): Likewise.
37364         (struct La_ppc64_retval): Likewise.
37365         (struct La_sh_regs): Likewise.
37366         (struct La_sh_retval): Likewise.
37367         (struct La_s390_32_regs): Likewise.
37368         (struct La_s390_32_retval): Likewise.
37369         (struct La_s390_64_regs): Likewise.
37370         (struct La_s390_64_retval): Likewise.
37371         (struct La_sparc32_regs): Likewise.
37372         (struct La_sparc32_retval): Likewise.
37373         (struct La_sparc64_regs): Likewise.
37374         (struct La_sparc64_retval): Likewise.
37375         (struct audit_ifaces): Remove architecture-specific pltenter and
37376         pltexit members.
37377         * sysdeps/i386/ldsodefs.h: New file.
37378         * sysdeps/powerpc/ldsodefs.h: Likewise.
37379         * sysdeps/s390/ldsodefs.h: Likewise.
37380         * sysdeps/sh/ldsodefs.h: Likewise.
37381         * sysdeps/sparc/ldsodefs.h: Likewise.
37382         * sysdeps/x86_64/ldsodefs.h: Likewise.
37383
37384 2012-07-25  Marek Polacek  <polacek@redhat.com>
37385
37386         [BZ #6808]
37387         * math/libm-test.inc (yn_test): Add another test.
37388         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37389         to ERANGE when the result is +-Inf.
37390         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37391         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37393         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37394
37395 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37396
37397         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37398         equal to 0.
37399         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37400         clock_t.
37401         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37402
37403 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37404
37405         * configure.in <sysdeps resolving>: Correct printing
37406         Implies_before.
37407         * configure: Regenerate.
37408
37409 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37410
37411         * math/w_ilogb.c: Include <limits.h>.
37412         * math/w_ilogbl.c: Likewise.
37413
37414 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37415
37416         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37417         va_copy.  Document allowing for unavailable va_copy only as
37418         pre-C99 compatibility.
37419         * manual/string.texi (Copying and Concatenation): Use va_copy
37420         instead of __va_copy in concat example.
37421
37422 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37423
37424         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37425         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37426         it if not null.
37427
37428         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37429         with O_NOLINK passed to __file_name_lookup.
37430
37431         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37432         with O_NOLINK passed to __file_name_lookup.
37433
37434         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37435         negative N or less than NGIDS.
37436
37437         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37438         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37439         enough.  Use memcpy instead of strncpy.
37440
37441 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37442
37443         * elf/Makefile (check-data): Remove.
37444         (localplt.data): New vpath directive.
37445         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37446         instead of $(check-data).
37447         * scripts/data/localplt-generic.data: Move to ...
37448         * sysdeps/generic/localplt.data: ... here.
37449         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37450         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37451         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37453         ... here.
37454         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37456         ... here.
37457         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37459         ... here.
37460         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37462         ... here.
37463         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37465         ... here.
37466         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37468         ... here.
37469
37470 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37471
37472         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37473         PPC32 and PPC64 files.
37474         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37475         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37476
37477 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37478
37479         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37480         __makecontext_ret to ...
37481         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37482         ... here and call exit if uc_link is NULL.  New file.
37483         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37484         __makecontext_ret.S.
37485         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37486         __makecontext_ret to ...
37487         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37488         ... here and call exit if uc_link is NULL.  New file.
37489         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37490         __makecontext_ret.S.
37491
37492 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37493
37494         * elf/elf.h (R_390_IRELATIVE): New definition.
37495         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37496         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37497         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37498         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37499         (elf_machine_lazy_rel): Likewise.
37500         * sysdeps/s390/dl-irel.h: New file.
37501         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37502         * sysdeps/s390/s390-64/memset.S: New asm code.
37503         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37504         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37506         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37507         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37508         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37509         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37510         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37511         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37512         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37513         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37514         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37515         * sysdeps/s390/s390-32/memset.S: New asm code.
37516         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37517
37518 2012-07-17  Marek Polacek  <polacek@redhat.com>
37519
37520         [BZ #14349]
37521         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37522         * sysdeps/s390/s390-64/configure.in: Likewise.
37523         * sysdeps/sparc/configure.in: Likewise.
37524         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37525         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37526         * sysdeps/i386/configure.in: Likewise.
37527         * sysdeps/x86_64/configure.in: Likewise.
37528         * sysdeps/sh/configure.in: Likewise.
37529         * sysdeps/s390/s390-32/configure: Regenerated.
37530         * sysdeps/s390/s390-64/configure: Likewise.
37531         * sysdeps/x86_64/configure: Likewise.
37532         * sysdeps/sh/configure: Likewise.
37533         * sysdeps/powerpc/powerpc64/configure: Likewise.
37534         * sysdeps/powerpc/powerpc32/configure: Likewise.
37535         * sysdeps/sparc/configure: Likwise.
37536         * sysdeps/i386/configure: Likewise.
37537
37538         * elf/dl-open.c: Comment fixes.
37539
37540 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37541
37542         * Makefile [CXX] (check-data): Remove.
37543         [CXX] (c++-types.data): New vpath directive.
37544         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37545         vpath.  Do not allow for C++ type data being missing.
37546         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37547         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37548         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37549         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37550         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37551         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37552         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37554         ... here.
37555         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37557         ... here.
37558         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37560         ... here.
37561         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37563         ... here.
37564         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37566         ... here.
37567         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37569         ... here.
37570         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37572         ... here.
37573         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37575
37576         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37577         definitions to architecture-specific files.
37578         (TLS_IE): Likewise.
37579         (TLS_LD): Likewise.
37580         (TLS_GD): Likewise.
37581         * sysdeps/i386/tls-macros.h: New file.
37582         * sysdeps/powerpc/tls-macros.h: Likewise.
37583         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37584         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37585         * sysdeps/sh/tls-macros.h: Likewise.
37586         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37587         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37588         * sysdeps/x86_64/tls-macros.h: Likewise.
37589
37590 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37591
37592         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37593         zero value for regular exit case.
37594
37595         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37596         (__start_context): Preserve zero value for regular exit case.
37597
37598 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37599             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37600
37601         * manual/setjmp.texi (setcontext): Clarify normal process
37602         termination when uc_link is the null pointer.
37603         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37604         exit call.
37605
37606 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37607
37608         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37609         preprocessor.  Test for each exception mask separately.
37610
37611 2012-07-16  Andreas Jaeger  <aj@suse.de>
37612
37613         * po/ru.po: Update from translation team.
37614
37615 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37616
37617         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37618         equal to 0.
37619         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37620         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37621         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37622         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37623         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37624
37625 2012-07-13  Andreas Jaeger  <aj@suse.de>
37626
37627         * po/fr.po: Update from translation team.
37628
37629 2012-07-12  Marek Polacek  <polacek@redhat.com>
37630
37631         [BZ #14173]
37632         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37633         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37634         loop condition.
37635
37636 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37637
37638         [BZ #13717]
37639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37640         Change to 2.4.1 where previously 2.4.0.
37641         * sysdeps/unix/sysv/linux/configure: Regenerated.
37642         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37643         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37644         version.
37645         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37646         (__ASSUME_AT_CLKTCK): Remove.
37647         (__ASSUME_AT_PAGESIZE): Likewise.
37648         (__ASSUME_AT_XID): Likewise.
37649         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37650         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37651         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37652         unconditionally.
37653         (HAVE_AUX_PAGESIZE): Likewise.
37654         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37655         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37656         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37657
37658 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37659
37660         [BZ #14307]
37661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37662         the temporary buffer used to invoke __gethostbyname2_r,
37663         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37664         host_data / struct gaih_addrtuple.
37665         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37666         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37667         header file nss/nsswitch.h.
37668         * nss/nsswitch.h (global scope): Add definition of implementation
37669         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37670         resolv/nss_dns/dns-host.c).
37671
37672 2012-07-11  Andreas Jaeger  <aj@suse.de>
37673
37674         * po/fr.po: Update from translation team.
37675
37676         * po/sv.po: Update from translation team
37677         * po/fr.po: Another update from translation team.
37678
37679 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37680
37681         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37682         for subnormals or multiply small sinh result by itself.
37683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37685
37686 2012-07-11  David S. Miller  <davem@davemloft.net>
37687
37688         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37689
37690 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37691
37692         [BZ #14347]
37693         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37694         (INTERNAL_MARK): Shift it here.
37695
37696 2012-07-10  Marek Polacek  <polacek@redhat.com>
37697
37698         [BZ #14151]
37699         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37700         libc_cv_asm_global_directive with .globl.
37701         * configure: Regenerated.
37702         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37703         with .globl.
37704         * sysdeps/i386/configure: Regenerated.
37705         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37706         with .globl.
37707         * sysdeps/x86_64/configure: Regenerated.
37708         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37709         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37710         * elf/tst-unique2mod2.c: Likewise.
37711         * elf/tst-unique2mod1.c: Likewise.
37712         * elf/tst-unique1mod2.c: Likewise.
37713         * elf/tst-unique1mod1.c: Likewise.
37714         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37715         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37717         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37718         * sysdeps/mach/sysdep.h: Likewise.
37719         * sysdeps/i386/sysdep.h: Likewise.
37720         * sysdeps/i386/i386-mcount.S: Likewise.
37721         * sysdeps/x86_64/_mcount.S: Likewise.
37722         * sysdeps/x86_64/sysdep.h: Likewise.
37723         * sysdeps/sh/_mcount.S: Likewise.
37724         * sysdeps/sh/sysdep.h: Likewise.
37725         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37726         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37727         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37728         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37729         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37730         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37731         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37732         * locale/localeinfo.h: Likewise.
37733         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37734         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37735
37736 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37737
37738         [BZ #14336]
37739         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37740         system".
37741         * manual/message.texi (The Uniforum approach): Likewise.
37742         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37743         (glibc iconv Implementation): Likewise.
37744
37745 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37746
37747         [BZ #14337]
37748         * math/s_clog.c (__clog): Avoid scaling a value down where that
37749         could result in underflow.
37750         * math/s_clog10.c (__clog10): Likewise.
37751         * math/s_clog10f.c (__clog10f): Likewise.
37752         * math/s_clog10l.c (__clog10l): Likewise.
37753         * math/s_clogf.c (__clogf): Likewise.
37754         * math/s_clogl.c (__clogl): Likewise.
37755         * math/libm-test.inc (clog_test): Add more tests.
37756         (clog10_test): Likewise.
37757         * sysdeps/i386/fpu/libm-test-ulps: Update.
37758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37759
37760 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37761
37762         [BZ #14283]
37763         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37764         by 7 not 8 to examine high bit of fractional part.
37765
37766         [BZ #14042]
37767         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37768         for call to __mcount_internal.
37769         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37770         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37771         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37772
37773 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37774
37775         [BZ #14154]
37776         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37777         approximation for values within 0x1p-13f of an odd multiple of
37778         pi/4.
37779         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37780         exception.  Add more tests.
37781         * sysdeps/i386/fpu/libm-test-ulps: Update.
37782
37783         [BZ #6778]
37784         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37785         inputs and return -1 for them.  Do not check for +Inf in case not
37786         reachable for +Inf.
37787         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37788         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37789         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37790         and return -1 for them.  Do not check for +Inf in case not
37791         reachable for +Inf.
37792         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37793         define.
37794         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37795         and return -1 for them.  Do not check for +Inf in case not
37796         reachable for +Inf.
37797         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37798         spurious underflow.
37799         * sysdeps/i386/fpu/libm-test-ulps: Update.
37800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37801
37802 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37803
37804         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37805
37806 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37807
37808         [BZ #14157]
37809         [BZ #14331]
37810         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37811         could result in spurious underflow.  Scale down values above
37812         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37813         * math/s_csqrtf.c (__csqrtf): Likewise.
37814         * math/s_csqrtl.c (__csqrtl): Likewise.
37815         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37816         spurious underflow.
37817         * sysdeps/i386/fpu/libm-test-ulps: Update.
37818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37819
37820 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37821
37822         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37823         xopen-msg.sed.
37824         * catgets/xopen-msg.awk: New file.
37825         * catgets/xopen-msg.sed: Removed.
37826
37827         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37828         po2text.sed.
37829         * intl/po2test.awk: New file.
37830         * intl/po2test.sed: Removed.
37831
37832 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37833
37834         [BZ #14328]
37835         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37836         or multiply small sinh result by itself.
37837         * math/s_ctanf.c (__ctanf): Likewise.
37838         * math/s_ctanh.c (__ctanh): Likewise.
37839         * math/s_ctanhf.c (__ctanhf): Likewise.
37840         * math/s_ctanhl.c (__ctanhl): Likewise.
37841         * math/s_ctanl.c (__ctanl): Likewise.
37842         * math/libm-test.inc (ctan_test_tonearest): New function.
37843         (ctan_test_towardzero): Likewise.
37844         (ctan_test_downward): Likewise.
37845         (ctan_test_upward): Likewise.
37846         (ctanh_test_tonearest): Likewise.
37847         (ctanh_test_towardzero): Likewise.
37848         (ctanh_test_downward): Likewise.
37849         (ctanh_test_upward): Likewise.
37850         (main): Call these new functions.
37851         * sysdeps/i386/fpu/libm-test-ulps: Update.
37852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37853
37854 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37855
37856         * .gitignore: Delete /ports entry.
37857
37858 2012-07-03  Andreas Jaeger  <aj@suse.de>
37859
37860         * po/bg.po: Update from translation team.
37861         * po/cs.po: Likewise.
37862         * po/de.po: Likewise.
37863         * po/hr.po: Likewise.
37864         * po/nl.pl: Likewise.
37865         * po/pl.po: Likewise.
37866         * po/vi.po: Likewise.
37867
37868 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37869
37870         * Makeconfig [!+link] (+link-before-libc): New variable.
37871         [!+link] (+link-after-libc): Likewise.
37872         [!+link] (+link-tests): Likewise.
37873         [!+link] (+link): Define in terms of $(+link-before-libc) and
37874         $(+link-after-libc).
37875         [!+link-static] (+link-static-before-libc): New variable.
37876         [!+link-static] (+link-static-after-libc): Likewise.
37877         [!+link-static] (+link-static-tests): Likewise.
37878         [!+link-static] (+link-static): Define in terms of
37879         $(+link-static-before-libc) and $(+link-static-after-libc).
37880         [build-shared] (link-libc-before-gnulib): New variable.
37881         [build-shared] (link-libc-tests): Likewise.
37882         [build-shared] (link-libc): Define in terms of
37883         $(link-libc-before-gnulib).
37884         [!build-shared] (link-libc-tests): New variable.
37885         (link-libc-static-tests): New variable.
37886         [!gnulib] (gnulib-arch): New variable.
37887         [!gnulib] (gnulib-tests): Likewise.
37888         [!gnulib] (static-gnulib-arch): Likewise.
37889         [!gnulib] (static-gnulib-tests): Likewise.
37890         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37891         Define with "=" instead of ":=".
37892         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37893         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37894         * Rules (binaries-all-notests): New variable.
37895         (binaries-all-tests): Likewise.
37896         (binaries-static-notests): Likewise.
37897         (binaries-static-tests): Likewise.
37898         (binaries-all): Define using $(binaries-all-notests) and
37899         $(binaries-all-tests).
37900         (binaries-static): Define using $(binaries-static-notests) and
37901         $(binaries-static-tests).
37902         (binaries-shared-tests): New variable.
37903         (binaries-shared-notests): Likewise.
37904         (binaries-shared): Remove variable.
37905         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37906         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37907         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37908         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37909         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37910         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37911         * elf/Makefile (sln-modules): New variable.
37912         (extra-objs): Add $(sln-modules:=.o).
37913         (ldconfig-modules): Add static-stubs.
37914         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37915         * elf/static-stubs.c: New file.
37916
37917         [BZ #14283]
37918         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37919         by 7 not 8 to examine high bit of fractional part.  Use volatile
37920         variables when splitting into final array of floats if
37921         __FLT_EVAL_METHOD__ != 0.
37922         * math/libm-test.inc (cos_test): Add another test.
37923         (sin_test): Likewise.
37924         * sysdeps/i386/fpu/libm-test-ulps: Update.
37925
37926         [BZ #14273]
37927         * math/libm-test.inc (cosh_test): Add more tests.
37928
37929         * version.h (RELEASE): Set to "development".
37930         (VERSION): Set to "2.16.90".
37931
37932 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37933
37934         * NEWS: Update copyright. Remove last-updated date.
37935         Mention math library bug fixes and timezone data changes.
37936         * README: Mention GNU/Hurd, x32, and HPPA support status.
37937
37938 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37939
37940         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37941
37942 2012-06-27  Andreas Jaeger  <aj@suse.de>
37943
37944         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37945
37946 2012-06-25  Andreas Jaeger  <aj@suse.de>
37947
37948         * sysdeps/s390/fpu/libm-test-ulps: Update.
37949
37950 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37951             Thomas Schwinge  <thomas@codesourcery.com>
37952
37953         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37954         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37955         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37956         fanotify_mark.
37957
37958 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37959
37960         * sysdeps/mach/start.c: Remove file.
37961         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37962         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37963         * sysdeps/sh/init-first.c: Likewise.
37964
37965         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37966         registers for frame unwinding purposes, add CFI directives.
37967         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37968         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37969         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37970         Likewise.
37971
37972         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37973         __fortify_fail returning.
37974         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37975
37976         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37977         sysdeps/sh/____longjmp_chk.S.
37978         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37979         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37980         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37981         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37982
37983         * sysdeps/sh/abort-instr.h: New file.
37984         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37985         process in case exit returns.
37986
37987         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37988         initialize the GOT register before use.
37989
37990         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37991         calculation of ARGC > 4.
37992
37993         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37994         meaningful names to some local labels.
37995
37996 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37997             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37998
37999         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38000         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38001         (__arch_compare_and_exchange_val_16_acq): Likewise.
38002         (__arch_compare_and_exchange_val_32_acq): Likewise.
38003         (atomic_exchange_and_add): Fix gUSA sequence.
38004         (atomic_add): Likewise.
38005         (atomic_add_negative): Likewise.
38006         (atomic_add_zero): Likewise.
38007         (atomic_bit_test_set): Likewise.
38008
38009 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38010
38011         [BZ #13579]
38012         * include/link.h (struct link_map): Add l_free_initfini.
38013         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38014         l_initfini.
38015         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38016         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38017         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38018         set.
38019
38020 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38021
38022         * configure.in: Use AC_LANG_SOURCE.
38023         * configure: Regenerate.
38024
38025 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38026
38027         * configure.in (libc_cv_localstatedir): New substituted variable.
38028         * configure: Regenerated.
38029         * config.make.in (localstatedir): New variable, substituted from
38030         libc_cv_localstatedir.
38031         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38032         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38033         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38034         * sysdeps/gnu/configure: Regenerated.
38035
38036 2012-06-21  Jeff Law  <law@redhat.com>
38037
38038         [BZ #14277]
38039         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38040         free.  Simplify list management for _LIBC case.
38041
38042 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38043
38044         [BZ #14273]
38045         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38046         Clear sign bit of 64-bit integer value before comparing against
38047         overflow value.
38048
38049         * sysdeps/mach/configure: Regenerated.
38050
38051 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38052
38053         [BZ #14278]
38054         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38055
38056 2012-06-21  Jeff Law  <law@redhat.com>
38057
38058         [BZ #13882]
38059         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38060         uint16_t for elements in the "seen" array to avoid char overflows.
38061         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38062         * elf/dl-open.c (dl_open_worker): Likewise.
38063
38064 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38065
38066         * scripts/list-sources.sh: Scan PORTS for translations.
38067         * po/libc.pot: Regenerated.
38068
38069 2012-06-21  Andreas Jaeger  <aj@suse.de>
38070
38071         [BZ #12194]
38072         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38073         warning.
38074         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38075         * bits/byteswap-16.h (__bswap_16): Likewise.
38076         * bits/byteswap.h (__bswap_constant_16): Likewise.
38077
38078 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38079
38080         [BZ #14117]
38081         * sysdeps/i386/fpu_control.h: Removed.
38082         * sysdeps/x86_64/fpu_control.h: Moved to ...
38083         * sysdeps/x86/fpu_control.h: Here.
38084
38085         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38086         (_FPU_SETCW): Likewise.
38087
38088 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38089
38090         [BZ #14117]
38091         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38092         * sysdeps/x86/fpu/bits/mathinline.h: This.
38093         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38094
38095         [BZ #14050]
38096         [BZ #14117]
38097         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38098         functions if __x86_64__ is defined.
38099
38100 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38101
38102         * string/endian.h: Add !__ASSEMBLER__ condition for including
38103         conversion interfaces.
38104
38105 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38106
38107         [BZ #14241]
38108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38109         of ABS(x) in calculating zero to negative powers other than odd
38110         integers.
38111         * math/libm-test.inc (pow_test): Add more tests.
38112
38113 2012-06-15  Andreas Jaeger  <aj@suse.de>
38114
38115         * manual/contrib.texi (Contributors): Update entry of Liubov
38116         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38117         Machado Filho.
38118
38119 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38120
38121         * string/string.h: Add __wur to GNU version of strerror_r.
38122
38123 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38124
38125         [BZ #14229]
38126         * string/Makefile (tests): Add tst-strtok_r.
38127         * string/tst-strtok_r.c: New file.
38128         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38129         RAX_LP/RDX_LP on SAVE_PTR.
38130
38131 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38132
38133         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38134
38135 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38136
38137         * libm_test.inc (csqrt_test): Allow more spurious underflow
38138         exceptions.
38139         (j0_test): Likewise.
38140         (j1_test): Likewise.
38141         (y0_test): Likewise.
38142         (y1_test): Likewise.
38143
38144 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38145
38146         * po/Makefile (libc.pot): Use UTF-8 charset.
38147
38148 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38149
38150         [BZ #14210]
38151         Suppress sign-conversion warning from FD_SET.
38152         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38153         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38154         not unsigned long int.
38155         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38156
38157 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38158
38159         [BZ #14050]
38160         [BZ #14117]
38161         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38162         __extern_always_inline instead of __extern_inline.
38163         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38164         (__signbit): Likewise.
38165         (__signbitl): Support C++ namespace.
38166         (lrintf): New inline function.
38167         (lrint): Likewise.
38168         (llrintf): Likewise.
38169         (llrint): Likewise.
38170         (fmaxf): Likewise.
38171         (fmax): Likewise.
38172         (fminf): Likewise.
38173         (fmin): Likewise.
38174         (rint): Likewise.
38175         (rintf): Likewise.
38176         (ceil): Likewise.
38177         (ceilf): Likewise.
38178         (floor): Likewise.
38179         (floorf): Likewise.
38180         (nearbyint): Likewise.
38181         (nearbyintf): Likewise.
38182
38183 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38184
38185         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38186         non-default versions.
38187
38188 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38189
38190         [BZ #14218]
38191         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38192
38193 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38194
38195         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38196         (FE_UPWARD, FE_DOWNWARD): Don't define.
38197         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38198         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38199
38200         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38201         reading it.
38202         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38203         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38204
38205 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38206
38207         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38208         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38209         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38210         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38211
38212 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38213
38214         [BZ #14117]
38215         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38216         * sysdeps/i386/fpu/Implies: New file.
38217         * sysdeps/x86_64/fpu/Implies: Likewise.
38218         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38219         * sysdeps/x86/fpu/bits/fenv.h: This.
38220
38221         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38222         __SSE_MATH__.
38223
38224 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38225
38226         [BZ #14134]
38227         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38228         character 0xffff that matches the last element of the
38229         conversion table.
38230
38231 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38232
38233         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38234         fmodl commit.
38235
38236 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38237
38238         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38239         values higher than 25.6283.
38240
38241 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38242
38243         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38244         subnormal exponent extraction and add some __builtin_expect.
38245         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38246         Fix for subnormal mantissa calculation.
38247
38248 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38249
38250         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38251         cpu2 is -1 and errno is not ENOSYS.
38252
38253 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38254
38255         [BZ #14117]
38256         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38257         * sysdeps/x86/bits/string.h: This.
38258         * sysdeps/x86_64/bits/string.h: Removed.
38259
38260         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38261         if not compiling for x86-64, but compiling for >= i486.
38262
38263         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38264         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38265
38266         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38267         New macro from Linux kernel 3.4.0.
38268         (FP_XSTATE_MAGIC2): Likewise.
38269         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38270         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38271         (struct _fpx_sw_bytes): New struct.
38272         (struct _xsave_hdr): Likewise.
38273         (struct _ymmh_state): Likewise.
38274         (struct _xstate): Likewise.
38275
38276         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38277         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38278         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38279         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38280         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38281         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38282
38283         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38284         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38285         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38286         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38287         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38288         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38289
38290 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38291
38292         [BZ #13743]
38293         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38294         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38295         (sysdep_headers): Include sys/platform/ppc.h.
38296         * sysdeps/powerpc/test-gettimebase.c: Test for
38297         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38298         * manual/Makefile (appendices): Include platform.texi.
38299         * manual/contrib.texi (Contributors): Update @node pointers.
38300         * manual/maint.texi (Maintenance): Likewise.
38301         (Platform): New node.
38302         * manual/platform.texi: New file.  Document the new features.
38303
38304 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38305             Jakub Jelinek  <jakub@redhat.com>
38306
38307         [BZ #14188]
38308         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38309         where __builtin_expect is unavailable.
38310
38311 2012-06-03  David S. Miller  <davem@davemloft.net>
38312
38313         * stdlib/longlong.h: Updated from GCC.
38314
38315 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38316
38317         [BZ #14042]
38318         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38319         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38320         __mcount_internal.
38321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38322         (GLIBC_2.16): Likewise.
38323
38324 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38325
38326         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38327
38328 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38329
38330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38331         (default-abi): New variable.
38332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38333         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38334         variable.
38335         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38336         Likewise.
38337         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38338         Likewise.
38339         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38340         Likewise.
38341
38342         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38343         definition.  Document in comment.
38344
38345 2012-06-01  David S. Miller  <davem@davemloft.net>
38346
38347         * stdlib/longlong.h: Updated from GCC.
38348
38349 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38350
38351         [BZ #14117]
38352         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38353         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38354         sys/debugreg.h sys/io.h here.
38355         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38356         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38357         sys/io.h.
38358         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38359         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38360         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38361         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38362         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38363         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38364
38365         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38366         Define only if __x86_64__ is defined.
38367
38368 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38369
38370         [BZ #14048]
38371         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38372         Use int64_t for variable i.
38373         * math/libm-test.inc (fmod_test): Add more tests.
38374
38375         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38376         z computation is not scheduled after fetestexcept.
38377         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38378         Use math_force_eval instead of asm to ensure calculation scheduled
38379         before exception test.
38380         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38381         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38382
38383 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38384
38385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38386         computation is not scheduled after fetestexcept.
38387
38388 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38389
38390         [BZ #14117]
38391         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38392         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38393
38394 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38395
38396         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38397         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38398
38399 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38400
38401         [BZ #14117]
38402         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38403         <bits/wordsize.h>.
38404         (__WCHAR_MIN): Support __WORDSIZE == 64.
38405         (__WCHAR_MAX): Likewise.
38406
38407         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38408         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38409
38410         [BZ #14183]
38411         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38412         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38413
38414         [BZ #14117]
38415         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38416         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38417
38418         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38419         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38420
38421         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38422         Defined to 1 if __x86_64__ isn't defined.
38423         (_STAT_VER_LINUX_OLD): New.
38424         (st_atime): Remove duplicate.
38425         (st_mtime): Likewise.
38426         (st_ctime): Likewise.
38427
38428 2012-05-31  David S. Miller  <davem@davemloft.net>
38429
38430         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38431         entries.
38432
38433 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38434
38435         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38436         gen-libm-test.pl.
38437
38438         [BZ #14132]
38439         * elf/dl-reloc.c: Include <_itoa.h>.
38440         (_dl_reloc_bad_type): Remove use of INTUSE.
38441         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38442         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38443         * stdio-common/psiginfo.c (psiginfo): Likewise.
38444         * stdio-common/psignal.c (psignal): Likewise.
38445         * string/strsignal.c (strsignal): Likewise.
38446         * include/signal.h (_sys_siglist): Declare hidden proto.
38447         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38448         INTVARDEF with libc_hidden_data_def.
38449         * stdio-common/itoa-udigits.c: Likewise.
38450         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38451         (_itoa_lower_digits_internal): Remove declaration.
38452         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38453         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38454         (_sys_sigabbrev_internal): Remove aliases.
38455         (_sys_siglist): Define hidden alias.
38456
38457 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38458
38459         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38460         bits/sysctl.h.
38461
38462 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38463
38464         [BZ #14117]
38465         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38466         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38467
38468         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38469         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38470         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38471         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38472         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38473         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38474
38475         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38476         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38477         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38478
38479         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38480         with __addr.
38481         (insw): Likewise.
38482         (insl): Likewise.
38483         (outsb): Likewise.
38484         (outsw): Likewise.
38485         (outsl): Likewise.
38486
38487         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38488         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38489         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38490
38491         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38492         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38493         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38494         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38495         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38496         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38497
38498         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38499         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38500
38501         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38502         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38503
38504         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38505         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38506         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38507
38508         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38509         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38510         to ...
38511         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38512
38513         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38514         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38515         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38516
38517         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38518         for x86-64.
38519         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38520
38521 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38522
38523         * math/math.h (M_El): Use two more decimal places.
38524         (M_LOG2El): Likewise.
38525         (M_LOG10El): Likewise.
38526         (M_LN2l): Likewise.
38527         (M_LN10l): Likewise.
38528         (M_PIl): Likewise.
38529         (M_PI_2l): Likewise.
38530         (M_PI_4l): Likewise.
38531         (M_1_PIl): Likewise.
38532         (M_2_PIl): Likewise.
38533         (M_2_SQRTPIl): Likewise.
38534         (M_SQRT2l): Likewise.
38535         (M_SQRT1_2l): Likewise.
38536
38537 2012-05-31  David S. Miller  <davem@davemloft.net>
38538
38539         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38540         values between float registers.
38541         * sysdeps/sparc/sparc64/memset.S: Likewise.
38542         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38543
38544 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38545
38546         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38547         -D_FORTIFY_SOURCE=1.
38548         (CPPFLAGS-tst-longjmp_chk.c): Define.
38549         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38550         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38551         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38552         CFLAGS-tst-wchar-h.c.
38553
38554 2012-05-31  Marek Polacek  <polacek@redhat.com>
38555
38556         [BZ #14132]
38557         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38558         __endmntent_internal): Remove declaration.
38559         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38560         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38561         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38562
38563 2012-05-30  David S. Miller  <davem@davemloft.net>
38564
38565         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38566         (___Q_simulate_exceptions): Use real FP ops rather than writing
38567         into the %fsr.
38568         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38569         Likewise.
38570
38571 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38572
38573         [BZ #14117]
38574         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38575         * sysdeps/x86/bits/xtitypes.h: This.
38576
38577         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38578         * sysdeps/x86/bits/wordsize.h: This.
38579
38580         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38581         * sysdeps/x86/bits/huge_vall.h: This.
38582
38583         * sysdeps/i386/bits/select.h: Removed.
38584         * sysdeps/x86_64/bits/select.h: Renamed to ...
38585         * sysdeps/x86/bits/select.h: This.
38586
38587         * sysdeps/i386/bits/setjmp.h: Removed.
38588         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38589         * sysdeps/x86/bits/setjmp.h: This.
38590
38591         * sysdeps/i386/bits/mathdef.h: Removed.
38592         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38593         * sysdeps/x86/bits/mathdef.h: This.
38594
38595 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38596
38597         [BZ #14132]
38598         * include/sys/socket.h (__connect_internal)
38599         (__libc_sa_len_internal): Remove declaration.
38600         (__connect, __libc_sa_len): Declare hidden_proto.
38601         (SA_LEN): Remove use of INTUSE.
38602         * socket/connect.c: Add libc_hidden_def.
38603         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38604         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38605         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38606         alias.
38607         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38608         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38609         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38610         of adding _internal alias.
38611
38612 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38613
38614         [BZ #14117]
38615         * sysdeps/i386/bits/link.h: Removed.
38616         * sysdeps/i386/bits/linkmap.h: Likewise.
38617         * sysdeps/x86_64/bits/link.h: Renamed to ...
38618         * sysdeps/x86/bits/link.h: This.
38619         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38620         * sysdeps/x86/bits/linkmap.h: This.
38621
38622         * sysdeps/i386/bits/endian.h: Removed.
38623         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38624         * sysdeps/x86/bits/endian.h: This.
38625
38626         * sysdeps/i386/bits/byteswap.h: Removed.
38627         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38628         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38629         * sysdeps/x86/bits/byteswap.h: This.
38630         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38631         * sysdeps/x86/bits/byteswap-16.h: This.
38632         * sysdeps/i386/Implies: Add x86.
38633         * sysdeps/x86_64/Implies: Likewise.
38634
38635 2012-05-30  David S. Miller  <davem@davemloft.net>
38636
38637         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38638         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38639         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38640         (FP_TRAPPING_EXCEPTIONS): Define.
38641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38642         (FP_TRAPPING_EXCEPTIONS): Define.
38643         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38644         subnormals only when inexact has been signalled or underflow
38645         exceptions are enabled.
38646         (_FP_PACK_CANONICAL): Likewise.
38647
38648 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38649
38650         [BZ #14183]
38651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38652         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38653
38654 2012-05-30  Richard Henderson  <rth@twiddle.net>
38655
38656         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38657         with #ifndef NOT_IN_libc.
38658
38659         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38660         marked to avoid plt entry.
38661
38662 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38663
38664         [BZ #14112]
38665         * Makeconfig (default-abi): New macro.
38666         (abi-includes): Likewise.
38667         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38668         $(abi-$(default-abi)-lib-soname) for soname if defined.
38669         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38670         abi-variants.
38671         * Makefile (installed-stubs): Likewise.
38672         * include/stubs-biarch.h: Removed.
38673         * scripts/lib-names.awk: Only handle one library at a time.
38674         * scripts/soversions.awk: Remove WORDSIZE support.
38675         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38676         entries.
38677         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38678         Removed.
38679         (syscall-list-default-condition): Likewise.
38680         (syscall-list-default-condition): Likewise.
38681         (syscall-list-includes): Likewise.
38682         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38683         syscall-list-* with abi-*.  Handle undefined abi-variants.
38684         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38685         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38686         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38687         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38688         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38689         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38690         Removed.
38691         (syscall-list-32-options): Likewise.
38692         (syscall-list-32-condition): Likewise.
38693         (syscall-list-64-options): Likewise.
38694         (syscall-list-64-condition): Likewise.
38695         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38696         macro.
38697         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38698         Renamed to ...
38699         (abi-*): This.
38700         (abi-64-ld-soname): New macro.
38701         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38702         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38703         Renamed to ...
38704         (abi-*): This.
38705         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38706         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38707
38708 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38709
38710         * sysdeps/unix/sysv/linux/kernel-features.h
38711         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38712         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38713         include <kernel-features.h>.
38714         [!__NR_ftruncate64]: Remove conditional code.
38715         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38716         [__NR_ftruncate64]: Make code unconditional.
38717         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38718         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38719         include <kernel-features.h>.
38720         [!__NR_ftruncate64]: Remove conditional code.
38721         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38722         [__NR_ftruncate64]: Make code unconditional.
38723         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38725         include <kernel-features.h>.
38726         [!__NR_ftruncate64]: Remove conditional code.
38727         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38728         [__NR_ftruncate64]: Make code unconditional.
38729         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38731         include <kernel-features.h>.
38732         [!__NR_ftruncate64]: Remove conditional code.
38733         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38734         [__NR_ftruncate64]: Make code unconditional.
38735         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38736
38737         * configure.in (libc_cv_fpie): Weaken to a compile test using
38738         LIBC_TRY_CC_OPTION.
38739         * configure: Regenerated.
38740
38741 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38742
38743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38747         Refreshed.
38748         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38749         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38754         Refreshed.
38755
38756 2012-05-27  David S. Miller  <davem@davemloft.net>
38757
38758         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38759         (___Q_zero): New.
38760         (__Q_simulate_exceptions): Return void.  Change to simulate
38761         exceptions by writing into the %fsr.
38762         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38763         (__Qp_handle_exceptions): Likewise.
38764         (numbers): Delete.
38765         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38766         __Qp_handle_exceptions.
38767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38768         __Qp_handle_exceptions.
38769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38770         as unused and give dummy FP_RND_NEAREST initializer.
38771         (FP_INHIBIT_RESULTS): Define.
38772         (___Q_simulate_exceptions): Update declaration.
38773         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38774         formatting.
38775         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38776         as unused and give dummy FP_RND_NEAREST initializer.
38777         (__Qp_handle_exceptions): Update declaration.
38778         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38779         formatting.
38780
38781 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38782
38783         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38784         the temporary FPU control word.
38785         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38786         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38788         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38789         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38790         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38791         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38793         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38794         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38795         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38796
38797 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38798
38799         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38800         fields.
38801
38802 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38803
38804         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38805         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38806         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38807         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38808         Likewise.
38809         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38810         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38811         Likewise.
38812
38813 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38814
38815         * po/h.po: Update from translation team.
38816
38817 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38818
38819         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38820
38821         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38822         handling of denormals.
38823         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38824         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38825         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38826         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38828         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38829         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38830         Likewise.
38831
38832 2012-05-26  Marek Polacek  <polacek@redhat.com>
38833
38834         [BZ #14152]
38835         * math/libm-test.inc (fma_test): Don't always expect underflow
38836         exception.
38837
38838 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38839
38840         [BZ #12416]
38841         * elf/tst-execstack.c: Include stackinfo.h.
38842         (do_test): Adjust test case to ensure that pthread_getattr_np
38843         behaviour remains the same after marking stack executable.
38844
38845 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38846
38847         * sysdeps/unix/sysv/linux/kernel-features.h
38848         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38849         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38850         kernel-features.h.
38851         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38852         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38853         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38854         kernel-features.h.
38855         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38856         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38857
38858 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38859
38860         * configure.in: Define the default includes to being none.
38861         * configure: Regenerated.
38862
38863 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38864
38865         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38866         * sysdeps/x86_64/setjmp.S: Likewise.
38867         * sysdeps/i386/bsd-setjmp.S: Likewise.
38868         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38869         * sysdeps/i386/setjmp.S: Likewise.
38870         * sysdeps/i386/__longjmp.S: Likewise.
38871         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38872         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38873
38874         * include/stap-probe.h: New file.
38875         * configure.in: Handle --enable-systemtap.
38876         * configure: Regenerated.
38877         * config.h.in (USE_STAP_PROBE): New #undef.
38878         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38879         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38880         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38881
38882 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38883
38884         [BZ #13717]
38885         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38886         to 2.4.0 where earlier.
38887         * sysdeps/unix/sysv/linux/configure: Regenerated.
38888         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38889         <kernel-features.h>.
38890         [__ASSUME_32BITUIDS]: Make code unconditional.
38891         [!__ASSUME_32BITUIDS]: Remove conditional code.
38892         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38893         <kernel-features.h>.
38894         [__ASSUME_32BITUIDS]: Make code unconditional.
38895         [!__ASSUME_32BITUIDS]: Remove conditional code.
38896         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38897         [__ASSUME_32BITUIDS]: Make code unconditional.
38898         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38899         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38900         <kernel-features.h>.
38901         [__ASSUME_32BITUIDS]: Make code unconditional.
38902         [!__ASSUME_32BITUIDS]: Remove conditional code.
38903         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38904         <kernel-features.h>.
38905         [__ASSUME_32BITUIDS]: Make code unconditional.
38906         [!__ASSUME_32BITUIDS]: Remove conditional code.
38907         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38908         <kernel-features.h>.
38909         [__ASSUME_32BITUIDS]: Make code unconditional.
38910         [!__ASSUME_32BITUIDS]: Remove conditional code.
38911         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38912         <kernel-features.h>.
38913         [__ASSUME_32BITUIDS]: Make code unconditional.
38914         [!__ASSUME_32BITUIDS]: Remove conditional code.
38915         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38916         <kernel-features.h>.
38917         [__ASSUME_32BITUIDS]: Make code unconditional.
38918         [!__ASSUME_32BITUIDS]: Remove conditional code.
38919         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38920         <kernel-features.h>.
38921         [__ASSUME_32BITUIDS]: Make code unconditional.
38922         [!__ASSUME_32BITUIDS]: Remove conditional code.
38923         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38924         <kernel-features.h>.
38925         [__ASSUME_32BITUIDS]: Make code unconditional.
38926         [!__ASSUME_32BITUIDS]: Remove conditional code.
38927         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38928         <kernel-features.h>.
38929         [__ASSUME_32BITUIDS]: Make code unconditional.
38930         [!__ASSUME_32BITUIDS]: Remove conditional code.
38931         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38932         <kernel-features.h>.
38933         [__ASSUME_32BITUIDS]: Make code unconditional.
38934         [!__ASSUME_32BITUIDS]: Remove conditional code.
38935         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38936         <kernel-features.h>.
38937         [__ASSUME_32BITUIDS]: Make code unconditional.
38938         [!__ASSUME_32BITUIDS]: Remove conditional code.
38939         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38940         <kernel-features.h>.
38941         [__NR_setresgid] (__setresgid): Do not declare.
38942         [__ASSUME_32BITUIDS]: Make code unconditional.
38943         [!__ASSUME_32BITUIDS]: Remove conditional code.
38944         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38945         <kernel-features.h>.
38946         [__NR_setresuid] (__setresuid): Do not declare.
38947         [__ASSUME_32BITUIDS]: Make code unconditional.
38948         [!__ASSUME_32BITUIDS]: Remove conditional code.
38949         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38950         <kernel-features.h>.
38951         [__ASSUME_32BITUIDS]: Make code unconditional.
38952         [!__ASSUME_32BITUIDS]: Remove conditional code.
38953         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38954         <kernel-features.h>.
38955         [__ASSUME_32BITUIDS]: Make code unconditional.
38956         [!__ASSUME_32BITUIDS]: Remove conditional code.
38957         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38958         <kernel-features.h>.
38959         [__ASSUME_32BITUIDS]: Make code unconditional.
38960         [!__ASSUME_32BITUIDS]: Remove conditional code.
38961         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38962         <kernel-features.h>.
38963         [__ASSUME_32BITUIDS]: Make code unconditional.
38964         [!__ASSUME_32BITUIDS]: Remove conditional code.
38965         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38966         <kernel-features.h>.
38967         [__ASSUME_32BITUIDS]: Make code unconditional.
38968         [!__ASSUME_32BITUIDS]: Remove conditional code.
38969         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38970         <kernel-features.h>.
38971         [__ASSUME_32BITUIDS]: Make code unconditional.
38972         [!__ASSUME_32BITUIDS]: Remove conditional code.
38973         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38974         <kernel-features.h>.
38975         [__ASSUME_32BITUIDS]: Make code unconditional.
38976         [!__ASSUME_32BITUIDS]: Remove conditional code.
38977         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38978         <kernel-features.h>.
38979         [__ASSUME_32BITUIDS]: Make code unconditional.
38980         [!__ASSUME_32BITUIDS]: Remove conditional code.
38981         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38982         <kernel-features.h>.
38983         [__ASSUME_32BITUIDS]: Make code unconditional.
38984         [!__ASSUME_32BITUIDS]: Remove conditional code.
38985         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38986         <kernel-features.h>.
38987         [__ASSUME_32BITUIDS]: Make code unconditional.
38988         [!__ASSUME_32BITUIDS]: Remove conditional code.
38989         * sysdeps/unix/sysv/linux/kernel-features.h
38990         (__ASSUME_SETRESUID_SYSCALL): Remove.
38991         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38992         (__ASSUME_32BITUIDS): Likewise.
38993         (__ASSUME_LDT_WORKS): Likewise.
38994         (__ASSUME_O_DIRECTORY): Likewise.
38995         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38996         architecture but not kernel version.
38997         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38998         (__ASSUME_MMAP2_SYSCALL): Likewise.
38999         (__ASSUME_STAT64_SYSCALL): Likewise.
39000         (__ASSUME_IPC64): Likewise.
39001         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39002         <kernel-features.h>.
39003         [__ASSUME_32BITUIDS]: Make code unconditional.
39004         [!__ASSUME_32BITUIDS]: Remove conditional code.
39005         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39006         <kernel-features.h>.
39007         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39008         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39009         132096]: Remove conditional code.
39010         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39012         <kernel-features.h>.
39013         [__ASSUME_32BITUIDS]: Make code unconditional.
39014         [!__ASSUME_32BITUIDS]: Remove conditional code.
39015         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39016         <kernel-features.h>.
39017         [__ASSUME_32BITUIDS]: Make code unconditional.
39018         [!__ASSUME_32BITUIDS]: Remove conditional code.
39019         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39020         <kernel-features.h>.
39021         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39022         unconditional.
39023         (__setresgid): Do not declare.
39024         [__ASSUME_32BITUIDS]: Make code unconditional.
39025         [!__ASSUME_32BITUIDS]: Remove conditional code.
39026         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39027         <kernel-features.h>.
39028         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39029         unconditional.
39030         (__setresuid): Do not declare.
39031         [__ASSUME_32BITUIDS]: Make code unconditional.
39032         [!__ASSUME_32BITUIDS]: Remove conditional code.
39033         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39034         <kernel-features.h>.
39035         [__ASSUME_32BITUIDS]: Make code unconditional.
39036         [!__ASSUME_32BITUIDS]: Remove conditional code.
39037         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39038         <kernel-features.h>.
39039         [__ASSUME_32BITUIDS]: Make code unconditional.
39040         [!__ASSUME_32BITUIDS]: Remove conditional code.
39041
39042 2012-05-25  Richard Henderson  <rth@twiddle.net>
39043
39044         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39045         dl_hwcap to ifunc resolver.
39046         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39047         elf_ifunc_invoke.
39048         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39049         dl_hwcap to ifunc resolver.
39050         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39051
39052 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39053
39054         [BZ #14153]
39055         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39056         for |x| <= 2**-26, not 2**-57.
39057         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39058         exception.
39059
39060 2012-05-24  Jeff Law  <law@redhat.com>
39061
39062         * stdio-common/Makefile (tests): Add bug25.
39063         * stdio-common/bug25.c: New test.
39064
39065 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39066
39067         [BZ #13576]
39068         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39069         multiple of MALLOC_ALIGNMENT in size.
39070         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39071
39072 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39073
39074         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39075         Require >= 256.
39076         (FILENAME_MAX): Use macro-int-constant.
39077         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39078         (_IOFBF): Use macro-int-constant.
39079         (_IOLBF): Likewise.
39080         (_IONBF): Likewise.
39081         (SEEK_CUR): Likewise.
39082         (SEEK_END): Likewise.
39083         (SEEK_SET): Likewise.
39084         (TMP_MAX): Likewise.
39085         (EOF): Use macro-int-constant.  Require < 0.
39086         (NULL): Use macro-constant.  Require == 0.
39087         (stdin): Require type to be FILE *.
39088         (stdout): Likewise.
39089         (stderr): Likewise.
39090         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39091         macro-int-constant.
39092         (EXIT_SUCCESS): Likewise.
39093         (NULL): Use macro-constant.  Require == 0.
39094         (RAND_MAX): Use macro-int-constant.
39095         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39096         [C99-based standards] (strtof): Require function.
39097         [C99-based standards] (strtold): Likewise.
39098         [C99-based standards] (strtoll): Likewise.
39099         [C99-based standards] (strtoull): Likewise.
39100         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39101         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39102         [ISO || ISO99 || ISO11] (math.h): Likewise.
39103         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39104         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39105         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39106
39107 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39108
39109         [BZ #14132]
39110         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39111         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39112         * intl/dgettext.c (DCGETTEXT): Likewise.
39113         * intl/gettext.c (DCGETTEXT): Likewise.
39114         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39115         * posix/regex_internal.h (gettext): Likewise.
39116         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39117         Remove declaration.
39118         * include/argz.h (__argz_count_internal)
39119         (__argz_stringify_internal): Remove declaration.
39120         (__argz_count, __argz_stringify): Declare hidden proto.
39121         * intl/dcgettext.c: Remove use of INTDEF.
39122         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39123         * string/argz-stringify.c: Likewise.
39124         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39125         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39126         Declare hidden proto.
39127         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39128         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39129         Declare hidden proto.
39130         * include/stdio.h (__asprintf_internal): Don't declare.
39131         (__asprintf): Don't define as macro.  Declare hidden proto.
39132         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39133         (__fsetlocking): Declare hidden proto.
39134         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39135         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39136         hidden proto.
39137         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39138         (_IO_setlinebuf): Remove use of INTUSE.
39139         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39140         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39141         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39142         Remove declaration.
39143         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39144         (_IO_do_flush): Remove use of INTUSE.
39145         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39146         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39147         (_IO_adjust_column, _IO_least_wmarker)
39148         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39149         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39150         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39151         (_IO_default_doallocate, _IO_wdefault_doallocate)
39152         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39153         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39154         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39155         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39156         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39157         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39158         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39159         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39160         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39161         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39162         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39163         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39164         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39165         proto.
39166         (_IO_flush_all_internal, _IO_adjust_column_internal)
39167         (_IO_default_uflow_internal, _IO_default_finish_internal)
39168         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39169         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39170         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39171         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39172         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39173         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39174         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39175         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39176         (_IO_file_close_internal, _IO_file_close_it_internal)
39177         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39178         (_IO_file_init_internal, _IO_file_attach_internal)
39179         (_IO_file_fopen_internal, _IO_file_read_internal)
39180         (_IO_file_sync_internal, _IO_file_seek_internal)
39181         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39182         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39183         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39184         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39185         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39186         (_IO_list_all_internal, _IO_link_in_internal)
39187         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39188         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39189         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39190         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39191         (_IO_do_write_internal, _IO_padn_internal)
39192         (_IO_getline_info_internal, _IO_getline_internal)
39193         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39194         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39195         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39196         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39197         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39198         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39199         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39200         with libc_hidden_ver, remove use of INTUSE.
39201         * libio/genops.c: Likewise.
39202         * libio/freopen.c: Likewise.
39203         * libio/freopen64.c: Likewise.
39204         * libio/iofclose.c: Likewise.
39205         * libio/iofdopen.c: Likewise.
39206         * libio/iofflush.c: Likewise.
39207         * libio/iofflush_u.c: Likewise.
39208         * libio/iofgets.c: Likewise.
39209         * libio/iofgets_u.c: Likewise.
39210         * libio/iofopen.c: Likewise.
39211         * libio/iofopncook.c: Likewise.
39212         * libio/iofread.c: Likewise.
39213         * libio/iofread_u.c: Likewise.
39214         * libio/ioftell.c: Likewise.
39215         * libio/iofwrite.c: Likewise.
39216         * libio/iogetline.c: Likewise.
39217         * libio/iogets.c: Likewise.
39218         * libio/iogetwline.c: Likewise.
39219         * libio/iopadn.c: Likewise.
39220         * libio/iopopen.c: Likewise.
39221         * libio/ioseekoff.c: Likewise.
39222         * libio/ioseekpos.c: Likewise.
39223         * libio/iosetbuffer.c: Likewise.
39224         * libio/iosetvbuf.c: Likewise.
39225         * libio/ioungetc.c: Likewise.
39226         * libio/ioungetwc.c: Likewise.
39227         * libio/iovdprintf.c: Likewise.
39228         * libio/iovsprintf.c: Likewise.
39229         * libio/iovsscanf.c: Likewise.
39230         * libio/memstream.c: Likewise.
39231         * libio/obprintf.c: Likewise.
39232         * libio/oldfileops.c: Likewise.
39233         * libio/oldiofclose.c: Likewise.
39234         * libio/oldiofdopen.c: Likewise.
39235         * libio/oldiofopen.c: Likewise.
39236         * libio/oldiopopen.c: Likewise.
39237         * libio/oldstdfiles.c: Likewise.
39238         * libio/putc.c: Likewise.
39239         * libio/setbuf.c: Likewise.
39240         * libio/setlinebuf.c: Likewise.
39241         * libio/stdfiles.c: Likewise.
39242         * libio/strops.c: Likewise.
39243         * libio/vasprintf.c: Likewise.
39244         * libio/vscanf.c: Likewise.
39245         * libio/vsnprintf.c: Likewise.
39246         * libio/vswprintf.c: Likewise.
39247         * libio/wfiledoalloc.c: Likewise.
39248         * libio/wfileops.c: Likewise.
39249         * libio/wgenops.c: Likewise.
39250         * libio/wmemstream.c: Likewise.
39251         * libio/wstrops.c: Likewise.
39252         * libio/__fpurge.c: Likewise.
39253         * libio/__fsetlocking.c: Likewise.
39254         * assert/assert.c: Likewise.
39255         * debug/fgets_chk.c: Likewise.
39256         * debug/fgets_u_chk.c: Likewise.
39257         * debug/fread_chk.c: Likewise.
39258         * debug/fread_u_chk.c: Likewise.
39259         * debug/gets_chk.c: Likewise.
39260         * debug/obprintf_chk.c: Likewise.
39261         * debug/vasprintf_chk.c: Likewise.
39262         * debug/vdprintf_chk.c: Likewise.
39263         * debug/vsnprintf_chk.c: Likewise.
39264         * debug/vsprintf_chk.c: Likewise.
39265         * malloc/mtrace.c: Likewise.
39266         * misc/error.c: Likewise.
39267         * misc/syslog.c: Likewise.
39268         * stdio-common/asprintf.c: Likewise.
39269         * stdio-common/fxprintf.c: Likewise.
39270         * stdio-common/getw.c: Likewise.
39271         * stdio-common/isoc99_fscanf.c: Likewise.
39272         * stdio-common/isoc99_scanf.c: Likewise.
39273         * stdio-common/isoc99_vfscanf.c: Likewise.
39274         * stdio-common/isoc99_vscanf.c: Likewise.
39275         * stdio-common/isoc99_vsscanf.c: Likewise.
39276         * stdio-common/printf-prs.c: Likewise.
39277         * stdio-common/printf_fp.c: Likewise.
39278         * stdio-common/printf_fphex.c: Likewise.
39279         * stdio-common/printf_size.c: Likewise.
39280         * stdio-common/putw.c: Likewise.
39281         * stdio-common/scanf.c: Likewise.
39282         * stdio-common/sprintf.c: Likewise.
39283         * stdio-common/tmpfile.c: Likewise.
39284         * stdio-common/vfprintf.c: Likewise.
39285         * stdio-common/vfscanf.c: Likewise.
39286         * stdlib/strfmon_l.c: Likewise.
39287         * sunrpc/openchild.c: Likewise.
39288         * sunrpc/xdr_stdio.c: Likewise.
39289         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39290         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39291
39292 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39293
39294         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39295
39296         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39297         in the third column, to generate for the shared library an IFUNC
39298         that uses _dl_vdso_vsym.
39299         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39300         * Makeconfig (object-suffixes-noshared): New variable.
39301
39302         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39303         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39304         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39305         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39306
39307         [BZ #14132]
39308         * include/sys/time.h (__gettimeofday): Remove macro.
39309         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39310         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39311         Remove INTDEF.
39312         (__gettimeofday): Add libc_hidden_def.
39313         (gettimeofday): Add libc_hidden_weak.
39314         * sysdeps/mach/gettimeofday.c: Likewise.
39315         * sysdeps/posix/gettimeofday.c: Likewise.
39316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39317         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39319         (__gettimeofday_internal): Remove strong_alias.
39320         (__gettimeofday): Add libc_hidden_def.
39321         (gettimeofday): Add libc_hidden_weak.
39322         * sysdeps/unix/syscalls.list (gettimeofday):
39323         Remove __gettimeofday_internal alias.
39324
39325 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39326             H.J. Lu  <hongjiu.lu@intel.com>
39327
39328         [BZ #12495]
39329         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39330         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39331         (largebin_index_32_big): New.
39332         (largebin_index): Use it for 16-byte alignment.
39333         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39334         correction with front_misalign.
39335
39336 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39337
39338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39340         Likewise.
39341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39342         Likewise.
39343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39344         Likewise.
39345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39346         Likewise.
39347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39348         Likewise.
39349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39350         Likewise.
39351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39352         Likewise.
39353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39354         Likewise.
39355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39356         Likewise.
39357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39358         Likewise.
39359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39360         Likewise.
39361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39362         Likewise.
39363
39364         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39365         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39366
39367 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39368
39369         [BZ #10846]
39370         [BZ #14036]
39371         * math/libm-test.inc (exp_test): Add test from bug 14036.
39372         (pow_test): Add test from bug 10846.
39373
39374         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39375         and other flags.
39376         (special_function): Do not include flags in test name.
39377         (parse_args): Likewise.
39378         * sysdeps/i386/fpu/libm-test-ulps: Update.
39379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39380         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39381         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39383
39384         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39385         exceptions.
39386         * math/libm-test.inc ("Philosophy"): Update comment about
39387         exception testing.
39388         (UNDERFLOW_EXCEPTION): New macro.
39389         (UNDERFLOW_EXCEPTION_OK): Likewise.
39390         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39391         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39392         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39393         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39394         (INVALID_EXCEPTION_OK): Update value.
39395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39396         (OVERFLOW_EXCEPTION_OK): Likewise.
39397         (IGNORE_ZERO_INF_SIGN): Likewise.
39398         (test_exceptions): Handle underflow exceptions.
39399         (acos_test): Update for underflow exception expectations.
39400         (cexp_test): Likewise.
39401         (clog_test): Likewise.
39402         (clog10_test): Likewise.
39403         (csqrt_test): Likewise.
39404         (ctan_test): Likewise.
39405         (ctanh_test): Likewise.
39406         (exp_test): Likewise.
39407         (exp10_test): Likewise.
39408         (exp2_test): Likewise.
39409         (expm1_test): Likewise.
39410         (fma_test): Likewise.
39411         (j0_test): Likewise.
39412         (jn_test): Likewise.
39413         (nexttoward_test): Likewise.
39414         (pow_test): Likewise.
39415         (scalbn_test): Likewise.
39416         (scalbln_test): Likewise.
39417         (tan_test): Likewise.
39418         (y1_test): Likewise.
39419         * sysdeps/i386/fpu/libm-test-ulps: Update.
39420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39421
39422 2012-05-23  David S. Miller  <davem@davemloft.net>
39423
39424         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39425         (__libc_sigaction): Remove unused local variables.
39426
39427 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39428
39429         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39430
39431 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39432
39433         mktime: avoid signed integer overflow
39434         * time/mktime.c (__mktime_internal): Do not mishandle the case
39435         where diff == INT_MIN.
39436
39437         mktime: simplify computation of average
39438         * time/mktime.c (ranged_convert): Use new time_t_avg function
39439         instead of rolling our own (probably-slower) code.
39440
39441         mktime: do not assume signed right shift propagates sign bit
39442         * time/mktime.c (isdst_differ): New static function.
39443         (__mktime_internal): No need to normalize tm_isdst now.
39444         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39445         tm_isdst values.
39446
39447         mktime: merge another wrapv change from gnulib
39448         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39449         from some compilers.
39450
39451         mktime: remove incorrect attempt at unusual arithmetics
39452         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39453         The code didn't really work on such machines anyway.
39454         (TYPE_MINIMUM): Assume two's complement.
39455         (twos_complement_arithmetic): Verify that long_int and time_t
39456         are two's complement (or unsigned, in the latter case).
39457
39458         mktime: check signed shifts on long_int and time_t, too
39459         * time/mktime.c (SHR): Check that shifts work as desired
39460         on the types long_int and time_t too, as SHR is used on
39461         such types.
39462
39463         mktime: do not assume 'long' is wide enough
39464         * time/mktime.c (verify): Move decl up.
39465         (long_int): New type.
39466         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39467         to remove assumption in the code that 'long' is wide enough to
39468         store year values.  This assumption is not true on x32 and on
39469         some non-glibc platforms.
39470
39471         mktime: merge wrapv change from gnulib
39472         * time/mktime.c (WRAPV): New macro.
39473         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39474         (guess_time_tm, __mktime_internal): Do not assume that signed
39475         integer overflow wraps around; modern compilers generate code
39476         where this assumption is no longer valid.
39477
39478 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39479
39480         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39481         Replace "jmp L(pseudo_end)" with "ret".
39482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39483         Likewise.
39484
39485 2012-05-23  Andreas Jaeger  <aj@suse.de>
39486
39487         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39488         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39489
39490 2012-05-23  Andreas Jaeger  <aj@suse.de>
39491             Maximilian Attems  <max@stro.at>
39492
39493         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39494         New macros.
39495
39496 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39497
39498         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39499         code so that pseudo_end is just ret and the stack pointer is
39500         correct also for static library in error case.
39501
39502 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39503
39504         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39505         move to syscalls.list.
39506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39510
39511         * manual/install.texi (Running make install): Do not mention Linux
39512         kernel version for which pt_chown is not needed.
39513         (Linux): Do not mention problems with nscd with 2.0 kernels.
39514         * INSTALL: Regenerated.
39515
39516 2012-05-23  Andreas Jaeger  <aj@suse.de>
39517
39518         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39519         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39520         macro.
39521         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39522         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39523         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39524         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39525         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39526         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39528         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39529         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39530         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39531         * sysdeps/unix/sysv/linux/bits/in.h
39532         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39533
39534 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39535
39536         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39537         (PREPARE_VERSION): Just use assert instead, it will be elided
39538         under [NDEBUG] anyway.
39539
39540 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39541
39542         * sysdeps/unix/sysv/linux/Makefile: Include
39543         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39544         (sysdep_routines): Remove sysctl.
39545         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39546         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39547         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39548         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39549         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39550
39551 2012-05-22  Andreas Jaeger  <aj@suse.de>
39552
39553         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39554         that pseudo_end is just ret and the stack pointer is correct also
39555         for static library in error case.
39556
39557 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39558
39559         [BZ #14122]
39560         * nss/nsswitch.c (defconfig_entries): New variable.
39561         (__nss_database_lookup): Don't leak defconfig entries.
39562         (nss_parse_service_list): Don't leak on error paths.
39563         (free_database_entries): New function.
39564         (free_defconfig): New function.
39565         (free_mem): Move common code to free_database_entries.
39566
39567 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39568
39569         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39570         Add arch_prctl.
39571         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39572
39573         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39574         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39575         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39576         New macro.
39577         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39578         (INTERNAL_SYSCALL_TYPES): Likewise.
39579         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39580         (LOAD_REGS_TYPES_[1-6]): Likewise.
39581         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39582         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39583
39584 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39585
39586         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39587         copysignl for GLIBC_2_0.
39588         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39589         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39591         logbl for GLIBC_2_0.
39592         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39593         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39594
39595 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39596
39597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39598         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39599
39600         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39601         Use "neg %eax".
39602
39603         * time/mktime.c: Update copyright years.
39604
39605 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39606
39607         mktime: merge comment-quoting-style change from gnulib
39608         * time/mktime.c: Quote 'like this' in comments.
39609         The GNU coding standards suggest that we no longer quote `like this',
39610         as "`" and "'" are typically rendered asymmetrically nowadays.
39611         The typical gnulib style is to quote 'like this' when quoting
39612         code, and "like this" when quoting English.
39613
39614         * time/mktime.c (compile-command): Add "-I.".
39615
39616         mktime: merge mktime-internal.h change from gnulib
39617         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39618
39619         mktime: merge time_r change from gnulib
39620         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39621
39622         mktime: merge DEBUG change from gnulib
39623         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39624         case system <time.h> has a #define.
39625
39626         mktime: merge <sys/types.h> change from gnulib
39627         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39628         since <time.t> is now guaranteed to define time_t.
39629
39630         mktime: merge HAVE_CONFIG_H change from gnulib
39631         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39632
39633 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39634
39635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39636         Use "neg %eax".
39637
39638         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39639         __rlim_t cast.
39640         (struct rusage): Use anonymous union to pad each field to
39641         __syscall_slong_t.
39642
39643 2012-05-21  David S. Miller  <davem@davemloft.net>
39644
39645         * Makefules (o-iterator): Remove .s cases.
39646         (compile-command.s): Delete.
39647         (COMPILE.s): Delete.
39648         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39649
39650 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39651
39652         * configure.in (libc_cv_predef_stack_protector): Only consider
39653         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39654         * configure: Regenerated.
39655
39656 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39657
39658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39659         New macro.  Use R*LP on int and pointer.
39660         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39661         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39662         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39663         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39664
39665         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39666         [__WORDSIZE_TIME64_COMPAT32] instead of
39667         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39668         (struct utmp): Likewise.
39669         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39670         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39671         Renamed to ...
39672         (__WORDSIZE_TIME64_COMPAT32): This.
39673         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39674         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39675         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39676         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39677         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39678         (__WORDSIZE_TIME64_COMPAT32): New macro.
39679
39680 2012-05-21  Andreas Jaeger  <aj@suse.de>
39681
39682         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39683         only if [SHARED]. Add prototype for __wcschr_ia32.
39684
39685 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39686
39687         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39688         of %rbp unmolested in the jmp_buf while mangling the low bits.
39689         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39690         unmolested high bits of %rbp while demangling the low bits.
39691         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39692
39693 2012-05-21  Andreas Jaeger  <aj@suse.de>
39694
39695         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39696         * sunrpc/svc_simple.c: Use it for registerrpc.
39697         * sunrpc/xcrypt.c: Use it for passwd2des.
39698
39699         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39700
39701 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39702
39703         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39704         Don't define if [__SYSCALL_WORDSIZE != 32].
39705         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39706         New macro.
39707
39708 2012-05-21  Bruno Haible  <bruno@clisp.org>
39709             Andreas Jaeger  <aj@suse.de>
39710
39711         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39712         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39713         inptr and inend for must_buffer_ch.
39714         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39715         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39716         * stdio-common/Makefile (tests): Remove bug15.
39717         (bug15-ENV): Remove macro.
39718         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39719         anymore.
39720
39721 2012-05-19  Andreas Jaeger  <aj@suse.de>
39722             Roland McGrath  <roland@hack.frob.com>
39723
39724         * manual/contrib.texi: Completely rewritten. It contains now an
39725         alphabetical list of contributors and their contributions.
39726
39727 2012-05-21  Richard Henderson  <rth@twiddle.net>
39728
39729         * misc/getauxval.c (__getauxval): Use unsigned long int.
39730         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39731         (getauxval): Use unsigned long int.
39732
39733 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39736
39737 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39738
39739         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39740         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39741         __alignof__ (long double).
39742
39743 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39744
39745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39746
39747 2012-05-20  Richard Henderson  <rth@twiddle.net>
39748
39749         * misc/getauxval.c: New file.
39750         * misc/sys/auxv.h: New file.
39751         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39752         (routines): Add getauxval.
39753         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39755         * elf/dl-sysdep.c (_dl_auxv): Remove.
39756         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39757         * elf/dl-support.c (_dl_auxv): New variable.
39758         (_dl_aux_init): Initialize it.
39759         * manual/startup.texi (Auxiliary Vector): New node.
39760         * sysdeps/generic/bits/hwcap.h: New file.
39761         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39762         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39763         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39764         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39765         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39766         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39768         Update.
39769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39772         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39777
39778 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39779
39780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39781
39782 2012-05-19  David S. Miller  <davem@davemloft.net>
39783
39784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39785
39786 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39787
39788         [BZ #14123]
39789         * math/s_ccosh.c: Include <float.h>
39790         (__ccosh): Avoid internal overflow calculating sinh and cosh
39791         values before multiplying by sin and cos values.
39792         * math/s_ccoshf.c: Likewise.
39793         * math/s_ccoshl.c: Likewise.
39794         * math/s_csin.c: Likewise.
39795         * math/s_csinf.c: Likewise.
39796         * math/s_csinl.c: Likewise.
39797         * math/s_csinh.c: Likewise.
39798         * math/s_csinhf.c: Likewise.
39799         * math/s_csinhl.c: Likewise.
39800         * math/libm-test.inc (ccos_test): Add more tests.
39801         (ccosh_test): Likewise.
39802         (csin_test): Likewise.
39803         (csinh_test): Likewise.
39804         * sysdeps/i386/fpu/libm-test-ulps: Update.
39805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39806
39807 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39808
39809         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39810         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39811
39812         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39813
39814 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39815
39816         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39817         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39818         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39819         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39820         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39821         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39822         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39823         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39824         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39825         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39826         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39827         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39828         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39829         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39830         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39831         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39832         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39833         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39834         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39835         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39836         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39837         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39838         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39839         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39840         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39841         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39842         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39843         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39844         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39845         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39846         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39847
39848 2012-05-18  Andreas Jaeger  <aj@suse.de>
39849
39850         * csu/.gitignore: Delete.
39851
39852 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39853
39854         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39855         (timex): Use __syscall_slong_t.
39856
39857 2012-05-18  Andreas Jaeger  <aj@suse.de>
39858             Carlos O'Donell  <carlos_odonell@mentor.com>
39859
39860         * manual/install.texi (Configuring and compiling): Update
39861         description about files modified in the source directory.
39862         * INSTALL: Regenerated.
39863
39864 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39865
39866         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39867         value.  Use "or" to set return value to -1.
39868         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39869         negate return value.
39870
39871 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39872
39873         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39874         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39875         failure if the compiler has Graphite support disabled.
39876         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39877         Likewise.
39878         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39879         (CFLAGS-memmove.c): Likewise.
39880         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39881         Likewise.
39882
39883 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39884
39885         * sysdeps/x86_64/x32/_itoa.h: New file.
39886
39887         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39888         getdents system call only if kernel and user dirents have the
39889         same d_ino and d_off.
39890
39891         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39892         LLONG_MAX != LONG_MAX.
39893         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39894         (_fitoa_word): Likewise.
39895
39896         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39897         years.
39898         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39899         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39900         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39901
39902         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39903         include <bits/wordsize.h>.  Check __x86_64__ instead of
39904         __WORDSIZE.
39905         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39906         if __x86_64__ is defined.  Use anonymous union on fpstate.
39907
39908         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39909         anonymous union.
39910
39911 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39912
39913         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39914         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39915         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39916         Refer to _rtld_local_ro instead of _rtld_global_ro.
39917         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39918         Likewise.
39919         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39920         Likewise.
39921         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39922         Likewise.
39923         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39924         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39925         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39926
39927         * sysdeps/powerpc/powerpc32/dl-machine.c
39928         (__elf_machine_runtime_setup) [PROF]: Don't reference
39929         _dl_prof_resolve.
39930
39931 2012-05-18  Andreas Jaeger  <aj@suse.de>
39932
39933         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39934         function only available for GCCs before 3.4 since GCC 3.4
39935         introduced a builtin.
39936         (lrint): Likewise.
39937         (llrintf): Likewise.
39938         (llrint): Likewise.
39939         (fmaxf): Likewise.
39940         (fmax): Likewise.
39941         (fminf): Likewise.
39942         (fmin): Likewise.
39943         (rint): Likewise.
39944         (rintf): Likewise.
39945         (nearbyint): Likewise.
39946         (nearbyintf): Likewise.
39947         (ceil): Likewise.
39948         (ceilf): Likewise.
39949         (floor): Likewise.
39950         (floorf): Likewise.
39951
39952 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39953
39954         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39955         on both fields and cast pointer to __syscall_ulong_t.
39956
39957         * bits/types.h (__fsword_t): New type.
39958         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39959         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39960         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39961         (__FSWORD_T_TYPE): Likewise.
39962         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39963         (__FSWORD_T_TYPE): Likewise.
39964         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39965         (__FSWORD_T_TYPE): Likewise.
39966         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39967         (__FSWORD_T_TYPE): Likewise.
39968         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39969         __SWORD_TYPE with __fsword_t.
39970         (statfs64): Likewise.
39971
39972 2012-05-17  David S. Miller  <davem@davemloft.net>
39973
39974         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39975
39976 2012-05-17  Andreas Jaeger  <aj@suse.de>
39977
39978         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39979         warning.
39980
39981 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39982
39983         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39984
39985 2012-05-17  Andreas Jaeger  <aj@suse.de>
39986
39987         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39988         when it is used.
39989
39990 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39991
39992         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39993
39994 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39995
39996         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39997         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39998
39999 2012-05-17  Andreas Jaeger  <aj@suse.de>
40000             Carlos O'Donell  <carlos_odonell@mentor.com>
40001
40002         [BZ #14059]
40003         * sysdeps/x86_64/multiarch/init-arch.h
40004         (bit_YMM_Usable): Rename to...
40005         (bit_AVX_Usable): ... this.
40006         (bit_FMA4_Usable): New macro.
40007         (bit_XMM_state): New macro.
40008         (bit_YMM_state): New macro.
40009         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40010         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40011         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40012         (CPUID_OSXSAVE): New macro.
40013         (CPUID_AVX): New macro.
40014         (CPUID_FMA4): New macro.
40015         (index_YMM_Usable): Rename to...
40016         (index_AVX_Usable): ... this.
40017         (HAS_AVX): Use HAS_ARCH_FEATURE.
40018         (HAS_FMA4): Likewise.
40019         (HAS_YMM_USABLE): Remove.
40020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40021         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40022         are present.
40023         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40024         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40025         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40026         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40027         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40028
40029 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40030
40031         * math/libm-test.c: Support platforms without multiple rounding modes.
40032         * math/bug-nextafter.c: Support platforms without FP exceptions.
40033         * math/bug-nexttoward.c: Likewise.
40034         * math/test-fenv.c: Likewise.
40035         * math/test-misc.c: Likewise.
40036         * stdlib/bug-getcontext.c: Likewise.
40037
40038 2012-05-17  Andreas Jaeger  <aj@suse.de>
40039
40040         * manual/examples/search.c (critter_cmp): Change signature to
40041         avoid warnings.
40042         * manual/string.texi (Collation Functions): Likewise.
40043
40044 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40045
40046         * bits/types.h: Fold copyright years.
40047         * bits/typesizes.h: Likewise.
40048         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40049         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40051         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40052         * time/time.h: Likewise.
40053
40054 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40055
40056         [BZ #208]
40057         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40058         in instead of returning them.  Return void.
40059         (__libc_mallinfo): Accumulate over all arenas.
40060         (__malloc_stats): Adjust for change in int_mallinfo interface.
40061
40062 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40063
40064         [BZ #10375]
40065         * configure.in (NM): Add AC_CHECK_TOOL for it.
40066         (libc_extra_cflags): New substituted variable.
40067         Check for -fstack-protector being used implicitly.
40068         * configure: Regenerated.
40069         * config.make.in (config-extra-cflags): New variable,
40070         gets @libc_extra_cflags@.
40071         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40072
40073         [BZ #10375]
40074         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40075         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40076         * configure: Regenerated.
40077         * config.make.in (CPPUNDEFS): New substituted variable.
40078         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40079         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40080         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40081
40082 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40083
40084         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40085         (mq_attr): Use __syscall_slong_t.
40086
40087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40088
40089         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40090         Check __x86_64__ instead of __WORDSIZE.
40091         (_STAT_VER_LINUX): Likewise.
40092         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40093         __syscall_ulong_t and __syscall_slong_t.
40094         (stat64): Likewise.
40095
40096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40097
40098         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40099
40100 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40101
40102         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40103
40104 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40105
40106         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40107         __syscall_ulong_t.
40108
40109         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40110         include <bits/wordsize.h>.  Check __x86_64__ instead of
40111         __WORDSIZE.
40112         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40113         defined.
40114         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40115
40116         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40117         include <bits/wordsize.h>.  Check __x86_64__ instead of
40118         __WORDSIZE.
40119         (user_regs_struct): Use "__extension__ unsigned long long"
40120         instead of "unsigned long" if __x86_64__ is defined.
40121         (user): Likewise.  Pad after pointer field if __ILP32__ is
40122         defined.
40123
40124 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40125
40126         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40127         versions 5 to 9.
40128         * configure: Regenerated.
40129         * manual/install.texi (texinfo): Increase version requirement to
40130         4.5 or later.
40131         * INSTALL: Regenerated.
40132
40133         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40134
40135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40136
40137         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40138
40139         * sysdeps/x86_64/x32/ffs.c: New file.
40140
40141         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40142         __syscall_ulong_t.
40143         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40144         defined.  Use __syscall_ulong_t.
40145         (shminfo): Use __syscall_ulong_t.
40146         (shm_info): Likewise.
40147
40148         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40149         __syscall_ulong_t.
40150
40151         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40152         <bits/wordsize.h>.
40153         (msgqnum_t): Use __syscall_ulong_t.
40154         (msglen_t): Likewise.
40155         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40156         __syscall_ulong_t.
40157
40158         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40159         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40160
40161         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40162
40163         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40164         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40165
40166         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40167         __syscall_slong_t.
40168
40169         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40170         include <bits/wordsize.h>.  Check __x86_64__ instead of
40171         __WORDSIZE.
40172
40173         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40174         "unsigned long long int" if __x86_64__ is defined.
40175         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40176
40177         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40178         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40179         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40180
40181         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40182         <stdint.h>.
40183         (GET_PC): Cast to uintptr_t first.
40184         (GET_FRAME): Likewise.
40185         (GET_STACK): Likewise.
40186
40187         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40188         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40189         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40190         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40191         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40192         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40193         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40194         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40195         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40196         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40197         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40199         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40200         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40201         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40202         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40203         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40204         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40205         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40206         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40207         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40208         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40209         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40210         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40211         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40212         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40213         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40214         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40215         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40216
40217 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40218
40219         * Makerules (+depfiles): Also collect depfiles from .oS in
40220         $(extra-objs).
40221         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40222         .oS, $(libnldbl-routines)).
40223
40224         * Makerules (native-compile-mkdep-flags): Define.
40225         * sunrpc/Makefile (extra-objs): Add $(addprefix
40226         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40227         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40228         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40229         calling $(make-target-directory).
40230
40231 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40232
40233         * bits/types.h (__snseconds_t): Removed.
40234         * time/time.h (struct timespec): Replace __snseconds_t with
40235         __syscall_slong_t.
40236         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40237         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40238         Likewise.
40239         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40240         (__SNSECONDS_T_TYPE): Likewise.
40241         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40242         (__SNSECONDS_T_TYPE): Likewise.
40243         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40244         (__SNSECONDS_T_TYPE): Likewise.
40245
40246 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40247
40248         * sysdeps/mach/hurd/bits/typesizes.h
40249         (__SYSCALL_SLONG_TYPE): New macro.
40250         (__SYSCALL_ULONG_TYPE): Likewise.
40251
40252 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40253
40254         * bits/types.h (__syscall_slong_t): New type.
40255         (__syscall_ulong_t): Likewise.
40256
40257         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40258         (__SYSCALL_ULONG_TYPE): Likewise.
40259         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40260         (__SYSCALL_SLONG_TYPE): Likewise.
40261         (__SYSCALL_ULONG_TYPE): Likewise.
40262         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40263         (__SYSCALL_SLONG_TYPE): Likewise.
40264         (__SYSCALL_ULONG_TYPE): Likewise.
40265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40266         (__SYSCALL_SLONG_TYPE): Likewise.
40267         (__SYSCALL_ULONG_TYPE): Likewise.
40268
40269 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40270
40271         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40272         Add sigaltstack-offsets.sym.
40273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40274         <sigaltstack-offsets.h>.
40275         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40276         longjmp_msg pointer.
40277         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40278         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40279         signal stack.
40280         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40281
40282 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40283
40284         * elf/stackguard-macros.h: Remove file.
40285         * sysdeps/generic/stackguard-macros.h: New file.
40286         * sysdeps/i386/stackguard-macros.h: Likewise.
40287         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40288         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40289         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40290         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40291         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40292         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40293         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40294         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40295         <elf/stackguard-macros.h>.
40296
40297         [BZ #14109]
40298         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40299         __aligned__ in attribute.
40300         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40301         (gregset_t): Likewise.
40302
40303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40304
40305         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40306         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40307         * sysdeps/x86_64/x32/Implies-after: New file.
40308
40309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40310
40311         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40312         and access return value for _dl_profile_fixup.  Use R10_LP to
40313         load frame size.
40314
40315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40316
40317         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40318
40319 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40320
40321         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40322         * sysdeps/x86_64/x32/sysdep.h: New file.
40323
40324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40325
40326         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40327         * sysdeps/x86_64/setjmp.S: Likewise.
40328
40329 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40330
40331         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40332         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40333         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40334         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40335         remove unused global constant.
40336
40337 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40338
40339         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40340         include of <not-cancel.h>.
40341
40342 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40343
40344         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40345
40346 2012-05-15  Jeff Law  <law@redhat.com>
40347             Andreas Jaeger  <aj@suse.de>
40348
40349         [BZ #13594]
40350         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40351         out from...
40352         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40353         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40354         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40355         code changing __hst_map_handle.map.
40356
40357 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40358
40359         * configure.in (sysnames): Look for Implies-before and Implies-after
40360         files.
40361         * configure: Regenerated.
40362
40363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40364
40365         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40366         8-byte data alignment with LP_SIZE alignment.
40367
40368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40369
40370         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40371         into R10_LP.
40372
40373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40374
40375         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40376
40377 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40378
40379         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40380         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40381         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40382         Likewise.
40383         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40384
40385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40386
40387         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40388         (stackinfo_sub_sp): Likewise.
40389
40390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40391
40392         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40393         RAX_LP.
40394
40395 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40396
40397         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40398         into R*_LP.
40399
40400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40401
40402         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40403         sizes into R*_LP.
40404
40405 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40406
40407         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40408
40409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40410
40411         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40412         into R11_LP and load __x86_64_shared_cache_size_half into
40413         R8_LP.
40414
40415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40416
40417         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40418         R8_LP.
40419
40420 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40421
40422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40423         logb for POWER7.
40424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40425         logbf for POWER7.
40426         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40427         logbl for POWER7.
40428         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40429         powerpc32/power7/fpu/s_logb.c via #include.
40430         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40431         powerpc32/power7/fpu/s_logbf.c via #include.
40432         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40433         powerpc32/power7/fpu/s_logbl.c via #include.
40434
40435 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40436
40437         * README.libm: Remove file.
40438
40439 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40440
40441         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40442         count for x32.  Use R*_LP and omit operand-size suffix.
40443
40444 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40445
40446         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40447         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40448         * sysdeps/x86_64/x32/shlib-versions: New file.
40449
40450 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40451
40452         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40453         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40454         Use _dl_fatal_printf instead.
40455
40456 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40457
40458         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40459         set if not set by the user.  Do not allow for being unset.
40460         * sysdeps/unix/sysv/linux/configure: Regenerated.
40461
40462 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40463
40464         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40465         the `q' suffix from lea and replace .quad with ASM_ADDR.
40466
40467 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40468
40469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40470         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40471         instead of $17.
40472         (PTR_DEMANGLE): Likewise.
40473
40474 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40475
40476         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40477         (LP_OP): Likewise.
40478         (ASM_ADDR): Likewise.
40479         (RAX_LP): Likewise.
40480         (RBP_LP): Likewise.
40481         (RBX_LP): Likewise.
40482         (RCX_LP): Likewise.
40483         (RDI_LP): Likewise.
40484         (RSI_LP): Likewise.
40485         (RSP_LP): Likewise.
40486         (R8_LP): Likewise.
40487         (R9_LP): Likewise.
40488         (R10_LP): Likewise.
40489         (R10_LP): Likewise.
40490         (R11_LP): Likewise.
40491         (R12_LP): Likewise.
40492         (R13_LP): Likewise.
40493         (R14_LP): Likewise.
40494         (R15_LP): Likewise.
40495
40496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40497
40498         * sysdeps/x86_64/x32/dl-machine.h: New file.
40499
40500 2012-05-14  Andreas Jaeger  <aj@suse.de>
40501
40502         * manual/Makefile (subdir): Remove export of subdir.
40503         (all): Remove target.
40504         (.PHONY): Remove all from list.
40505         (mkinstalldirs): Remove.
40506         (.PHONY): Remove installdirs from list.
40507         ($(inst_infodir)/libc.info): Use make-target-directory.
40508         (installdirs): Remove.
40509         (subdir_%): Remove.
40510         (glibc-targets): Remove.
40511         (lib): Remove.
40512         (stubs): Remove.
40513         ($(objpfx)stubs ../po/manual.pot): Remove.
40514         ($(objpfx)stamp%): Remove.
40515         (make-target-directory): Remove.
40516         (subdir_install): Remove.
40517         (routines): Remove.
40518         (aux): Remove.
40519         (sources): Remove.
40520         (objects): Remove.
40521         (headers): Remove.
40522
40523         [BZ #13750]
40524         * manual/.gitignore: Remove, it's not needed anymore.
40525         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40526         all files in it.
40527         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40528         directory.
40529         (texis): Renamed to $(objpfx)texis.
40530         (texis-path): New, contains path to generated files.
40531         (chapters.%): Use texis-path for complete path, add extra argument
40532         libc-texinfo.sh.
40533         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40534         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40535         (summary,texi, stamp-summary): Use complete path of
40536         files. Generate files in build dir.
40537         (dir-add.texi): Build in build dir.
40538         (libm-err.texi,stamp-libm-err): Likewise.
40539         (version.texi, stamp-version): Likewise.
40540         (.%c.texi): Likewise.
40541         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40542         (mostlyclean): Remove target.
40543         (realclean): Remove target.
40544         (generated): Add new variable with contents from mostlyclean and
40545         realclean, remove entries duplicated in common-mostlyclean, add
40546         stamp-libm-err and stamp-version.
40547         (generated-dirs): Add libc directory.
40548         ($(inst_infodir)/libc.info): Install files from build dir.
40549
40550         * manual/install.texi (Configuring and compiling): Adjust since
40551         the info files are not part of the tar ball anymore.
40552
40553 2012-05-14  Andreas Jaeger  <aj@suse.de>
40554
40555         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40556         variable.
40557
40558 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40559
40560         [BZ #13717]
40561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40562         to 2.2.0 where earlier.
40563         * sysdeps/unix/sysv/linux/configure: Regenerated.
40564         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40565         Remove conditional code.
40566         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40567         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40568         Remove conditional code.
40569         [!__NR_lchown]: Likewise.
40570         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40571         [__NR_lchown]: Likewise.
40572         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40573         comment referencing __ASSUME_LCHOWN_SYSCALL.
40574         * sysdeps/unix/sysv/linux/i386/sigaction.c
40575         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40576         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40577         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40578         Remove conditional code.
40579         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40580         (__protocol_available): Remove #if 0 code.
40581         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40582         conditional code.
40583         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40584         * sysdeps/unix/sysv/linux/kernel-features.h
40585         (__ASSUME_GETCWD_SYSCALL): Don't define.
40586         (__ASSUME_REALTIME_SIGNALS): Likewise.
40587         (__ASSUME_PREAD_SYSCALL): Likewise.
40588         (__ASSUME_PWRITE_SYSCALL): Likewise.
40589         (__ASSUME_POLL_SYSCALL): Likewise.
40590         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40591         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40592         non-SPARC.
40593         (__ASSUME_SIOCGIFNAME): Don't define.
40594         (__ASSUME_MSG_NOSIGNAL): Likewise.
40595         (__ASSUME_SENDFILE): Define unconditionally.
40596         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40597         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40598         conditional code.
40599         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40600         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40601         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40602         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40603         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40604         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40605         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40607         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40608         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40610         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40613         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40614         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40616         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40617         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40619         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40620         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40622         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40625         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40626         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40628         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40629         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40630         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40631         Remove conditional code.
40632         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40633         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40634         Remove conditional code.
40635         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40636         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40637         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40638         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40639         Remove conditional code.
40640         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40641         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40642         Remove conditional code.
40643         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40644         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40645         Remove conditional code.
40646         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40647         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40648         Remove conditional code.
40649         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40650         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40651         Remove conditional code.
40652         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40653         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40654         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40655         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40656         * sysdeps/unix/sysv/linux/sigaction.c
40657         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40658         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40659         * sysdeps/unix/sysv/linux/sigpending.c
40660         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40661         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40662         * sysdeps/unix/sysv/linux/sigprocmask.c
40663         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40664         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40665         * sysdeps/unix/sysv/linux/sigsuspend.c
40666         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40667         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40668         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40669         (__libc_missing_rt_sigs): Remove.
40670         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40671         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40672         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40673         Remove conditional code.
40674         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40675         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40676         return 1.
40677         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40678         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40679         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40680         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40681
40682 2012-05-14  Andreas Jaeger  <aj@suse.de>
40683
40684         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40685         it's not used in glibc.
40686         (__coshm1): Likewise.
40687         (__acosh1p): Likewise.
40688         (__sgn): Likewise.
40689
40690         * manual/string.texi (Copying and Concatenation): Add missing
40691         variable in concat example.
40692         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40693
40694 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40695
40696         [BZ #14103]
40697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40698         __builtin_clzl with __builtin_clzll.
40699
40700 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40701
40702         [BZ #14104]
40703         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40704         libc_freeres_ptr.
40705
40706 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40707
40708         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40709         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40710         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40711         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40712
40713 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40714
40715         * NEWS: Update ia64 info.
40716
40717 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40718
40719         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40720         used as bcopy.
40721
40722 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40723
40724         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40725         * sysdeps/unix/syscalls.list (dup3): Likewise.
40726         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40727         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40728
40729 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40730
40731         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40732         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40733
40734 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40735
40736         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40737         thread pointer.
40738         (TLS_IE): Use mov/add instead of movq/addq to load thread
40739         pointer.
40740         (TLS_GD_PREFIX): New.
40741         (TLS_GD): Use it.
40742
40743 2012-05-11  David S. Miller  <davem@davemloft.net>
40744
40745         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40746         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40747         (_FPU_SETCW): Likewise.
40748
40749 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40750
40751         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40752         is 32-byte aligned.
40753
40754 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40755
40756         [BZ #11837]
40757         * iconvdata/gb18030.c: Update tables.
40758         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40759         characters specially.
40760         (BODY for TO_LOOP): Add encoding of missing ranges.
40761
40762 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40763
40764         [BZ #13673]
40765         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40766         * sysdeps/mach/hurd/dup3.c: Likewise.
40767         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40768         * sysdeps/powerpc/memmove.c:: Likewise.
40769
40770 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40771
40772         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40773         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40774
40775 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40776
40777         * elf/elf.h (R_X86_64_RELATIVE64): New.
40778         (R_X86_64_NUM): Updated.
40779         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40780         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40781         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40782         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40783         tst-quad1pie tst-quad2pie
40784         (modules-names): Add tst-quadmod1 tst-quadmod2.
40785         ($(objpfx)tst-quad1): New dependency.
40786         ($(objpfx)tst-quad2): Likewise.
40787         ($(objpfx)tst-quad1pie): Likewise.
40788         ($(objpfx)tst-quad2pie): Likewise.
40789         * sysdeps/x86_64/tst-quad1.c: New file.
40790         * sysdeps/x86_64/tst-quad1pie.c: New file.
40791         * sysdeps/x86_64/tst-quad2.c: Likewise.
40792         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40793         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40794         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40795         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40796         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40797
40798 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40799
40800         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40801         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40802         * streams/stropts.h (t_scalar_t): Define type.
40803
40804         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40805         (_PATH_PRESERVE): Set to "/var/lib".
40806         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40807
40808         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40809         instead of int.
40810
40811         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40812         if __dir_mkfile succeeded.
40813
40814         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40815         checking for _hurd_dtablesize.  Unlock it right after having
40816         finished _hurd_dtable allocation.
40817
40818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40819
40820         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40821         * sysdeps/mach/hurd/configure: Regenerated.
40822         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40823         special-casing to...
40824         * sysdeps/gnu/configure.in: ... this new file.
40825         * sysdeps/unix/sysv/linux/configure: Regenerated.
40826         * sysdeps/gnu/configure: New generated file.
40827
40828         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40829         for Linux: use nsec instead of usec, as well as:
40830         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40831         members of type struct timespec.
40832         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40833         New macros.
40834         (struct stat64): Likewise.
40835         (_STATBUF_ST_NSEC): New macro.
40836         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40837
40838         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40839         __strtoul_internal rather than strtoul.
40840
40841 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40842
40843         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40844         and reject them.
40845
40846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40847
40848         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40849         which preserves existing values.
40850         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40851
40852 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40853
40854         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40855         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40856         greater than FD_SETSIZE.
40857
40858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40859
40860         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40861         allocated, call __vm_protect to finish enabling the existing space, and
40862         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40863         allocate the remainder.
40864
40865 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40866
40867         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40868         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40869
40870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40871
40872         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40873         sysdeps/mach/hurd/readlink.c.
40874
40875         * posix/tst-sysconf.c (posix_options): Only use
40876         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40877         _POSIX_SYNCHRONIZED_IO when they are defined
40878         * sysdeps/mach/hurd/bits/posix_opt.h:
40879         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40880         (_XOPEN_REALTIME): Undefine macro.
40881         (_XOPEN_REALTIME_THREADS): Undefine macro.
40882         (_XOPEN_SHM): Undefine macro.
40883         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40884         macro to -1.
40885         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40886         macro to -1.
40887         (_POSIX_ASYNC_IO): Undefine macro.
40888         (_POSIX_PRIORITIZED_IO): Undefine macro.
40889         (_POSIX_SPIN_LOCKS): Define macro to -1.
40890
40891         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40892         SA_NODEFER, SA_RESETHAND.
40893         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40894         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40895         F_DUPFD_CLOEXEC.
40896
40897 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40898
40899         * elf/Makefile (pldd-modules): Define unconditionally.
40900
40901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40902
40903         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40904
40905 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40906
40907         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40908         Return ENOENT when name is empty.
40909         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40910
40911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40912
40913         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40914
40915         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40916
40917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40918
40919         Fix mlock in all cases except non-readable pages.
40920         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40921         instead of VM_PROT_ALL as parameter to __vm_wire function.
40922
40923         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40924         (__mkdir): When path is `/', just fail with EEXIST.
40925         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40926
40927 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40928
40929         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40930         <sys/uio.h> (for writev).
40931         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40932         and <sys/param.h> (for MIN).
40933
40934 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40935
40936         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40937         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40938         if interrupted.
40939
40940 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40941
40942         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40943         Depend on against $(link-rpcuserlibs).
40944
40945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40946
40947         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40948         (__libc_stack_end): Do not use attribute_relro.
40949         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40950         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40951         to libthread-provided value.
40952         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40953         attribute_relro.
40954
40955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40956
40957         [BZ #3748]
40958         * bits/libc-lock.h (__libc_once_get): New macro.
40959         * sysdeps/mach/bits/libc-lock.h: Likewise.
40960         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40961         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40962         instead of using implementation details.
40963
40964         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40965         * libio/freopen.c: Likewise.
40966         * libio/freopen64.c: Likewise.
40967         * misc/syslog.c: Likewise.
40968         * nscd/connections.c: Likewise.
40969         * nscd/netgroupcache.c: Likewise.
40970         * sysdeps/posix/getcwd.c: Likewise.
40971
40972 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40973
40974         * math/w_ilogbf.c: Add #include <limits.h>.
40975
40976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40977
40978         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40979         path instead of returning without unlocking.
40980
40981         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40982         immediate-write ioctls.
40983         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40984
40985 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40986
40987         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40988         __builtin_frame_address instead of making assumptions about the
40989         location of the return address relative to DATA.  Force early load of
40990         the return address.
40991         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40992         __builtin_frame_address.
40993
40994         dup3 for GNU Hurd.
40995         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40996         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40997         implement dup3 and do some further code clean-ups.
40998         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40999         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41000
41001 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41002
41003         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41004
41005         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41006         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41007         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41008         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41009         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41010         d->port.lock.
41011
41012         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41013         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41014         when handler == SIG_ERR, not when handler != SIG_ERR.
41015
41016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41017
41018         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41019         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41020         definitions.
41021
41022         accept4 for GNU Hurd.
41023         * include/sys/socket.h (__libc_accept4): New prototype.
41024         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41025         to implement __libc_accept4.
41026         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41027         __libc_accept4.
41028         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41029
41030         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41031         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41032         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41033         signal-defines.sym.
41034
41035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41036
41037         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41038
41039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41040
41041         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41042         assertion on O_CLOEXEC flag.
41043         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41044         * hurd/intern-fd.c: Likewise.
41045         * hurd/port2fd.c: Likewise.
41046
41047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41048
41049         [BZ #3906]
41050         * bits/in.h (IPV6_PKTINFO): Define new macro.
41051         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41052
41053 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41054
41055         [BZ #13954]
41056         [BZ #13955]
41057         [BZ #13956]
41058         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41060         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41061         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41063         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41064         * math/libm-test.inc (logb_test) : Additional logb tests.
41065
41066 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41067             Andreas Jaeger  <aj@suse.de>
41068
41069         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41070         * configure: Regenerated.
41071         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41072         * config.make.in (link-obsolete-rpc): New substituted variable.
41073         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41074         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41075         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41076         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41077         so that libc.a contains the symbols.
41078         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41079         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41080         * sunrpc/auth_none.c: Likewise.
41081         * sunrpc/auth_unix.c: Likewise.
41082         * sunrpc/authdes_prot.c: Likewise.
41083         * sunrpc/authuxprot.c: Likewise.
41084         * sunrpc/clnt_gen.c: Likewise.
41085         * sunrpc/clnt_perr.c: Likewise.
41086         * sunrpc/clnt_raw.c: Likewise.
41087         * sunrpc/clnt_simp.c: Likewise.
41088         * sunrpc/clnt_tcp.c: Likewise.
41089         * sunrpc/clnt_udp.c: Likewise.
41090         * sunrpc/clnt_unix.c: Likewise.
41091         * sunrpc/des_crypt.c: Likewise.
41092         * sunrpc/des_soft.c: Likewise.
41093         * sunrpc/get_myaddr.c: Likewise.
41094         * sunrpc/key_call.c: Likewise.
41095         * sunrpc/key_prot.c: Likewise.
41096         * sunrpc/netname.c: Likewise.
41097         * sunrpc/pm_getmaps.c: Likewise.
41098         * sunrpc/pm_getport.c: Likewise.
41099         * sunrpc/pmap_clnt.c: Likewise.
41100         * sunrpc/pmap_prot.c: Likewise.
41101         * sunrpc/pmap_prot2.c: Likewise.
41102         * sunrpc/pmap_rmt.c: Likewise.
41103         * sunrpc/publickey.c: Likewise.
41104         * sunrpc/rpc_cmsg.c: Likewise.
41105         * sunrpc/rpc_common.c: Likewise.
41106         * sunrpc/rpc_dtable.c: Likewise.
41107         * sunrpc/rpc_prot.c: Likewise.
41108         * sunrpc/rpc_thread.c: Likewise.
41109         * sunrpc/rtime.c: Likewise.
41110         * sunrpc/svc.c: Likewise.
41111         * sunrpc/svc_auth.c: Likewise.
41112         * sunrpc/svc_raw.c: Likewise.
41113         * sunrpc/svc_run.c: Likewise.
41114         * sunrpc/svc_tcp.c: Likewise.
41115         * sunrpc/svc_udp.c: Likewise.
41116         * sunrpc/svc_unix.c: Likewise.
41117         * sunrpc/svcauth_des.c: Likewise.
41118         * sunrpc/xcrypt.c: Likewise.
41119         * sunrpc/xdr.c: Likewise.
41120         * sunrpc/xdr_array.c: Likewise.
41121         * sunrpc/xdr_float.c: Likewise.
41122         * sunrpc/xdr_intXX_t.c: Likewise.
41123         * sunrpc/xdr_mem.c: Likewise.
41124         * sunrpc/xdr_rec.c: Likewise.
41125         * sunrpc/xdr_ref.c: Likewise.
41126         * sunrpc/xdr_sizeof.c: Likewise.
41127         * sunrpc/xdr_stdio.c: Likewise.
41128
41129 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41130
41131         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41132         change.  Update copyright years.
41133
41134 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41135
41136         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41137
41138 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41139             Joseph Myers  <joseph@codesourcery.com>
41140             Paul Pluzhnikov  <ppluzhnikov@google.com>
41141
41142         [BZ #14012]
41143         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41144         requiring rpcgen.
41145         [cross-compiling] (extra-libs): Likewise.
41146         [cross-compiling] (extra-libs-others): Likewise.
41147         [cross-compiling] (librpcsvc-routines): Likewise.
41148         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41149         [cross-compiling] (omit-deps): Likewise.
41150         (sunrpc-CPPFLAGS): New variable.
41151         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41152         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41153         (cross-rpcgen-objs): New variable.
41154         (extra-objs): Append $(cross-rpcgen-objs).
41155         ($(cross-rpcgen-objs)): New rule.
41156         ($(objpfx)cross-rpcgen): Likewise.
41157         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41158         comment.
41159         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41160         ($(objpfx)x%.stmp): Likewise.
41161         * sunrpc/proto.h [IS_IN_build] (_): Define.
41162         [IS_IN_build] (_libc_intl_domainname): Likewise.
41163
41164 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41165
41166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41167         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41168         and R_X86_64_TPOFF64.
41169
41170 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41171
41172         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41173         sysdeps/unix/sysv/syscalls.list.
41174         (stime): Likewise.
41175         (utime): Likewise.
41176         * sysdeps/unix/sysv/syscalls.list: Remove file.
41177
41178 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41179
41180         [BZ #3440]
41181         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41182         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41183         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41184         (__LC_IDENTIFICATION): Make these macros useful in #if
41185         expressions, as required by C99.
41186
41187 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41188
41189         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41190         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41191         after this.
41192
41193 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41194
41195         * stdlib/longlong.h: Updated from GCC.
41196
41197 2012-05-09  Andreas Jaeger  <aj@suse.de>
41198
41199         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41200         default is first entry.
41201         (run_mode): Set type.
41202         (main): Remove informal message about syslog.
41203         (options): Fix typo.
41204
41205         [BZ #14053]
41206         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41207         to asm.
41208         (lrint): Likewise.
41209         (llrintf): Likewise.
41210         (llrint): Likewise.
41211         (rint): Likewise.
41212         (rintf): Likewise.
41213         (nearbyint): Likewise.
41214         (nearbyintf): Likewise.
41215
41216 2012-05-09  Andreas Jaeger  <aj@suse.de>
41217             Pedro Alves  <palves@redhat.com>
41218
41219         * nscd/nscd.c (run_mode): Use enum.
41220         (main): Cleanup coding style issue.
41221
41222 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41223             Andreas Jaeger  <aj@suse.de>
41224
41225         * nscd/nscd.c (go_background): Replaced with...
41226         (run_mode): ... this.
41227         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41228         (options): Add -F --foreground.
41229         (main): Implement it.
41230         (parse_opt): Parse it.
41231
41232 2012-05-09  Andreas Jaeger  <aj@suse.de>
41233
41234         [BZ #14083]
41235         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41236         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41237         -Wconversion warning.
41238         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41239         Likewise.
41240
41241 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41242
41243         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41244         == 0.
41245         (LC_ALL): Use macro-int-constant.
41246         (LC_COLLATE): Likewise.
41247         (LC_CTYPE): Likewise.
41248         (LC_MESSAGES): Likewise.
41249         (LC_MONETARY): Likewise.
41250         (LC_NUMERIC): Likewise.
41251         (LC_TIME): Likewise.
41252         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41253         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41254         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41255         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41256         Specify type.
41257         [C99-based standards] (float_t): Expect type.
41258         [C99-based standards] (double_t): Expect type.
41259         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41260         type.
41261         [C99-based standards] (HUGE_VALL): Likewise.
41262         [C99-based standards] (INFINITY): Likewise.
41263         [C99-based standards] (NAN): Likewise.
41264         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41265         [C99-based standards] (FP_NAN): Likewise.
41266         [C99-based standards] (FP_NORMAL): Likewise.
41267         [C99-based standards] (FP_SUBNORMAL): Likewise.
41268         [C99-based standards] (FP_ZERO): Likewise.
41269         [C99-based standards] (FP_FAST_FMA): Use
41270         optional-macro-int-constant.  Specify type.  Require == 1.
41271         [C99-based standards] (FP_FAST_FMAF): Likewise.
41272         [C99-based standards] (FP_FAST_FMAL): Likewise.
41273         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41274         [C99-based standards] (FP_ILOGBNAN): Likewise.
41275         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41276         Specify type.
41277         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41278         [C99-based standards] (math_errhandling): Specify type.
41279         [ISO99 || ISO11] (signgam): Do not allow.
41280         [non-C99-based standards] (copysignf): Do not allow.
41281         [non-C99-based standards] (exp2f): Likewise.
41282         [non-C99-based standards] (log2f): Likewise.
41283         [non-C99-based standards] (modff): Allow.
41284         [non-C99-based standards] (erff): Do not allow.
41285         [non-C99-based standards] (erfcf): Likewise.
41286         [non-C99-based standards] (gammaf): Likewise.
41287         [non-C99-based standards] (hypotf): Likewise.
41288         [non-C99-based standards] (j0f): Likewise.
41289         [non-C99-based standards] (j1f): Likewise.
41290         [non-C99-based standards] (jnf): Likewise.
41291         [non-C99-based standards] (lgammaf): Likewise.
41292         [non-C99-based standards] (tgammaf): Likewise.
41293         [non-C99-based standards] (y0f): Likewise.
41294         [non-C99-based standards] (y1f): Likewise.
41295         [non-C99-based standards] (ynf): Likewise.
41296         [non-C99-based standards] (isnanf): Likewise.
41297         [non-C99-based standards] (acoshf): Likewise.
41298         [non-C99-based standards] (asinhf): Likewise.
41299         [non-C99-based standards] (atanhf): Likewise.
41300         [non-C99-based standards] (cbrtf): Likewise.
41301         [non-C99-based standards] (expm1f): Likewise.
41302         [non-C99-based standards] (ilogbf): Likewise.
41303         [non-C99-based standards] (log1pf): Likewise.
41304         [non-C99-based standards] (logbf): Likewise.
41305         [non-C99-based standards] (nextafterf): Likewise.
41306         [non-C99-based standards] (remainderf): Likewise.
41307         [non-C99-based standards] (rintf): Likewise.
41308         [non-C99-based standards] (scalbf): Likewise.
41309         [non-C99-based standards] (copysignl): Likewise.
41310         [non-C99-based standards] (exp2l): Likewise.
41311         [non-C99-based standards] (log2l): Likewise.
41312         [non-C99-based standards] (modfl): Allow.
41313         [non-C99-based standards] (erfl): Do not allow.
41314         [non-C99-based standards] (erfcl): Likewise.
41315         [non-C99-based standards] (gammal): Likewise.
41316         [non-C99-based standards] (hypotl): Likewise.
41317         [non-C99-based standards] (j0l): Likewise.
41318         [non-C99-based standards] (j1l): Likewise.
41319         [non-C99-based standards] (jnl): Likewise.
41320         [non-C99-based standards] (lgammal): Likewise.
41321         [non-C99-based standards] (tgammal): Likewise.
41322         [non-C99-based standards] (y0l): Likewise.
41323         [non-C99-based standards] (y1l): Likewise.
41324         [non-C99-based standards] (ynl): Likewise.
41325         [non-C99-based standards] (isnanl): Likewise.
41326         [non-C99-based standards] (acoshl): Likewise.
41327         [non-C99-based standards] (asinhl): Likewise.
41328         [non-C99-based standards] (atanhl): Likewise.
41329         [non-C99-based standards] (cbrtl): Likewise.
41330         [non-C99-based standards] (expm1l): Likewise.
41331         [non-C99-based standards] (ilogbl): Likewise.
41332         [non-C99-based standards] (log1pl): Likewise.
41333         [non-C99-based standards] (logbl): Likewise.
41334         [non-C99-based standards] (nextafterl): Likewise.
41335         [non-C99-based standards] (remainderl): Likewise.
41336         [non-C99-based standards] (rintl): Likewise.
41337         [non-C99-based standards] (scalbl): Likewise.
41338         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41339         [non-C99-based standards] (FP_*): Do not allow.
41340         [C99-based standards] (FP_*): Change to
41341         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41342         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41343         allow.
41344         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41345         (SIG_ERR): Likewise.
41346         [X/Open-based standards] (SIG_HOLD): Likewise.
41347         (SIG_IGN): Likewise.
41348         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41349         positive value.
41350         (SIGFPE): Likewise.
41351         (SIGILL): Likewise.
41352         (SIGINT): Likewise.
41353         (SIGSEGV): Likewise.
41354         (SIGTER): Likewise.
41355         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41356         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41357         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41358         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41359         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41360         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41361         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41362         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41363         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41364         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41365         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41366         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41367         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41368         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41369         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41370         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41371         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41372         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41373         [X/Open-based standards] (SIGTRAP): Likewise.
41374         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41375         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41376         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41377         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41378         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41379         allow.
41380
41381 2012-05-08  Ian Wienand  <ianw@vmware.com>
41382
41383         [BZ #14080]
41384         * time/tzset.c (__tzset_parse_tz): Update default rules for
41385         daylight time changes in the Energy Policy Act of 2005.
41386
41387 2012-05-09  Andreas Jaeger  <aj@suse.de>
41388
41389         [BZ #13983]
41390         * elf/ldconfig.c (parse_conf): Change string to make clear that
41391         ldconfig only issued a warning if ld.so.conf does not exist.
41392
41393 2012-05-08  David S. Miller  <davem@davemloft.net>
41394
41395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41396         movxtod instead of popping the value on the stack.
41397
41398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41399
41400 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41401
41402         * config.h.in: Add HAVE_ARM_PCS_VFP.
41403
41404 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41405
41406         [BZ #13979]
41407         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41408         checking but the checks are disabled for any reason.
41409
41410 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41411
41412         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41413         and ELF64_R_TYPE with ELFW(R_TYPE).
41414
41415 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41416
41417         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41418         (ulimit): Likewise.
41419
41420         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41421         (settimeofday): Likewise.
41422
41423 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41424
41425         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41426         a struct th_u2 inside the union, and move tu_block/tu_code into
41427         a new th_u3 union of tu_block/tu_code inside of that.  Move
41428         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41429         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41430         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41431         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41432         (th_stuff): Change to th_u1.tu_stuff.
41433         (th_data): Define.
41434         (th_msg): Change to th_u1.th_u2.tu_data.
41435
41436 2012-05-07  David S. Miller  <davem@davemloft.net>
41437
41438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41439
41440         [BZ #14074]
41441         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41442         (SETUP_PIC_REG): Use it.
41443         (SETUP_PIC_REG_LEAF): Use it.
41444
41445 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41446
41447         [BZ #13885]
41448         [BZ #13923]
41449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41450         USE_AS_EXPM1L.
41451         (EXPL_FINITE): Likewise.
41452         (FLDLOG): Likewise.
41453         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41454         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41455         e_expl.S.
41456         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41457         USE_AS_EXPM1L.
41458         (EXPL_FINITE): Likewise.
41459         (FLDLOG): Likewise.
41460         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41461         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41462         e_expl.S.
41463         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41464         test of -max_value argument for long double.
41465         * sysdeps/i386/fpu/libm-test-ulps: Update.
41466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41467
41468 2012-05-06  David S. Miller  <davem@davemloft.net>
41469
41470         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41471         quad soft-float symbols whose references which are compiler
41472         generated.
41473         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41474
41475 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41476
41477         [BZ #13884]
41478         [BZ #13914]
41479         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41480         USE_AS_EXP10L.
41481         (EXPL_FINITE): Likewise.
41482         (FLDLOG): Likewise.
41483         (c0): Likewise.
41484         (c1): Likewise.
41485         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41486         Adjust comments for base varying.
41487         (__expl_finite): Change alias to EXPL_FINITE.
41488         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41489         e_expl.S.
41490         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41491         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41492         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41493         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41494         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41495         USE_AS_EXP10L.
41496         (EXPL_FINITE): Likewise.
41497         (FLDLOG): Likewise.
41498         (c0): Likewise.
41499         (c1): Likewise.
41500         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41501         Adjust comments for base varying.
41502         (__expl_finite): Change alias to EXPL_FINITE.
41503         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41504         tests for bugs.
41505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41506
41507         [BZ #14064]
41508         * math/libm-test.inc (check_float_internal): Correct ulp
41509         calculation for subnormal expected results.
41510
41511 2012-05-06  Andreas Jaeger  <aj@suse.de>
41512
41513         * Makeconfig (+math-flags): New, set to -frounding-math.
41514         (+cflags): Add +math-flags so that all of glibc gets compiled with
41515         it.
41516
41517         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41518
41519 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41520
41521         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41522         Disable one test.
41523
41524         [BZ #13787]
41525         [BZ #13922]
41526         [BZ #14036]
41527         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41528         (__ieee754_expl): Allow for and saturate large arguments.
41529         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41530         (u_threshold): Likewise.
41531         (__exp): Call __ieee754_exp before checking for overflow and
41532         underflow.
41533         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41534         (u_threshold): Likewise.
41535         (__expf): Call __ieee754_expf before checking for overflow and
41536         underflow.
41537         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41538         (u_threshold): Likewise.
41539         (__expl): Call __ieee754_expl before checking for overflow and
41540         underflow.
41541         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41542         (__ieee754_expl): Allow for and saturate large arguments.
41543         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41544         missing overflow exception on overflow.
41545         (expm1_test): Do not allow missing overflow exception on overflow.
41546
41547         * sysdeps/i386/fpu/e_expl.c: Move to ...
41548         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41549         rather than using inline asm.
41550         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41551         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41552         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41553
41554         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41555         (nice): Likewise.
41556         (poll): Likewise.
41557         (signal): Likewise.
41558         (time): Likewise.
41559         (times): Likewise.
41560
41561 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41562
41563         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41564         sysdeps/unix/common/syscalls.list.
41565         (fchmod): Likewise.
41566         (fchown): Likewise.
41567         (ftruncate): Likewise.
41568         (getrusage): Likewise.
41569         (gettimeofday): Likewise.
41570         (setpgid): Likewise.
41571         (setregid): Likewise.
41572         (setreuid): Likewise.
41573         (sigaction): Likewise.
41574         (truncate): Likewise.
41575         (vhangup): Likewise.
41576         * sysdeps/unix/common/syscalls.list: Remove file.
41577         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41578         * sysdeps/unix/sysv/linux/Implies: Likewise.
41579
41580 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41581
41582         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41584         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41585         Moved to ...
41586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41587         Here.
41588         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41589         to ...
41590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41591         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41592         to ...
41593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41594         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41595         to ...
41596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41597         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41598         to ...
41599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41600         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41601         to ...
41602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41603         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41604         to ...
41605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41606         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41607         to ...
41608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41609         Here.
41610         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41611         to ...
41612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41613         Here.
41614         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41615         to ...
41616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41617         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41618         Moved to ...
41619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41620         Here.
41621         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41622         to ...
41623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41624
41625 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41626
41627         * sysdeps/unix/common/bits/dirent.h: Remove file.
41628         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41629
41630         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41631         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41632         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41633         * sysdeps/unix/bsd/isatty.c: Likewise.
41634         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41635         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41636         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41637
41638 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41639
41640         [BZ #13563]
41641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41642         long double comparison inaccuracies.
41643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41645
41646 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41647
41648         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41649         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41650
41651 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41652
41653         [BZ #14049]
41654         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41655         nonzero digits before rounding a hex value.
41656         * stdlib/tst-strtod.c (tests): Add another test.
41657
41658 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41659
41660         * sysdeps/s390/fpu/libm-test-ulps: Update.
41661
41662 2012-05-03  Andreas Jaeger  <aj@suse.de>
41663
41664         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41665         does not get optimized out.
41666         (malloc_opt_barrier): New.
41667
41668 2012-05-03  Andreas Jaeger  <aj@suse.de>
41669             Roland McGrath  <roland@hack.frob.com>
41670
41671         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41672         intermediate file deletion.
41673         (generated): Add .symlist files.
41674
41675 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41676
41677         [BZ #13775]
41678         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41679         Redirect under this condition.
41680         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41681         [__USE_GNU] (__dprintf_chk): Not under this condition.
41682         [__USE_GNU] (__vdprintf_chk): Likewise.
41683         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41684         under this condition.
41685         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41686         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41687         [__USE_XOPEN2K8] (vdprintf): Likewise.
41688         [__USE_GNU] (__dprintf_chk): Not under this condition.
41689         [__USE_GNU] (__vdprintf_chk): Likewise.
41690         [__USE_GNU] (dprintf): Likewise.
41691         [__USE_GNU] (vdprintf): Likewise.
41692
41693 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41694
41695         * elf/Makefile (common-generated): Set this instead of generated for
41696         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41697         $(all-built-dso)-derived lists.
41698
41699 2012-05-03  Andreas Jaeger  <aj@suse.de>
41700
41701         * sysdeps/i386/fpu/libm-test-ulps: Update.
41702
41703         * FAQ: Removed.
41704         * FAQ.in: Likewise.
41705         * scripts/gen-FAQ.pl: Likewise.
41706         * manual/install.texi (Installation): Point to online location of
41707         FAQ.
41708         * Makefile (files-for-dist): Remove FAQ.
41709         (FAQ): Remove.
41710
41711 2012-05-02  Allan McRae  <allan@archlinux.org>
41712
41713         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41714         (LDFLAGS-reldepmod5.so): Likewise.
41715         (LDFLAGS-reldep6mod1.so): Likewise.
41716         (LDFLAGS-reldep6mod4.so): Likewise.
41717         (LDFLAGS-reldep8mod3.so): Likewise.
41718         (LDFLAGS-unload4mod1.so): Likewise.
41719         (LDFLAGS-unload4mod2.so): Likewise.
41720         (LDFLAGS-tst-initorder): Likewise.
41721         (LDFLAGS-tst-initordera2.so): Likewise.
41722         (LDFLAGS-tst-initordera3.so): Likewise.
41723         (LDFLAGS-tst-initordera4.so): Likewise.
41724         (LDFLAGS-tst-initorderb2.so): Likewise.
41725         (LDFLAGS-noload): Likewise.
41726         (LDFLAGS-next): Likewise.
41727         (LDFLAGS-order2mod1.so): Likewise.
41728         (LDFLAGS-order2mod2.so): Likewise.
41729         (LDFLAGS-tst-initorder2): Likewise.
41730         (LDFLAGS-tst-initorder2a.so): Likewise.
41731         (LDFLAGS-tst-initorder2b.so): Likewise.
41732         (LDFLAGS-tst-initorder2c.so): Likewise.
41733         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41734
41735 2012-05-02  David S. Miller  <davem@davemloft.net>
41736
41737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41738
41739 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41740
41741         [BZ #14055]
41742         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41743
41744 2012-05-02  Andreas Jaeger  <aj@suse.de>
41745
41746         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41747         since we manipulate rounding mode.
41748         (CPPFLAGS-test-idouble.c): Likewise.
41749         (CPPFLAGS-test-ifloat.c): Likewise.
41750         (CFLAGS-test-ldouble.c): Likewise.
41751         (CFLAGS-test-double.c): Likewise.
41752         (CFLAGS-test-float.c): Likewise.
41753         (CFLAGS-test-misc.c): Likewise.
41754         (CFLAGS-test-test-fenv.c): Likewise.
41755
41756 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41757
41758         [BZ #2550]
41759         [BZ #2570]
41760         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41761         comparisons to determine direction to adjust input.
41762
41763 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41764
41765         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41766         output to the target.
41767
41768         * scripts/localplt.awk: New file.
41769         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41770         (check-localplt-CFLAGS): Variable removed.
41771         ($(all-built-dso:=.jmprel)): New static pattern rule.
41772         (generated): Add those targets.
41773         (localplt-built-dso): New variable.
41774         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41775
41776         * elf/check-localplt.c: File removed.
41777
41778         * scripts/check-execstack.awk: New file.
41779         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41780         (check-execstack-CFLAGS): Variable removed.
41781         ($(objpfx)check-execstack.h): Target removed.
41782         ($(objpfx)execstack-default): New target.
41783         (generated): Add that instead of check-execstack.h.
41784         ($(all-built-dso:=.phdr)): New static pattern rule.
41785         (generated): Add those targets.
41786         * elf/check-execstack.c: File removed.
41787
41788         * scripts/check-textrel.awk: New file.
41789         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41790         (check-textrel-CFLAGS): Variable removed.
41791         (all-built-dso): Use := to define.o
41792         ($(all-built-dso:=.dyn)): New static pattern rule.
41793         (generated): Add those targets.
41794         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41795         * config.make.in (READELF): New substituted variable.
41796         * elf/check-textrel.c: File removed.
41797
41798 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41799
41800         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41801         allow.
41802         * conform/data/ctype.h-data [C99-based standards] (isblank):
41803         Expect function.
41804         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41805         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41806         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41807         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41808         Specify type.  Require positive value.
41809         (EILSEQ): Likewise.
41810         (ERANGE): Likewise.
41811         [ISO || POSIX] (EILSEQ): Do not expect.
41812         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41813         Specify type.  Require positive value.
41814         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41815         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41816         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41817         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41818         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41819         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41820         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41821         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41822         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41823         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41824         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41825         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41826         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41827         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41828         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41829         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41830         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41831         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41832         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41833         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41834         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41835         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41836         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41837         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41838         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41839         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41840         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41841         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41842         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41843         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41844         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41845         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41846         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41847         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41848         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41849         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41850         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41851         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41852         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41853         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41854         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41855         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41856         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41857         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41858         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41859         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41860         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41861         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41862         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41863         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41864         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41865         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41866         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41867         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41868         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41869         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41870         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41871         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41872         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41873         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41874         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41875         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41876         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41877         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41878         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41879         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41880         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41881         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41882         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41883         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41884         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41885         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41886         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41887         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41888         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41889         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41890         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41891         Require >= 2.
41892         (FLT_ROUNDS): Expect as macro, not constant.
41893         (FLT_MANT_DIG): Use macro-int-constant.
41894         (DBL_MANT_DIG): Likewise.
41895         (LDBL_MANT_DIG): Likewise.
41896         (FLT_DIG): Likewise.
41897         (DBL_DIG): Likewise.
41898         (LDBL_DIG): Likewise.
41899         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41900         (DBL_MIN_EXP): Likewise.
41901         (LDBL_MIN_EXP): Likewise.
41902         (FLT_MAX_EXP): Use macro-int-constant.
41903         (DBL_MAX_EXP): Likewise.
41904         (LDBL_MAX_EXP): Likewise.
41905         (FLT_MAX_10_EXP): Likewise.
41906         (DBL_MAX_10_EXP): Likewise.
41907         (LDBL_MAX_10_EXP): Likewise.
41908         (FLT_MAX): Use macro-constant.
41909         (DBL_MAX): Likewise.
41910         (LDBL_MAX): Likewise.
41911         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41912         (DBL_EPSILON): Likewise.
41913         (LDBL_EPSILON): Likewise.
41914         (FLT_MIN): Likewise.
41915         (DBL_MIN): Likewise.
41916         (LDBL_MIN): Likewise.
41917         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41918         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41919         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41920         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41921         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41922         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41923         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41924         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41925         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41926         [ISO11] (FLT_TRUE_MIN): Likewise.
41927         [ISO11] (LDBL_TRUE_MIN): Likewise.
41928         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41929         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41930         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41931         (SCHAR_MAX): Likewise.
41932         (UCHAR_MAX): Likewise.
41933         (CHAR_MIN): Likewise.
41934         (CHAR_MAX): Likewise.
41935         (MB_LEN_MAX): Use macro-int-constant.
41936         (SHRT_MIN): Use macro-int-constant.  Specify type.
41937         (SHRT_MAX): Likewise.
41938         (USHRT_MAX): Likewise.
41939         (INT_MAX): Likewise.
41940         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41941         bound negative.
41942         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41943         bound with "U".
41944         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41945         bound with "L".
41946         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41947         bound negative.  Suffix upper bound with "L".
41948         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41949         bound with "UL".
41950         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41951         Specify type.
41952         [C99-based standards] (LLONG_MAX): Likewise.
41953         [C99-based standards] (ULLONG_MAX): Likewise.
41954         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41955         == 0.
41956         [ISO11] (max_align_t): Require type.
41957         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41958
41959         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41960         from $CFLAGS, without defining away __attribute__ calls.
41961         (checknamespace): Use $CFLAGS_namespace.
41962
41963         * conform/conformtest.pl (@keywords): Only include C99 keywords
41964         for standards based on C99 or C11.
41965
41966         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41967         Disable tests.
41968         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41969         UNIX98]: Likewise.
41970
41971         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41972         usability of symbols in #if.
41973
41974         * conform/conformtest.pl: If macro or constant types start
41975         "promoted:", expect the symbol to be of the following type
41976         promoted by the integer promotions.
41977
41978         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41979         in one place.  Also handle "macro-constant".
41980
41981         * conform/conformtest.pl: Only accept expected macro values with
41982         "==".  Parse all "macro" lines in one place.
41983         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41984
41985         * conform/conformtest.pl: Handle braced types on "constant" lines
41986         instead of handling "typed-constant".
41987         * conform/data/signal.h-data: Use "constant" instead of
41988         "typed-constant".
41989
41990         * conform/conformtest.pl: Handle "optional-" at start of lines in
41991         one place rather than duplicating several cases.  Handle each
41992         format of "macro" line with initial "optional-".
41993
41994         * conform/conformtest.pl: Only accept expected constant or
41995         optional-constant values with "==".  Parse all "constant" lines in
41996         one place.  Parse all "optional-constant" lines in one place.
41997         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41998         * conform/data/fmtmsg.h-data: Likewise.
41999         * conform/data/netinet/in.h-data: Likewise.
42000         * conform/data/tar.h-data: Likewise.
42001         * conform/data/limits.h-data: Use "==" form on "constant" and
42002         "optional-constant" lines.
42003
42004         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42005         Use -std=c99 for XOPEN2K.
42006         (@knownproblems): Remove.
42007         (newtoken): Don't check %isknown.
42008
42009         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42010         Do not expect macro.
42011         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42012         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42013         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42014         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42015         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42016         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42017         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42018         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42019         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42020         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42021         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42022         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42023         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42024         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42025         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42026         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42027         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42028         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42029         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42030         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42031         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42032         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42033         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42034         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42035         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42036         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42037         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42038         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42039         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42040         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42041         [XPG3] (acosh): Likewise.
42042         [XPG3] (asinh): Likewise.
42043         [XPG3] (atanh): Likewise.
42044         [XPG3] (cbrt): Likewise.
42045         [XPG3] (expm1): Likewise.
42046         [XPG3] (ilogb): Likewise.
42047         [XPG3] (log1p): Likewise.
42048         [XPG3] (logb): Likewise.
42049         [XPG3] (nextafter): Likewise.
42050         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42051         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42052         [XPG3] (remainder): Likewise.
42053         [XPG3] (rint): Likewise.
42054         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42055         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42056         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42057         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42058         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42059         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42060         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42061         [UNIX98 || XOPEN2K] (scalb): Expect.
42062         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42063         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42064         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42065         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42066         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42067         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42068         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42069         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42070         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42071         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42072         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42073         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42074         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42075         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42076         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42077         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42078         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42079         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42080         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42081         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42082         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42083         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42084         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42085         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42086         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42087         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42088         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42089         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42090         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42091         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42092         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42093         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42094         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42095         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42096         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42097         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42098         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42099         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42100         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42101         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42102         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42103         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42104         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42105         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42106         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42107         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42108         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42109         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42110         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42111         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42112         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42113         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42114         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42115         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42116         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42117         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42118         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42119         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42120         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42121         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42122         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42123         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42124         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42125         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42126         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42127         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42128         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42129         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42130         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42131         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42132         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42133         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42134         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42135         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42136         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42137         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42138         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42139         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42140         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42141         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42142         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42143         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42144         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42145         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42146         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42147         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42148         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42149         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42150         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42151         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42152         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42153         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42154         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42155         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42156         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42157         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42158         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42159         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42160         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42161         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42162         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42163         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42164         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42165         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42166         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42167         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42168         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42169         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42170         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42171         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42172         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42173         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42174         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42175         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42176         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42177         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42178         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42179         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42180         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42181         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42182         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42183         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42184         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42185         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42186         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42187         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42188         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42189         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42190         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42191         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42192         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42193         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42194         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42195         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42196         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42197         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42198         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42199
42200         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42201         _XOPEN_SOURCE_EXTENDED for XPG4.
42202
42203         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42204
42205         * Makeconfig (localtime): Remove variable.
42206         (inst_localtime-file): Likewise.
42207
42208 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42209
42210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42211         Update.
42212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42213         Update.
42214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42215         Update.
42216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42217         Update.
42218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42219         Update.
42220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42221         Update.
42222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42223         Update.
42224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42225         Update.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42227         Update.
42228
42229 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42230
42231         [BZ #2550]
42232         [BZ #2570]
42233         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42234         comparisons to determine direction to adjust input.
42235         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42236         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42237         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42238         Likewise.
42239         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42240         Likewise.
42241         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42242         Likewise.
42243         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42244         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42245         Likewise.
42246         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42247         Likewise.
42248         * math/libm-test.inc (nexttoward_test): Add more tests.
42249
42250 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42251
42252         [BZ #14040]
42253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42254         in version GLIBC_2.1, not GLIBC_2.0.
42255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42256         Likewise.
42257
42258 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42259
42260         [BZ #13942]
42261         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42262         (1 - x) * (1 + x).
42263         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42264         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42265         * math/libm-test.inc (acos_test): Add more tests.
42266         (asin_test): Likewise.
42267         * sysdeps/i386/fpu/libm-test-ulps: Update.
42268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42269
42270         [BZ #14034]
42271         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42272         of square root.
42273         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42274         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42275         * math/libm-test.inc (acos_test_tonearest): New function.
42276         (acos_test_towardzero): Likewise.
42277         (acos_test_downward): Likewise.
42278         (acos_test_upward): Likewise.
42279         (asin_test_tonearest): Likewise.
42280         (asin_test_towardzero): Likewise.
42281         (asin_test_downward): Likewise.
42282         (asin_test_upward): Likewise.
42283         (main): Call the new functions.
42284         * sysdeps/i386/fpu/libm-test-ulps: Update.
42285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42286
42287         [BZ #13884]
42288         [BZ #13924]
42289         * math/e_exp10.c: Include <float.h>.
42290         (__ieee754_exp10): Handle underflow here rather than multiplying
42291         large negative argument by M_LN10.
42292         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42293         of __ieee754_expf.
42294         * math/e_exp10l.c: Include <float.h>.
42295         (__ieee754_exp10l): Handle underflow here rather than multiplying
42296         large negative argument by M_LN10l.
42297         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42298         spurious overflow exception on underflow.
42299
42300 2012-04-29  Marek Polacek  <polacek@redhat.com>
42301
42302         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42303         (__fortify_function): New macro.
42304         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42305         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42306         __extern_always_inline.
42307         * libio/bits/stdio2.h: Likewise.
42308         * libio/bits/stdio.h: Likewise.
42309         * string/string.h: Likewise.
42310         * string/bits/string3.h: Likewise.
42311         * include/stdio.h: Likewise.
42312         * stdlib/bits/stdlib.h: Likewise.
42313         * stdlib/stdlib.h: Likewise.
42314         * rt/bits/mqueue2.h: Likewise.
42315         * rt/mqueue.h: Likewise.
42316         * posix/bits/unistd.h: Likewise.
42317         * posix/unistd.h: Likewise.
42318         * io/bits/poll2.h: Likewise.
42319         * io/bits/fcntl2.h: Likewise.
42320         * io/fcntl.h: Likewise.
42321         * io/sys/poll.h: Likewise.
42322         * misc/bits/syslog.h: Likewise.
42323         * misc/bits/syslog-ldbl.h: Likewise.
42324         * misc/sys/syslog.h: Likewise.
42325         * socket/bits/socket2.h: Likewise.
42326         * socket/sys/socket.h: Likewise.
42327         * debug/tst-chk1.c: Likewise.
42328         * wcsmbs/bits/wchar2.h: Likewise.
42329         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42330         * wcsmbs/wchar.h: Likewise.
42331
42332 2012-04-29  Andreas Jaeger  <aj@suse.de>
42333
42334         * Makerules (tests): Remove enable-check-abi protection.
42335         (check-abi-warn): Remove.
42336         (check-abi-%): Remove check-abi-warn usage.
42337
42338         * configure.in: Remove check-abi configure option.
42339         * configure: Regenerated.
42340         * config.make.in (enable-check-abi): Remove.
42341
42342 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42343
42344         [BZ #14033]
42345         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42346         double functions to double *_finite functions.
42347
42348         [BZ #13941]
42349         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42350         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42351         LDBL_MIN_EXP.
42352         * stdio-common/Makefile (tests): Add tst-sprintf3.
42353         * stdio-common/tst-sprintf3.c: New file.
42354
42355         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42356         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42357
42358 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42359
42360         * conform/conformtest.pl: Remove duplicate typed-constant
42361         handling.
42362
42363 2012-04-28  David S. Miller  <davem@davemloft.net>
42364
42365         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42366         (check-abi-%): Remove AWK script prerequisite and explicit
42367         abilist directory.
42368         (check-abi): Rewrite to just diff the symlist with the abilist.
42369         (config-tls, config-abi-config): Delete, no longer used.
42370         (update-abi-%): Remove AWK script and explicit abilist directory.
42371         (update-abi): Rewrite to simply compare and conditionally copy the
42372         symlist and the sysdep abilist file.  Remove update-abi-config
42373         checks.
42374         * abilist/ld.abilist: Remove.
42375         * abilist/libBrokenLocale.abilist: Remove.
42376         * abilist/libanl.abilist: Remove.
42377         * abilist/libcrypt.abilist: Remove.
42378         * abilist/libdl.abilist: Remove.
42379         * abilist/librt.abilist: Remove.
42380         * abilist/libthread_db.abilist: Remove.
42381         * abilist/libutil.abilist: Remove.
42382         * scripts/extract-abilist.awk: Remove.
42383         * scripts/merge-abilist.awk: Remove.
42384         * sysdeps/generic/libcidn.abilist: New file.
42385         * sysdeps/generic/libnss_compat.abilist: New file.
42386         * sysdeps/generic/libnss_db.abilist: New file.
42387         * sysdeps/generic/libnss_dns.abilist: New file.
42388         * sysdeps/generic/libnss_files.abilist: New file.
42389         * sysdeps/generic/libnss_hesiod.abilist: New file.
42390         * sysdeps/generic/libnss_nis.abilist: New file.
42391         * sysdeps/generic/libnss_nisplus.abilist: New file.
42392         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42393         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42394         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42395         file.
42396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42397         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42398         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42399         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42400         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42401         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42402         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42403         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42404         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42405         file.
42406         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42407         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42408         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42409         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42410         file.
42411         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42412         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42413         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42414         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42415         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42416         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42417         file.
42418         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42419         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42420         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42421         file.
42422         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42423         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42424         New file.
42425         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42426         New file.
42427         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42428         New file.
42429         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42430         New file.
42431         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42432         New file.
42433         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42434         New file.
42435         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42436         New file.
42437         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42438         New file.
42439         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42440         New file.
42441         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42442         New file.
42443         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42444         New file.
42445         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42446         New file.
42447         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42448         New file.
42449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42450         file.
42451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42452         New file.
42453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42454         New file.
42455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42456         file.
42457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42458         New file.
42459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42460         New file.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42462         file.
42463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42464         New file.
42465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42466         New file.
42467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42468         New file.
42469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42470         New file.
42471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42472         New file.
42473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42474         New file.
42475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42477         file.
42478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42479         New file.
42480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42481         file.
42482         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42483         file.
42484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42485         file.
42486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42487         file.
42488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42489         file.
42490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42491         New file.
42492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42493         file.
42494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42495         file.
42496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42497         New file.
42498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42499         file.
42500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42502         file.
42503         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42504         New file.
42505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42506         file.
42507         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42508         file.
42509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42510         file.
42511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42512         file.
42513         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42514         file.
42515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42516         New file.
42517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42518         file.
42519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42520         file.
42521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42522         New file.
42523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42524         file.
42525         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42526         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42527         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42528         file.
42529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42530         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42531         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42532         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42533         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42534         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42535         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42536         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42537         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42538         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42541         file.
42542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42543         New file.
42544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42545         file.
42546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42547         file.
42548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42549         file.
42550         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42551         file.
42552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42553         file.
42554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42555         New file.
42556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42557         New file.
42558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42559         file.
42560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42561         New file.
42562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42563         file.
42564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42566         file.
42567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42568         New file.
42569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42570         file.
42571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42572         file.
42573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42574         file.
42575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42576         file.
42577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42578         file.
42579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42580         New file.
42581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42582         New file.
42583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42584         file.
42585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42586         New file.
42587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42588         file.
42589
42590 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42591
42592         * conform/conformtest.pl: Fix typo in handling typed-constant from
42593         allow-header.
42594
42595 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42596
42597         * README: Cut down references to pre-2.6 Linux kernels and
42598         Linuxthreads.  Update lists of configurations in libc and ports
42599         and sort alphabetically.  Say "or newer" with Linux kernel version
42600         requirements.
42601
42602         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42603
42604 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42605
42606         [BZ #887]
42607         * math/libm-test.inc (logb_test_downward): New test to expose
42608         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42609         rounding mode.
42610
42611 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42612
42613         [BZ #14027]
42614         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42615         to be done.
42616         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42617         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42618
42619 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42620
42621         * sysdeps/unix/i386/brk.S: Remove file.
42622         * sysdeps/unix/i386/dl-brk.S: Likewise.
42623         * sysdeps/unix/i386/pipe.S: Likewise.
42624         * sysdeps/unix/i386/sigreturn.S: Likewise.
42625         * sysdeps/unix/i386/syscall.S: Likewise.
42626         * sysdeps/unix/i386/vfork.S: Likewise.
42627         * sysdeps/unix/i386/wait.S: Likewise.
42628
42629         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42630         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42631
42632         * configure.in (arm*-none*): Do not allow without
42633         --enable-hacker-mode.
42634         (netbsd*): Remove case setting base_os.
42635         (386bsd*): Likewise.
42636         (freebsd*): Likewise.
42637         (bsdi*): Likewise.
42638         (osf*): Likewise.
42639         (sunos*): Likewise.
42640         (ultrix*): Likewise.
42641         (newsos*): Likewise.
42642         (dynix*): Likewise.
42643         (*bsd*): Likewise.
42644         (sysv*): Likewise.
42645         (isc*): Likewise.
42646         (esix*): Likewise.
42647         (sco*): Likewise.
42648         (minix*): Likewise.
42649         (irix4*): Likewise.
42650         (irix6*): Likewise.
42651         (solaris[2-9]*): Likewise.
42652         (none): Likewise.
42653         * configure: Regenerated.
42654
42655 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42656
42657         [BZ #11521]
42658         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42659         overflow or cancellation in calculating denominator.
42660         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42661         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42662         down expression to avoid unexpected rounding in newer GCCs.
42663         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42664
42665 2012-04-26  David S. Miller  <davem@davemloft.net>
42666
42667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42668         long-double compat symbols.
42669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42674         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42675         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42676         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42682
42683 2012-04-25  David S. Miller  <davem@davemloft.net>
42684
42685         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42686         HWCAP_* values only after the memory barriers have been defined.
42687         (atomic_full_barrier): Define.
42688         (atomic_read_barrier): Define.
42689         (atomic_write_barrier): Define.
42690
42691 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42692
42693         * shlib-versions: Add libgcc_s version information.
42694         * sysdeps/generic/libgcc_s.h: Remove.
42695         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42696         libgcc_s.h.
42697         * sysdeps/gnu/unwind-resume.c: Likewise.
42698         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42699
42700 2012-04-25  David S. Miller  <davem@davemloft.net>
42701
42702         * sysdeps/unix/sparc/brk.S: Delete.
42703         * sysdeps/unix/sparc/dl-brk.S: Delete.
42704         * sysdeps/unix/sparc/pipe.S: Delete.
42705         * sysdeps/unix/sparc/sysdep.S: Delete.
42706         * sysdeps/unix/sparc/sysdep.h: Delete.
42707         * sysdeps/unix/sparc/vfork.S: Delete.
42708         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42709         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42710         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42711         (ret_ERRVAL, r0, r1, MOVE): Define.
42712         (JUMPTARGET): Remove.
42713         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42714         sysdeps/unix/sparc/sysdep.h
42715         (ENTRY, END): Remove.
42716         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42717
42718 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42719
42720         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42721         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42722         -DIS_IN_build.
42723
42724         * timezone/README: Update upstream location and email address for
42725         tzcode and tzdata.
42726         * timezone/zdump.c: Update from tzcode 2012b.
42727         * timezone/zic.c: Likewise.
42728
42729         * configure.in (libc_cv_as_needed): Remove test.
42730         * configure: Regenerated.
42731         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42732         conditional definition.
42733         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42734         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42735         * config.make.in (have-as-needed): Remove variable.
42736
42737 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42738             Paul Pluzhnikov  <ppluzhnikov@google.com>
42739
42740         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42741         strings correctly.
42742
42743 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42744
42745         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42746         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42747         * sysdeps/sh/strlen.S: Likewise.
42748
42749 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42750
42751         * sysdeps/unix/fork.S: Remove file.
42752         * sysdeps/unix/i386/fork.S: Likewise.
42753         * sysdeps/unix/sparc/fork.S: Likewise.
42754
42755         * sysdeps/unix/system.c: Remove file.
42756         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42757
42758         * sysdeps/unix/getegid.S: Remove file.
42759         * sysdeps/unix/geteuid.S: Likewise.
42760
42761 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42762
42763         * scripts/check-localplt.awk: New file.
42764         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42765         of diff.
42766         * scripts/data/localplt-generic.data: Add a comment.
42767
42768         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42769         NODE when __dir_mkfile failed.
42770         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42771         Reported by Ludovic Courtès <ludo@gnu.org>.
42772
42773 2012-04-24  Andreas Jaeger  <aj@suse.de>
42774
42775         * Makerules (common-clean): Also remove gen-as-const-headers
42776         files.
42777
42778 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42779
42780         * Makerules (native-compile): Do not change working directory for
42781         build.  Use $(OUTPUT_OPTION) in command.
42782         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42783
42784 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42785
42786         [BZ #13886]
42787         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42788         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42789         * math/libm-test.inc (floor_test): Add more tests.
42790         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42791
42792 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42793
42794         * sysdeps/unix/getdents.c: Remove file.
42795         * sysdeps/unix/sysv/getdents.c: Likewise.
42796         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42797
42798         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42799         sysdeps/unix/mman/syscalls.list.
42800         (mmap): Likewise.
42801         (mprotect): Likewise.
42802         (msync): Likewise.
42803         (munmap): Likewise.
42804         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42805         * sysdeps/unix/mman/syscalls.list: Remove.
42806         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42807
42808         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42809         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42810         * configure: Regenerated.
42811         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42812         $(libgcc_s_suffix).
42813         * config.make.in (libgcc_s_suffix): Remove variable.
42814
42815 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42816
42817         * sysdeps/unix/sysv/gethostname.c: Move to ...
42818         * sysdeps/posix/gethostname.c: ... here.
42819
42820         * sysdeps/unix/execve.S: Remove file.
42821
42822         * sysdeps/unix/_exit.S: Remove file.
42823
42824 2012-04-23  Andreas Jaeger  <aj@suse.de>
42825
42826         [BZ #13739]
42827         * manual/Makefile: Remove make dist support, there's no
42828         need for a stand-alone documentation tar ball.
42829         (TEXI2DVI): Define always, it's not in Makeconfig.
42830         (dist): Removed.
42831         (tar-it): Removed.
42832         (edition): Removed.
42833         (glibc-doc-$(edition).tar): Removed
42834         (%.Z): Removed.
42835         (%.gz): Removed.
42836         (%.uu): Removed.
42837         (ETAGS): Remove, it's in Makeconfig.
42838         (move-if-change): Remove, it's in Makeconfig.
42839
42840 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42841
42842         [BZ #13970]
42843         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42844         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42845         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42846         (strtod_l, strtof_l, strtold_l): Remove __wur.
42847         It is not necessarily an error to ignore strtol's return value.
42848         One can reliably look at the stored endptr to decide whether
42849         the number had valid syntax.
42850
42851 2012-04-21  Andreas Jaeger  <aj@suse.de>
42852
42853         [BZ #13739]
42854         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42855
42856 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42857
42858         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42859         * sysdeps/unix/sysv/Versions: Remove file.
42860
42861 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42862
42863         [BZ #13927]
42864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42865
42866 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42867
42868         [BZ #7064]
42869         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42870         version from __vm86.
42871
42872 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42873
42874         * sysdeps/unix/common/lxstat.c: Remove file.
42875         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42876
42877         * sysdeps/unix/sysv/Makefile: Remove file.
42878
42879         * sysdeps/unix/sysv/direct.h: Remove file.
42880
42881         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42882         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42883         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42884         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42885         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42886         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42887         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42888
42889         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42890
42891         * sysdeps/unix/xmknod.c: Remove file.
42892         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42893
42894         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42895
42896         * sysdeps/unix/sysv/i386/time.S: Remove file.
42897
42898         * sysdeps/unix/fxstat.c: Remove file.
42899         * sysdeps/unix/xstat.c: Likewise.
42900         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42901
42902         * sysdeps/unix/sysv/sigaction.c: Remove file.
42903
42904         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42905         (sysdep_headers): Remove variable.
42906         [termio.h not in sysdep_headers] (generated): Likewise.
42907         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42908         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42909         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42910         * sysdeps/unix/sysv/tcflow.c: Likewise.
42911         * sysdeps/unix/sysv/tcflush.c: Likewise.
42912         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42913         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42914         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42915         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42916         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42917
42918         * sysdeps/unix/siglist.c: Remove file.
42919
42920         * sysdeps/unix/getppid.S: Remove file.
42921
42922         * sysdeps/unix/mkdir.c: Remove file.
42923         * sysdeps/unix/rmdir.c: Likewise.
42924
42925 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42926
42927         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42928         ERR_MAX value.
42929         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42930         errlist-compat value.
42931
42932 2012-04-18  David S. Miller  <davem@davemloft.net>
42933
42934         * sysdeps/generic/memcopy.h (reg_char): Delete.
42935         * debug/strcat_chk.c: Use char, not reg_char.
42936         * debug/strcpy_chk.c: Likewise.
42937         * debug/strncat_chk.c: Likewise.
42938         * debug/strncpy_chk.c: Likewise.
42939         * string/memchr.c: Likewise.
42940         * string/memrchr.c: Likewise.
42941         * string/rawmemchr.c: Likewise.
42942         * string/strcat.c: Likewise.
42943         * string/strchr.c: Likewise.
42944         * string/strchrnul.c: Likewise.
42945         * string/strcmp.c: Likewise.
42946         * string/strcpy.c: Likewise.
42947         * string/strncat.c: Likewise.
42948         * string/strncmp.c: Likewise.
42949         * string/strncpy.c: Likewise.
42950
42951 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42952
42953         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42954         __builtin_memcopy is called when src and dest ranges are known to not
42955         overlap.
42956
42957 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42958
42959         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42960         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42961         fwd_align_merge macro call.
42962         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42963         bwd_align_merge macro call.
42964         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42965
42966 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42967
42968         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42969         bwd_align_merge macros.
42970         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42971         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42972         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42973
42974 2012-04-18  David S. Miller  <davem@davemloft.net>
42975
42976         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42977
42978 2012-04-18  Andreas Jaeger  <aj@suse.de>
42979
42980         [BZ# 6794]
42981         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42982         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42983         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42984
42985         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42986         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42987         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42988
42989         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42990         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42991         Adjust for changed ldbl-128 files.
42992
42993         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42994         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42995         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42996
42997 2012-04-17  David S. Miller  <davem@davemloft.net>
42998
42999         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43000
43001 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43002
43003         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43004         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43005         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43006         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43007         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43008         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43009
43010 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43011
43012         [BZ #6794]
43013         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43014         * math/libm-test.inc: Add ilogb errno and exception tests.
43015         * math/w_ilogb.c: New file: ilogb wrapper.
43016         * math/w_ilogbf.c: New file: ilogbf wrapper.
43017         * math/w_ilogbl.c: New file: ilogbl wrapper.
43018         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43019         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43020         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43021         exception being thrown with 0.0 as argument.
43022         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43023         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43024         exception being thrown with 0.0 as argument.
43025         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43026         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43027         exception being thrown with 0.0 as argument.
43028         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43029         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43030         exception being thrown with 0.0 as argument.
43031         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43032         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43033         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43034         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43035         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43036         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43037         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43038         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43039         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43040
43041 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43042
43043         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43044         with altivec.
43045
43046 2012-04-16  Marek Polacek  <polacek@redhat.com>
43047
43048         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43049
43050 2012-04-16  Marek Polacek  <polacek@redhat.com>
43051
43052         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43053         operands of fdivp instruction.
43054
43055 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43056
43057         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43058         * elf/tst-auditmod3b.c: Likewise.
43059         * elf/tst-auditmod4b.c: Likewise.
43060         * elf/tst-auditmod5b.c: Likewise.
43061         * elf/tst-auditmod6b.c: Likewise.
43062         * elf/tst-auditmod6c.c: Likewise.
43063         * elf/tst-auditmod7b.c: Likewise.
43064         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43065         * sysdeps/x86_64/preconfigure.in: Likewise.
43066         * sysdeps/x86_64/preconfigure: Regenerated.
43067
43068 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43069
43070         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43071         __ILP32__.
43072
43073 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43074
43075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43076         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43077
43078 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43079
43080         [BZ #13973]
43081         * locale/iso-639.def: Fix gl language name. Spotted by
43082         Yaron Shahrabani.
43083
43084 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43085
43086         [BZ #2074]
43087         * libio/libio.h (__io_write_fn): Update comment.
43088
43089 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43090
43091         [BZ #2074]
43092         * stdio.texi (Hook Functions): The user provided writer function
43093         is not allowed to return -1.
43094
43095 2012-04-11  David S. Miller  <davem@davemloft.net>
43096
43097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43098
43099 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43100
43101         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43102         Add a leading slash to rtkaio.
43103
43104 2012-04-11  Jim Meyering  <meyering@redhat.com>
43105
43106         [BZ #11959]
43107         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43108         It is not necessarily an error to ignore fwrite's return
43109         value.  One can reliably use ferror to test for errors after
43110         the fact.
43111
43112 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43113
43114         * bits/types.h (__snseconds_t): New type.
43115         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43116
43117         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43118         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43119         (__SNSECONDS_T_TYPE): Likewise.
43120         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43121         (__SNSECONDS_T_TYPE): Likewise.
43122         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43123         (__SNSECONDS_T_TYPE): Likewise.
43124
43125 2012-04-10  Andreas Jaeger  <aj@suse.de>
43126
43127         [BZ #2636]
43128         * manual/time.texi (Processor Time): Return type of times is
43129         elapsed real time since an arbitrary point in the past.
43130         (CPU Time): Move CLK_TCK from here...
43131         (Processor Time): ...to here.  Correct description.
43132         * manual/conf.texi (Constants for Sysconf): Correct description of
43133         _SC_CLK_TCK.
43134
43135 2012-04-10  David S. Miller  <davem@davemloft.net>
43136
43137         [BZ #13967]
43138         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43139         where the is a gap between DT_REL(A) and DT_JMPREL.
43140
43141 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43142
43143         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43144         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43145         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43146
43147 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43148
43149         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43150         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43151         (dl_main): Handle --inhibit-cache.
43152         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43153         _dl_inhibit_cache.
43154         * elf/dl-load.c (_dl_map_object): Use it.
43155         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43156
43157 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43158
43159         [BZ #13872]
43160         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43161         (__ieee754_powl): Saturate large exponents rather than testing for
43162         overflow of y*log2(x).
43163         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43164         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43165         exceptions.
43166
43167         [BZ #11521]
43168         * math/s_ctan.c: Include <float.h>.
43169         (__ctan): Avoid internal overflow or cancellation in calculating
43170         denominator.
43171         * math/s_ctanf.c: Likewise.
43172         * math/s_ctanl.c: Likewise.
43173         * math/s_ctanh.c: Likewise.
43174         * math/s_ctanhf.c: Likewise.
43175         * math/s_ctanhl.c: Likewise.
43176         * math/libm-test.inc (ctan_test): Add more tests.
43177         (ctanh_test): Likewise.
43178         * sysdeps/i386/fpu/libm-test-ulps: Update.
43179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43180
43181 2012-04-09  Andreas Jaeger  <aj@suse.de>
43182
43183         [BZ #6894]
43184         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43185         is an optional BSD extension.
43186
43187         [BZ #10254]
43188         * manual/stdio.texi (Opening Streams): Document additional fopen
43189         parameters.
43190
43191 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43192
43193         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43194         %eax without telling the compiler.
43195
43196 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43197
43198         [BZ # 13963]
43199         * manual/install.texi: Use sourceware.org.
43200
43201 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43202
43203         [BZ #13873]
43204         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43205         (__ieee754_pow): Generate overflow and underflow using huge*huge
43206         and tiny*tiny rather than just returning constant infinity or zero
43207         for large exponents.
43208         * math/libm-test.inc (pow_test): Require overflow exceptions for
43209         applicable cases of large exponents.
43210
43211         [BZ #706]
43212         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43213         (__ieee754_pow): Use iterative multiplication algorithm only for
43214         integer exponents with absolute value below 1024.  Check for odd
43215         integer exponents when using algorithm for real exponents.
43216         * math/libm-test.inc (pow_test): Add more tests.
43217         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43218
43219 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43220
43221         [BZ #13705]
43222         * math/libm-test.inc (exp_test): Do not allow overflow exception
43223         on underflow test.
43224
43225 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43226
43227         [BZ #13705]
43228         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43229         instead of __kernel_standard_f.
43230
43231 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43232
43233         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43234         * sysdeps/x86_64/memset_chk.S: Likewise.
43235
43236 2012-04-08  Andreas Jaeger  <aj@suse.de>
43237
43238         [BZ #10153]
43239         * manual/startup.texi (Environment Access): Describe return value
43240         for putenv and setenv.
43241
43242         [BZ #6895]
43243         * manual/filesys.texi (Directory Entries): Add description for
43244         DT_LNK.
43245
43246         [BZ #6890]
43247         * manual/filesys.texi (Directory Entries): Clarify that it's file
43248         system not operating system in the description of DT_UNKNOWN.
43249
43250         [BZ #6578]
43251         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43252
43253 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43254
43255         [BZ #6649]
43256         * manual/llio.texi (Opening and Closing Files): Add cross
43257         reference to explain mode argument.
43258
43259 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43260
43261         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43262         * sysdeps/x86_64/memset_chk.S: Likewise.
43263
43264 2012-04-07  David S. Miller  <davem@davemloft.net>
43265
43266         * elf/elf.h (R_SPARC_WDISP10): Define.
43267         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43268         R_SPARC_SIZE32.
43269         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43270         R_SPARC_SIZE64 and R_SPARC_H34.
43271
43272 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43273
43274         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43275         conditions and remove no longer applicable assertion.
43276
43277 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43278
43279         * bits/byteswap.h: Include <features.h>.
43280         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43281         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43282
43283 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43284
43285         * bits/byteswap.h (__bswap_16): Removed.
43286         Include <bits/byteswap-16.h> to get __bswap_16.
43287         * sysdeps/i386/bits/byteswap.h: Likewise.
43288         * sysdeps/s390/bits/byteswap.h: Likewise.
43289         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43290         * bits/byteswap-16.h: New file.
43291         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43292         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43293         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43294         * string/Makefile (headers): Add bits/byteswap-16.h.
43295
43296 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43297
43298         [BZ #13895]
43299         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43300         extra indirection.
43301         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43302         * nss/tst-nss-static.c: New.
43303
43304 2012-04-06  Robert Millan  <rmh@gnu.org>
43305
43306         [BZ #6486]
43307         * manual/llio.texi (File Position Primitive): lseek
43308         refers to WHENCE when it really means OFFSET.
43309
43310 2012-04-06  Andreas Jaeger  <aj@suse.de>
43311
43312         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43313         strncmp declarations.
43314
43315         * abilist/libc.abilist: Add __poll and __ppoll.
43316
43317 2012-04-05  David S. Miller  <davem@davemloft.net>
43318
43319         * scripts/check-local-headers.sh: Accept a host triplet in the
43320         path matched by the exclude regexp.
43321
43322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43323         definition.
43324         * sysdeps/powerpc/powerpc32/dl-machine.h
43325         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43326         * sysdeps/s390/s390-32/dl-machine.h
43327         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43328         * sysdeps/sparc/sparc32/dl-machine.h
43329         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43330         * sysdeps/sparc/sparc64/dl-machine.h
43331         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43332
43333         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43334         lazy binding.
43335         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43336         undefined symbol errors.
43337
43338         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43339         DT_NEEDED entries.
43340
43341 2012-04-05  Michael Matz  <matz@suse.de>
43342
43343         [BZ #13592]
43344         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43345
43346 2012-04-05  Andreas Jaeger  <aj@suse.de>
43347
43348         [BZ #13908]
43349         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43350         comment.
43351
43352 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43353
43354         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43355         which ROUND is no valid rounding mode.
43356
43357 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43358
43359         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43360         read again.
43361         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43362
43363 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43364
43365         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43366         an exception using FPU order intentionally.
43367
43368 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43369
43370         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43371         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43372         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43373         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43374
43375 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43376
43377         [BZ #12340]
43378         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43379         EINVAL when BUFLEN is too smal.
43380
43381 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43382
43383         [BZ #13553]
43384         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43385         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43386
43387 2012-04-03  Andreas Jaeger  <aj@suse.de>
43388
43389         [BZ #13938]
43390         * manual/setjmp.texi (System V contexts): Fix sentence.
43391
43392         [BZ #13926]
43393         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43394         New macro for this case.
43395         [!__GNUC__] (__bswap_64): New inline function for this case.
43396         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43397         * bits/byteswap.h: Likewise.
43398         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43399         ull, guard with __GLIBC_HAVE_LONG_LONG.
43400
43401         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43402         __GLIBC_HAVE_LONG_LONG.
43403
43404         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43405         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43406
43407 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43408
43409         [BZ #13691]
43410         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43411         inptr and inend, rather than using last_ch.
43412
43413 2012-04-02  David S. Miller  <davem@davemloft.net>
43414
43415         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43416         * stdio-common/printf-parse.h (read_int): Change return type to
43417         'int', return -1 on INT_MAX overflow.
43418         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43419         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43420         overflows INT_MAX.  Check for overflow of in-format-string precision
43421         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43422         SIZE_MAX not INT_MAX for integer overflow test.
43423         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43424         skip the construct in the format string but do not record anything.
43425         * stdio-common/bug22.c: Adjust to test both width/prevision
43426         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43427         explicitly for proper errno values.
43428
43429 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43430
43431         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43432         CHAR_MAX.
43433         * string/test-strcmp.c [! WIDE]: Likewise.
43434         * time/tst-mktime2.c: Likewise for INT_MAX.
43435         * string/test-string.h: #include <sys/param.h> for MIN.
43436
43437         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43438         * sysdeps/i386/init-first.c (init): Likewise.
43439         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43440         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43441         * sysdeps/sh/init-first.c (init): Likewise.
43442
43443 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43444
43445         * po/ru.po: Update from translation team.
43446         * po/vi.po: Likewise.
43447
43448 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43449
43450         * resolv/nss_dns/dns-host.c: Merge copyright years.
43451
43452 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43453
43454         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43455         Optimize memcpy with prefetch if
43456         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43457         src, dst pointers have unequal 16 byte alignments.
43458
43459 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43460
43461         [BZ #13928]
43462         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43463         from a CNAME entry and return the minimum ttl for the query.
43464         (gaih_getanswer_slice): Likewise.
43465
43466 2012-03-30  Jeff Law  <law@redhat.com>
43467
43468         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43469         due to long keys.
43470         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43471         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43472
43473         * resolv/nss_dns/dns-host.c: Update copyright year.
43474
43475 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43476
43477         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43478         requests to save a system call.  Fix check that all bytes are sent.
43479
43480         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43481         comments for sendmmsg.
43482
43483 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43484
43485         [BZ #13691]
43486         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43487         with only 1 character between 0x0041 and 0x01b0.
43488         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43489         * wcsmbs/tst-mbsnrtowcs.c: New file.
43490
43491 2012-03-29  David S. Miller  <davem@davemloft.net>
43492
43493         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43494         small copies by hand.
43495
43496 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43497
43498         [BZ #13761]
43499         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43500         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43501         group memberships.
43502
43503 2012-03-28  David S. Miller  <davem@davemloft.net>
43504
43505         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43506         that branches into memcpy.
43507         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43510         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43511         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43512         bits.
43513         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43514         implementation too.
43515         * sysdeps/sparc/mempcpy.S: New file.
43516
43517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43518         the IFUNC routine in the libc case.
43519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43520
43521         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43522         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43523         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43524         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43525         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43526         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43527         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43528         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43529
43530         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43531         loop to 256 bytes instead of 64 bytes and fix test signedness.
43532
43533         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43534         * sysdeps/sparc/sparc32/Makefile: rather than here...
43535         * sysdeps/sparc/sparc64/Makefile: and here.
43536
43537 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43538
43539         * malloc/mallocbug.c: Avoid warnings about unused variables.
43540
43541 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43542
43543         [BZ #13760]
43544         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43545         in the right place. Discard and retry query if response is
43546         larger than input buffer size.
43547
43548 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43549
43550         [BZ #369]
43551         [BZ #2678]
43552         [BZ #3866]
43553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43554         x for large integer exponent.
43555         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43556         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43557         sign of result as needed afterwards.
43558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43559         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43560         result for underflowing pow the same as for overflow.
43561         (__kernel_standard_l): Handle powl overflow and underflow here
43562         rather than calling __kernel_standard.
43563         * math/libm-test.inc (pow_test): Add more tests.
43564
43565         [BZ #3868]
43566         [BZ #13879]
43567         [BZ #13910]
43568         [BZ #13911]
43569         [BZ #13912]
43570         [BZ #13913]
43571         [BZ #13915]
43572         [BZ #13916]
43573         [BZ #13917]
43574         [BZ #13918]
43575         [BZ #13919]
43576         [BZ #13920]
43577         [BZ #13921]
43578         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43579         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43580         (__kernel_standard_l): New function.
43581         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43582         __kernel_standard.
43583         * math/w_acosl.c (__acosl): Likewise.
43584         * math/w_asinl.c (__asinl): Likewise.
43585         * math/w_atan2l.c (__atan2l): Likewise.
43586         * math/w_atanhl.c (__atanhl): Likewise.
43587         * math/w_coshl.c (__coshl): Likewise.
43588         * math/w_exp10l.c (__exp10l): Likewise.
43589         * math/w_exp2l.c (__exp2l): Likewise.
43590         * math/w_fmodl.c (__fmodl): Likewise.
43591         * math/w_hypotl.c (__hypotl): Likewise.
43592         * math/w_j0l.c (__j0l, __y0l): Likewise.
43593         * math/w_j1l.c (__j1l, __y1l): Likewise.
43594         * math/w_jnl.c (__jnl, __ynl): Likewise.
43595         * math/w_lgammal.c (__lgammal): Likewise.
43596         * math/w_log10l.c (__log10l): Likewise.
43597         * math/w_log2l.c (__log2l): Likewise.
43598         * math/w_logl.c (__logl): Likewise.
43599         * math/w_powl.c (__powl): Likewise.
43600         * math/w_remainderl.c (__remainderl): Likewise.
43601         * math/w_scalbl.c (sysv_scalbl): Likewise.
43602         * math/w_sinhl.c (__sinhl): Likewise.
43603         * math/w_sqrtl.c (__sqrtl): Likewise.
43604         * math/w_tgammal.c (__tgammal): Likewise.
43605         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43606         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43607         * math/libm-test.inc (acos_test): Add more tests.
43608         (acosh_test): Likewise.
43609         (asin_test): Likewise.
43610         (atanh_test): Likewise.
43611         (exp_test): Likewise.
43612         (exp10_test): Likewise.
43613         (exp2_test): Likewise.
43614         (expm1_test): Likewise.
43615         (lgamma_test): Likewise.
43616         (log_test): Likewise.
43617         (log10_test): Likewise.
43618         (log1p_test): Likewise.
43619         (log2_test): Likewise.
43620         (pow_test): Do not allow some spurious overflow exceptions.
43621         (sqrt_test): Add more tests.
43622         (tgamma_test): Likewise.
43623         (y0_test): Likewise.
43624         (y1_test): Likewise.
43625         (yn_test): Likewise.
43626
43627 2012-03-27  Anton Blanchard  <anton@samba.org>
43628
43629         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43630         MAP_HUGETLB.
43631         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43632         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43633         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43634
43635 2012-03-27  David S. Miller  <davem@davemloft.net>
43636
43637         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43638
43639         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43640         have-as-vis3 check.
43641
43642 2012-03-27  Andreas Jaeger  <aj@suse.de>
43643
43644         * sysdeps/x86_64/elf/configure.in: Moved to ...
43645         * sysdeps/x86_64/configure.in: ... here.
43646         * sysdeps/x86_64/elf/start.S: Moved to ...
43647         * sysdeps/x86_64/start.S: ... here.
43648         * sysdeps/x86_64/elf/configure: Delete.
43649
43650         * sysdeps/x86_64/configure.in: Merge contents from
43651         sysdeps/i386/configure.in (without i686 check).
43652
43653         * sysdeps/i386/elf/Versions: Merge into ...
43654         * sysdeps/i386/Versions: ... this.
43655         * sysdeps/i386/elf/Versions: Delete file.
43656         * sysdeps/i386/elf/start.S: Moved to ...
43657         * sysdeps/i386/start.S: ...here.
43658         * sysdeps/i386/elf/configure.in: Merge into...
43659         * sysdeps/i386/configure.in: ...here.
43660         * sysdeps/i386/elf/configure.in: Delete file.
43661         * sysdeps/i386/elf/configure: Delete file.
43662
43663         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43664         * debug/backtracesyms.c: ... here.
43665         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43666         * debug/backtracesymsfd.c: ... here.
43667         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43668         * sysdeps/generic/ifunc-sel.h: ... here.
43669
43670         * sysdeps/unix/i386/start.c: Delete file.
43671         * sysdeps/unix/sparc/start.c: Delete file.
43672         * sysdeps/unix/start.c: Delete file.
43673
43674         * sysdeps/sh/elf/configure.in: Moved to ...
43675         * sysdeps/sh/configure.in: ... here.
43676         * sysdeps/sh/elf/start.S: Moved to ...
43677         * sysdeps/sh/start.S: ... here.
43678         * sysdeps/sh/elf/configure: Delete file.
43679
43680         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43681         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43682         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43683         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43684         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43685         * sysdeps/powerpc/powerpc64/start.S: here.
43686         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43687         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43688         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43689         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43690         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43691
43692         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43693         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43694         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43695         * sysdeps/powerpc/powerpc32/start.S: ... here.
43696         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43697         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43698         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43699
43700         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43701         * sysdeps/powerpc/ifunc-sel.h: ... here.
43702         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43703         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43704
43705         * sysdeps/sparc/elf/configure.in: Moved to ...
43706         * sysdeps/sparc/configure.in: ... here.
43707         * sysdeps/sparc/elf/configure: Delete file.
43708         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43709         * sysdeps/sparc/sparc32/start.S: ... here.
43710         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43711         * sysdeps/sparc/sparc64/start.S: ... here.
43712         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43713         * sysdeps/sparc/sparc32/Makefile: ... this.
43714         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43715         * sysdeps/sparc/sparc64/Makefile: ... this.
43716
43717         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43718         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43719         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43720         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43721         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43722         * sysdeps/s390/s390-32/setjmp.S: ... here.
43723         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43724         * sysdeps/s390/s390-32/configure.in: ... here.
43725         * sysdeps/s390/s390-32/elf/configure: Delete file.
43726         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43727         * sysdeps/s390/s390-32/start.S: ... here.
43728
43729         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43730         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43731         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43732         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43733         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43734         * sysdeps/s390/s390-64/setjmp.S: ... here.
43735         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43736         * sysdeps/s390/s390-64/configure.in: ... here
43737         * sysdeps/s390/s390-64/elf/configure: Delete file.
43738         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43739         * sysdeps/s390/s390-64/start.S: ... here.
43740         * sysdeps/s390/s390-64/elf/configure: Delete.
43741
43742         * configure.in: Remove support for elf directories in sysdeps.
43743
43744         * configure: Regenerated.
43745         * sysdeps/i386/configure: Regenerated.
43746         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43747         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43748         * sysdeps/s390/s390-32/configure: Regenerated.
43749         * sysdeps/s390/s390-64/configure: Regenerated.
43750         * sysdeps/sh/configure: Regenerated.
43751         * sysdeps/sparc/configure: Regenerated.
43752         * sysdeps/x86_64/configure: Regenerated.
43753
43754 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43755
43756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43757
43758         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43759         denormal result into account.
43760
43761 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43762
43763         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43764         Reported by Allan McRae <allan@archlinux.org>.
43765
43766 2012-03-23  Jeff Law  <law@redhat.com>
43767
43768         * nss/getnssent.c (__nss_getent): Fix typo.
43769
43770 2012-03-23  David S. Miller  <davem@davemloft.net>
43771
43772         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43773
43774 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43775
43776         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43777         to pad to uint64_t for each field.
43778         (dl_tls_index): Replace unsigned long with uint64_t.
43779
43780 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43781         Paul Pluzhnikov  <ppluzhnikov@google.com>
43782
43783         [BZ #6528]
43784         * grp/Makefile (otherlibs): Don't set it.
43785         * inet/Makefile (otherlibs): Likewise.
43786         * login/Makefile (otherlibs): Likewise.
43787         * nscd/Makefile (otherlibs): Likewise.
43788         * posix/Makefile (otherlibs): Likewise.
43789         * pwd/Makefile (otherlibs): Likewise.
43790         * rt/Makefile (otherlibs): Likewise.
43791         * sunrpc/Makefile (otherlibs): Likewise.
43792         * nss/Makefile (otherlibs): Likewise.
43793         Add libnss_files to routines and static-only-routines.
43794         ($(objpfx)getent): Remove rule.
43795         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43796         static-only-routines.
43797
43798 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43799
43800         [BZ #13892]
43801         * math/s_cexp.c: Include <float.h>.
43802         (__cexp): Handle exp result overflowing not necessarily
43803         overflowing both real and imaginary parts of result.
43804         * math/s_cexpf.c: Likewise.
43805         * math/s_cexpl.c: Likewise.
43806         * math/libm-test.inc (cexp_test): Add more tests.
43807         * sysdeps/i386/fpu/libm-test-ulps: Update.
43808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43809
43810 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43811
43812         * include/link.h (ELFW): New macro.
43813         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43814         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43815
43816 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43817
43818         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43819         with uint64_t.
43820
43821 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43822
43823         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43824         declaration.
43825         (struct La_x32_retval): Likewise.
43826
43827 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43828
43829         * sysdeps/x86_64/preconfigure.in: New file.
43830         * sysdeps/x86_64/preconfigure: New generated file.
43831
43832 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43833
43834         [BZ #13824]
43835         * math/e_exp2l.c: Include <float.h>.
43836         (__ieee754_exp2l): Handle overflow and underflow cases
43837         separately.  Only pass fractional part of argument to
43838         __ieee754_expl.
43839         * math/libm-test.inc (exp2_test): Add more tests.
43840
43841         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43842         negating x to take absolute value.
43843         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43844         Likewise.
43845         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43846         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43847         Likewise.
43848         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43849         computing low part if x was negated.
43850         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43851
43852 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43853
43854         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43855         la_x32_gnu_pltexit.
43856         (pltexit): Cast int_retval to ptrdiff_t.
43857         * elf/tst-auditmod3b.c: Likewise.
43858         * elf/tst-auditmod4b.c: Likewise.
43859         * elf/tst-auditmod5b.c: Likewise.
43860         * elf/tst-auditmod6b.c: Likewise.
43861         * elf/tst-auditmod6c.c: Likewise.
43862         * elf/tst-auditmod7b.c: Likewise.
43863
43864         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43865         and x32_gnu_pltexit.
43866
43867         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43868         __ELF_NATIVE_CLASS.
43869         (La_x32_regs): New macro.
43870         (La_x32_retval): Likewise.
43871         (la_x32_gnu_pltenter): New function prototype.
43872         (la_x32_gnu_pltexit): Likewise.
43873
43874 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43875
43876         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43877         exponent.
43878
43879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43880
43881         * configure.in (libc_cv_cc_nofma): Check for option to disable
43882         generation of FMA instructions.
43883         * configure: Regenerate.
43884         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43885         * sysdeps/ieee754/dbl-64/Makefile: New file.
43886         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43887         Remove brandred-fma4.
43888         (CFLAGS-brandred-fma4.c): Remove.
43889         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43890         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43891         define.
43892         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43893         define.
43894
43895 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43896
43897         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43898         LLONG_MAX != LONG_MAX.
43899         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43900         (_fitoa_word): Likewise.
43901         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43902         LLONG_MAX != LONG_MAX.
43903         * stdio-common/_itowa.h: Include <_itoa.h>.
43904         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43905         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43906         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43907         only if not defined.
43908         (_ITOA_WORD_TYPE): Likewise.
43909         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43910         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43911
43912 2012-03-21  David S. Miller  <davem@davemloft.net>
43913
43914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43915
43916 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43917
43918         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43919         of x86_64 when setting libc_cv_slibdir, libdir and
43920         libc_cv_localedir.
43921         * sysdeps/unix/sysv/linux/configure: Regenerated.
43922
43923 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43924
43925         * manual/lang.texi (Old Varargs): Remove section.
43926         (How Variadic): Update menu.
43927         (va_start): Do not mention varargs.h.
43928
43929 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43930             Joseph Myers  <joseph@codesourcery.com>
43931
43932         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43933         link test.
43934         * configure: Regenerated.
43935
43936 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43937
43938         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43939         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43940         conformtest.pl
43941
43942 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43943
43944         * NOTES: Remove.
43945         * Makefile (files-for-dist): Remove NOTES.
43946         (NOTES): Remove rule.
43947         * README: Don't refer to NOTES.
43948         * manual/creature.texi: Don't include macros.texi.
43949         * manual/intro.texi (creature.texi): Remove comment referring to
43950         NOTES.
43951
43952         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43953         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43954         * configure: Regenerated.
43955         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43956         LIBC_TRY_CC_OPTION.
43957         (libc_cv_as_i686): Likewise.
43958         (libc_cv_cc_avx): Likewise.
43959         (libc_cv_cc_sse2avx): Likewise.
43960         (libc_cv_cc_fma4): Likewise.
43961         (libc_cv_cc_novzeroupper): Likewise.
43962         * sysdeps/i386/configure: Regenerated.
43963
43964         [BZ #13883]
43965         * sysdeps/i386/fpu/s_cexp.S: Remove.
43966         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43967         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43968         * math/libm-test.inc (cexp_test): Add more tests.
43969         * sysdeps/i386/fpu/libm-test-ulps: Update.
43970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43971
43972 2012-03-21  Allan McRae  <allan@archlinux.org>
43973
43974         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43975
43976 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43977
43978         [BZ #13871]
43979         * math/w_exp2.c: Do not include <float.h>.
43980         (o_threshold, u_threshold): Remove.
43981         (__exp2): Calculate result before checking finiteness and calling
43982         __kernel_standard.
43983         * math/w_exp2f.c: Likewise.
43984         * math/w_exp2l.c: Likewise.
43985         * math/libm-test.inc (exp2_test): Require overflow exception for
43986         1e6 input.
43987
43988         [BZ #3866]
43989         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43990         range of signed 64-bit integers before using fistpll.  Remove
43991         checks for whether integers fit in mantissa bits.
43992         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43993         the range of signed 32-bit integers before using fistpl.  Remove
43994         checks for whether integers fit in mantissa bits.
43995         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43996         (__ieee754_powl): Test for y outside the range of signed 64-bit
43997         integers before using fistpll.  Reduce 64-bit values to 63-bit
43998         ones as needed.
43999         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44000         divide-by-zero is raised for zero to large negative powers.
44001         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44002         (__ieee754_powl): Test for y outside the range of signed 64-bit
44003         integers before using fistpll.  Reduce 64-bit values to 63-bit
44004         ones as needed.
44005         * math/libm-test.inc (pow_test): Add more tests.
44006
44007 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44008
44009         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44010         <stdio-common/_itoa.h>.
44011         * debug/segfault.c: Likewise.
44012         * elf/dl-cache.c: Likewise.
44013         * elf/dl-minimal.c: Likewise.
44014         * elf/dl-misc.c: Likewise.
44015         * elf/dl-sysdep.c: Likewise.
44016         * elf/dl-version.c: Likewise.
44017         * elf/rtld.c: Likewise.
44018         * hurd/hurdsock.c: Likewise.
44019         * hurd/lookup-retry.c: Likewise.
44020         * malloc/malloc.c: Likewise.
44021         * malloc/mtrace.c: Likewise.
44022         * nscd/nscd_getgr_r.c: Likewise.
44023         * nscd/nscd_getpw_r.c: Likewise.
44024         * nscd/nscd_getserv_r.c: Likewise.
44025         * posix/getopt_init.c: Likewise.
44026         * posix/wordexp.c: Likewise.
44027         * stdio-common/_itoa.c: Likewise.
44028         * stdio-common/printf_fphex.c: Likewise.
44029         * stdio-common/vfprintf.c: Likewise.
44030         * string/_strerror.c: Likewise.
44031         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44032         * sysdeps/i386/i686/hp-timing.h: Likewise.
44033         * sysdeps/mach/_strerror.c: Likewise.
44034         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44035         * sysdeps/mach/hurd/sethostid.c: Likewise.
44036         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44037         * sysdeps/mach/xpg-strerror.c: Likewise.
44038         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44039         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44040         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44041         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44042         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44043         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44044         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44045         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44046         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44047         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44048         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44049         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44050         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44051         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44052         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44053         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44054         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44055         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44056         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44057         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44058         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44059
44060         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44061
44062         * stdio-common/_itoa.h: Moved to ...
44063         * sysdeps/generic/_itoa.h: Here.
44064
44065         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44066
44067         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44068         instead of "_itoa.h" and "_itowa.h".
44069         * stdio-common/vfprintf.: Likewise.
44070
44071 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44072
44073         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44074         <bits/wordsize.h>.
44075         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44076         (__signbit): Likwise.
44077         (llrintf): Likwise.
44078         (llrint): Likwise.
44079
44080 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44081
44082         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44083         __WORDSIZE != 64.
44084
44085 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44086
44087         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44088         OVERFLOW_EXCEPTION_OK.
44089         * math/libm-test.inc ("Philosophy"): Update comment about
44090         exception testing.
44091         (OVERFLOW_EXCEPTION): Define.
44092         (OVERFLOW_EXCEPTION_OK): Likewise.
44093         (INVALID_EXCEPTION_OK): Renumber.
44094         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44095         (IGNORE_ZERO_INF_SIGN): Likewise.
44096         (test_exceptions): Handle FE_OVERFLOW.
44097         (exp10_test): Expect overflow exceptions.
44098         (exp2_test): Likewise.
44099         (expm1_test): Likewise.
44100         (nextafter_test): Likewise.
44101         (pow_test): Likewise.
44102         (scalbn_test): Likewise.
44103         (scalbln_test): Likewise.
44104
44105 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44106
44107         * sysdeps/x86_64/bits/atomic.h
44108         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44109         64bit integer.
44110         (atomic_exchange_acq): Likewise.
44111         (__arch_exchange_and_add_body): Likewise.
44112         (__arch_add_body): Likewise.
44113         (atomic_add_negative): Likewise.
44114         (atomic_add_zero): Likewise.
44115
44116 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44117
44118         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44119         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44120
44121 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44122
44123         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44124         Check __x86_64__ instead of __WORDSIZE.
44125
44126 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44127
44128         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44129
44130 2012-03-19  David S. Miller  <davem@davemloft.net>
44131
44132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44133
44134         * sysdeps/sparc/fpu/fenv_private.h: New file.
44135         * sysdeps/sparc/fpu/math_private.h: Use it.
44136         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44137         Remove.
44138         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44139         (libc_feholdexcept_setroundl): Remove.
44140         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44141         Remove.
44142         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44143         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44144
44145 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44146
44147         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44148         int64_t instead of long int.
44149         (INSERT_WORDS64): Likwise.
44150
44151 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44152
44153         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44154         _Unwind_GetCFA return to _Unwind_Ptr first.
44155
44156 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44157
44158         [BZ #13629]
44159         * math/s_clog.c: Include <float.h>.
44160         (__clog): Scale large or subnormal inputs.
44161         * math/s_clogf.c: Likewise.
44162         * math/s_clogl.c: Likewise.
44163         * math/s_clog10.c: Include <float.h>.
44164         (M_LOG10_2): Define.
44165         (__clog10): Scale large or subnormal inputs.
44166         * math/s_clog10f.c: Likewise.
44167         * math/s_clog10l.c: Likewise.
44168         * math/libm-test.inc (clog_test): Add more tests.
44169         (clog10_test): Likewise.
44170         * sysdeps/i386/fpu/libm-test-ulps: Update.
44171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44172
44173         [BZ #11451]
44174         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44175         x and y.
44176         * math/libm-test.inc (atan2_test): Add another test.
44177
44178         * Makerules (common-objdir-compile): Remove.
44179         * sysdeps/unix/Makefile (config-generated): Do not add
44180         $(unix-generated) to variable.
44181         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44182         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44183         Remove rule.
44184         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44185         Likewise.
44186         [generic bits/local_lim.h] (before-compile): Do not append to
44187         variable.
44188         [generic bits/local_lim.h] (common-generated): Likewise.
44189         [generic sys/param.h] (before-compile): Do not append to variable.
44190         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44191         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44192         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44193         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44194         include.
44195         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44196         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44197         [generic sys/param.h] ($(addprefix
44198         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44199         [generic sys/param.h] (common-generated): Do not append to
44200         variable.
44201         [generic sys/param.h] (sysdep_headers): Likewise.
44202         [generic bits/errno.h] (before-compile): Do not append to
44203         variable.
44204         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44205         rule.
44206         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44207         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44208         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44209         [generic bits/errno.h] (common-generated): Do not append to
44210         variable.
44211         [generic bits/ioctls.h] (before-compile): Do not append to
44212         variable.
44213         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44214         rule.
44215         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44216         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44217         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44218         rule.
44219         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44220         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44221         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44222         [generic bits/ioctls.h] (common-generated): Do not append to
44223         variable.
44224         [generic sys/syscall.h] (syscall.h): Remove variable.
44225         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44226         rule.
44227         [generic sys/syscall.h] (before-compile): Do not append to
44228         variable.
44229         [generic sys/syscall.h] (common-generated): Likewise.
44230         * sysdeps/unix/errnos-tmpl.c: Remove file.
44231         * sysdeps/unix/errnos.awk: Likewise.
44232         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44233         * sysdeps/unix/ioctls.awk: Likewise.
44234         * sysdeps/unix/mk-local_lim.c: Likewise.
44235         * sysdeps/unix/snarf-ioctls: Likewise.
44236
44237 2012-03-19  Richard Henderson  <rth@twiddle.net>
44238
44239         * sysdeps/i386/fpu/fenv_private.h: New file.
44240         * sysdeps/i386/fpu/math_private.h: Use it.
44241         (math_opt_barrier, math_force_eval): Remove.
44242         (libc_feholdexcept_setround_53bit): Remove.
44243         (libc_feupdateenv_53bit): Remove.
44244         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44245         (math_opt_barrier, math_force_eval): Remove.
44246         (libc_feholdexcept): Remove.
44247         (libc_feholdexcept_setround): Remove.
44248         (libc_fetestexcept, libc_fesetenv): Remove.
44249         (libc_feupdateenv_test): Remove.
44250         (libc_feupdateenv, libc_feholdsetround): Remove.
44251         (libc_feresetround): Remove.
44252
44253         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44254         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44255
44256         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44257         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44258         (libc_feupdateenv_testl): New.
44259         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44260         (libc_feupdateenv_testf): New.
44261         (libc_feupdateenv): Use libc_feupdateenv_test.
44262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44263         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44264
44265         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44266         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44267         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44268         (libc_feresetround_noex): New.
44269         (libc_feresetround_noexf): New.
44270         (libc_feresetround_noexl): New.
44271         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44272         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44273         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44274         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44275         SET_RESTORE_ROUND.
44276         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44277         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44278         (__cos): Likewise.
44279         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44280         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44281         SET_RESTORE_ROUND_NOEX.
44282         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44283         SET_RESTORE_ROUND_NOEXF.
44284         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44285         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44286         (libc_feholdsetroundf): New.
44287         (libc_feresetround, libc_feresetroundf): New.
44288
44289         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44290         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44291         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44292
44293         * sysdeps/generic/math_private.h: Include <fenv.h>.
44294         (default_libc_feholdexcept): New.
44295         (default_libc_feholdexcept_setround): New.
44296         (default_libc_fesetenv, default_libc_feupdateenv): New.
44297         (libc_feholdexcept): Only define if undefined.
44298         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44299         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44300         (libc_feholdexcept_setroundl): Likewise.
44301         (libc_feholdexcept_setround_53bit): Likewise.
44302         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44303         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44304         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44305         (libc_feupdateenv_53bit): Likewise.
44306         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44307         (libc_feholdexcept): Convert from macro to inline function.
44308         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44309         (libc_fesetenv, libc_feupdateenv): Likewise.
44310
44311         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44312         not previously defined.
44313         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44314         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44315         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44316         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44317         * sysdeps/ieee754/flt-32/math_private.h: New file.
44318         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44319         math_private.h below SET_FLOAT_WORD.
44320         (__isnan, __isinf_ns, __finite): Remove.
44321         (__isnanf, __isinf_nsf, __finitef): Remove.
44322
44323 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44324
44325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44326
44327 2012-03-17  David S. Miller  <davem@davemloft.net>
44328
44329         [BZ #6471]
44330         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44331         for 2.16.
44332
44333 2012-03-16  David S. Miller  <davem@davemloft.net>
44334
44335         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44336         warnings.
44337
44338         [BZ #6471]
44339         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44340         properly.
44341         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44342         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44343         sysdep_routines when subdir is sysvipc.
44344         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44345         __getshmlba helper.
44346
44347         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44348
44349 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44350
44351         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44352         [__LP64__].
44353
44354 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44355
44356         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44357         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44358         (__lround): Renamed to ...
44359         (__llround): This.  Replace long int with long long int.
44360         Define lround functions as aliases of llround functions.
44361         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44362
44363 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44364
44365         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44366         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44367         adresses to uintptr_t.  Replace "long int" and "unsigned long
44368         int" with "greg_t" on va_arg.
44369
44370 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44371
44372         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44373         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44374
44375         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44376         Move e_machine check before EI_CLASS check.  Handle x32
44377         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44378         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44379         SKIP_EM_IA_64 and include
44380         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44381
44382         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44383         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44384         (add_system_dir): New macro.
44385
44386         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44387         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44388
44389 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44390
44391         [BZ #2551]
44392         [BZ #2552]
44393         [BZ #2553]
44394         [BZ #2554]
44395         [BZ #2562]
44396         [BZ #2563]
44397         [BZ #2565]
44398         [BZ #2566]
44399         [BZ #2576]
44400         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44401         (y0): Likewise.
44402         * math/w_j0f.c (j0f): Likewise.
44403         (y0f): Likewise.
44404         * math/w_j0l.c (__j0l): Likewise.
44405         (__y0l): Likewise.
44406         * math/w_j1.c (j1): Likewise.
44407         (y1): Likewise.
44408         * math/w_j1f.c (j1f): Likewise.
44409         (y1f): Likewise.
44410         * math/w_j1l.c (__j1l): Likewise.
44411         (__y1l): Likewise.
44412         * math/w_jn.c (jn): Likewise.
44413         (yn): Likewise.
44414         * math/w_jnf.c (jnf): Likewise.
44415         (ynf): Likewise.
44416         * math/w_jnl.c (__jnl): Likewise.
44417         (__ynl): Likewise.
44418         * math/libm-test.inc (j0_test): Add more tests.
44419         (j1_test): Likewise.
44420         (jn_test): Likewise.  Add trailing semicolon to existing test.
44421         (y0_test): Likewise.
44422         (y1_test): Likewise.
44423         * sysdeps/i386/fpu/libm-test-ulps: Update.
44424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44425
44426         [BZ #13851]
44427         [BZ #13854]
44428         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44429         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44430         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44431         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44432         (__tanl): Set errno for infinite argument.
44433         * sysdeps/i386/fpu/mptan.c: Remove.
44434         * sysdeps/i386/fpu/s_tan.S: Likewise.
44435         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44436         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44437         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44438         * math/libm-test.inc (tan_test): Add more tests and enable more
44439         tests for double and long double.
44440         * sysdeps/i386/fpu/libm-test-ulps: Update.
44441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44442
44443 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44444
44445         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44446         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44447
44448 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44449
44450         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44451         * configure.in: Use it for both main tree and add-ons.
44452         * configure: Regenerated.
44453
44454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44455
44456         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44457
44458 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44459
44460         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44461         in comment.
44462
44463         [BZ #13851]
44464         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44465         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44466         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44469         infinite argument.
44470         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44471         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44472         != 0 for prec == 2.
44473         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44474         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44475         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44476         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44477         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44478         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44479         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44480         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44481         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44482         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44483         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44484         * math/libm-test.inc (cos_test): Add more tests and enable more
44485         tests for long double.
44486         (sin_test): Likewise.
44487         (sincos_test): Likewise.
44488         * sysdeps/i386/fpu/libm-test-ulps: Update.
44489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44490
44491 2012-03-16  David S. Miller  <davem@davemloft.net>
44492
44493         * sysdeps/sparc/fpu/math_private.h: New file.
44494
44495 2012-03-15  David S. Miller  <davem@davemloft.net>
44496
44497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44498         file.
44499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44501         file.
44502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44503         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44504         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44505         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44507         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44508         sysdep routines.
44509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44510
44511         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44512         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44513
44514         * sysdeps/sparc/sparc-ifunc.h: New file.
44515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44516         sparc-ifunc.h
44517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44519         Likewise.
44520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44521         Likewise.
44522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44526         Likewise.
44527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44532         Likewise.
44533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44534         Likewise.
44535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44539         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44540         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44541         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44542         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44543         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44544         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44549         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44550         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44551         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44552         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44553         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44554         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44555         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44556         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44557         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44558         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44559
44560 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44561
44562         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44563         scaling.
44564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44565
44566 2012-03-15  Andreas Jaeger  <aj@suse.de>
44567
44568         [BZ #13852]
44569         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44570         ieee754/flt-32 implementation for sin, cos and sincos.
44571         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44572         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44573         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44574         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44575         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44576         ieee754/flt-32 implementation for tan.
44577
44578         * math/libm-test.inc (cos_test): Enable some large input tests for
44579         float as well
44580         (sin_test): Likewise.
44581         (sincos_test): Likewise.
44582         (tan_test): Add tests for large input.
44583
44584         * sysdeps/i386/fpu/libm-test-ulps: Update.
44585
44586 2012-03-15  Andreas Jaeger  <aj@suse.de>
44587
44588         [BZ #13658]
44589         * math/libm-test.inc (cos_test): Add more test cases.
44590         (sin_test): Likewise.
44591         (sincos_test): Likewise.
44592
44593 2012-03-15  Andreas Jaeger  <aj@suse.de>
44594
44595         [BZ #13837]
44596         * math/libm-test.inc (cos_test): Add a test case for large input
44597         value.
44598         (sin_test): Likewise.
44599         (sincos_test): Likewise.
44600
44601 2012-03-15  Andreas Jaeger  <aj@suse.de>
44602             Joseph Myers  <joseph@codesourcery.com>
44603
44604         [BZ #13658]
44605         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44606         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44607         * sysdeps/i386/fpu/branred.c: Likewise.
44608         * sysdeps/i386/fpu/dosincos.c: Likewise.
44609         * sysdeps/i386/fpu/mpa.c: Likewise.
44610         * sysdeps/i386/fpu/s_cos.S: Likewise.
44611         * sysdeps/i386/fpu/s_sin.S: Likewise.
44612         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44613         * sysdeps/i386/fpu/sincos32.c: Likewise.
44614
44615         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44616         Define.
44617         (libc_feupdateenv_53bit): Define.
44618         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44619         Define.
44620         (libc_feupdateenv_53bit): Define.
44621
44622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44623         53 bit (without extend i386 double precision).
44624
44625         * math/libm-test.inc (sincos_test): Add tests for large input.
44626         (sin): Likewise.
44627         (cos): Likewise.
44628
44629         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44630
44631 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44632
44633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44634
44635 2012-03-15  David S. Miller  <davem@davemloft.net>
44636
44637         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44638         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44639         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44640         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44650         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44651         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44653         file.
44654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44656         file.
44657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44659         file.
44660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44662         file.
44663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44664         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44665         fmin/fmax sysdep routines.
44666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44667
44668 2012-03-14  David S. Miller  <davem@davemloft.net>
44669
44670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44672         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44673         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44674         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44675         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44676         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44677         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44678         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44679         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44680         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44683         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44684         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44685         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44686         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44690         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44696         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44697         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44698         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44699         routines.
44700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44701         file.
44702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44704         file.
44705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44707         file.
44708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44710         file.
44711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44713         file.
44714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44716         file.
44717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44718         file.
44719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44720         file.
44721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44722         file.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44724         New file.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44726         file.
44727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44728         file.
44729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44731         file.
44732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44734         file.
44735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44737         file.
44738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44740         VIS3 routines.
44741
44742         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44743         New file.
44744
44745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44746
44747         * sysdeps/sparc/configure.in: New file.
44748         * sysdeps/sparc/configure: Generate.
44749         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44750         * configure: Regenerate.
44751         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44752         * config.make.in (have-as-vis3): New.
44753         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44754         available use -Av9d instead of -Av9a.
44755         * sysdeps/sparc/sparc64/Makefile: Likewise.
44756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44758         New file.
44759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44760         file.
44761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44762         New file.
44763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44764         file.
44765         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44766         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44767         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44768         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44769         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44770
44771         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44772         fzeros/fnegs to load 0x80000000 into a float register instead of
44773         using the stack.
44774         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44775
44776 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44777
44778         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44779         bits/syscall.h.
44780         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44781         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44782         ($(inst_includedir)/bits/syscall.h): Remove rule.
44783         ($(objpfx)bits/syscall.d): Include instead of
44784         $(objpfx)syscall-list.d.
44785         (generated): Change syscall-list.h and syscall-list.d to
44786         bits/syscall.h and bits/syscall.d.
44787
44788 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44789
44790         [BZ #13846]
44791         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44792
44793 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44794
44795         [BZ #13841]
44796         * math/s_csqrt.c: Include <float.h>.
44797         (__csqrt): Scale large or subnormal inputs.
44798         * math/s_csqrtf.c: Likewise.
44799         * math/s_csqrtl.c: Likewise.
44800         * math/libm-test.inc (csqrt_test): Add more tests.
44801         * sysdeps/i386/fpu/libm-test-ulps: Update.
44802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44803
44804         [BZ #13840]
44805         * math/libm-test.inc (hypot_test): Add more tests.
44806
44807 2012-03-13  David S. Miller  <davem@davemloft.net>
44808
44809         [BZ #13840]
44810         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44811         double-precision for the calculation instead of scaling.
44812
44813 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44814
44815         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44816         manipulate bits before adding and subtracting TWO52[sx].
44817         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44818         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44819         Likewise.
44820         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44821
44822 2012-03-13  David S. Miller  <davem@davemloft.net>
44823
44824         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44825         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44826         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44827         rtld-global-offsets.h
44828         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44829
44830         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44831         large parameters.
44832
44833         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44834
44835         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44836         'err' in the ifdef scope in which it is actually used.
44837
44838         * nss/nss_db/db-init.c: Include string.h
44839
44840 2012-03-12  David S. Miller  <davem@davemloft.net>
44841
44842         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44843         masking out of the most significant byte of random value used.
44844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44845         Fix coding style in previous change.
44846
44847         * sysdeps/unix/sysv/linux/kernel-features.h
44848         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44849         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44850         expression.
44851         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44852         later.
44853
44854 2012-03-11  David S. Miller  <davem@davemloft.net>
44855
44856         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44857         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44858         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44859         for 'resultvar' otherwise things get truncated on 64-bit.
44860
44861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44862         Fix masking out of the most significant byte of random value used.
44863
44864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44865
44866 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44867
44868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44869
44870 2012-03-09  David S. Miller  <davem@davemloft.net>
44871
44872         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44873         variables with appropriate CPP guards.
44874         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44875         from the frame pointer, not the stack pointer.  Correct layout
44876         comments.  Fix test on resulting framesize and the management of
44877         the outregs buffer for pltexit.  Preserve floating point return
44878         values across _dl_call_pltexit call.
44879         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44880         framesize and the management of the outregs buffer for pltexit.
44881         Preserve floating point return values across _dl_call_pltexit
44882         call.
44883         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44884         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44885         (la_sparc64_gnu_pltexit): New functions.
44886         (print_exit): Fix format string for return register value.
44887
44888 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44889
44890         * sunrpc/Makefile (others): Add rpcgen.
44891         ($(objpfx)rpcgen): Remove special build rule and dependency on
44892         libc.
44893         * sunrpc/rpcgen.c: New file.
44894
44895 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44896
44897         [BZ #13673]
44898         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44899         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44900         * sysdeps/i386/crti.S: Likewise.
44901         * sysdeps/i386/crtn.S: Likewise.
44902         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44903         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44904         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44905         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44906         * sysdeps/sh/crti.S: Likewise.
44907         * sysdeps/sh/crtn.S: Likewise.
44908         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44909
44910         [BZ #13673]
44911         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44912         with URL.
44913         * locale/programs/locfile-kw.gperf: Likewise.
44914         * locale/programs/charmap-kw.h: Regenerated.
44915         * locale/programs/locfile-kw.h: Likewise.
44916
44917         [BZ #13673]
44918         * intl/plural.y: Replace FSF snail mail address with URL.
44919         * intl/plural.c: Regenerated.
44920
44921 2012-03-09  Richard Henderson  <rth@twiddle.net>
44922
44923         * include/math_private.h: Remove file.
44924         * math/math_private.h: Move file ...
44925         * sysdeps/generic/math_private.h: ... here.
44926
44927         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44928         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44929         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44930
44931         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44932         and <math_private.h>.
44933         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44934         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44935         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44936         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44937         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44938         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44939         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44940         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44941         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44942         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44943         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44944         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44945         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44947         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44948         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44949         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44950         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44951         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44952         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44953         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44954         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44955         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44956         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44957         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44958         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44959         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44962         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44963         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44964         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44965         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44966         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44967         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44968         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44969         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44970         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44971         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44972         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44973         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44974         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44975         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44976         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44977         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44978         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44979         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44980         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44981         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44982         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44983         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44984         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44985         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44986         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44987         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44988         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44989         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44990         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44991         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44992         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44993         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44994         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44995         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44996         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44997         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44998         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44999         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45000         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45001         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45002         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45003         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45004         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45005         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45007         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45010         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45011         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45012         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45013         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45014         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45015         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45016         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45017         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45018         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45019         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45020         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45021         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45022         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45023         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45024         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45025         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45026         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45027         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45028         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45029         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45030         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45031         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45033         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45034         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45035         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45036         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45037         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45038         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45039         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45040         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45041         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45042         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45043         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45044         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45045         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45046         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45047         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45048         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45049         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45050         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45051         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45052         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45053         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45054         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45055         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45056         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45057         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45058         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45059         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45060         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45061         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45062         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45063         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45064         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45065         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45066         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45067         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45068         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45069         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45070         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45071         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45072         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45073         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45074         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45075         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45076         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45077         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45078         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45079         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45080         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45081         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45082         * sysdeps/ieee754/k_standard.c: Likewise.
45083         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45084         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45085         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45086         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45087         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45088         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45089         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45090         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45091         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45092         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45093         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45094         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45095         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45096         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45097         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45098         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45099         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45100         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45101         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45102         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45103         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45104         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45105         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45106         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45107         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45108         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45109         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45110         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45111         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45112         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45113         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45114         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45115         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45116         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45117         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45118         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45119         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45120         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45121         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45122         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45123         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45124         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45125         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45126         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45127         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45128         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45129         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45130         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45131         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45133         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45134         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45135         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45136         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45137         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45138         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45139         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45140         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45141         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45142         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45143         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45144         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45145         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45146         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45147         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45148         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45149         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45150         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45151         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45152         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45153         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45154         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45155         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45156         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45157         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45158         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45159         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45160         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45161         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45162         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45163         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45164         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45165         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45166         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45167         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45168         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45169         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45170         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45171         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45173         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45174         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45175         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45176         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45178         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45179         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45180         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45181         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45182         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45184         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45185         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45186         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45187         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45188         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45189         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45190         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45191         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45192         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45193         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45194         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45195         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45196         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45197         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45198         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45199         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45200         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45201         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45202         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45203         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45204         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45205         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45206         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45207         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45208         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45209         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45210         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45211         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45212         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45213         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45214         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45215         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45216         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45217         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45218         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45219         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45220         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45221         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45225         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45230         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45231         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45232         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45233         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45234         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45235         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45238         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45241         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45242         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45243         * sysdeps/ieee754/s_lib_version.c: Likewise.
45244         * sysdeps/ieee754/s_matherr.c: Likewise.
45245         * sysdeps/ieee754/s_signgam.c: Likewise.
45246         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45247         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45248         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45249         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45250         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45251         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45252         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45253         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45254         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45255         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45256         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45257         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45258         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45259         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45260         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45261         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45262         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45263         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45264         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45265         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45266         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45267
45268 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45269
45270         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45271         * sunrpc/rpc_main.c: Likewise.
45272         * sunrpc/rpc_svcout.c: Likewise.
45273
45274 2012-03-09  David S. Miller  <davem@davemloft.net>
45275
45276         * include/math_private.h: New file.
45277
45278 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45279
45280         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45281         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45282         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45283         from <bits/socket_type.h>.
45284         (enum __socket_type): Don't define here.
45285         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45286         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45287         bits/socket_type.h.
45288
45289         [BZ #13566]
45290         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45291         checking __USE_GNU.
45292
45293         * Makerules ($(inst_includedir)/%.h): New rule.
45294         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45295         (install-others): Remove variable setting.
45296         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45297
45298 2012-03-08  Richard Henderson  <rth@twiddle.net>
45299
45300         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45301         from macro to inline function; merge with the
45302         !__LIBC_INTERNAL_MATH_INLINES version.
45303         (__ieee754_sqrtf): Likewise.
45304
45305         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45306         to inline function.
45307         (__rintf, __floor, __floorf): Likewise.
45308
45309         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45310         macro to inline function.
45311         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45312
45313         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45314         not <math/math_private.h>.
45315
45316 2012-03-08  David S. Miller  <davem@davemloft.net>
45317
45318         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45319         copyright year.
45320         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45321
45322 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45323
45324         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45325         normalization.
45326         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45327         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45328
45329 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45330
45331         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45332         be defined individually, they must be defined as a block.  Define
45333         S for printing a string instead of hidint the different by using a
45334         macro for adding the 'l'.
45335         * stdio-common/tst-fphex-wide.c: Adjust.
45336
45337 2012-03-07  Marek Polacek  <polacek@redhat.com>
45338
45339         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45340
45341 2012-03-08  Marek Polacek  <polacek@redhat.com>
45342
45343         [BZ #13806]
45344         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45345         * stdio-common/tst-fphex.c: Define a few macros to make the
45346         test reusable.  Use them.
45347         * stdio-common/tst-fphex-wide.c: New file.
45348
45349 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45350
45351         [BZ #6911]
45352         * manual/macros.texi (gnusystems): New macro.
45353         (nongnusystems): Likewise.
45354         (gnulinuxhurdsystems): Likewise.
45355         (gnuhurdsystems): Likewise..
45356         (gnulinuxsystems): Likewise.
45357         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45358         variants of the GNU system, not "GNU system".
45359         * manual/conf.texi: Likewise.
45360         * manual/errno.texi: Likewise.  Update example of errno macro
45361         expansion.
45362         * manual/filesys.texi: Likewise.
45363         (getumask): Document as specific to GNU/Hurd.
45364         * manual/install.texi: Likewise.  Reword some references to
45365         GNU/Linux.
45366         * manual/intro.texi: Likewise.
45367         * manual/io.texi: Likewise.
45368         (File Name Portability): Detail which constraints are inapplicable
45369         to all GNU systems and which are only inapplicable to GNU/Hurd.
45370         * manual/job.texi: Likewise.
45371         * manual/llio.texi: Likewise.
45372         (O_NOCTTY): Document as present on GNU/Linux.
45373         * manual/maint.texi: Likewise.
45374         * manual/memory.texi: Likewise.
45375         * manual/pattern.texi: Likewise.
45376         * manual/pipe.texi: Likewise.
45377         * manual/process.texi: Likewise.
45378         * manual/resource.texi: Likewise.
45379         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45380         child on GNU/Hurd.
45381         * manual/setjmp.texi: Likewise.
45382         * manual/signal.texi: Likewise.
45383         * manual/startup.texi: Likewise.
45384         * manual/stdio.texi: Likewise.
45385         * manual/terminal.texi: Likewise.
45386         (ONLCR): Document as POSIX.
45387         (OXTABS): Document availability on GNU/Linux as XTABS.
45388         (ONOEOT): Document availability separately from other bits.
45389         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45390         * manual/time.texi: Likewise.
45391         * manual/users.texi: Likewise.
45392         * INSTALL: Regenerated.
45393         * sysdeps/gnu/errlist.c: Regenerated.
45394
45395         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45396         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45397         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45398         puts.
45399         * configure: Regenerated.
45400
45401 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45402
45403         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45404         default includes instead of AC_HEADER_CHECK.
45405         * sysdeps/i386/configure: Regenerated.
45406
45407         [BZ #10716]
45408         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45409         * math/s_cacoshf.c (__cacoshf): Likewise.
45410         * math/s_cacoshl.c (__cacoshl): Likewise.
45411         * math/s_casinh.c (__casinh): Set signs of result from argument.
45412         * math/s_casinhf.c (__casinhf): Likewise.
45413         * math/s_casinhl.c (__casinhl): Likewise.
45414         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45415         (casinh_test): Add more tests.
45416         * sysdeps/i386/fpu/libm-test-ulps: Update.
45417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45418
45419 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45420
45421         * po/zh_TW.po: Update from translation team.
45422
45423         * login/Makefile (distribute): Remove variable.
45424         * catgets/Makefile: Likewise.
45425         * mach/Makefile: Likewise.
45426         * malloc/Makefile: Likewise.
45427         * misc/Makefile: Likewise.
45428         * iconv/Makefile: Likewise.
45429         * nscd/Makefile: Likewise.
45430         * hurd/Makefile: Likewise.
45431         * manual/Makefile: Likewise.
45432         * locale/Makefile: Likewise.
45433         * intl/Makefile: Likewise.
45434         * conform/Makefile: Likewise.
45435         * nss/Makefile: Likewise.
45436         * time/Makefile: Likewise.
45437         * soft-fp/Makefile: Likewise.
45438         * dirent/Makefile: Likewise.
45439         * gmon/Makefile: Likewise.
45440         * po/Makefile: Likewise.
45441         * rt/Makefile: Likewise.
45442         * socket/Makefile: Likewise.
45443         * math/Makefile: Likewise.
45444         * signal/Makefile: Likewise.
45445         * debug/Makefile: Likewise.
45446         * elf/Makefile: Likewise.
45447         * timezone/Makefile: Likewise.
45448         * stdlib/Makefile: Likewise.
45449         * iconvdata/Makefile: Likewise.
45450         * sunrpc/Makefile: Likewise.
45451         * io/Makefile: Likewise.
45452         * argp/Makefile: Likewise.
45453         * inet/Makefile: Likewise.
45454         * hesiod/Makefile: Likewise.
45455         * grp/Makefile: Likewise.
45456         * csu/Makefile: Likewise.
45457         * wctype/Makefile: Likewise.
45458         * crypt/Makefile: Likewise.
45459         * libio/Makefile: Likewise.
45460         * string/Makefile: Likewise.
45461         * nis/Makefile: Likewise.
45462         * resolv/Makefile: Likewise.
45463         * stdio-common/Makefile: Likewise.
45464         * wcsmbs/Makefile: Likewise.
45465         * dlfcn/Makefile: Likewise.
45466         * posix/Makefile: Likewise.
45467
45468         [BZ #6959]
45469         * timezone/Makefile: Don't install timezone files, just the programs
45470         and scripts.
45471
45472 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45473
45474         * nss/databases.def: Add missing gshadow entry.
45475
45476         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45477
45478 2012-03-06  Marek Polacek  <polacek@redhat.com>
45479
45480         [BZ #13726]
45481         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45482         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45483         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45484         * stdio-common/tst-long-dbl-fphex.c: New file.
45485
45486 2012-03-06  David S. Miller  <davem@davemloft.net>
45487
45488         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45489         (set_obp_int): New function.
45490         (get_obp_int): New function.
45491         (__get_clockfreq_via_dev_openprom): Likewise.
45492         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45493         Avoid unused variable warnings on 'val' and use builtin_expect.
45494         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45495         __builtin_expect.
45496         (INLINE_CLONE_SYSCALL): Likewise.
45497
45498 2012-03-05  David S. Miller  <davem@davemloft.net>
45499
45500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45501
45502 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45503
45504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45505
45506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45507         only for |x| >= 40.
45508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45509
45510 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45511
45512         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45513         Replace gettimeofday with __vdso_gettimeofday.
45514
45515         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45516         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45517         __vdso_clock_gettime and __vdso_getcpu.
45518
45519         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45520         time with __vdso_time.
45521
45522 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45523
45524         * manual/lang.texi (size_t): Note types to which size_t may be
45525         equivalent with the GNU C Library, but do not describe when
45526         differences between them are significant.
45527
45528 2012-03-05  Andreas Jaeger  <aj@suse.de>
45529
45530         * sysdeps/i386/fpu/libm-test-ulps: Update.
45531
45532 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45533
45534         [BZ #3976]
45535         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45536         (__ieee754_pow): Save and restore rounding mode and use
45537         round-to-nearest for main computations.
45538         * math/libm-test.inc (pow_test_tonearest): New function.
45539         (pow_test_towardzero): Likewise.
45540         (pow_test_downward): Likewise.
45541         (pow_test_upward): Likewise.
45542         (main): Call the new functions.
45543         * sysdeps/i386/fpu/libm-test-ulps: Update.
45544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45545
45546         [BZ #3976]
45547         * math/libm-test.inc (cosh_test_tonearest): New function.
45548         (cosh_test_towardzero): Likewise.
45549         (cosh_test_downward): Likewise.
45550         (cosh_test_upward): Likewise.
45551         (sinh_test_tonearest): Likewise.
45552         (sinh_test_towardzero): Likewise.
45553         (sinh_test_downward): Likewise.
45554         (sinh_test_upward): Likewise.
45555         (main): Call the new functions.
45556         * sysdeps/i386/fpu/libm-test-ulps: Update.
45557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45558
45559 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45560
45561         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45562         default stack guard is set in last bytes.
45563         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45564
45565 2012-03-05  Kees Cook  <keescook@chromium.org>
45566
45567         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45568
45569         [BZ #13656]
45570         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45571         possibly allocate from heap instead of stack.
45572         * stdio-common/bug-vfprintf-nargs.c: New file.
45573         * stdio-common/Makefile (tests): Add nargs overflow test.
45574
45575 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45576
45577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45578
45579 2012-03-03  Marek Polacek  <polacek@redhat.com>
45580
45581         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45582         * math/math_private.h: Likewise.
45583         * stdlib/tst-strtod.c: Likewise.
45584         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45585         * sysdeps/x86_64/bits/atomic.h: Likewise.
45586
45587 2012-03-02  David S. Miller  <davem@davemloft.net>
45588
45589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45593         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45594         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45595         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45596         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45597
45598 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45599
45600         [BZ #13792]
45601         * manual/examples/README: New file, says the example source files
45602         can be used under GPL>=2.
45603         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45604         line containing just "*/".
45605         * manual/examples/add.c: Add copyright header (GPL>=2).
45606         * manual/examples/argp-ex1.c: Likewise.
45607         * manual/examples/argp-ex2.c: Likewise.
45608         * manual/examples/argp-ex3.c: Likewise.
45609         * manual/examples/argp-ex4.c: Likewise.
45610         * manual/examples/atexit.c: Likewise.
45611         * manual/examples/db.c: Likewise.
45612         * manual/examples/dir.c: Likewise.
45613         * manual/examples/dir2.c: Likewise.
45614         * manual/examples/execinfo.c: Likewise.
45615         * manual/examples/filecli.c: Likewise.
45616         * manual/examples/filesrv.c: Likewise.
45617         * manual/examples/fmtmsgexpl.c: Likewise.
45618         * manual/examples/genpass.c: Likewise.
45619         * manual/examples/inetcli.c: Likewise.
45620         * manual/examples/inetsrv.c: Likewise.
45621         * manual/examples/isockad.c: Likewise.
45622         * manual/examples/longopt.c: Likewise.
45623         * manual/examples/memopen.c: Likewise.
45624         * manual/examples/memstrm.c: Likewise.
45625         * manual/examples/mkfsock.c: Likewise.
45626         * manual/examples/mkisock.c: Likewise.
45627         * manual/examples/mygetpass.c: Likewise.
45628         * manual/examples/pipe.c: Likewise.
45629         * manual/examples/popen.c: Likewise.
45630         * manual/examples/rprintf.c: Likewise.
45631         * manual/examples/search.c: Likewise.
45632         * manual/examples/select.c: Likewise.
45633         * manual/examples/setjmp.c: Likewise.
45634         * manual/examples/sigh1.c: Likewise.
45635         * manual/examples/sigusr.c: Likewise.
45636         * manual/examples/stpcpy.c: Likewise.
45637         * manual/examples/strdupa.c: Likewise.
45638         * manual/examples/strftim.c: Likewise.
45639         * manual/examples/strncat.c: Likewise.
45640         * manual/examples/subopt.c: Likewise.
45641         * manual/examples/swapcontext.c: Likewise.
45642         * manual/examples/termios.c: Likewise.
45643         * manual/examples/testopt.c: Likewise.
45644         * manual/examples/testpass.c: Likewise.
45645         * manual/examples/timeval_subtract.c: Likewise.
45646
45647         [BZ #13792]
45648         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45649         function to ...
45650         * manual/timeval_subtract.c.texi: ... here, new file.
45651
45652 2012-03-02  David S. Miller  <davem@davemloft.net>
45653
45654         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45655
45656 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45657
45658         [BZ #3976]
45659         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45660         (__sin): Save and restore rounding mode and use round-to-nearest
45661         for all computations.
45662         (__cos): Save and restore rounding mode and use round-to-nearest
45663         for all computations.
45664         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45665         <fenv.h>.
45666         (tan): Save and restore rounding mode and use round-to-nearest for
45667         all computations.
45668         * math/libm-test.inc (cos_test_tonearest): New function.
45669         (cos_test_towardzero): Likewise.
45670         (cos_test_downward): Likewise.
45671         (cos_test_upward): Likewise.
45672         (sin_test_tonearest): Likewise.
45673         (sin_test_towardzero): Likewise.
45674         (sin_test_downward): Likewise.
45675         (sin_test_upward): Likewise.
45676         (tan_test_tonearest): Likewise.
45677         (tan_test_towardzero): Likewise.
45678         (tan_test_downward): Likewise.
45679         (tan_test_upward): Likewise.
45680         (main): Call the new functions.
45681         * sysdeps/i386/fpu/libm-test-ulps: Update.
45682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45683
45684         [BZ #10135]
45685         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45686         small n, then large n, before computing and testing k+n.
45687         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45688         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45689         Likewise.
45690         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45691         Likewise.
45692         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45693         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45694         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45695         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45696         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45697         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45699         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45700         * math/libm-test.inc (scalbn_test): Add more tests.
45701         (scalbln_test): Likewise.
45702
45703         * manual/filesys.texi (mode_t): Describe constraints on size and
45704         signedness, not exact equivalence to a particular type.
45705         (ino_t): Likewise.
45706         (ino64_t): Likewise.
45707         (dev_t): Likewise.
45708         (nlink_t): Likewise.
45709         (blkcnt_t): Likewise.
45710         (blkcnt64_t): Likewise.
45711         * manual/llio.texi (off_t): Likewise.
45712
45713         [BZ #3976]
45714         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45715         (__ieee754_exp): Save and restore rounding mode and use
45716         round-to-nearest for all computations.
45717         * math/libm-test.inc (exp_test_tonearest): New function.
45718         (exp_test_towardzero): Likewise.
45719         (exp_test_downward): Likewise.
45720         (exp_test_upward): Likewise.
45721         (main): Call the new functions.
45722         * sysdeps/i386/fpu/libm-test-ulps: Update.
45723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45724
45725 2012-03-01  Chris Demetriou  <cgd@google.com>
45726
45727         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45728         have predictable order.
45729
45730 2012-03-01  David S. Miller  <davem@davemloft.net>
45731
45732         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45733
45734         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45735         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45736         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45737         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45738
45739         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45740         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45741         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45743         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45744         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45745         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45746         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45747         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45748
45749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45750
45751         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45752         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45753         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45754
45755         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45756         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45757         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45758         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45759         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45760         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45761         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45762         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45763         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45764         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45765         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45766         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45768         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45769         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45770         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45771         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45772         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45773         * sysdeps/sparc/elf/configure: Regenerated.
45774
45775 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45776
45777         * configure.in (AS, LD): Require binutils 2.20 or later.
45778         * configure: Regenerated.
45779         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45780         as required minimum version.
45781         * INSTALL: Regenerated.
45782
45783         [BZ #2541]
45784         [BZ #4108]
45785         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45786         before squaring exponent.
45787         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45788         bottom long double and 27 bits of top long double before squaring
45789         exponent.
45790         * math/libm-test.inc (erfc_test): Add more tests.
45791         * sysdeps/i386/fpu/libm-test-ulps: Update.
45792         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45794
45795 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45796
45797         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45798         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45799         containing bit-fields.
45800         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45801         * soft-fp/single.h (_FP_UNION_S): Likewise.
45802         * soft-fp/double.h (_FP_UNION_D): Likewise.
45803
45804 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45805
45806         [BZ #13786]
45807         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45808         not include ../strcmp.S.
45809         [USE_AS_STRNCASECMP_L]: Likewise.
45810         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45811         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45812         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45813         (__strncasecmp_l_ia32): Define as alias to
45814         __strncasecmp_l_nonascii.
45815
45816         [BZ #5794]
45817         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45818         * sysdeps/i386/fpu/libm-test-ulps: Update.
45819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45820
45821         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823
45824 2012-02-29  Jeff Law  <law@redhat.com>
45825
45826         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45827         out of bounds read.
45828
45829 2012-02-29  Marek Polacek  <polacek@redhat.com>
45830
45831         [BZ #13706]
45832         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45833         * elf/Makefile: Add rules to run tst-unused-dep.out.
45834
45835 2012-02-28  David S. Miller  <davem@davemloft.net>
45836
45837         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45838         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45839         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45840         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45841         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45842         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45843
45844 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45845
45846         * math/libm-test.inc (llround_test): Move one test from
45847         lround_test.  Use TEST_f_L in moved test.
45848         (lround_test): Move misplaced test to llround_test.  Add testcase
45849         from bug 2561.
45850
45851 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45852
45853         * sysdeps/x86_64/fpu/e_expf.S: New file.
45854         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45855
45856 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45857
45858         [BZ #13637]
45859         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45860         of remain_len that may cause incomplete multi-byte character and
45861         false match.
45862         * posix/bug-regex33.c: New file.
45863         * posix/Makefile (tests): Add bug-regex33.
45864
45865 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45866
45867         * manual/macros.texi: New file.
45868         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45869         * manual/libc.texinfo: Include macros.texi.
45870         * manual/creatute.texi: Likewise.
45871         * manual/install.texi: Likewise.
45872         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45873         @glibcadj{} in references to the GNU C Library.
45874         * manual/charset.texi: Likewise.
45875         * manual/conf.texi: Likewise.
45876         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45877         when not using those macros.
45878         * manual/creature.texi: Likewise.
45879         * manual/crypt.texi: Likewise.
45880         * manual/errno.texi: Likewise.
45881         * manual/filesys.texi: Likewise.
45882         * manual/header.texi: Likewise.
45883         * manual/install.texi: Likewise.
45884         * manual/intro.texi: Likewise.
45885         * manual/io.texi: Likewise.
45886         * manual/job.texi: Likewise.
45887         * manual/lang.texi: Likewise.
45888         * manual/libc.texiinfo: Likewise.
45889         * manual/llio.texi: Likewise.
45890         * manual/locale.texi: Likewise.
45891         * manual/maint.texi: Likewise.
45892         * manual/math.texi: Likewise.
45893         * manual/memory.texi: Likewise.
45894         * manual/message.texi: Likewise.
45895         * manual/nss.texi: Likewise.
45896         * manual/pattern.texi: Likewise.
45897         * manual/process.texi: Likewise.
45898         * manual/resource.texi: Likewise.
45899         * manual/search.texi: Likewise.
45900         * manual/setjmp.texi: Likewise.
45901         * manual/signal.texi: Likewise.
45902         * manual/socket.texi: Likewise.
45903         * manual/startup.texi: Likewise.
45904         * manual/stdio.texi: Likewise.
45905         * manual/string.texi: Likewise.
45906         * manual/sysinfo.texi: Likewise.
45907         * manual/syslog.texi: Likewise.
45908         * manual/terminal.texi: Likewise.
45909         * manual/time.texi: Likewise.
45910         * manual/users.texi: Likewise.
45911         * INSTALL: Regenerated.
45912         * NOTES: Regenerated.
45913         * sysdeps/gnu/errlist.c: Regenerated.
45914
45915 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45916
45917         * include/dirent.h: Include <dirstream.h> before
45918         <dirent/dirent.h>.
45919
45920 2012-02-28  David S. Miller  <davem@davemloft.net>
45921
45922         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45923         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45924         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45925         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45926
45927 2012-02-27  David S. Miller  <davem@davemloft.net>
45928
45929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45931         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45932         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45933
45934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45935         frame pointer instead of stack pointer relative arg slot.
45936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45937         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45938         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45939
45940 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45941
45942         [BZ #3992]
45943         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45944
45945 2012-02-27  David S. Miller  <davem@davemloft.net>
45946
45947         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45951         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45952         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45953         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45954         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45955
45956 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45957
45958         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45959         later.  Allow versions 5-9.
45960         * configure: Regenerated.
45961         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45962         required minimum version and 4.6 as recommended version.  Do not
45963         mention bugs in GCC 2.7 and 2.8.
45964         * INSTALL: Regenerated.
45965
45966 2012-02-27  David S. Miller  <davem@davemloft.net>
45967
45968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45972         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45973         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45974         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45975         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45976
45977         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45978         manipulate bits before adding and subtracting TWO112[sx].
45979         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45980
45981 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45982
45983         [BZ #13775]
45984         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45985         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45986         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45987         being in POSIX, because they are in 1003.1-2008.
45988
45989         * rt/tst-aio.c: Include <fcntl.h>.
45990         * rt/tst-aio7.c: Likewise.
45991         * rt/tst-aio64.c: Likewise.
45992
45993         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45994
45995 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45996
45997         * manual/install.texi (--with-headers): Describe headers as
45998         interface headers, not private headers.
45999         (Specific advice for GNU/Linux systems): Describe use of headers
46000         from "make headers_install", not private headers from older
46001         kernels.
46002         * INSTALL: Regenerated.
46003         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46004         Change to 2.6.19.
46005         * sysdeps/unix/sysv/linux/configure: Regenerated.
46006
46007         * manual/llio.texi (fclean): Remove documentation.
46008
46009         * manual/Makefile (libc-texi-generated): New variable.  Include
46010         version.texi.
46011         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46012         $(libc-texi-generated), not duplicated list of files.
46013         (version.texi, stamp-version): New rules.
46014         (realclean): Remove $(libc-texi-generated), not individual files
46015         from that list.  Do not remove dir-add.texinfo.
46016         * manual/libc.texinfo: Comment out uses of edition numbers and
46017         references to printed manual.  Remove last-updated dates.
46018         (EDITION): Comment out.
46019         (ISBN): Likewise.
46020         (VERSION, UPDATED): Remove.
46021         (version.texi): Include.
46022
46023 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46024
46025         * sysdeps/posix/spawni.c: Include <signal.h>.
46026         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46027         * sysdeps/pthread/aio_fsync.c: Likewise.
46028
46029 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46030
46031         * conform/Makefile (tests): Run only when not cross-compiling and
46032         when fast-check is not defined.
46033
46034         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46035         * conform/data/limits.h-data: Fixes for POSIX2008.
46036         * conform/run-conformtest.sh: Run all tests.
46037         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46038         headers.
46039         * include/bits/dlfcn.h: Likewise.
46040         * include/langinfo.h: Likewise.
46041         * include/monetary.h: Likewise.
46042         * include/sys/poll.h: Likewise.
46043
46044         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46045         for __USE_GNU.
46046         * posix/spawn.h: Define __need_sigset_t.
46047         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46048         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46049         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46050         to get sigevent_t only.
46051         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46052         only for __USE_GNU.
46053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46054         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46055         process_vm_writev only for __USE_GNU.
46056         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46057
46058         * conform/Makefile: For now ignore errors from run-conformtest.
46059         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46060         POSIX to avoid namespace pollution.  Don't prepend headers.
46061         * conform/data/aio.h-data: Fixes for POSIX testing.
46062         * conform/data/fcntl.h-data: Likewise.
46063         * conform/data/glob.h-data: Likewise.
46064         * conform/data/grp.h-data: Likewise.
46065         * conform/data/pthread.h-data: Likewise.
46066         * conform/data/pwd.h-data: Likewise.
46067         * conform/data/signal.h-data: Likewise.
46068         * conform/data/spawn.h-data: Likewise.
46069         * conform/data/stdio.h-data: Likewise.
46070         * conform/data/stdlib.h-data: Likewise.
46071         * conform/data/stropts.h-data: Likewise.
46072         * conform/data/sys/mman.h-data: Likewise.
46073         * conform/data/sys/stat.h-data: Likewise.
46074         * conform/data/sys/types.h-data: Likewise.
46075         * conform/data/sys/wait.h-data: Likewise.
46076         * conform/data/time.h-data: Likewise.
46077         * conform/data/unistd.h-data: Likewise.
46078         * conform/data/utime.h-data: Likewise.
46079
46080         * io/sys/stat.h: fchmod was always in POSIX.
46081         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46082         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46083         * rt/aio.h: Define __need_timespec before including <time.h>.
46084         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46085         struct.  Add forward declaration of pthread_attr_t and use it in
46086         sigevent.
46087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46088         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46089         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46090         always remove CLK_TCK definition.
46091
46092 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46093
46094         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46095
46096 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46097
46098         * conform/run-conformtest.sh: New file.
46099         * conform/Makefile: Run run-conformtest for tests.
46100         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46101         support.
46102
46103         * conform/data/uchar.h-data: New file.
46104         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46105         * conform/data/arpa/inet.h-data: Likewise.
46106         * conform/data/assert.h-data: Likewise.
46107         * conform/data/complex.h-data: Likewise.
46108         * conform/data/cpio.h-data: Likewise.
46109         * conform/data/ctype.h-data: Likewise.
46110         * conform/data/dirent.h-data: Likewise.
46111         * conform/data/dlfcn.h-data: Likewise.
46112         * conform/data/errno.h-data: Likewise.
46113         * conform/data/fcntl.h-data: Likewise.
46114         * conform/data/float.h-data: Likewise.
46115         * conform/data/fmtmsg.h-data: Likewise.
46116         * conform/data/fnmatch.h-data: Likewise.
46117         * conform/data/ftw.h-data: Likewise.
46118         * conform/data/glob.h-data: Likewise.
46119         * conform/data/grp.h-data: Likewise.
46120         * conform/data/iconv.h-data: Likewise.
46121         * conform/data/inttypes.h-data: Likewise.
46122         * conform/data/langinfo.h-data: Likewise.
46123         * conform/data/libgen.h-data: Likewise.
46124         * conform/data/limits.h-data: Likewise.
46125         * conform/data/locale.h-data: Likewise.
46126         * conform/data/math.h-data: Likewise.
46127         * conform/data/monetary.h-data: Likewise.
46128         * conform/data/mqueue.h-data: Likewise.
46129         * conform/data/ndbm.h-data: Likewise.
46130         * conform/data/net/if.h-data: Likewise.
46131         * conform/data/netdb.h-data: Likewise.
46132         * conform/data/netinet/in.h-data: Likewise.
46133         * conform/data/nl_types.h-data: Likewise.
46134         * conform/data/poll.h-data: Likewise.
46135         * conform/data/pthread.h-data: Likewise.
46136         * conform/data/pwd.h-data: Likewise.
46137         * conform/data/regex.h-data: Likewise.
46138         * conform/data/sched.h-data: Likewise.
46139         * conform/data/search.h-data: Likewise.
46140         * conform/data/semaphore.h-data: Likewise.
46141         * conform/data/setjmp.h-data: Likewise.
46142         * conform/data/signal.h-data: Likewise.
46143         * conform/data/spawn.h-data: Likewise.
46144         * conform/data/stdarg.h-data: Likewise.
46145         * conform/data/stdio.h-data: Likewise.
46146         * conform/data/stdlib.h-data: Likewise.
46147         * conform/data/string.h-data: Likewise.
46148         * conform/data/strings.h-data: Likewise.
46149         * conform/data/stropts.h-data: Likewise.
46150         * conform/data/sys/ipc.h-data: Likewise.
46151         * conform/data/sys/mman.h-data: Likewise.
46152         * conform/data/sys/msg.h-data: Likewise.
46153         * conform/data/sys/resource.h-data: Likewise.
46154         * conform/data/sys/select.h-data: Likewise.
46155         * conform/data/sys/sem.h-data: Likewise.
46156         * conform/data/sys/shm.h-data: Likewise.
46157         * conform/data/sys/socket.h-data: Likewise.
46158         * conform/data/sys/stat.h-data: Likewise.
46159         * conform/data/sys/statvfs.h-data: Likewise.
46160         * conform/data/sys/time.h-data: Likewise.
46161         * conform/data/sys/timeb.h-data: Likewise.
46162         * conform/data/sys/times.h-data: Likewise.
46163         * conform/data/sys/types.h-data: Likewise.
46164         * conform/data/sys/uio.h-data: Likewise.
46165         * conform/data/sys/un.h-data: Likewise.
46166         * conform/data/sys/utsname.h-data: Likewise.
46167         * conform/data/sys/wait.h-data: Likewise.
46168         * conform/data/syslog.h-data: Likewise.
46169         * conform/data/tar.h-data: Likewise.
46170         * conform/data/termios.h-data: Likewise.
46171         * conform/data/utime.h-data: Likewise.
46172         * conform/data/utmpx.h-data: Likewise.
46173         * conform/data/varargs.h-data: Likewise.
46174         * conform/data/wchar.h-data: Likewise.
46175         * conform/data/wctype.h-data: Likewise.
46176         * conform/data/wordexp.h-data: Likewise.
46177
46178         * include/stropts.h: New file.
46179         * include/uchar.h: New file.
46180         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46181         * include/assert.h: Likewise.
46182         * include/ctype.h: Likewise.
46183         * include/dirent.h: Likewise.
46184         * include/dlfcn.h: Likewise.
46185         * include/fcntl.h: Likewise.
46186         * include/fnmatch.h: Likewise.
46187         * include/glob.h: Likewise.
46188         * include/grp.h: Likewise.
46189         * include/libio.h: Likewise.
46190         * include/locale.h: Likewise.
46191         * include/math.h: Likewise.
46192         * include/net/if.h: Likewise.
46193         * include/netdb.h: Likewise.
46194         * include/netinet/in.h: Likewise.
46195         * include/pthread.h: Likewise.
46196         * include/pwd.h: Likewise.
46197         * include/regex.h: Likewise.
46198         * include/sched.h: Likewise.
46199         * include/search.h: Likewise.
46200         * include/setjmp.h: Likewise.
46201         * include/signal.h: Likewise.
46202         * include/stdio.h: Likewise.
46203         * include/stdlib.h: Likewise.
46204         * include/string.h: Likewise.
46205         * include/sys/cdefs.h: Likewise.
46206         * include/sys/mman.h: Likewise.
46207         * include/sys/msg.h: Likewise.
46208         * include/sys/resource.h: Likewise.
46209         * include/sys/select.h: Likewise.
46210         * include/sys/socket.h: Likewise.
46211         * include/sys/stat.h: Likewise.
46212         * include/sys/statvfs.h: Likewise.
46213         * include/sys/time.h: Likewise.
46214         * include/sys/times.h: Likewise.
46215         * include/sys/uio.h: Likewise.
46216         * include/sys/utsname.h: Likewise.
46217         * include/sys/wait.h: Likewise.
46218         * include/termios.h: Likewise.
46219         * include/time.h: Likewise.
46220         * include/ulimit.h: Likewise.
46221         * include/unistd.h: Likewise.
46222         * include/utime.h: Likewise.
46223         * include/wchar.h: Likewise.
46224         * include/wctype.h: Likewise.
46225         * include/wordexp.h: Likewise.
46226
46227         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46228
46229         * time/time.h: TIME_UTC must be a macro.
46230         Make timespec_get available for ISO C11 only as well.
46231
46232 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46233
46234         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46235         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46236
46237 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46238
46239         * configure.in: Use -o not -a in test for unsupported multi-arch.
46240
46241 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46242
46243         * manual/texinfo.tex: Update to version 2012-01-19.16.
46244
46245 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46246
46247         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46248
46249 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46250
46251         [BZ #13738]
46252         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46253         * manual/fdl-1.3.texi: New file.
46254         * manual/fdl-1.1.texi: File removed.
46255
46256         [BZ #13738]
46257         * manual/libc.texinfo (FDL_VERSION): New @set.
46258         Use it for mention of FDL in cover text.
46259         (Documentation License): Use it in @include file name.
46260
46261 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46262             Roland McGrath  <roland@hack.frob.com>
46263
46264         [BZ #5461]
46265         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46266         (not LONG_LONG_MAX and LONG_LONG_MIN.
46267         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46268         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46269         name.
46270         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46271
46272 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46273
46274         [BZ #2547]
46275         [BZ #11365]
46276         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46277         manipulate bits before adding and subtracting TWO23[sx].
46278         * math/libm-test.inc (nearbyint_test): Add more tests.
46279
46280 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46281
46282         [BZ #2548]
46283         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46284         bits before adding and subtracting TWO23[sx].
46285         * math/libm-test.inc (rint_test): Add more tests.
46286         (rint_test_tonearest): Likewise.
46287         (rint_test_towardzero): Likewise.
46288         (rint_test_downward): Likewise.
46289         (rint_test_upward: Likewise.
46290
46291 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46292
46293         [BZ #10110]
46294         * include/stdc-predef.h: New file.  Extracted from features.h.
46295         * include/features.h: Include stdc-predef.h.
46296         * Makefile (headers): Add stdc-predef.h.
46297         * CONFORMANCE (Compiler limitations): Update.
46298
46299 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46300
46301         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46302
46303 2012-02-21  David S. Miller  <davem@davemloft.net>
46304
46305         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46306         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46307
46308 2012-02-20  David S. Miller  <davem@davemloft.net>
46309
46310         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46311         using a normal save/restore sequence, rather than allocating a
46312         dummy stack frame just to store a frame pointer and restore.
46313         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46314
46315 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46316
46317         * manual/install.texi: Fix stray word in line-wrapped comment.
46318
46319 2012-02-20  David S. Miller  <davem@davemloft.net>
46320
46321         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46322         both binutils and gcc support GOTDATA.
46323
46324         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46325         "rd %pc" in the PIC register setup sequences.
46326
46327         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46328         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46329         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46330         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46331         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46333         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46334         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46336         (SYSCALL_ERROR_HANDLER): Likewise.
46337         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46338         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46339         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46340         (SYSCALL_ERROR_HANDLER): Likewise.
46341
46342         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46343         (HAVE_GCC_GOTDATA): New.
46344         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46345         relocation support in both binutils and gcc.
46346         * sysdeps/sparc/elf/configure: Regenerate.
46347
46348         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46349         * sysdeps/sparc/sparc32/elf/configure: Delete.
46350         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46351         * sysdeps/sparc/sparc64/elf/configure: Delete.
46352         * sysdeps/sparc/elf/configure.in: New file.
46353         * sysdeps/sparc/elf/configure: Generate.
46354
46355         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46356         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46357         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46358         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46359         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46360
46361 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46362
46363         * manual/install.texi: Do not mention specific glibc version
46364         numbers.
46365         * manual/libc.texinfo (VERSION, UPDATED): Update.
46366         (@copying): Use @copyright{} and range of years.
46367
46368 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46369
46370         [BZ #13695]
46371         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46372         [crti.S not in sysdirs] (generated): Do not append.
46373         [crti.S not in sysdirs] (omit-deps): Likewise.
46374         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46375         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46376         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46377         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46378         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46379         Likewise.
46380         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46381         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46382         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46383         * csu/defs.awk: Remove file.
46384         * sysdeps/generic/initfini.c: Likewise.
46385         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46386         variable.
46387         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46388         Likewise.
46389
46390 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46391
46392         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46393         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46394         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46395         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46396         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46397         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46398         <bits/epoll.h>.
46399         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46400         (__EPOLL_PACKED): Define to empty if not defined by
46401         <bits/epoll.h>.
46402         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46403         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46404         bits/epoll.h.
46405
46406 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46407
46408         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46409         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46410         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46411         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46412         <bits/timerfd.h>.
46413         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46415         bits/timerfd.h.
46416
46417 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46418
46419         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46420         in C locale.
46421         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46422         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46423         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46425
46426 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46427
46428         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46429         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46430
46431 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46432
46433         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46434         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46435         defined.
46436         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46437         Likewise.
46438         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46439         entry for 2.16.
46440
46441 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46442
46443         * math/w_acos.c: Use non-signaling floating-point comparisons.
46444         * math/w_acosf.c: Likewise.
46445         * math/w_acosh.c: Likewise.
46446         * math/w_acoshf.c: Likewise.
46447         * math/w_acoshl.c: Likewise.
46448         * math/w_acosl.c: Likewise.
46449         * math/w_asin.c: Likewise.
46450         * math/w_asinf.c: Likewise.
46451         * math/w_asinl.c: Likewise.
46452         * math/w_atanh.c: Likewise.
46453         * math/w_atanhf.c: Likewise.
46454         * math/w_atanhl.c: Likewise.
46455         * math/w_exp2.c: Likewise.
46456         * math/w_exp2f.c: Likewise.
46457         * math/w_exp2l.c: Likewise.
46458         * math/w_j0.c: Likewise.
46459         * math/w_j0f.c: Likewise.
46460         * math/w_j0l.c: Likewise.
46461         * math/w_j1.c: Likewise.
46462         * math/w_j1f.c: Likewise.
46463         * math/w_j1l.c: Likewise.
46464         * math/w_jn.c: Likewise.
46465         * math/w_jnf.c: Likewise.
46466         * math/w_log.c: Likewise.
46467         * math/w_log10.c: Likewise.
46468         * math/w_log10f.c: Likewise.
46469         * math/w_log10l.c: Likewise.
46470         * math/w_log2.c: Likewise.
46471         * math/w_log2f.c: Likewise.
46472         * math/w_log2l.c: Likewise.
46473         * math/w_logf.c: Likewise.
46474         * math/w_logl.c: Likewise.
46475         * math/w_sqrt.c: Likewise.
46476         * math/w_sqrtf.c: Likewise.
46477         * math/w_sqrtl.c: Likewise.
46478         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46479         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46481         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46482         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46483
46484 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46485
46486         [BZ #9739]
46487         * manual/string.texi (strnlen): Use correct parameter name in
46488         equivalent expression.
46489
46490 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46491
46492         [BZ #11174]
46493         * manual/users.texi (seteuid): Consistently use neweuid for
46494         argument name.
46495
46496 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46497
46498         [BZ #13704]
46499         * manual/nss.texi (Services in the NSS configuration): Correct
46500         list of services in example configuration file.
46501
46502 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46503
46504         [BZ #11322]
46505         * manual/arith.texi: Remove statements about negative zero
46506         behaving identically to zero.
46507
46508 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46509
46510         [BZ #5993]
46511         * manual/install.texi: Do not document upgrading from libc5.
46512
46513 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46514
46515         [BZ #4596]
46516         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46517
46518 2012-02-18  David S. Miller  <davem@davemloft.net>
46519
46520         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46521         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46522         %o7 across the call.
46523         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46524         instead.
46525         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46526         SETUP_PIC_REG_LEAF.
46527         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46528         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46529         * sysdeps/sparc/crtn.S: Likewise.
46530
46531 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46532
46533         * aout/Makefile: Remove.
46534
46535 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46536
46537         [BZ #13058]
46538         * manual/examples/argp-ex1.c (main): Format definition in GNU
46539         style.
46540         * manual/examples/argp-ex2.c (main): Likewise.
46541         * manual/examples/argp-ex3.c (main): Likewise.
46542         * manual/examples/argp-ex4.c (main): Likewise.
46543         * manual/examples/longopt.c (main): Use new-style prototype
46544         definition.
46545         * manual/examples/strncat.c (main): Specify return type and use
46546         (void) for arguments.
46547         * manual/examples/subopt.c (main): Use char **argv argument.
46548
46549 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46550
46551         [BZ #5077]
46552         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46553         rounding modes.
46554
46555 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46556
46557         [BZ #6907]
46558         * manual/string.texi (strchr): Change when strchrnul is
46559         recommended.
46560
46561 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46562
46563         [BZ #174]
46564         * manual/locale.texi (setlocale): Document LOCPATH.
46565
46566 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46567
46568         [BZ #10210]
46569         * manual/process.texi (execle): Move @dots{} before last argument.
46570
46571 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46572
46573         [BZ #12047]
46574         * manual/charset.texi (Generic Charset Conversion): Fix typo
46575         (LC_TYPE -> LC_CTYPE).
46576
46577 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46578
46579         [BZ #5805]
46580         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46581         (scalbnf): Likewise.
46582         (scalbnl): Likewise.
46583         (scalbln): Likewise.
46584         (scalblnf): Likewise.
46585         (scalblnl): Likewise.
46586         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46587         (vwarnx): Likewise.
46588         (verr): Likewise.
46589         (verrx): Likewise.
46590         * manual/filesys.texi (telldir): Use braces around return type.
46591         * manual/llio.texi (mmap): Add space after comma.
46592         (mmap64): Likewise.
46593         * manual/math.texi (jn): Use @var{} on parameter names.
46594         (jnf): Likewise.
46595         (jnl): Likewise.
46596         (yn): Likewise.
46597         (ynf): Likewise.
46598         (ynl): Likewise.
46599         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46600         line.
46601         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46602         "...".
46603         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46604         (sched_get_priority_max): Likewise.
46605         * manual/signal.texi (sigvec): Add space after comma.
46606         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46607         names.
46608         (if_indextoname): Likewise.
46609         (if_freenameindex): Likewise.
46610         (sendto): Use ',' instead of '.' in prototype.
46611         * manual/startup.texi (syscall): Use @dots{} instead of literal
46612         "...".
46613         * manual/stdio.texi (__fpending): Separate initial words of
46614         paragraph from @deftypefun line.
46615         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46616         "...".
46617         (vsyslog): Use @var{} on parameter names.
46618         * manual/terminal.texi (stty): Use @var{} on parameter names.
46619         * manual/users.texi (getutmp): Use @var{} on parameter names.
46620         (getutmpx): Likewise.
46621
46622 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46623
46624         [BZ #6884]
46625         * manual/stdio.texi (fopen): Fix typos in description of
46626         ",ccs=STRING".
46627
46628 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46629
46630         [BZ #4026]
46631         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46632         get clock_id definition.
46633
46634 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46635
46636         [BZ #4822]
46637         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46638         (madvise): Cast every argument to void on its own.
46639
46640 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46641
46642         [BZ #9902]
46643         * manual/startup.texi (Exit Status): Fix typo.
46644
46645 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46646
46647         [BZ #10140]
46648         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46649         * manual/examples/argp-ex2.c: Likewise.
46650         * manual/examples/argp-ex3.c: Likewise.
46651
46652 2012-02-16  Richard Henderson  <rth@redhat.com>
46653
46654         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46655         * sysdeps/s390/s390-32/initfini.c: Remove.
46656         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46657         * sysdeps/s390/s390-64/initfini.c: Remove.
46658
46659 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46660
46661         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46662         compiler output for sysdeps/generic/initfini.c.
46663         * sysdeps/sh/elf/initfini.c: Remove file.
46664
46665 2012-02-16  David S. Miller  <davem@davemloft.net>
46666
46667         [BZ #11494]
46668         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46669
46670         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46671         * sysdeps/sparc/crti.S: New file.
46672         * sysdeps/sparc/crtn.S: New file.
46673         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46674         * sysdeps/sparc/sparc64/Makefile: Likewise.
46675
46676 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46677
46678         [BZ #3335]
46679         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46680
46681 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46682
46683         [BZ #4822]
46684         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46685
46686         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46687         (write, read, close): Likewise.
46688         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46689
46690 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46691
46692         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46693         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46694         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46695         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46696         <bits/signalfd.h>.
46697         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46699         bits/signalfd.h.
46700
46701 2012-02-14  Marek Polacek  <polacek@redhat.com>
46702
46703         * sysdeps/x86_64/crti.S: New file.
46704         * sysdeps/x86_64/crtn.S: New file.
46705         * sysdeps/x86_64/elf/initfini.c: Remove file.
46706
46707 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46708
46709         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46710         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46711         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46712         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46713         <bits/inotify.h>.
46714         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46716         bits/inotify.h.
46717
46718 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46719
46720         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46721         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46722         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46723         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46724         <bits/eventfd.h>.
46725         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46727         bits/eventfd.h.
46728
46729 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46730
46731         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46732         __feraiseexcept instead of feraiseexcept.
46733
46734         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46735         nanosleep invocations.
46736         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46737         strings, and add error checking for a nanosleep invocations.
46738
46739 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46740
46741         Replace FSF snail mail address with URLs, as per GNU coding standards.
46742         Most of the snail mail addresses were wrong anyway, and omitting
46743         them makes the source code easier to maintain.  Almost all of the
46744         changes are to license notices and to locale LC_IDENTIFICATION
46745         addresses, except for this one:
46746         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46747         not its snail mail address.
46748
46749 2012-02-09  Richard Henderson  <rth@twiddle.net>
46750
46751         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46752         of kernel-features.h.
46753
46754         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46755
46756 2012-02-08  Marek Polacek  <polacek@redhat.com>
46757
46758         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46759         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46760         * sysdeps/gnu/_G_config.h: Likewise.
46761         * sysdeps/generic/_G_config.h: Likewise.
46762
46763 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46764
46765         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46766         tests.
46767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46768
46769         * sysdeps/powerpc/powerpc32/crti.S: New file.
46770         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46771         * sysdeps/powerpc/powerpc64/crti.S: New file.
46772         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46773
46774         * Makeconfig (have-initfini): Don't set.
46775         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46776         * configure.in (nopic_initfini): Don't substitute.
46777         * config.h.in (HAVE_INITFINI): Don't #undef.
46778         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46779         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46780
46781 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46782
46783         Support crti.S and crtn.S provided directly by architectures.
46784         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46785         [crti.S in sysdirs] (omit-deps): Likewise.
46786         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46787         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46788         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46789         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46790         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46791         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46792         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46793         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46794         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46795         compiler output for sysdeps/generic/initfini.c.
46796         * sysdeps/i386/elf/Makefile: Remove file.
46797         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46798
46799 2012-02-07  Marek Polacek  <polacek@redhat.com>
46800
46801         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46802         * sysdeps/gnu/_G_config.h: Likewise.
46803         * sysdeps/mach/hurd/_G_config.h: Likewise.
46804
46805 2012-02-07  Marek Polacek  <polacek@redhat.com>
46806
46807         * math/Makefile (tests): Add tst-CMPLX2.
46808         * math/tst-CMPLX2.c: New file.
46809
46810 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46811
46812         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46813
46814         * math/libm-test.inc (jn_test): Add missing L suffix.
46815
46816 2012-02-06  Marek Polacek  <polacek@redhat.com>
46817
46818         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46819         * sysdeps/i386/fpu/e_powf.S: Likewise.
46820         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46821         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46822         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46823         * sysdeps/i386/fpu/e_pow.S: Likewise.
46824         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46825         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46826         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46827         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46828         * sysdeps/i386/fpu/e_log2.S: Likewise.
46829         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46830         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46831         * sysdeps/i386/fpu/e_powl.S: Likewise.
46832         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46833         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46834         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46835         * sysdeps/i386/fpu/e_logl.S: Likewise.
46836         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46837         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46838         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46839         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46840         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46841         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46842         * sysdeps/i386/fpu/e_log.S: Likewise.
46843         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46844         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46845         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46846         * sysdeps/i386/fpu/e_logf.S: Likewise.
46847         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46848         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46849         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46850         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46851         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46852         * sysdeps/i386/fpu/e_log10.S: Likewise.
46853         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46854         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46855         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46856         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46857         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46858         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46859         * sysdeps/i386/asm-syntax.h: Likewise.
46860         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46861         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46862         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46863         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46864         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46865         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46866         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46867         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46868         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46869         * sysdeps/powerpc/sysdep.h: Likewise.
46870         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46871         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46872
46873 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46874
46875         [BZ #411]
46876         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46877
46878 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46879
46880         * sysdeps/i386/sysdep.h: Include <features.h>.
46881         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46882         version.
46883
46884 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46885
46886         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46887         Define.
46888         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46889         LOAD_PIC_REG_STR.
46890
46891 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46892
46893         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46894         (SETUP_PIC_REG): Use GET_PC_THUNK.
46895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46896         macro.
46897
46898 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46899
46900         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46901         for non-PIC compilation.
46902         (SETUP_PIC_REG): Add .p2align directive.
46903         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46904         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46905         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46906         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46907         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46908         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46909         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46910         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46911         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46912         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46913         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46914         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46915         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46916         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46917         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46918         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46919         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46920         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46921         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46922         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46923         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46925         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46926         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46929         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46930         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46931         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46932         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46933         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46934         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46935         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46936         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46937         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46938         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46939         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46940         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46941         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46942         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46943         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46944
46945 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46946
46947         * math/tst-CMPLX.c: Include <stdio.h>.
46948
46949 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46950
46951         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46952         float.
46953         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46954         * sysdeps/sparc/bits/mathdef.h: Likewise.
46955
46956 2012-01-31  Marek Polacek  <polacek@redhat.com>
46957
46958         * libio/libio.h: Don't define _PARAMS.
46959         * locale/programs/config.h: Don't define PARAMS.
46960         * stdlib/strtol_l.c: Likewise.
46961         (__strtol_l): Remove PARAMS from the prototype.
46962
46963 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46964
46965         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46966         names.  Just use the correct names.  Remove unnecessary wrapper
46967         functions.
46968         * malloc/arena.c: Likewise.
46969         * malloc/hooks.c: Likewise.
46970
46971         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46972         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46973         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46974
46975 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46976
46977         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46978         into tail calls.
46979         (update_get_addr): New function.
46980         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46981         GET_ADDR_MODULE parameter.
46982
46983 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46984
46985         * crypt/cert.c: Remove __STDC__ conditionals.
46986         * crypt/crypt-entry.c: Likewise.
46987         * crypt/crypt_util.c: Likewise.
46988         * libio/filedoalloc.c: Likewise.
46989         * libio/fileops.c: Likewise.
46990         * libio/genops.c: Likewise.
46991         * libio/iofclose.c: Likewise.
46992         * libio/iofdopen.c: Likewise.
46993         * libio/iofopen.c: Likewise.
46994         * libio/iofopen64.c: Likewise.
46995         * libio/iogetdelim.c: Likewise.
46996         * libio/iopopen.c: Likewise.
46997         * libio/obprintf.c: Likewise.
46998         * libio/oldfileops.c: Likewise.
46999         * libio/oldiofclose.c: Likewise.
47000         * libio/oldiofdopen.c: Likewise.
47001         * libio/oldiofopen.c: Likewise.
47002         * libio/oldiopopen.c: Likewise.
47003         * libio/wfiledoalloc.c: Likewise.
47004         * libio/wgenops.c: Likewise.
47005         * locale/programs/xmalloc.c: Likewise.
47006         * misc/syslog.c: Likewise.
47007         * stdio-common/xbug.c: Likewise.
47008         * string/memchr.c: Likewise.
47009         * string/memcmp.c: Likewise.
47010         * string/memrchr.c: Likewise.
47011         * string/rawmemchr.c: Likewise.
47012         * sysdeps/posix/getcwd.c: Likewise.
47013         * time/strftime_l.c: Likewise.
47014
47015 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47016
47017         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47018         * config.make.in (config-cflags-sse2avx): Define.
47019         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47020         Fix typo.
47021
47022 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47023
47024         * scripts/config.guess: Update from upstream config git repository.
47025         * scripts/config.sub: Likewise.
47026
47027 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47028
47029         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47030         (EM_NUM): Update.
47031         (R_TILEPRO_*, R_TILEGX_*): New macros.
47032
47033         * scripts/firstversions.awk: Fix bug in version range handling.
47034
47035         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47036
47037         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47038
47039         * include/sys/epoll.h: New file.
47040         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47041         libc_hidden_def.
47042
47043 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47044
47045         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47046         Avoid unnecessary __WORDSIZE == 64 test.
47047         (fmaxf): Use VEX format if possible.
47048         (fmax): Likewise.
47049         (fminf): Likewise.
47050         (fmin): Likewise.
47051
47052         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47053         * math/math_private.h: Remove libc_fegetround* and
47054         libc_fesetround*.
47055         * sysdeps/i386/configure.in: Check for -msse2avx.
47056         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47057         also if SSE2AVX is defined.
47058         Remove libc_fegetround* and libc_fesetround*.
47059         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47060         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47061         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47062         of HAS_YMM_USABLE.
47063         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47064         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47065         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47066         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47067         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47068
47069         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47070
47071 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47072
47073         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47074         size is not set.
47075         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47076
47077 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47078
47079         [BZ #13618]
47080         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47081         relocation.
47082         * Makeconfig (libm): Define.
47083         * elf/Makefile: Add rules to build and run tst-relsort1.
47084         * elf/tst-relsort1.c: New file.
47085         * elf/tst-relsort1mod1.c: New file.
47086         * elf/tst-relsort1mod2.c: New file.
47087
47088 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47089
47090         * math/s_ldexp.c: Remove __STDC__ conditionals.
47091         * math/s_ldexpf.c: Likewise.
47092         * math/s_ldexpl.c: Likewise.
47093         * math/s_nextafter.c: Likewise.
47094         * math/s_nexttowardf.c: Likewise.
47095         * math/s_significand.c: Likewise.
47096         * math/s_significandf.c: Likewise.
47097         * math/s_significandl.c: Likewise.
47098         * math/w_jnl.c: Likewise.
47099         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47100         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47101         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47102         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47103         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47104         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47105         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47106         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47108         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47109         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47111         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47112         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47113         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47114         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47115         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47116         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47118         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47119         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47120         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47121         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47123         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47126         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47128         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47129         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47130         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47131         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47132         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47133         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47134         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47135         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47136         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47137         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47138         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47139         * sysdeps/ieee754/k_standard.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47187         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47188         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47189         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47198         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47201         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47202         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47204         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47205         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47206         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47209         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47214         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47215         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47216         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47219         * sysdeps/ieee754/s_matherr.c: Likewise.
47220         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47221         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47224
47225 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47226
47227         * crypt/md5.h: Remove __STDC__ conditionals.
47228         * libio/libioP.h: Likewise.
47229         * locale/programs/config.h: Likewise.
47230         * sysdeps/generic/sysdep.h: Likewise.
47231         * sysdeps/i386/asm-syntax.h: Likewise.
47232         * sysdeps/s390/asm-syntax.h: Likewise.
47233         * sysdeps/unix/sysdep.h: Likewise.
47234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47236
47237 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47238
47239         * libio/libio.h: Remove __STDC__ conditionals.
47240         * malloc/obstack.h: Likewise.
47241         * math/complex.h: Likewise.
47242         * math/math.h: Likewise.
47243         * sysdeps/generic/_G_config.h: Likewise.
47244         * sysdeps/gnu/_G_config.h: Likewise.
47245         * sysdeps/mach/hurd/_G_config.h: Likewise.
47246         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47247         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47248         * sysdeps/sparc/bits/mathdef.h: Likewise.
47249
47250 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47251
47252         [BZ #13583]
47253         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47254         Clean up HAS_* macros.
47255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47256         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47257         possible.
47258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47259         HAS_AVX.
47260         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47261         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47262         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47263         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47264         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47265
47266 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47267
47268         * elf/tst-unique3.cc (gets): Remove declaration.
47269         * elf/tst-unique3lib.cc (gets): Likewise.
47270         * elf/tst-unique3lib2.cc (gets): Likewise.
47271         * elf/tst-unique4.cc (gets): Likewise.
47272
47273 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47274
47275         * include/stdio.h: Add C++ protection.  Add gets declarations and
47276         definitions.
47277         * debug/tst-chk1.c: Don't declare gets here.
47278         * stdio-common/tst-gets.c: Likewise.
47279
47280 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47281
47282         * posix/glob: Remove directory.
47283
47284 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47285
47286         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47287
47288 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47289
47290         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47291         of the non-standard EPFNOSUPPORT.
47292
47293 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47294
47295         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47296         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47297         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47298
47299 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47300
47301         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47302
47303 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47304
47305         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47306         transient errors.
47307         * nscd/grpcache.c (cache_addgr): Likewise.
47308         * nscd/hstcache.c (cache_addhst): Likewise.
47309         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47310         * nscd/pwdcache.c (cache_addpw): Likewise.
47311         * nscd/servicescache.c (cache_addserv): Likewise.
47312
47313 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47314
47315         * malloc/malloc.c: Various cleanups.
47316         * malloc/hooks.c: Likewise.
47317
47318         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47319         * stdlib/bug-fmtmsg1.c: New file.
47320
47321         * stdlib/fmtmsg.c (init): Add missing unlock.
47322         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47323
47324 2012-01-12  Marek Polacek  <polacek@redhat.com>
47325
47326         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47327         and _GNU_SOURCE.
47328
47329 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47330
47331         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47332         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47333         macro to ensure uniqueness of label name.
47334         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47335         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47336
47337 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47338
47339         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47340
47341         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47342         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47343         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47345
47346 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47347
47348         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47349
47350         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47351         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47352         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47353
47354         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47355
47356         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47357         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47358         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47359         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47360
47361         * math/bits/math-finite.h: Add ldexp support.
47362
47363 2012-01-10  Marek Polacek  <polacek@redhat.com>
47364
47365         * locale/programs/localedef.h (show_archive_content): Add noreturn
47366         attribute.
47367
47368 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47369
47370         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47371
47372 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47373
47374         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47375
47376         * io/Makefile (headers): Add bits/poll2.h.
47377
47378 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47379
47380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47381         typo #include statement.
47382
47383 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47384
47385         * include/sys/cdefs.h: Define __attribute_alloc_size.
47386         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47387         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47388         * elf/pldd.c: Likewise.
47389         * iconv/iconv_charmap.c: Likewise.
47390         * iconv/iconvconfig.c: Likewise.
47391         * iconv/strtab.c: Likewise.
47392         * locale/programs/locale.c: Likewise.
47393         * locale/programs/localedef.h: Likewise.
47394         * locale/programs/simple-hash.c: Likewise.
47395         * nscd/nscd.h: Likewise.
47396         * nss/makedb.c: Likewise.
47397         * sysdeps/generic/ldconfig.h: Likewise.
47398         * locale/programs/localedef.c: Remove xmalloc prototype.
47399         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47400
47401 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47402
47403         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47404         appropriate.
47405
47406 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47407
47408         * math/Makefile (tests): Add tst-CMPLX.
47409         * math/tst-CMPLX.c: New file.
47410
47411         * math/complex.h (CMPLXL): Fix typo.
47412
47413         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47414         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47415         GLIBC_2.16.
47416         * debug/tst-chk1.c: Add poll and ppoll tests.
47417         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47418         * include/sys/poll.h: Add hidden proto for ppoll.
47419         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47420         * sysdeps/mach/hurd/ppoll.c: Likewise.
47421         * io/ppoll.c: Likewise.
47422         * debug/poll_chk.c: New file.
47423         * debug/ppoll_chk.c: New file.
47424         * include/bits/poll2.h: New file.
47425         * io/bits/poll2.h: New file.
47426
47427         [BZ #1350]
47428         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47429
47430         * configure.in: static is always set to yes.  Remove.
47431         * config.make.in: Don't set build-static.
47432         * Makeconfig: Remove use of build-static.
47433         * dlfcn/Makefile: Likewise.
47434         * elf/Makefile: Likewise.
47435         * math/Makefile: Likewise.
47436         * misc/Makefile: Likewise.
47437         * nptl/Makefile: Likewise.
47438         * sysdeps/mach/hurd/Makefile: Likewise.
47439
47440         * configure.in: PWD_P is not used anymore.
47441         * config.make.in: Remove PWD_P entry.
47442
47443         * configure.in: Remove last remnants of RANLIB.
47444         No need to check for signed size_t anymore.
47445         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47446         and IA-64.
47447         Remove __builtin_expect test because we require at least gcc 3.4.
47448         * aclocal.m4: Likewise.
47449
47450         * wcsmbs/mbrtoc16.c: Implement using towc function.
47451         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47452         * wcsmbs/wcsmbsload.c: Likewise.
47453         * iconv/gconv_simple.c: Likewise.
47454         * iconv/gconv_int.h: Likewise.
47455         * iconv/gconv_builtin.h: Likewise.
47456         * iconv/iconv_prog.c: Remove CHAR16 handling.
47457
47458         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47459
47460         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47461
47462         * configure.in: Remove --with-elf and --enable-bounded options.
47463         Dont set base_machine for ia64.  More non-ELF conditions removed.
47464         Remove testing and setting of leading underscore information.
47465         * config.make.in (build-bounded): Set to no.
47466         * config.h.in: Remove NO_UNDERSCORES entry.
47467         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47468         them.
47469         * csu/start.c: Remove !NO_UNDERSCORE code.
47470         * locale/localeinfo.h: Likewise.
47471         * sysdeps/generic/machine-gmon.h: Likewise.
47472         * sysdeps/generic/sysdep.h: Likewise.
47473         * sysdeps/i386/sysdep.h: Likewise.
47474         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47475         * sysdeps/mach/sysdep.h: Likewise.
47476         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47477         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47478         * sysdeps/sh/sysdep.h: Likewise.
47479         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47480         * sysdeps/unix/i386/sysdep.S: Likewise.
47481         * sysdeps/unix/sparc/start.c: Likewise.
47482         * sysdeps/unix/sparc/sysdep.S: Likewise.
47483         * sysdeps/unix/sparc/sysdep.h: Likewise.
47484         * sysdeps/unix/start.c: Likewise.
47485         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47486         * sysdeps/x86_64/sysdep.h: Likewise.
47487
47488 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47489
47490         [BZ #13553]
47491         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47492         for non-gcc.
47493         * argp/argp-fmtstream.h: Use const instead __const.
47494         * argp/argp.h: Likewise.
47495         * assert/assert.h: Likewise.
47496         * bits/fenv.h: Likewise.
47497         * bits/sched.h: Likewise.
47498         * bits/sigset.h: Likewise.
47499         * bits/sigthread.h: Likewise.
47500         * catgets/nl_types.h: Likewise.
47501         * conform/data/pthread.h-data: Likewise.
47502         * crypt/crypt-private.h: Likewise.
47503         * crypt/crypt.h: Likewise.
47504         * crypt/crypt_util.c: Likewise.
47505         * ctype/ctype.h: Likewise.
47506         * debug/execinfo.h: Likewise.
47507         * debug/mbsnrtowcs_chk.c: Likewise.
47508         * debug/mbsrtowcs_chk.c: Likewise.
47509         * debug/wcsnrtombs_chk.c: Likewise.
47510         * debug/wcsrtombs_chk.c: Likewise.
47511         * debug/wcstombs_chk.c: Likewise.
47512         * dirent/dirent.h: Likewise.
47513         * dlfcn/dlfcn.h: Likewise.
47514         * elf/neededtest4.c: Likewise.
47515         * grp/grp.h: Likewise.
47516         * gshadow/gshadow.h: Likewise.
47517         * iconv/gconv.h: Likewise.
47518         * iconv/gconv_int.h: Likewise.
47519         * iconv/gconv_simple.c: Likewise.
47520         * iconv/iconv.h: Likewise.
47521         * iconv/loop.c: Likewise.
47522         * iconv/skeleton.c: Likewise.
47523         * include/aio.h: Likewise.
47524         * include/aliases.h: Likewise.
47525         * include/argz.h: Likewise.
47526         * include/arpa/inet.h: Likewise.
47527         * include/assert.h: Likewise.
47528         * include/dirent.h: Likewise.
47529         * include/dlfcn.h: Likewise.
47530         * include/execinfo.h: Likewise.
47531         * include/fcntl.h: Likewise.
47532         * include/fenv.h: Likewise.
47533         * include/glob.h: Likewise.
47534         * include/grp.h: Likewise.
47535         * include/libintl.h: Likewise.
47536         * include/mntent.h: Likewise.
47537         * include/netdb.h: Likewise.
47538         * include/pwd.h: Likewise.
47539         * include/rpc/netdb.h: Likewise.
47540         * include/sched.h: Likewise.
47541         * include/search.h: Likewise.
47542         * include/shadow.h: Likewise.
47543         * include/signal.h: Likewise.
47544         * include/stdio.h: Likewise.
47545         * include/stdlib.h: Likewise.
47546         * include/string.h: Likewise.
47547         * include/sys/socket.h: Likewise.
47548         * include/sys/stat.h: Likewise.
47549         * include/sys/statfs.h: Likewise.
47550         * include/sys/statvfs.h: Likewise.
47551         * include/sys/syslog.h: Likewise.
47552         * include/sys/time.h: Likewise.
47553         * include/sys/uio.h: Likewise.
47554         * include/time.h: Likewise.
47555         * include/unistd.h: Likewise.
47556         * include/utmp.h: Likewise.
47557         * include/wchar.h: Likewise.
47558         * include/wctype.h: Likewise.
47559         * inet/aliases.h: Likewise.
47560         * inet/arpa/inet.h: Likewise.
47561         * inet/netinet/ether.h: Likewise.
47562         * inet/netinet/in.h: Likewise.
47563         * intl/libintl.h: Likewise.
47564         * io/bits/fcntl2.h: Likewise.
47565         * io/fcntl.h: Likewise.
47566         * io/ftw.h: Likewise.
47567         * io/sys/poll.h: Likewise.
47568         * io/sys/stat.h: Likewise.
47569         * io/sys/statfs.h: Likewise.
47570         * io/sys/statvfs.h: Likewise.
47571         * io/utime.h: Likewise.
47572         * libio/bits/stdio.h: Likewise.
47573         * libio/bits/stdio2.h: Likewise.
47574         * libio/libio.h: Likewise.
47575         * libio/libioP.h: Likewise.
47576         * libio/stdio.h: Likewise.
47577         * locale/lc-ctype.c: Likewise.
47578         * locale/locale.h: Likewise.
47579         * login/utmp.h: Likewise.
47580         * malloc/arena.c: Likewise.
47581         * malloc/malloc.c: Likewise.
47582         * malloc/malloc.h: Likewise.
47583         * malloc/mcheck.c: Likewise.
47584         * malloc/mtrace.c: Likewise.
47585         * math/bits/mathcalls.h: Likewise.
47586         * math/fenv.h: Likewise.
47587         * math/math_private.h: Likewise.
47588         * misc/bits/error.h: Likewise.
47589         * misc/bits/syslog.h: Likewise.
47590         * misc/err.h: Likewise.
47591         * misc/error.h: Likewise.
47592         * misc/fstab.h: Likewise.
47593         * misc/mntent.h: Likewise.
47594         * misc/regexp.h: Likewise.
47595         * misc/search.h: Likewise.
47596         * misc/sgtty.h: Likewise.
47597         * misc/sys/mman.h: Likewise.
47598         * misc/sys/syslog.h: Likewise.
47599         * misc/sys/uio.h: Likewise.
47600         * misc/sys/xattr.h: Likewise.
47601         * misc/ttyent.h: Likewise.
47602         * nis/rpcsvc/ypclnt.h: Likewise.
47603         * nss/nss.h: Likewise.
47604         * posix/bits/unistd.h: Likewise.
47605         * posix/fnmatch.h: Likewise.
47606         * posix/glob.h: Likewise.
47607         * posix/sched.h: Likewise.
47608         * posix/spawn.h: Likewise.
47609         * posix/sys/wait.h: Likewise.
47610         * posix/unistd.h: Likewise.
47611         * posix/wordexp.h: Likewise.
47612         * pwd/pwd.h: Likewise.
47613         * resolv/netdb.h: Likewise.
47614         * resource/sys/resource.h: Likewise.
47615         * rt/aio.h: Likewise.
47616         * rt/bits/mqueue2.h: Likewise.
47617         * rt/mqueue.h: Likewise.
47618         * shadow/shadow.h: Likewise.
47619         * signal/signal.h: Likewise.
47620         * socket/send.c: Likewise.
47621         * socket/sendto.c: Likewise.
47622         * socket/sys/socket.h: Likewise.
47623         * stdio-common/printf.h: Likewise.
47624         * stdlib/bits/stdlib.h: Likewise.
47625         * stdlib/fmtmsg.h: Likewise.
47626         * stdlib/monetary.h: Likewise.
47627         * stdlib/stdlib.h: Likewise.
47628         * stdlib/ucontext.h: Likewise.
47629         * streams/stropts.h: Likewise.
47630         * string/argz.h: Likewise.
47631         * string/bits/string2.h: Likewise.
47632         * string/string.h: Likewise.
47633         * string/strings.h: Likewise.
47634         * sunrpc/rpc/auth.h: Likewise.
47635         * sunrpc/rpc/auth_des.h: Likewise.
47636         * sunrpc/rpc/clnt.h: Likewise.
47637         * sunrpc/rpc/netdb.h: Likewise.
47638         * sunrpc/rpc/pmap_clnt.h: Likewise.
47639         * sunrpc/rpc/xdr.h: Likewise.
47640         * sysdeps/generic/inttypes.h: Likewise.
47641         * sysdeps/generic/net/if.h: Likewise.
47642         * sysdeps/generic/sys/swap.h: Likewise.
47643         * sysdeps/gnu/net/if.h: Likewise.
47644         * sysdeps/gnu/utmpx.h: Likewise.
47645         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47646         * sysdeps/i386/i486/bits/string.h: Likewise.
47647         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47648         * sysdeps/s390/bits/string.h: Likewise.
47649         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47650         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47651         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47652         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47653         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47654         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47655         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47656         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47657         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47658         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47659         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47660         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47661         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47662         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47663         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47664         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47665         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47667         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47668         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47669         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47670         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47671         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47672         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47673         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47674         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47675         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47676         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47677         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47678         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47679         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47680         * sysvipc/sys/ipc.h: Likewise.
47681         * sysvipc/sys/msg.h: Likewise.
47682         * sysvipc/sys/sem.h: Likewise.
47683         * sysvipc/sys/shm.h: Likewise.
47684         * termios/termios.h: Likewise.
47685         * time/sys/time.h: Likewise.
47686         * time/time.h: Likewise.
47687         * wcsmbs/bits/wchar2.h: Likewise.
47688         * wcsmbs/uchar.h: Likewise.
47689         * wcsmbs/wchar.h: Likewise.
47690         * wctype/wctype.h: Likewise.
47691
47692         [BZ #13551]
47693         * Makeconfig: Remove all but ELF support including AIX support.
47694         * Makerules: Likewise.
47695         * config.h.in: Likewise.
47696         * config.make.in: Likewise.
47697         * configure: Likewise.
47698         * configure.in: Likewise.
47699         * csu/Makefile: Likewise.
47700         * csu/version.c: Likewise.
47701         * debug/Makefile: Likewise.
47702         * dlfcn/Makefile: Likewise.
47703         * elf/Makefile: Likewise.
47704         * extra-lib.mk: Likewise.
47705         * iconv/Makefile: Likewise.
47706         * include/libc-symbols.h: Likewise.
47707         * include/shlib-compat.h: Likewise.
47708         * resolv/Makefile: Likewise.
47709         * resolv/res_libc.c: Likewise.
47710         * rt/Makefile: Likewise.
47711         * sysdeps/i386/asm-syntax.h: Likewise.
47712         * sysdeps/i386/sysdep.h: Likewise.
47713         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47714         * sysdeps/mach/sysdep.h: Likewise.
47715         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47716         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47717         * sysdeps/s390/asm-syntax.h: Likewise.
47718         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47719         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47720         * sysdeps/sh/sysdep.h: Likewise.
47721         * sysdeps/unix/sparc/sysdep.h: Likewise.
47722         * sysdeps/wordsize-32/divdi3.c: Likewise.
47723         * sysdeps/x86_64/sysdep.h: Likewise.
47724
47725         * argp/Versions: Remove _argp_unlock_xxx.
47726
47727         [BZ #13559]
47728         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47729         * abilist/libBrokenLocale.abilist: Likewise.
47730         * abilist/libanl.abilist: Likewise.
47731         * abilist/libc.abilist: Likewise.
47732         * abilist/libcrypt.abilist: Likewise.
47733         * abilist/libdl.abilist: Likewise.
47734         * abilist/libm.abilist: Likewise.
47735         * abilist/libnsl.abilist: Likewise.
47736         * abilist/libpthread.abilist: Likewise.
47737         * abilist/libresolv.abilist: Likewise.
47738         * abilist/librt.abilist: Likewise.
47739         * abilist/libthread_db.abilist: Likewise.
47740         * abilist/libutil.abilist: Likewise.
47741         * abilist/libnss_db.abilist: New file.
47742
47743         * scripts/abilist.awk: Add support for indirect functions.
47744
47745         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47746
47747         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47748
47749         * shlib-versions: Remove entries for ports architectures.
47750
47751         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47752         files in ports.
47753         * elf/stackguard-macros.h: Remove support for IA-64.
47754         * elf/tst-auditmod1.c: Likewise.
47755         * sysdeps/generic/ldsodefs.h: Likewise.
47756
47757         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47758         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47759         configure files.
47760
47761         [BZ #13552]
47762         * configure.in: Remove --enable-omitfp support.
47763         * FAQ.in: Adjust.
47764         * config.make.in: Likewise.
47765         * Makeconfig: Likewise.
47766         * manual/install.texi: Likewise.
47767
47768         In case anyone cares, the IA-64 architecture could move to ports.
47769         * sysdeps/ia64/*: Removed.
47770         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47771         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47772
47773         [BZ #13555]
47774         * configure.in: Remove entries for unsupported architectures.
47775
47776         [BZ #13533]
47777         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47778         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47779         routines.
47780         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47781         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47782         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47783         fall back to using wcrtomb.
47784         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47785         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47786         renaming.
47787         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47788         * wcsmbs/tst-c16c32-1.c: New file.
47789
47790         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47791         local variable.
47792
47793         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47794
47795         * elf/tst-unique3.cc: Add explicit declaration of gets.
47796         * elf/tst-unique3lib.cc: Likewise.
47797         * elf/tst-unique3lib2.cc: Likewise.
47798         * elf/tst-unique4.cc: Likewise.
47799
47800         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47801
47802 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47803
47804         [BZ #13566]
47805         * assert/assert.h (static_assert): Don't define for C++.
47806         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47807         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47808
47809 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47810
47811         * iconv/loop.c (single loop): Fix assertion in storing of
47812         remaining bytes.
47813
47814         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47815
47816 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47817
47818         * posix/getconf.c: Update copyright year.
47819         * nss/getent.c: Likewise.
47820         * nss/makedb.c: Likewise.
47821         * iconv/iconvconfig.c: Likewise.
47822         * iconv/iconv_prog.c: Likewise.
47823         * elf/ldconfig.c: Likewise.
47824         * elf/pldd.c: Likewise.
47825         * elf/sotruss.ksh: Likewise.
47826         * catgets/gencat.c: Likewise.
47827         * csu/version.c: Likewise.
47828         * elf/ldd.bash.in: Likewise.
47829         * elf/sprof.c (print_version): Likewise.
47830         * locale/programs/locale.c: Likewise.
47831         * locale/programs/localedef.c: Likewise.
47832         * login/programs/pt_chown.c: Likewise.
47833         * nscd/nscd.c (print_version): Likewise.
47834         * debug/xtrace.sh: Likewise.
47835         * malloc/memusage.sh: Likewise.
47836         * malloc/mtrace.pl: Likewise.
47837         * debug/catchsegv.sh: Likewise.
47838
47839 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47840
47841         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47842         pure attribute.
47843
47844 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47845
47846         [BZ #13533]
47847         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47848         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47849         transformations.
47850         * iconv/gconv_int.h: Likewise.
47851         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47852         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47853         from libc for GLIBC_2.16.
47854         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47855         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47856         * wcsmbs/uchar.h: Really define mbstate_t.
47857         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47858         * wcsmbs/c16rtomb.c: New file.
47859         * wcsmbs/mbrtoc16.c: New file.
47860         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47861         for C/POSIX locale.
47862         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47863         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47864
47865         * wcsmbs/wchar.h: Add missing __restrict.
47866
47867 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47868
47869         [BZ #13532]
47870         * time/Makefile (routines): Add timespec_get.
47871         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47872         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47873         timespec for ISO C11.
47874         * time/timespec_get.c: New file.
47875         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47876         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47877
47878         [BZ #13531]
47879         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47880         * stdlib/stdlib.h: Declare aligned_alloc.
47881         * Versions.def: Add GLIBC_2.16 for libc.
47882         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47883
47884         [BZ 13527]
47885         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47886         ISO C11.
47887
47888         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47889         code.
47890
47891         [BZ #13528]
47892         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47893
47894         [BZ #13529]
47895         * assert/assert.h (static_assert): Define.
47896
47897         * version.h: Update for 2.16 development version.
47898
47899         [BZ #13526]
47900         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47901         _ISOC11_SOURCE.
47902
47903         * version.h (RELEASE): Bump for 2.15 release.
47904         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47905
47906         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47907         Patch by Marek Polacek <mpolacek@redhat.com>.
47908
47909         * bits/byteswap.h: Protect long long constants with __extension__.
47910         * sysdeps/i386/bits/byteswap.h: Likewise.
47911         * sysdeps/ia64/bits/byteswap.h: Likewise.
47912         * sysdeps/s390/bits/byteswap.h: Likewise.
47913         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47914
47915 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47916
47917         [BZ #13540]
47918         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47919         destination buffer.
47920         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47921
47922 2011-12-23  Marek Polacek  <polacek@redhat.com>
47923
47924         * elf/dl-addr.c (determine_info): Add inline keyword.
47925         * elf/tst-auditmod4b.c (check_avx): Likewise.
47926         * elf/tst-auditmod6b.c (check_avx): Likewise.
47927         * elf/tst-auditmod6c.c (check_avx): Likewise.
47928         * elf/tst-auditmod7b.c (check_avx): Likewise.
47929
47930 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47931
47932         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47933         !__SSE_MATH__.
47934
47935 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47936
47937         [BZ #13540]
47938         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47939         processing for last bytes.
47940
47941 2011-08-06  Bruno Haible  <bruno@clisp.org>
47942
47943         [BZ #13061]
47944         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47945         U+0385, not to U+1FEE.
47946
47947         [BZ #13062]
47948         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47949         entry for U+00A5 U+0301.
47950
47951 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47952
47953         [BZ #13166]
47954         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47955         buffer for the output is too small.
47956
47957         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47958         optimization.
47959
47960         [BZ #13185]
47961         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47962         SSE flags if possible.
47963
47964 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47965
47966         [BZ #13540]
47967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47968         processing for last bytes.
47969
47970 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47971
47972         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47973         (syscall-list-default-options, syscall-list-default-condition)
47974         (syscall-list-includes): Define.
47975         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47976         list of ABIs and options and #if conditions for each ABI.  Do not
47977         handle common syscalls between ABIs specially.
47978         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47979         Remove.
47980         (syscall-list-variants, syscall-list-32bit-options)
47981         (syscall-list-32bit-condition, syscall-list-64bit-options)
47982         (syscall-list-64bit-condition): Define.
47983         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47984         (syscall-list-variants, syscall-list-32bit-options)
47985         (syscall-list-32bit-condition, syscall-list-64bit-options)
47986         (syscall-list-64bit-condition): Define.
47987         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47988         Remove.
47989         (syscall-list-variants, syscall-list-32bit-options)
47990         (syscall-list-32bit-condition, syscall-list-64bit-options)
47991         (syscall-list-64bit-condition): Define.
47992         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47993         Remove.
47994         (syscall-list-variants, syscall-list-32bit-options)
47995         (syscall-list-32bit-condition, syscall-list-64bit-options)
47996         (syscall-list-64bit-condition): Define.
47997
47998 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47999
48000         * locale/iso-639.def: Add brx entry.
48001
48002         [BZ #13328]
48003         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48004         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48005
48006         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48007         __feraiseexcept_renamed.
48008
48009 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48010
48011         [BZ #13538]
48012         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48013         EPOLLET with unsigned values.
48014         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48015         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48016
48017         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48018         to large cancellation.
48019         * math/s_cacoshf.c: Likewise.
48020         * math/s_cacoshl.c: Likewise.
48021
48022 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48023
48024         [BZ #13305]
48025         [BZ #12786]
48026         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48027         * math/s_cacoshf.c: Likewise.
48028         * math/s_cacoshl.c: Likewise.
48029
48030 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48031
48032         [BZ #13439]
48033         * iconv/gconv.h: Define __GCONV_SWAP.
48034         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48035         * iconvdata/utf-16.c: Likewise.
48036         * iconvdata/utf-32.c: Likewise.
48037
48038 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48039
48040         [BZ #13524]
48041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48042         numerator after shifting it by one limb.
48043
48044 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48045
48046         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48047         under [__USE_EXTERN_INLINES].
48048
48049 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48050
48051         [BZ #13446]
48052         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48053
48054 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48055
48056         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48057         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48058         optimized code.
48059         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48060         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48061         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48062         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48063         for strncasecmp/strncasecmp_l compilation.
48064         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48065         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48066
48067 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48068
48069         [BZ #13484]
48070         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48071         of __asm__.
48072
48073 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48074
48075         [BZ #13506]
48076         * time/tzfile.c (__tzfile_read): Check values from file header.
48077
48078 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48079
48080         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48081         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48082         * powerpc/powerpc32/dl-start.S: Likewise.
48083         * powerpc/powerpc32/elf/start.S: Likewise.
48084         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48085         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48086         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48087         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48088         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48089         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48090         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48091         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48092         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48093         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48094         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48095         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48096         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48097         * powerpc/powerpc32/memset.S: Likewise.
48098         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48099         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48100         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48101         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48102         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48103         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48104         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48105         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48106         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48107         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48108         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48109         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48110         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48111
48112 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48113
48114         * math/libm-test.inc: Added more nearbyint tests.
48115         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48116         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48117         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48118         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48119
48120 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48121
48122         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48123         FD_CLOEXEC.
48124
48125 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48126
48127         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48128         Add wcscpy-ssse3 wcscpy-c.
48129         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48130         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48131         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48132         * sysdeps/x86_64/wcschr.S: New file.
48133         * sysdeps/x86_64/wcsrchr.S: New file.
48134         * string/test-strcmp.c: Remove checking of wcscmp function for
48135         wrong alignments.
48136         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48137         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48138         wcsrchr-sse2 wcsrchr-c.
48139         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48140         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48141         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48142         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48143         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48144         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48145         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48146         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48147         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48148         * wcsmbc/wcschr.c (WCSCHR): New macro.
48149
48150 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48151
48152         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48153         * wcsmbs/test-wcsrchr.c: New file.
48154         * string/test-strrchr.c: Add wcsrchr support.
48155         (WIDE): New macro.
48156         * wcsmbs/test-wcscpy.c: New file.
48157         * string/test-strcpy.c: Add wcscpy support.
48158         (WIDE): New macro.
48159
48160 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48161
48162         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48163         the inner loop.
48164
48165 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48166
48167         [BZ #13472]
48168         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48169
48170 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48171
48172         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48173         Minor optimizations.
48174
48175         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48176         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48177         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48178
48179 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48180
48181         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48182         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48183         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48184         for gcc to avoid warnings.
48185         * inet/Makefile (tests): Add tst-checks.
48186         * inet/tst-checks.c: New file.
48187
48188         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48189         warning.
48190
48191         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48192         __wmemcmp_sse2.
48193
48194         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48195         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48196
48197         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48198
48199 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48200
48201         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48202         problem.
48203
48204         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48205
48206 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48207
48208         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48209         conditional on GCC version.
48210         (__arch_compare_and_exchange_val_8_acq)
48211         (__arch_compare_and_exchange_val_16_acq)
48212         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48213         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48214         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48215
48216 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48217
48218         * sysdeps/sh/backtrace.c: New file.
48219
48220 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48221
48222         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48223         parenthesis.
48224
48225 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48226
48227         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48228         falling back to utime.
48229
48230 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48231
48232         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48233         expectations for float.
48234
48235 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48236
48237         * locale/weight.h (findidx): Add parameter len.
48238         * locale/weightwc.h (findidx): Likewise.
48239         * posix/fnmatch_loop.c (FCT): Adjust caller.
48240         * posix/regcomp.c (build_equiv_class): Likewise.
48241         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48242         * posix/regexec.c (check_node_accept_bytes): Likewise.
48243         * string/strcoll_l.c (STRCOLL): Likewise.
48244         * string/strxfrm_l.c (STRXFRM): Likewise.
48245
48246 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48247
48248         * Makefile.in: Remove CVSOPT handling.
48249         * configure.in: Remove use of AC_REVISION.
48250         * iconvdata/Makefile (distribute): No need to filter out CVS.
48251         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48252         handling.
48253
48254 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48255
48256         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48257         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48258         [USE_AS_STRNCASECMP_L]: Likewise.
48259         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48260         NO_TLS_DIRECT_SEG_REFS.
48261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48262         Fix argument offsets for non-PIC.
48263         [USE_AS_STRNCASECMP_L]: Likewise.
48264         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48265         NO_TLS_DIRECT_SEG_REFS.
48266
48267 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48268
48269         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48270         O_CLOEXEC.
48271         * locale/loadlocale.c (_nl_load_locale): Likewise.
48272
48273 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48274
48275         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48276         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48277         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48278         (SYSCALL_GETTIME): Set errno on error.
48279
48280         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48281         count references to noai6ai_cached.
48282
48283 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48284
48285         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48286
48287         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48288         FD_CLOEXEC for /proc/self/maps.
48289
48290         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48291         FD_CLOEXEC for /proc/meminfo.
48292
48293         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48294         gai.conf.
48295
48296         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48297         FD_CLOEXEC for given file.
48298
48299         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48300
48301         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48302         FD_CLOEXEC for /etc/hosts.
48303         (_gethtent): Likewise.
48304
48305         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48306
48307         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48308         cancellation and set FD_CLOEXEC for /etc/netgroup.
48309
48310         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48311         reading /etc/publickey.
48312
48313         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48314         allow cancellation when reading /etc/group.
48315
48316         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48317         cancellation.
48318         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48319
48320         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48321         when using data file.
48322
48323         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48324
48325         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48326         (write_nis_obj): Use "c" and "e" in fopen.
48327
48328         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48329
48330         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48331
48332         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48333
48334         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48335
48336         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48337         locale.alias.
48338
48339         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48340
48341         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48342
48343         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48344
48345         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48346         file parsing and set FD_CLOEXEC.
48347
48348 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48349
48350         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48351
48352 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48353
48354         * malloc/arena.c (arena_get2): Don't call reused_arena when
48355         _int_new_arena failed.
48356
48357 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48358
48359         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48360         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48361         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48363         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48364         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48365         to compile strcasecmp and strncasecmp.
48366         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48367         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48368
48369         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48370
48371 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48372
48373         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48374         locale-defines.sym to gen-as-const-headers.
48375         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48376         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48377         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48378         to compile strcasecmp and strncasecmp.
48379         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48380         strcasecmp_l and strncasecmp_l.
48381         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48382         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48383         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48384         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48385         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48386         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48387         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48388         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48389         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48390         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48391         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48392
48393 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48394
48395         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48396         result of SYSDEP_GETTIME_CPU to retval.
48397         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48398         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48399
48400         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48401         variable.
48402
48403         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48404         mantissa words.
48405         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48406
48407         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48408         from unused variable.
48409
48410         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48411         DWARF definitions.
48412         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48413         for assembling.
48414
48415         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48416         over namespaces.
48417
48418         * sunrpc/rpc_prot.c (rejected): Fix case value.
48419
48420         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48421         unsigned long long int to avoid warnings in shift.
48422
48423         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48424         of use of trans.
48425         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48426         variable tmp.
48427
48428         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48429         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48430         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48431
48432         * nis/nis_table.c (nis_list): Use variable of correct type for
48433         result of __follow_path call.
48434
48435 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48436
48437         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48438         of math functions ceil, trunc, floor, round, and sqrt, when
48439         avaliable on the platform.
48440         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48441         name clash.
48442         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48443         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48444         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48445
48446 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48447
48448         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48449         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48450
48451 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48452
48453         * include/unistd.h: Fix __readlink return type.
48454         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48455
48456 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48457
48458         * stdlib/ucontext.h: Undo last change for makecontext.
48459
48460 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48461
48462         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48463
48464         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48465         * setjmp/setjmp.h: Mark functions as non-leaf.
48466         * setjmp/bits/setjmp2.h: Likewise.
48467         * stdlib/ucontext.h: Likewise.
48468
48469 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48470
48471         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48472         (reused_arena): Don't check arena limit.
48473         (arena_get2): Atomically check arena limit.
48474
48475 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48476
48477         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48478         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48479
48480         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48481         instructions.
48482
48483 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48484
48485         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48486         handler when locking.
48487
48488         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48489         Fix size of allocated buffer.
48490
48491 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48492
48493         [BZ #10103]
48494         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48495         declarations for long double functions.
48496         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48497
48498         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48499
48500 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48501
48502         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48503         installed.
48504
48505         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48506         is disabled.
48507
48508 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48509
48510         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48511
48512 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48513
48514         * include/alloca.h (stackinfo_alloca_round): Define.
48515         (extend_alloca): Use it.
48516         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48517         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48518         here.
48519
48520         * scripts/check-local-headers.sh: Ignore libaudit.h.
48521
48522         * nscd/Makefile (extra-objs): Make recursively expanded.
48523
48524 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48525
48526         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48527         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48528
48529         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48530         * posix/tst-rfc3484-2.c: Likewise.
48531         * posix/tst-rfc3484-3.c: Likewise.
48532
48533         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48534         process_vm_writev.
48535         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48536         process_vm_writev.
48537         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48538         process_vm_writev from libc using GLIBC_2.15 version.
48539
48540         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48541
48542 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48543
48544         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48545         stack usage.
48546
48547 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48548
48549         [BZ #13367]
48550         * nss/getent.c (initgroups_keys): Show error message in case no group
48551         names are given.
48552
48553         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48554         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48555         __bump_nl_timestamp.
48556         * nscd/connections (nscd_init): When host database is served open
48557         netlink socket and request notification about configuration changes.
48558         (main_loop_poll): Track netlink file descriptor and bump timestamp
48559         in case data becomes available.
48560         (main_loop_epoll): Likewise.
48561         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48562         (database_pers_head): Add extra_data fileds.
48563         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48564         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48565         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48566         Adjust caller.
48567         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48568         in6ai data, call __free_in6ai.
48569         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48570         Add -DHAVE_NETLINK.
48571         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48572         interface information.  Reuse previous data if netlink timestamp
48573         is not changed.
48574         (__bump_nl_timestamp): New function.
48575         (__free_in6ai): New function.
48576
48577 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48578
48579         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48580         close_not_cancel_no_status here.
48581         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48582
48583 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48584
48585         [BZ #13276]
48586         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48587         return value.
48588
48589         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48590         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48591         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48592
48593 2011-07-03  Andreas Jaeger  <aj@suse.de>
48594
48595         [BZ #10709]
48596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48597         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48598         * math/libm-test.inc (sin_test): Add test case.
48599
48600 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48601
48602         [BZ #13337]
48603         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48604         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48605
48606         * elf/chroot_canon.c (chroot_canon): Cleanups.
48607
48608         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48609
48610         [BZ #13335]
48611         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48612         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48613
48614         * string/test-strchr.c: Make usable for strchrnul testing.
48615         * string/test-strchrnul.c: New file.
48616         * string/Makefile (strop-tests): Add strchrnul.
48617
48618         * po/it.po: Update from translation team.
48619         * po/es.po: Likewise.
48620
48621 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48622
48623         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48624         the three constants needed as parameters.  Drop the others.
48625         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48626         __m128i_strloadu_tolower.
48627         Create and initialize variable zero and use it in all the places
48628         where _mm_setzero_si128 was used.
48629
48630         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48631         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48632         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48633         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48634         anymore.
48635         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48636         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48637         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48638         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48639         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48640         __mpranred, __mptan.
48641         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48642         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48643         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48644         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48645         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48646         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48647         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48648         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48649         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48650
48651 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48652
48653         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48654         redefine if SHARED.
48655         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48656
48657         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48658         wide char related routines to wcsmbs subdir.
48659
48660 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48661
48662         [BZ #13344]
48663         * misc/sys/cdefs.h (__THROWNL): Define.
48664         * posix/unistd.h: Use __THREADNL instead of __THREAD
48665         for memory synchronization functions.
48666
48667 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48668
48669         [BZ #13349]
48670         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48671         doesn't exist.
48672         * manual/stdio.texi (Obstack Streams): Node removed.
48673
48674 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48675
48676         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48677         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48678         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48679
48680         * math/math_private.h (math_force_eval): Allow non-addressable
48681         arguments.
48682         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48683
48684 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48685
48686         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48687         file is not needed.
48688
48689         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48690         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48691         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48692         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48693         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48694         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48695         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48696         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48697         Add AVX variants.
48698         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48699         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48700         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48701         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48702         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48703         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48704         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48705         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48706         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48707         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48708         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48709         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48710         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48711         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48712         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48713         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48714         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48715         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48716         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48717
48718         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48719         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48720
48721         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48722         place.  Use VEX encoding when compiling for AVX.
48723
48724 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48725
48726         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48727         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48728
48729         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48730
48731 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48732
48733         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48734         useless if() expression.
48735         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48738         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48739         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48740         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48741         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48743         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48744         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48745         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48746         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48747         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48748         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48749         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48750         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48751         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48752         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48753         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48754
48755         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48756
48757 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48758
48759         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48760         condition.
48761         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48762
48763 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48764
48765         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48766         .text section.  Avoid duplicate constants.
48767         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48768         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48769         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48770         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48771         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48774         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48775         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48776         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48777         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48778         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48779         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48780         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48781         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48782         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48783         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48785         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48787         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48788         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48789         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48790         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48791         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48792         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48793         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48794         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48795         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48796         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48797         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48798         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48800         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48801         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48802         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48803         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48804         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48805         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48806         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48807         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48808         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48809         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48810         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48811         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48812
48813 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48814
48815         * sysdeps/x86_64/dla.h: Move to ...
48816         * sysdeps/x86_64/fpu/dla.h: ...here.
48817         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48818         situations.  Use __builtin_fma only for gcc 4.6 and up.
48819
48820         * config.make.in: Add have-mfma4 entry.
48821         * configure.in: Substitute libc_cv_cc_fma4.
48822         * math/Makefile (dbl-only-routines): Add sincostab.
48823         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48824         Use __sincostab not sincos.
48825         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48826         name is a macro.
48827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48828         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48829         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48831         using __copysign.
48832         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48833         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48834         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48835         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48836         and __inv.
48837         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48838         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48839         __copysign.
48840         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48841         define aliases when function name is a macro.
48842         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48843         sysdeps/ieee754/dbl-64/sincos.tbl.
48844         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48845         fma4-enabled routines.
48846         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48847         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48848         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48849         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48850         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48851         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48852         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48853         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48854         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48855         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48856         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48857         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48858         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48859         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48860         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48861         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48862         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48863         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48864         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48865         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48866         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48867         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48868         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48869         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48870         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48871         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48872         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48873         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48874         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48875         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48876
48877         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48878         rename.
48879         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48880         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48884         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48885         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48887
48888 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48889
48890         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48891
48892 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48893
48894         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48895
48896         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48897         prediction.
48898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48899
48900         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48901         Remove unused variable magic_bits.
48902         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48903
48904         * string/strnlen.c: Define and use STRNLEN macro.
48905         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48906         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48907         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48908         * wcsmbs/wcslen.c: Define and use WCSLEN.
48909         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48910         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48911         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48912         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48913         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48914         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48915         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48916
48917 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48918
48919         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48920         strnlen-sse2-no-bsf.
48921         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48922         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48923         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48924         Add strnlen support.
48925         (USE_AS_STRNLEN): New macro.
48926         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48927         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48928         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48929         * sysdeps/x86_64/wcslen.S: New file.
48930
48931 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48932
48933         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48934         XMM-moves are used for copying on small sizes.
48935
48936 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48937
48938         * wcsmbs/Makefile (strop-tests): Add wcschr.
48939         * wcsmbs/test-wcschr.c: New file.
48940         * string/test-strchr.c: Update.
48941         Add wcschr support.
48942         (WIDE): New macro.
48943
48944 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48945
48946         * wcsmbs/Makefile (strop-tests): Add wcslen.
48947         * wcsmbs/test-wcslen.c: New file.
48948         * string/test-strlen.c: Update.
48949         Add wcslen support.
48950         (WIDE): New macro.
48951
48952 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48953
48954         * po/it.po: Update from translation team.
48955
48956 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48957
48958         * sysdeps/x86_64/wcscmp.S: Update.
48959         Fix wrong comparison semantics.
48960         wcscmp shall use signed comparison not unsigned.
48961         Don't use substraction to avoid overflow bug.
48962         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48963         * wcsmbc/wcscmp.c: Likewise.
48964         * string/test-strcmp.c: Likewise.
48965         Add new tests to check cases with negative values.
48966
48967 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48968
48969         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48970         * sysdeps/x86_64/dla.h: ...here.  New file.
48971         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48972         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48973         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48974         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48975         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48978         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48979         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48980
48981 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48982
48983         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48984         __ynl_finite aliases.
48985
48986 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48987
48988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48989
48990         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48991         define DLA_FMA.
48992         [DLA_FMA] (EMULV): Use DLA_FMA.
48993         [DLA_FMA] (MUL12): Use EMULV.
48994         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48995         that are not needed.
48996         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48998         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48999         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49000         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49001         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49002         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49003
49004 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49005
49006         * math/s_nan.c: Undef __nan.
49007         * math/s_nanf.c: Undef __nanf.
49008         * math/s_nanl.c: Undef __nanl.
49009         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49010         "math_private.h".
49011
49012 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49013
49014         * math/s_catan.c: Add branch predictions.
49015         * math/s_catanf.c: Likewise.
49016         * math/s_catanh.c: Likewise.
49017         * math/s_catanhf.c: Likewise.
49018         * math/s_catanhl.c: Likewise.
49019         * math/s_catanl.c: Likewise.
49020         * math/s_cexp.c: Likewise.
49021         * math/s_cexpf.c: Likewise.
49022         * math/s_cexpl.c: Likewise.
49023         * math/s_clog.c: Likewise.
49024         * math/s_clog10.c: Likewise.
49025         * math/s_clog10f.c: Likewise.
49026         * math/s_clog10l.c: Likewise.
49027         * math/s_clogf.c: Likewise.
49028         * math/s_clogl.c: Likewise.
49029         * math/s_csqrt.c: Likewise.
49030         * math/s_csqrtf.c: Likewise.
49031         * math/s_csqrtl.c: Likewise.
49032         * math/s_ctanf.c: Likewise.
49033         * math/s_ctanh.c: Likewise.
49034         * math/s_ctanhf.c: Likewise.
49035         * math/s_ctanhl.c: Likewise.
49036         * math/s_ctanl.c: Likewise.
49037
49038         * math/math_private.h: Define __nan, __nanf, __nanl.
49039         * math/s_cacosh.c: Include <math_private.h>.
49040         * math/s_cacoshl.c: Likewise.
49041         * math/s_casinh.c: Likewise.
49042         * math/s_casinhf.c: Likewise.
49043         * math/s_casinhl.c: Likewise.
49044         * math/s_ccos.c: Rely entire on ccosh.
49045         * math/s_ccosf.c: Rely entire on ccoshf.
49046         * math/s_ccosl.c: Rely entirely on ccoshl.
49047         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49048         Remove tests for FE_INVALID.
49049         * math/s_ccoshf.c: Likewise.
49050         * math/s_ccoshl.c: Likewise.
49051         * math/s_csin.c: Likewise.
49052         * math/s_csinf.c: Likewise.
49053         * math/s_csinh.c Likewise.
49054         * math/s_csinhf.c: Likewise.
49055         * math/s_csinhl.c: Likewise.
49056         * math/s_csinl.c: Likewise.
49057         * math/s_ctan.c: Likewise.
49058         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49059         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49060         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49061
49062 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49063
49064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49065         compilation problems.
49066
49067         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49068         __builtin_expect.
49069
49070 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49071
49072         * sysdeps/i386/configure.in: Test for -mfma4 option.
49073         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49074         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49075         COMMON_CPUID_INDEX_80000001.
49076         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49077         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49078         use it if FMA3 is not supported.
49079         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49080
49081         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49082         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49083
49084 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49085
49086         [BZ #12892]
49087         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49088         it would create a cycle with a link time dependency.
49089
49090 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49091
49092         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49093         instruction.
49094         * string/Makefile (strop-tests): Add rawmemchr.
49095         * string/test-rawmemchr.c: New file.
49096
49097         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49098         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49099         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49100         when compiling str{,n}casecmp and when AVX is available.  Hook up
49101         new optimized code in initializers.
49102
49103 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49104
49105         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49106         __feraiseexcept instead of feraiseexcept.
49107
49108 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49109
49110         * math/math_private.h: Define defaults for libc_fetestexcept and
49111         libc_feupdateenv.
49112         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49113         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49114         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49115         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49116         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49117         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49118         libc_fetestexcept and libc_feupdateenv.
49119
49120         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49121         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49122         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49123         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49124         libc_feholdexcept_setround.
49125
49126         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49127         Add s_nearbyint-c and s_nearbyintf-c.
49128         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49129         nearbyintf inlines.
49130         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49131         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49132         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49133         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49134
49135         * math/math_private.h: Define defaults for libc_fegetround,
49136         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49137         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49138         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49139         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49140         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49141         standard functions.
49142         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49143         Remove comments and hacks for old compiler versions.
49144         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49145         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49146         libc_feholdexceptl.
49147
49148 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49149
49150         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49151         (__feraiseexcept_renamed): Add __NTH.
49152         (feraiseexcept): Add __NTH.  Rename local variables to fix
49153         namespace violations.
49154
49155 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49156
49157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49158
49159         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49160
49161         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49162         recently added interfaces.
49163         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49164
49165         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49166         about macro parameter expansion.
49167
49168         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49169         __NO_MATH_INLINES is defined.  Cleanups.
49170
49171         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49172         and __floorf is target has SSE4.1.
49173         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49174         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49175         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49176         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49177
49178         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49179         name.
49180         (floorf): Likewise.
49181
49182         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49183
49184 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49185
49186         * misc/sys/cdefs.h: Fix last change.
49187
49188         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49189         database lookup.
49190
49191 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49192
49193         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49194
49195         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49196         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49197         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49198         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49199         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49200         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49201         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49203         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49204         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49205         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49206         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49207         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49208         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49209         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49210         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49211         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49212         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49213         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49214         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49215         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49216         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49217
49218         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49219         ceil, ceilf, floor, floorf.
49220
49221         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49222         Perform IRELATIVE relocations last.
49223
49224         * elf/do-rel.h: Add another parameter nrelative, replacing the
49225         local variable with the same name.  Change name of the function
49226         to end in Rel or Rela (uppercase).
49227         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49228         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49229         elf_dynamic_do_##reloc function.
49230
49231 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49232
49233         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49234         is sufficient, at least on modern CPUs.
49235
49236         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49237
49238         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49239         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49240
49241         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49242         __expl_finite.
49243         * math/bits/math-finite.h: Add entries for exp.
49244         * math/e_expl.c: Add __*_finite alias.
49245         * sysdeps/i386/fpu/e_exp.S: Likewise.
49246         * sysdeps/i386/fpu/e_expf.S: Likewise.
49247         * sysdeps/i386/fpu/e_expl.c: Likewise.
49248         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49249         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49252         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49253         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49254         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49255
49256         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49257         is sufficient, at least on modern CPUs.
49258
49259         * ctype/ctype-info.c (__ctype_init): Define.
49260         * include/ctype.h (__ctype_init): Declare.
49261         (__ctype_b_loc): The variable is always initialized.
49262         (__ctype_toupper_loc): Likewise.
49263         (__ctype_tolower_loc): Likewise.
49264         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49265         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49266
49267 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49268
49269         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49270
49271         * configure.in: Also look in $cxxmachine/include for C++ system
49272         headers.
49273
49274 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49275
49276         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49277         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49278         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49279         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49280         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49281         (USE_AS_WMEMCMP): New macro.
49282         Fixing indents.
49283         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49284         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49285         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49286         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49288         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49289         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49290         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49291         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49292         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49293         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49294         (USE_AS_WMEMCMP): New macro.
49295         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49296         * sysdeps/string/test-memcmp.c: Update.
49297         Fix simple_wmemcmp.
49298         Add new tests.
49299         * wcsmbs/wmemcmp.c: Update.
49300         (WMEMCMP): New macro.
49301         Fix overflow bug.
49302
49303 2011-10-12  Andreas Jaeger  <aj@suse.de>
49304
49305         [BZ #13268]
49306         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49307
49308 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49309
49310         * libio/iofwide.c (do_length): Avoid warning.
49311
49312         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49313
49314 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49315
49316         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49317
49318         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49319         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49320         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49321         * sysdeps/i386/i686/fpu/e_log.S: New file.
49322         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49323         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49324
49325         * ctype/ctype.h: Add support for inlined isXXX functions when
49326         compiling C++ code.
49327
49328 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49329
49330         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49331
49332         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49333
49334 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49335
49336         [BZ #13291]
49337         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49338
49339 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49340
49341         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49342         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49343         feraiseexcept.
49344
49345         * sysdeps/x86_64/memrchr.S: Check for zero size.
49346
49347         * string/stratcliff.c: Add memrchr tests.
49348
49349 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49350
49351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49352         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49353         rawmemchr-sse2 rawmemchr-sse2-bsf.
49354         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49355         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49356         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49357         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49358         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49359         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49360         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49361         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49362         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49363         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49364         * string/memrchr.c (MEMRCHR): New macro.
49365
49366 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49367
49368         Add integration with gcc's -ffinite-math-only and optimize wrapper
49369         functions in libm.
49370         * Versions.def: Define GLIBC_2.15 version for libm.
49371         * math/Makefile (headers): Add bits/math-finite.h.
49372         * math/bits/math-finite.h: New file.
49373         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49374         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49375         * math/e_acoshl.c: Add __*_finite alias.
49376         * math/e_acosl.c: Likewise.
49377         * math/e_asinl.c: Likewise.
49378         * math/e_atan2l.c: Likewise.
49379         * math/e_atanhl.c: Likewise.
49380         * math/e_coshl.c: Likewise.
49381         * math/e_exp10.c: Likewise.
49382         * math/e_exp10f.c: Likewise.
49383         * math/e_exp10l.c: Likewise.
49384         * math/e_exp2l.c: Likewise.
49385         * math/e_fmodl.c: Likewise.
49386         * math/e_gammal_r.c: Likewise.
49387         * math/e_hypotl.c: Likewise.
49388         * math/e_j0l.c: Likewise.
49389         * math/e_j1l.c: Likewise.
49390         * math/e_jnl.c: Likewise.
49391         * math/e_lgammal_r.c: Likewise.
49392         * math/e_log10l.c: Likewise.
49393         * math/e_log2l.c: Likewise.
49394         * math/e_logl.c: Likewise.
49395         * math/e_powl.c: Likewise.
49396         * math/e_sinhl.c: Likewise.
49397         * math/e_sqrtl.c: Likewise.
49398         * math/e_scalb.c: Completely rewritten and optimized.
49399         * math/e_scalbf.c: Likewise.
49400         * math/e_scalbl.c: Likewise.
49401         * math/w_acos.c: Likewise.
49402         * math/w_acosf.c: Likewise.
49403         * math/w_acosl.c: Likewise.
49404         * math/w_acosh.c: Likewise.
49405         * math/w_acoshf.c: Likewise.
49406         * math/w_acoshl.c: Likewise.
49407         * math/w_asin.c: Likewise.
49408         * math/w_asinf.c: Likewise.
49409         * math/w_asinl.c: Likewise.
49410         * math/w_atan2.c: Likewise.
49411         * math/w_atan2f.c: Likewise.
49412         * math/w_atan2l.c: Likewise.
49413         * math/w_atanh.c: Likewise.
49414         * math/w_atanhf.c: Likewise.
49415         * math/w_atanhl.c: Likewise.
49416         * math/w_exp10.c: Likewise.
49417         * math/w_exp10f.c: Likewise.
49418         * math/w_exp10l.c: Likewise.
49419         * math/w_fmod.c: Likewise.
49420         * math/w_fmodf.c: Likewise.
49421         * math/w_fmodl.c: Likewise.
49422         * math/w_j0.c: Likewise.
49423         * math/w_j0f.c: Likewise.
49424         * math/w_j0l.c: Likewise.
49425         * math/w_j1.c: Likewise.
49426         * math/w_j1f.c: Likewise.
49427         * math/w_j1l.c: Likewise.
49428         * math/w_jn.c: Likewise.
49429         * math/w_jnf.c: Likewise.
49430         * math/w_log.c: Likewise.
49431         * math/w_logf.c: Likewise.
49432         * math/w_logl.c: Likewise.
49433         * math/w_log10.c: Likewise.
49434         * math/w_log10f.c: Likewise.
49435         * math/w_log10l.c: Likewise.
49436         * math/w_log2.c: Likewise.
49437         * math/w_log2f.c: Likewise.
49438         * math/w_log2l.c: Likewise.
49439         * math/w_pow.c: Likewise.
49440         * math/w_powf.c: Likewise.
49441         * math/w_powl.c: Likewise.
49442         * math/w_remainder.c: Likewise.
49443         * math/w_remainderf.c: Likewise.
49444         * math/w_remainderl.c: Likewise.
49445         * math/w_scalb.c: Likewise.
49446         * math/w_scalbf.c: Likewise.
49447         * math/w_scalbl.c: Likewise.
49448         * math/w_sqrt.c: Likewise.
49449         * math/w_sqrtf.c: Likewise.
49450         * math/w_sqrtl.c: Likewise.
49451         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49452         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49453         used.
49454         * math/math_private.h: Declare __kernel_standard_f.
49455         * math/w_cosh.c: Remove cruft and optimize a bit.
49456         * math/w_coshf.c: Likewise.
49457         * math/w_coshl.c: Likewise.
49458         * math/w_exp2.c: Likewise.
49459         * math/w_exp2f.c: Likewise.
49460         * math/w_exp2l.c: Likewise.
49461         * math/w_hypot.c: Likewise.
49462         * math/w_hypotf.c: Likewise.
49463         * math/w_hypotl.c: Likewise.
49464         * math/w_lgamma.c: Likewise.
49465         * math/w_lgamma_r.c: Likewise.
49466         * math/w_lgammaf.c: Likewise.
49467         * math/w_lgammaf_r.c: Likewise.
49468         * math/w_lgammal.c: Likewise.
49469         * math/w_lgammal_r.c: Likewise.
49470         * math/w_sinh.c: Likewise.
49471         * math/w_sinhf.c: Likewise.
49472         * math/w_sinhl.c: Likewise.
49473         * math/w_tgamma.c: Likewise.
49474         * math/w_tgammaf.c: Likewise.
49475         * math/w_tgammal.c: Likewise.
49476         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49477         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49478         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49479         Minor optimizations.  Pretty printing.  Remove cruft.
49480         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49481         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49482         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49483         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49484         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49485         * sysdeps/i386/fpu/e_asin.S: Likewise.
49486         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49487         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49488         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49489         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49490         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49491         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49492         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49493         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49494         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49495         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49496         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49497         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49498         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49499         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49500         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49501         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49502         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49503         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49504         * sysdeps/i386/fpu/e_log.S: Likewise.
49505         * sysdeps/i386/fpu/e_log10.S: Likewise.
49506         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49507         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49508         * sysdeps/i386/fpu/e_log2.S: Likewise.
49509         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49510         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49511         * sysdeps/i386/fpu/e_logf.S: Likewise.
49512         * sysdeps/i386/fpu/e_logl.S: Likewise.
49513         * sysdeps/i386/fpu/e_pow.S: Likewise.
49514         * sysdeps/i386/fpu/e_powf.S: Likewise.
49515         * sysdeps/i386/fpu/e_powl.S: Likewise.
49516         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49517         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49518         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49519         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49520         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49521         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49522         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49523         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49524         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49525         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49526         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49527         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49528         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49529         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49530         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49531         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49532         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49533         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49534         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49535         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49536         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49540         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49541         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49542         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49543         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49545         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49546         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49547         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49548         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49549         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49550         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49551         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49552         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49553         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49554         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49555         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49556         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49557         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49558         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49559         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49560         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49561         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49562         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49563         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49564         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49565         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49566         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49567         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49568         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49569         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49570         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49571         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49572         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49573         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49574         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49575         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49576         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49577         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49578         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49579         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49580         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49581         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49582         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49583         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49584         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49585         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49586         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49587         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49588         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49589         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49590         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49591         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49593         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49594         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49595         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49596         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49597         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49599         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49600         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49601         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49602         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49603         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49604         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49605         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49606         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49607         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49608         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49609         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49610         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49611         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49612         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49613         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49614         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49615         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49616         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49617         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49618         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49619         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49620         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49621         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49622         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49623         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49624         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49625         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49626         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49627         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49628         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49629         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49631         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49632         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49633         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49634         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49635         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49636         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49637         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49638         (__isnanf): Likewise.
49639         (__isinf_ns): Likewise.
49640         (__isinf_nsf): Likewise.
49641         (__finite): Likewise.
49642         (__finitef): Likewise.
49643         (__ieee754_sqrt): Define as macro.
49644         (__ieee754_sqrtf): Define as macro.
49645         (__ieee754_sqrtl): Define as macro.
49646         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49647         inlined copy.
49648         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49649         __FINITE_MATH_ONLY__ consistent.
49650         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49651
49652 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49653
49654         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49655         of rawmemchr.
49656
49657         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49658
49659 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49660
49661         * po/ja.po: Update from translation team.
49662
49663 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49664
49665         * locale/programs/locarchive.c (prepare_address_space): New function.
49666         (create_archive, enlarge_archive, open_archive): Use it.
49667
49668         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49669         inside [SHARED], where it is used.
49670
49671         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49672
49673         * nss/getent.c (netgroup_keys): Remove unused variable.
49674         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49675
49676 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49677
49678         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49679         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49681         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49682         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49683         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49684         * math/Makefile (libm-calls): Add s_isinf_ns.
49685         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49686         * math/multc3.c: Likewise.
49687         * math/s_casin.c: Likewise.
49688         * math/s_casinf.c: Likewise.
49689         * math/s_casinl.c: Likewise.
49690         * math/s_ccos.c: Likewise.
49691         * math/s_ccosf.c: Likewise.
49692         * math/s_ccosl.c: Likewise.
49693         * math/s_ctan.c: Likewise.
49694         * math/s_ctanf.c: Likewise.
49695         * math/s_ctanh.c: Likewise.
49696         * math/s_ctanhf.c: Likewise.
49697         * math/s_ctanhl.c: Likewise.
49698         * math/s_ctanl.c: Likewise.
49699         * math/w_fmod.c: Likewise.
49700         * math/w_fmodf.c: Likewise.
49701         * math/w_fmodl.c: Likewise.
49702         * math/w_remainder.c: Likewise.
49703         * math/w_remainderf.c: Likewise.
49704         * math/w_remainderl.c: Likewise.
49705         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49706         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49707         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49708         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49709         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49710         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49711         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49712         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49713
49714         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49715         of the number.
49716         * stdio-common/printf_fphex.c: Likewise.
49717         * stdio-common/printf_size.c: Likewise.
49718
49719         * math/e_exp10.c: Include math_private.h using <...> not "...".
49720         * math/e_exp10f.c: Likewise.
49721         * math/e_exp10l.c: Likewise.
49722         * math/e_exp2l.c: Likewise.
49723         * math/e_j0l.c: Likewise.
49724         * math/e_j1l.c: Likewise.
49725         * math/e_jnl.c: Likewise.
49726         * math/e_lgammal_r.c: Likewise.
49727         * math/e_rem_pio2l.c: Likewise.
49728         * math/e_scalb.c: Likewise.
49729         * math/e_scalbf.c: Likewise.
49730         * math/e_scalbl.c: Likewise.
49731         * math/k_cosl.c: Likewise.
49732         * math/k_sinl.c: Likewise.
49733         * math/k_tanl.c: Likewise.
49734         * math/s_cacoshf.c: Likewise.
49735         * math/s_catan.c: Likewise.
49736         * math/s_catanf.c: Likewise.
49737         * math/s_catanh.c: Likewise.
49738         * math/s_catanhf.c: Likewise.
49739         * math/s_catanhl.c: Likewise.
49740         * math/s_catanl.c: Likewise.
49741         * math/s_ccosh.c: Likewise.
49742         * math/s_ccoshf.c: Likewise.
49743         * math/s_ccoshl.c: Likewise.
49744         * math/s_cexp.c: Likewise.
49745         * math/s_cexpf.c: Likewise.
49746         * math/s_cexpl.c: Likewise.
49747         * math/s_clog.c: Likewise.
49748         * math/s_clog10.c: Likewise.
49749         * math/s_clog10f.c: Likewise.
49750         * math/s_clog10l.c: Likewise.
49751         * math/s_clogf.c: Likewise.
49752         * math/s_clogl.c: Likewise.
49753         * math/s_csin.c: Likewise.
49754         * math/s_csinf.c: Likewise.
49755         * math/s_csinh.c: Likewise.
49756         * math/s_csinhf.c: Likewise.
49757         * math/s_csinhl.c: Likewise.
49758         * math/s_csinl.c: Likewise.
49759         * math/s_csqrt.c: Likewise.
49760         * math/s_csqrtf.c: Likewise.
49761         * math/s_csqrtl.c: Likewise.
49762         * math/s_ctan.c: Likewise.
49763         * math/s_ctanf.c: Likewise.
49764         * math/s_ctanh.c: Likewise.
49765         * math/s_ctanhf.c: Likewise.
49766         * math/s_ctanhl.c: Likewise.
49767         * math/s_ctanl.c: Likewise.
49768         * math/s_ldexp.c: Likewise.
49769         * math/s_ldexpf.c: Likewise.
49770         * math/s_ldexpl.c: Likewise.
49771         * math/s_significand.c: Likewise.
49772         * math/s_significandf.c: Likewise.
49773         * math/s_significandl.c: Likewise.
49774         * math/w_acos.c: Likewise.
49775         * math/w_acosf.c: Likewise.
49776         * math/w_acosh.c: Likewise.
49777         * math/w_acoshf.c: Likewise.
49778         * math/w_acoshl.c: Likewise.
49779         * math/w_acosl.c: Likewise.
49780         * math/w_asin.c: Likewise.
49781         * math/w_asinf.c: Likewise.
49782         * math/w_asinl.c: Likewise.
49783         * math/w_atan2.c: Likewise.
49784         * math/w_atan2f.c: Likewise.
49785         * math/w_atan2l.c: Likewise.
49786         * math/w_atanh.c: Likewise.
49787         * math/w_atanhf.c: Likewise.
49788         * math/w_atanhl.c: Likewise.
49789         * math/w_cosh.c: Likewise.
49790         * math/w_coshf.c: Likewise.
49791         * math/w_coshl.c: Likewise.
49792         * math/w_dremf.c: Likewise.
49793         * math/w_exp10.c: Likewise.
49794         * math/w_exp10f.c: Likewise.
49795         * math/w_exp10l.c: Likewise.
49796         * math/w_exp2.c: Likewise.
49797         * math/w_exp2f.c: Likewise.
49798         * math/w_fmod.c: Likewise.
49799         * math/w_fmodf.c: Likewise.
49800         * math/w_fmodl.c: Likewise.
49801         * math/w_hypot.c: Likewise.
49802         * math/w_hypotf.c: Likewise.
49803         * math/w_hypotl.c: Likewise.
49804         * math/w_j0.c: Likewise.
49805         * math/w_j0f.c: Likewise.
49806         * math/w_j0l.c: Likewise.
49807         * math/w_j1.c: Likewise.
49808         * math/w_j1f.c: Likewise.
49809         * math/w_j1l.c: Likewise.
49810         * math/w_jn.c: Likewise.
49811         * math/w_jnf.c: Likewise.
49812         * math/w_jnl.c: Likewise.
49813         * math/w_lgamma.c: Likewise.
49814         * math/w_lgamma_r.c: Likewise.
49815         * math/w_lgammaf.c: Likewise.
49816         * math/w_lgammaf_r.c: Likewise.
49817         * math/w_lgammal.c: Likewise.
49818         * math/w_lgammal_r.c: Likewise.
49819         * math/w_log.c: Likewise.
49820         * math/w_log10.c: Likewise.
49821         * math/w_log10f.c: Likewise.
49822         * math/w_log10l.c: Likewise.
49823         * math/w_log2.c: Likewise.
49824         * math/w_log2f.c: Likewise.
49825         * math/w_log2l.c: Likewise.
49826         * math/w_logf.c: Likewise.
49827         * math/w_logl.c: Likewise.
49828         * math/w_pow.c: Likewise.
49829         * math/w_powf.c: Likewise.
49830         * math/w_powl.c: Likewise.
49831         * math/w_remainder.c: Likewise.
49832         * math/w_remainderf.c: Likewise.
49833         * math/w_remainderl.c: Likewise.
49834         * math/w_scalb.c: Likewise.
49835         * math/w_scalbf.c: Likewise.
49836         * math/w_scalbl.c: Likewise.
49837         * math/w_sinh.c: Likewise.
49838         * math/w_sinhf.c: Likewise.
49839         * math/w_sinhl.c: Likewise.
49840         * math/w_sqrt.c: Likewise.
49841         * math/w_sqrtf.c: Likewise.
49842         * math/w_sqrtl.c: Likewise.
49843         * math/w_tgamma.c: Likewise.
49844         * math/w_tgammaf.c: Likewise.
49845         * math/w_tgammal.c: Likewise.
49846
49847         * po/ja.po: Update from translation team.
49848
49849 2011-09-29  Andreas Jaeger  <aj@suse.de>
49850
49851         [BZ #13179]
49852         * sunrpc/netname.c (netname2host): Fix logic.
49853
49854         [BZ #6779]
49855         [BZ #6783]
49856         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49857         correctly.
49858         * math/w_remainder.c (__remainder): Likewise.
49859         * math/w_remainderf.c (__remainderf): Likewise.
49860         * math/libm-test.inc (remainder_test): Add test cases.
49861
49862 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49863
49864         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49865         sdiv_qrnnd.
49866
49867 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49868
49869         * string/test-memcmp.c: Avoid unncessary #defines.
49870         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49871
49872 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49873
49874         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49875         Use new sse2 version for core i3 - i7 as it's faster
49876         than sse42 version.
49877         (bit_Prefer_PMINUB_for_stringop): New.
49878         * sysdeps/x86_64/rawmemchr.S: Update.
49879         Replace with faster SSE2 version.
49880         * sysdeps/x86_64/memrchr.S: New file.
49881         * sysdeps/x86_64/memchr.S: Update.
49882         Replace with faster SSE2 version.
49883
49884 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49885
49886         * elf/dl-load.c (lose): Add cast to avoid warning.
49887
49888 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49889
49890         * po/ca.po: Update from translation team.
49891
49892         * inet/getnetgrent_r.c: Hook up nscd.
49893         * nscd/Makefile (routines): Add nscd_netgroup.
49894         (nscd-modules): Add netgroupcache.
49895         (CFLAGS-netgroupcache.c): Define.
49896         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49897         (cache_search): Add const to second parameter.
49898         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49899         INNETGR.
49900         (dbs): Add netgrdb entry.
49901         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49902         (verify_persistent_db): Handle netgrdb.
49903         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49904         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49905         GETFDNETGR.
49906         (netgroup_response_header): Define.
49907         (innetgroup_response_header): Define.
49908         (datahead): Add netgroup_response_header and innetgroup_response_header
49909         elements.
49910         * nscd/nscd.conf: Add entries for netgroup cache.
49911         * nscd/nscd.h (dbtype): Add netgrdb.
49912         (_PATH_NSCD_NETGROUP_DB): Define.
49913         (netgroup_iov_disabled): Declare.
49914         (xmalloc, xcalloc, xrealloc): Move declarations here.
49915         (cache_search): Adjust prototype.
49916         Add netgroup-related prototypes.
49917         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49918         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49919         (__nscd_innetgr): Declare.
49920         * nscd/selinux.c (perms): Use access_vector_t as element type and
49921         add netgroup-related initializers.
49922         * nscd/netgroupcache.c: New file.
49923         * nscd/nscd_netgroup.c: New file.
49924         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49925         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49926         For four parameters use innetgr.
49927         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49928         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49929         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49930         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49931
49932         * nscd/connections.c (register_traced_file): Don't register file
49933         for disabled databases.
49934
49935 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49936
49937         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49938
49939         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49940         from tree and freeing node.
49941
49942 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49943
49944         * nss/nsswitch.c (__nss_database_lookup): Handle
49945         nss_parse_service_list out of memory case.
49946
49947 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49948
49949         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49950         out of memory case.
49951
49952 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49953
49954         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49955         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49956         pass it down.
49957         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49958         elf_machine_rela, elf_machine_lazy_rel.
49959         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49960         (ELF_DYNAMIC_DO_REL): Likewise.
49961         (ELF_DYNAMIC_DO_RELA): Likewise.
49962         (ELF_DYNAMIC_RELOCATE): Likewise.
49963         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49964         to ELF_DYNAMIC_DO_REL.
49965         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49966         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49967         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49968         elf_machine_rela.
49969         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49970         skip_ifunc, don't call ifunc function if non-zero.
49971         (elf_machine_rela): Likewise.
49972         (elf_machine_lazy_rel): Likewise.
49973         (elf_machine_lazy_rela): Likewise.
49974         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49975         (elf_machine_lazy_rel): Likewise.
49976         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49977         Likewise.
49978         (elf_machine_lazy_rel): Likewise.
49979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49980         Likewise.
49981         (elf_machine_lazy_rel): Likewise.
49982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49983         (elf_machine_lazy_rel): Likewise.
49984         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49985         (elf_machine_lazy_rel): Likewise.
49986         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49987         (elf_machine_lazy_rel): Likewise.
49988         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49989         (elf_machine_lazy_rel): Likewise.
49990         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49991         (elf_machine_lazy_rel): Likewise.
49992         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49993         (elf_machine_lazy_rel): Likewise.
49994
49995 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49996
49997         * nss/nss_files/files-init.c (_nss_files_init): Use static
49998         initialization for all the *_traced_file variables.
49999
50000 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50001
50002         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50003
50004 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50005
50006         [BZ #13226]
50007         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50008
50009 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50010
50011         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50012         Reread the line before reparsing it.
50013
50014 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50015
50016         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50017
50018 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50019             Maxim Kuvyrkov  <maxim@codesourcery.com>
50020             Joseph Myers  <joseph@codesourcery.com>
50021
50022         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50023         if needed for __stack_chk_guard.
50024
50025 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50026
50027         * sysdeps/posix/spawni.c (script_execute): Always define it.
50028         It will be optimized away if unused.
50029         (maybe_script_execute): New function.
50030         (__spawni): Call it.
50031
50032         * Makerules: Don't include tls.make.
50033         (config-tls): Always set to thread.
50034         * tls.make.c: File removed.
50035
50036 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50037
50038         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50039         * config.make.in (CPPFLAGS-config): New substituted variable.
50040
50041 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50042
50043         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50044
50045         [BZ #13192]
50046         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50047         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50048
50049 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50050
50051         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50052         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50054         (CALL_FAIL): Likewise.
50055         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50056         (CALL_FAIL): Macro removed.
50057         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50058
50059 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50060
50061         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50062         for __FINITE_MATH_ONLY__ == 1.
50063
50064 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50065
50066         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50067         __ieee754_sqrt instead of sqrt.
50068         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50069         __ieee754_sqrtf instead of sqrtf.
50070         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50071         __floorf instead of floorf.
50072         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50073         __floorf, __truncf instead of floorf, truncf.
50074
50075 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50076
50077         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50078
50079         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50080         __extern_always_inline.
50081         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50082         32-bit.
50083
50084 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50085
50086         * elf/rtld.c (dl_main): Also relocate in dependency order when
50087         doing symbol dependency testing.
50088
50089 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50090
50091         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50092         Always define `refsym'.
50093
50094 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50095
50096         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50097         (__FD_ELT): Renamed from __FDELT.
50098         * misc/bits/select2.h (__FD_ELT): Likewise.
50099         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50100         __FD_MASK instead of __FDELT, __FDMASK.
50101         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50102         Likewise.
50103         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50104         Likewise.
50105
50106         * elf/Makefile (gen-ldd): Fix pattern.
50107
50108         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50109         (init_tls): Likewise.
50110
50111 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50112
50113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50114
50115 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50116
50117         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50118         `struct cmsghdr *' instead of `void *'.
50119         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50120         Likewise.
50121
50122 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50123
50124         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50125         if non-absolute.
50126         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50127         ldd_rewrite_script.
50128
50129 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50130
50131         * configure.in: Remove --with-tls option.
50132         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50133         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50134         out in case it is missing.
50135         * sysdeps/ia64/elf/configure.in: Likewise.
50136         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50137         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50138         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50139         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50140         * sysdeps/sh/elf/configure.in: Likewise.
50141         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50142         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50143         * sysdeps/x86_64/elf/configure.in: Likewise.
50144         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50145         * sysdeps/mach/hurd/tls.h: Likewise.
50146
50147         [BZ #13067]
50148         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50149
50150         [BZ #13090]
50151         * configure.in: Fix use of AC_INIT.
50152
50153         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50154
50155 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50156
50157         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50158         __set_errno.
50159         * malloc/hooks.c: Likewise.
50160
50161         [BZ #11929]
50162         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50163         variables statically.
50164         (narenas): Initialize.
50165         (list_lock): Initialize.
50166         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50167         initializtion of main_arena and list_lock.  Small cleanups.
50168         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50169         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50170         Add initializers to main_arena and mp_.
50171         (malloc_state): Remove pagesize member.  Change all users to use
50172         GLRO(dl_pagesize).
50173
50174         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50175         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50176         is always initialized.
50177
50178         * malloc/malloc.c: Removed unused configurations and dead code.
50179         * malloc/arena.c: Likewise.
50180         * malloc/hooks.c: Likewise.
50181         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50182
50183         * include/tls.h: Removed.  USE___THREAD must always be defined.
50184         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50185         * elf/dl-libc.c: Likewise.
50186         * elf/dl-tsd.c: Likewise.
50187         * include/errno.h: Likewise.
50188         * include/netdb.h: Likewise.
50189         * include/resolv.h: Likewise.
50190         * inet/herrno-loc.c: Likewise.
50191         * inet/herrno.c: Likewise.
50192         * malloc/arena.c: Likewise.
50193         * malloc/hooks.c: Likewise.
50194         * malloc/malloc.c: Likewise.
50195         * resolv/res-state.c: Likewise.
50196         * resolv/res_libc.c: Likewise.
50197         * sysdeps/i386/dl-machine.h: Likewise.
50198         * sysdeps/ia64/dl-machine.h: Likewise.
50199         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50200         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50201         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50202         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50203         * sysdeps/sh/dl-machine.h: Likewise.
50204         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50205         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50206         * sysdeps/unix/i386/sysdep.S: Likewise.
50207         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50208         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50213         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50214         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50215         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50216         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50217         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50218         * sysdeps/x86_64/dl-machine.h: Likewise.
50219         * tls.make.c: Likewise.
50220
50221         * configure.in: Remove --with-__thread option.  Make tests for
50222         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50223         tls_model attribute fail if no support is available.  Remove
50224         USE_IN_LIBIO.
50225         * Makeconfig: Adjust for dropped configure option.  All features are
50226         now mandatory.
50227         * Makerules: Likewise.
50228         * Versions.def: Likewise.
50229         * argp/argp-fmtstream.c: Likewise.
50230         * argp/argp-fmtstream.h: Likewise.
50231         * argp/argp-help.c: Likewise.
50232         * assert/assert.c: Likewise.
50233         * config.h.in: Likewise.
50234         * config.make.in: Likewise.
50235         * configure: Likewise.
50236         * configure.in: Likewise.
50237         * csu/Versions: Likewise.
50238         * csu/init.c: Likewise.
50239         * elf/tst-audit2.c: Likewise.
50240         * elf/tst-tls10.c: Likewise.
50241         * elf/tst-tls10.h: Likewise.
50242         * elf/tst-tls11.c: Likewise.
50243         * elf/tst-tls12.c: Likewise.
50244         * elf/tst-tls14.c: Likewise.
50245         * elf/tst-tlsmod11.c: Likewise.
50246         * elf/tst-tlsmod12.c: Likewise.
50247         * elf/tst-tlsmod13.c: Likewise.
50248         * elf/tst-tlsmod13a.c: Likewise.
50249         * elf/tst-tlsmod14a.c: Likewise.
50250         * elf/tst-tlsmod15b.c: Likewise.
50251         * elf/tst-tlsmod16a.c: Likewise.
50252         * elf/tst-tlsmod16b.c: Likewise.
50253         * elf/tst-tlsmod7.c: Likewise.
50254         * elf/tst-tlsmod8.c: Likewise.
50255         * elf/tst-tlsmod9.c: Likewise.
50256         * gmon/gmon.c: Likewise.
50257         * grp/fgetgrent_r.c: Likewise.
50258         * grp/putgrent.c: Likewise.
50259         * hurd/fopenport.c: Likewise.
50260         * include/libc-symbols.h: Likewise.
50261         * include/tls.h: Likewise.
50262         * intl/gettextP.h: Likewise.
50263         * intl/loadinfo.h: Likewise.
50264         * locale/global-locale.c: Likewise.
50265         * locale/localeinfo.h: Likewise.
50266         * mach/devstream.c: Likewise.
50267         * malloc/arena.c: Likewise.
50268         * malloc/set-freeres.c: Likewise.
50269         * misc/err.c: Likewise.
50270         * misc/getttyent.c: Likewise.
50271         * misc/mntent_r.c: Likewise.
50272         * posix/getopt.c: Likewise.
50273         * posix/wordexp.c: Likewise.
50274         * pwd/fgetpwent_r.c: Likewise.
50275         * resolv/Versions: Likewise.
50276         * resolv/res_hconf.c: Likewise.
50277         * shadow/fgetspent_r.c: Likewise.
50278         * shadow/putspent.c: Likewise.
50279         * stdio-common/printf_fphex.c: Likewise.
50280         * stdio-common/tmpfile.c: Likewise.
50281         * stdlib/abort.c: Likewise.
50282         * stdlib/fmtmsg.c: Likewise.
50283         * sunrpc/auth_unix.c: Likewise.
50284         * sunrpc/clnt_perr.c: Likewise.
50285         * sunrpc/clnt_tcp.c: Likewise.
50286         * sunrpc/clnt_udp.c: Likewise.
50287         * sunrpc/clnt_unix.c: Likewise.
50288         * sunrpc/openchild.c: Likewise.
50289         * sunrpc/svc_simple.c: Likewise.
50290         * sunrpc/svc_tcp.c: Likewise.
50291         * sunrpc/svc_udp.c: Likewise.
50292         * sunrpc/svc_unix.c: Likewise.
50293         * sunrpc/xdr.c: Likewise.
50294         * sunrpc/xdr_array.c: Likewise.
50295         * sunrpc/xdr_rec.c: Likewise.
50296         * sunrpc/xdr_ref.c: Likewise.
50297         * sunrpc/xdr_stdio.c: Likewise.
50298
50299 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50300
50301         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50302
50303 2011-07-03  Andreas Jaeger  <aj@suse.de>
50304
50305         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50306         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50307         regenerate with gen-libm-tests.pl.
50308
50309 2010-05-12  Petr Baudis  <pasky@suse.cz>
50310
50311         [BZ #11589]
50312         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50313         around j0() zero points by switching to j1().
50314         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50315         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50316         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50317         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50318
50319 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50320
50321         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50322         instead of 0.
50323         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50324         instead of 0.
50325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50326         Patch in part by Pavel Roskin <proski@gnu.org>.
50327
50328         [BZ #13138]
50329         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50330         realloc.
50331         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50332         Free memory block if necessary.
50333
50334         [BZ #12847]
50335         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50336         be NULL.  Don't lock in this case.
50337
50338 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50339
50340         * elf/elf.h (ELFOSABI_GNU): New macro.
50341         (ELFOSABI_LINUX): Define to that.
50342
50343 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50344
50345         * string/strncat.c (strncat): Undef the symbol in case it has been
50346         defined in bits/string.h.
50347
50348 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50349
50350         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50351
50352         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50353         link map.
50354
50355 2011-08-17  Andreas Jaeger  <aj@suse.de>
50356
50357         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50358
50359 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50360             Ian Lance Taylor  <iant@google.com>
50361
50362         * math/libm-test.inc (lround_test): New testcase.
50363         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50364
50365 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50366
50367         * Makefile: Remove support for automatic cvs check-ins.
50368         * Makerules: Likewise.
50369         * config.make.in: Likewise.
50370         * configure.in: Likewise.
50371         * intl/Makefile: Likewise.
50372         * locale/Makefile: Likewise.
50373         * po/Makefile: Likewise.
50374         * posix/Makefile: Likewise.
50375         * sysdeps/gnu/Makefile: Likewise.
50376         * sysdeps/mach/hurd/Makefile: Likewise.
50377         * sysdeps/sparc/sparc32/Makefile: Likewise.
50378
50379         [BZ #13118]
50380         * posix/Makefile (bug-regex32-ENV): Define.
50381         Patch by John Stanley <jpsinthemix@verizon.net>.
50382
50383         * misc/Makefile (headers): Add bits/select2.h.
50384         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50385         * misc/bits/select2.h: New file.
50386         * include/bits/select2.h: New file.
50387         * debug/Makefile (routines): Add fdelt_chk.
50388         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50389         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50390         FD_ISSET.
50391         * debug/fdelt_chk.c: New file.
50392
50393         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50394         * wcsmbs/test-wmemcmp.c: Likewise.
50395         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50396         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50397
50398 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50399
50400         * string/Makefile (strop-tests): Add memcmp.
50401         * string/test-wmemcmp.c: New file.
50402         * string/test-memcmp.c: Add wmemcmp support.
50403
50404 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50405
50406         [BZ #13153]
50407         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50408         2011-07-19 change.
50409
50410         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50411         garbage value in a __mach_port_mod_refs call in the cases of the
50412         task-self and thread-self ports.
50413
50414 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50415
50416         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50417
50418 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50419
50420         * elf/dl-load.c (lose): Check for non-null L.
50421
50422 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50423
50424         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50425
50426         * elf/dl-libc.c (dlerror_run): Pass back error code from
50427         dl_catch_error.
50428
50429         [BZ #13123]
50430         * elf/dl-load.c (lose): Free l_origin if it is valid.
50431
50432         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50433         names.
50434         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50435         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50436         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50437         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50438         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50439         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50440
50441 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50442
50443         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50444         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50445         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50446         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50447         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50448         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50449         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50450         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50451         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50452         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50453
50454 2011-08-15  Alan Modra  <amodra@gmail.com>
50455
50456         [BZ #13092]
50457         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50458         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50459         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50460         ppc_mcount to static-only-routines.
50461         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50462         __mcount_internal.
50463         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50464         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50465
50466 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50467
50468         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50469         for finite and infinity parameters.
50470
50471 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50472
50473         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50474         and add nop instructions for throughput optimization.
50475         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50476
50477 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50478
50479         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50480         aligned copy for power7 with vector-scalar instructions.
50481         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50482
50483 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50484
50485         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50486         AVX check.
50487
50488 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50489
50490         [BZ #13144]
50491         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50492         last change.
50493
50494 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50495
50496         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50497         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50498         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50499         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50500         clock_gettime.
50501
50502 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50503
50504         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50505         Forgot to demangle the pointer.
50506
50507         * sysdeps/i386/sysdep.h: Define atom_text_section.
50508         * sysdeps/x86_64/sysdep.h: Likewise.
50509         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50510         section with atom_text_section.
50511         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50512         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50513         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50514         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50515         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50516
50517         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50518         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50519         already be defined.  Change to take two parameters and don't assign
50520         result to variable.  Adjust all users.
50521         Define INTERNAL_GETTIME if not already defined.
50522         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50523         call.
50524         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50525         HAVE_CLOCK_GETTIME_VSYSCALL.
50526         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50527
50528         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50529         gettimeofday vsyscall, just use time.
50530
50531 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50532
50533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50534         <errno.h>.
50535
50536 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50537
50538         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50539         syscall on x86-64.
50540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50541         syscall.
50542         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50543         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50544         syscall if possible.
50545
50546 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50547
50548         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50549         e_ident.  Don't pass to find_mapsXX.
50550         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50551
50552 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50553
50554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50555         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50556         * sysdeps/x86_64/multiarch/strchr.S: Update.
50557         Check bit_slow_BSF bit.
50558         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50559         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50560         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50561
50562 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50563
50564         [BZ #13134]
50565         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50566         before glibc 2.15.
50567         (tryshell): Define.
50568         (__spawni): Change last parameter to be flag.  Test
50569         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50570         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50571         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50572         * posix/spawni.c: Likewise.
50573         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50574         * posix/spawnp.c: Likewise.  Change normal version to use
50575         SPAWN_XFLAGS_USE_PATH.
50576         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50577         SPAWN_XFLAGS_TRY_SHELL.
50578
50579         [BZ #13150]
50580         * posix/glob.h: Remove gcc 1.x support.
50581
50582         [BZ #13068]
50583         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50584
50585 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50586
50587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50588         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50589         strrchr-sse2-bsf
50590         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50591         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50592         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50593         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50594         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50595         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50596
50597 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50598
50599         * sysdeps/x86_64/wcscmp.S: New file.
50600
50601         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50602         wcscmp-c wcscmp-sse2
50603         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50604         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50605         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50606         * wcsmbs/wcscmp.c: Allow renaming.
50607
50608 2011-09-05  David S. Miller  <davem@davemloft.net>
50609
50610         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50611         stack slot, rather than the struct return pointer slot.
50612         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50613         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50615         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50616
50617 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50618
50619         * po/ja.po: Update from translation team.
50620
50621         [BZ #13144]
50622         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50623         kernel in 64-bit binaries.
50624
50625 2011-09-01  David S. Miller  <davem@davemloft.net>
50626
50627         * elf/elf.h (HWCAP_SPARC_*): Move to..
50628         * sysdeps/sparc/sysdep.h: this new file and add new values.
50629         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50630         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50631         _DL_HWCAP_COUNT to 24.
50632         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50633         entries.
50634         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50635         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50636         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50637         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50638         instead of magic constants.
50639         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50640
50641 2011-08-31  David S. Miller  <davem@davemloft.net>
50642
50643         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50645         Reimplement to do errno handling inline.
50646         (SYSCALL_ERROR_HANDLER): New macro.
50647         (__SYSCALL_STRING): Do not do errno handling in asm.
50648         (__CLONE_SYSCALL_STRING): Delete.
50649         (__INTERNAL_SYSCALL_STRING): Delete.
50650         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50651         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50652         (PSEUDO): Reimplement to do errno handling inline.
50653         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50654         (SYSCALL_ERROR_HANDLER): New macro.
50655         (__SYSCALL_STRING): Do not do errno handling in asm.
50656         (__CLONE_SYSCALL_STRING): Delete.
50657         (__INTERNAL_SYSCALL_STRING): Delete.
50658         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50659         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50660         i386.
50661         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50662         (inline_syscall*): Add 'err' argument.
50663         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50664         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50665         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50666         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50667
50668         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50669         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50670
50671 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50672
50673         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50674
50675 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50676
50677         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50678         directive.
50679
50680 2011-08-24  David S. Miller  <davem@davemloft.net>
50681
50682         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50683
50684 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50685
50686         * elf/Makefile: Add rules to build and run unload8 test.
50687         * elf/unload8.c: New file.
50688         * elf/unload8mod1.c: New file.
50689         * elf/unload8mod1x.c: New file.
50690         * elf/unload8mod2.c: New file.
50691         * elf/unload8mod3.c: New file.
50692
50693         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50694         it wasn't used.
50695
50696 2011-08-23  David S. Miller  <davem@davemloft.net>
50697
50698         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50699         subtract stack bias.
50700         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50701         %sp not %fp in calculations.
50702         (_JMPBUF_UNWINDS_ADJ): Likewise.
50703
50704         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50705         (aio_suspend): Call it to force an exception region around the
50706         AIO_MISC_WAIT() invocation.
50707
50708 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50709
50710         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50711         backslash.
50712
50713 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50714
50715         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50716         protection macro.
50717         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50718         and <dl-machine.h>.
50719         (Elf64_FuncDesc): Remove.
50720
50721 2011-08-22  David S. Miller  <davem@davemloft.net>
50722
50723         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50724         sigaltstack check, add missing cfi directives.
50725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50726         missing cfi directives, and sigaltstack handling.
50727
50728 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50729
50730         [BZ #11724]
50731         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50732         object is seen twice.
50733         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50734
50735         * elf/Makefile (distribute): Add tst-initorder2.c.
50736         (tests): Add tst-initorder2.
50737         (modules-names): Add tst-initorder2a tst-initorder2b
50738         tst-initorder2c tst-initorder2d.  Add rules to build them.
50739         ($(objpfx)tst-initorder2.out): New rule.
50740         * elf/tst-initorder2.c: New file.
50741         * elf/tst-initorder2.exp: New file.
50742
50743 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50744
50745         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50746
50747         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50748         dependencies back to end of function.
50749
50750         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50751         $(elfobjdir)/ld.so.
50752
50753 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50754
50755         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50756         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50757         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50758         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50759         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50760         of __vdso_gettimeofday.
50761         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50762         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50763         attribute_hidden.
50764         (_libc_vdso_platform_setup): Remove initialization of
50765         __vdso_gettimeofday and __vdso_time.
50766
50767 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50768
50769         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50770         and fgetc_unlocked.
50771         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50772         getc_unlocked.
50773
50774         * elf/dl-open.c (add_to_global): Report additions to the global scope
50775         for LD_DEBUG=scopes.
50776         (dl_open_worker): Also print scope of newly loaded dependencies.
50777         (_dl_show_scope): Indicate if there is no scope.
50778
50779         [BZ #13114]
50780         * stdio-common/Makefile (tests): Add bug24.
50781         * stdio-common/bug24.c: New file.
50782
50783 2011-08-19  Andreas Jaeger  <aj@suse.de>
50784
50785         [BZ #13114]
50786         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50787         non-existant file when using close-on-exec mode.
50788
50789 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50790
50791         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50792         the very first instruction.
50793
50794         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50795         the CFI state in the end.
50796         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50797         inclusion of dl-trampoline.h.
50798         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50799
50800 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50801
50802         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50803         expectations for long double.
50804
50805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50806         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50807
50808 2011-08-14  David S. Miller  <davem@davemloft.net>
50809
50810         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50811         artificual limit depends upon the system page size.
50812
50813 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50814
50815         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50816         * resolv/Makefile: Define CFLAGS-libresolv.
50817
50818 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50819
50820         * nss/makedb.c (compute_tables): Make variables used in nested
50821         function static.
50822
50823 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50824
50825         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50826         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50827         if buffer was too small.
50828
50829         * elf/pldd.c (main): Attach to all threads in the process.
50830         Rewrite /proc handling to use *at functions.
50831
50832 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50833
50834         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50835         specifies first scope to show.
50836         (dl_open_worker): Update callers.  Move printing scope of new
50837         object to before the relocation.
50838         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50839         * sysdeps/generic/ldsodefs.h: Update declaration.
50840
50841         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50842         string for the scope number.
50843
50844 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50845
50846         * nscd/servicescache.c (cache_addserv): Make sure written is always
50847         initialized.
50848
50849 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50850
50851         * sysdeps/i386/i486/bits/atomic.h
50852         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50853         statement expression, so as to suppress "set but not used" warning.
50854         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50855
50856         * string/strncat.c (STRNCAT): Use prototype definition.
50857
50858         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50859         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50860         -Iprograms here.
50861         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50862         (localedef-modules): Add localedef.
50863         (locale-modules): Add locale.
50864
50865         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50866         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50867         to avoid a warning.
50868
50869 2011-08-14  David S. Miller  <davem@davemloft.net>
50870
50871         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50872         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50873
50874 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50875
50876         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50877         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50878         * elf/rtld.c (dl_main): Set l_name of vDSO.
50879         Call _dl_show_scope when DL_DEBUG_SCOPES.
50880         (process_dl_debug): Recognize scopes flag and also set it for all.
50881         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50882         Declare _dl_show_scope.
50883
50884         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50885         (do_dlopen): Pass caller_dlopen to dl_open.
50886         (__libc_dlopen_mode): Initialize caller_dlopen.
50887
50888         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50889         of libc.  Make tolower call locale-independent.  Optimize a bit by
50890         using isdigit instead of isalnum.
50891         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50892
50893 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50894
50895         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50896         was a dependency or dynamically loaded.
50897
50898 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50899
50900         * intl/l10nflist.c: Allow architecture-specific pop function.
50901         * sysdeps/x86_64/l10nflist.c: New file.
50902
50903         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50904         classification.
50905
50906 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50907
50908         * include/dirent.h: Add libc_hidden_proto for scandirat and
50909         scandirat64.  Don't declare __scandirat64.
50910         * dirent/scandirat.c: Add libc_hidden_def.
50911         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50912         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50913
50914 2011-08-10  David S. Miller  <davem@davemloft.net>
50915
50916         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50917         enum.
50918         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50919         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50920         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50921
50922 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50923
50924         * Versions.def [libc]: Add GLIBC_2.15.
50925         * dirent/Makefile (routines): Add scandirat and scandirat64.
50926         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50927         GLIBC_2.15.
50928         * dirent/dirent.h: Declare scandirat and scandirat64.
50929         * dirent/scandirat.c: New file.
50930         * dirent/scandirat64.c: New file.
50931         * sysdeps/wordsize-64/scandirat.c: New file.
50932         * sysdeps/wordsize-64/scandirat64.c: New file.
50933         * dirent/opendir.c: Define opendirat.
50934         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50935         using scandirat.
50936         * dirent/scandir64.c: Adjust for scandir.c change.
50937         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50938         __scandirat64, and __scandir_cancel_handler.
50939         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50940         additional parameter and use openat instead of open (outside of ld.so).
50941         Add new __opendir as wrapper around __opendirat.
50942         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50943         here without requiring old scandirat implementation.
50944
50945 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50946
50947         * dirent/scandir.c (cancel_handler): Renamed to
50948         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50949         defined.  Adjust users.
50950         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50951         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50952
50953 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50954
50955         * string/test-string.h (IMPL): Use __STRING to expand name and then
50956         stringify it.
50957
50958         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50959         of cleanups.
50960
50961 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50962
50963         * string/Makefile: Update.
50964         (strop-tests): Append strncat.
50965         * string/test-wcscmp.c: New file.
50966         New comprehensive test for wcscmp.
50967         * string/test-strcmp.c: Update.
50968         (WIDE): New define.
50969
50970 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50971
50972         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50973         line.
50974
50975 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50976
50977         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50978         encoding to ACE if AI_IDN.
50979
50980 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50981
50982         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50983         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50984
50985 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50986
50987         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50988         Fix overflow bug in strncat.
50989         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50990
50991         * string/test-strncat.c: Update.
50992         Add new tests for checking overflow bugs.
50993
50994 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50995
50996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50997         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50998         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50999         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51000         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51001         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51002         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51003         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51004         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51005
51006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51007         (USE_AS_STRCAT): Define.
51008         Add strcat and strncat support.
51009         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51010
51011 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51012
51013         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51014         __n bigger than INT_MAX+1.
51015         (__strncmp_g): Likewise.
51016
51017 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51018
51019         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51020         * libio/stido.h: Likewise.
51021
51022         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51023         (AF_NFC): Define.
51024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51025         (AF_NFC): Define.
51026
51027         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51028         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51030         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51032
51033         [BZ #13021]
51034         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51035         installed.
51036
51037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51038         typo.
51039         (_dl_x86_64_save_sse): Likewise.
51040
51041 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51042
51043         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51044         OSXSAVE.
51045         (_dl_x86_64_save_sse): Likewise.
51046
51047         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51048
51049         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51050
51051 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51052
51053         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51054         change.
51055         (_dl_x86_64_save_sse): Use correct AVX check.
51056
51057 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51058
51059         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51060         bug in strncpy/strncat.
51061         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51062
51063 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51064
51065         * string/tester.c (test_strcat): Add tests for different alignments
51066         of source and destination.
51067         (test_strncat): Likewise.
51068
51069 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51070
51071         [BZ #12852]
51072         * posix/glob.c (glob): Check passed in values before using them in
51073         expressions to avoid some overflows.
51074         (glob_in_dir): Likewise.
51075
51076         [BZ #13007]
51077         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51078         check for AVX enablement so that we don't crash with old kernels and
51079         new hardware.
51080         * elf/tst-audit4.c: Add same checks here.
51081         * elf/tst-audit6.c: Likewise.
51082
51083         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51084
51085 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51086
51087         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51088
51089 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51090
51091         * po/cs.po: Update from translation team.
51092         * po/bg.po: Likewise.
51093
51094 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51095
51096         * misc/sys/cdefs.h: Add support for const attribute.
51097         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51098         to gnu_dev_{major,minor,makedev} functions.
51099
51100 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51101
51102         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51103
51104 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51105
51106         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51107         strlen results.
51108
51109 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51110
51111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51112         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51113         register in order to avoid conflicts with the soft frame pointer
51114         being held in r11 when necessary.
51115         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51116         (INTERNAL_VSYSCALL_NCS): Likewise.
51117
51118 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51119
51120         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51121         * elf/dl-fini.c (_dl_fini): Adjust caller.
51122         * elf/dl-close.c (_dl_close_worker): Likewise.
51123         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51124
51125 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51126
51127         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51128         "aux_cache->nlibs < 0".
51129
51130         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51131         in the reload-count case.
51132
51133 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51134
51135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51136         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51137         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51138         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51139         * sysdeps/x86_64/multiarch/strcat.S: New file.
51140         * sysdeps/x86_64/multiarch/strncat.S: New file.
51141         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51142         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51143         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51144         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51145         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51146         (USE_AS_STRCAT): Define.
51147         Add strcat and strncat support.
51148         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51149         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51150         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51151         * string/strncat.c: Update.
51152         (USE_AS_STRNCAT): Define.
51153         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51154         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51155         and i7.
51156         * sysdeps/x86_64/multiarch/init-arch.h
51157         (bit_Prefer_PMINUB_for_stringop): New.
51158         (index_Prefer_PMINUB_for_stringop): Likewise.
51159         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51160         bit_Prefer_PMINUB_for_stringop.
51161
51162 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51163
51164         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51165         buffer64.
51166         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51167         of casting of buffer.
51168         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51169         buffer32 and buffer64.
51170         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51171         writes instead of casting of buffer.
51172         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51173         buffer32.
51174         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51175         casting of buffer.
51176
51177 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51178
51179         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51180
51181 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51182
51183         * nscd/nscd.c (termination_handler): Don't do anything for a database
51184         if it has not yet been initialized.
51185
51186 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51187
51188         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51189
51190 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51191
51192         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51193
51194 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51195
51196         * po/nl.po: Update from translation team.
51197         * po/sv.po: Likewise.
51198
51199 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51200
51201         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51202         now disallowed by GCC.
51203
51204         * configure.in (use-default-link): Default to yes if a test -shared
51205         link meets our qualifications.
51206         * configure: Regenerated.
51207
51208         * config.make.in (output-format): New variable.
51209         * configure.in: Check for ld --print-output-format support.
51210         * configure: Regenerated.
51211         * Makerules ($(common-objpfx)format.lds)
51212         [$(output-format) != unknown]: Just use $(output-format),
51213         instead of the linker-script munging.
51214
51215 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51216
51217         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51218         of $(common-objpfx)shlib.lds.
51219         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51220
51221         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51222         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51223
51224         * configure.in (-z relro check): Adjust test code to add a large
51225         writable data section after it.
51226         * configure: Regenerated.
51227
51228 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51229
51230         * configure.in (-z relro check): Fix test code to make the variable
51231         truly const.
51232         * configure: Regenerated.
51233
51234 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51235
51236         * nscd/nscd.h (struct traced_file): Define.
51237         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51238         elements.  Add traced_files.
51239         (inotify_fd): Declare.
51240         (register_traced_file): Declare.
51241         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51242         (inotify_fd): Export.
51243         (resolv_conf_descr): Remove.
51244         (nscd_init): Move inotify descriptor creation to main.
51245         Don't register files for notification here.
51246         (register_traced_file): New function.
51247         (invalidate_cache): Don't use reset_res to determine whether to call
51248         res_init, go through the list of registered files.
51249         (main_loop_poll): The inotify descriptors are now stored in the
51250         structures for the traced files.
51251         (main_loop_epoll): Likewise
51252         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51253         to __nss_disable_nscd.
51254         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51255         for a database anymore.  Check the records for all the registered
51256         files instead.
51257         * nss/Makefile (libnss_files-routines): Add files-init.
51258         (libnss_db-routines): Add db-init.
51259         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51260         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51261         * nss/nss_db/db-init.c: New file.
51262         * nss/nss_files/files-init.c: New file.
51263         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51264         __nss_lookup_function.
51265         (__nss_lookup_function): Call nss_load_library.
51266         (nss_load_all_libraries): New function.
51267         (__nss_disable_nscd): Take parameter with callback function for files
51268         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51269         used for the cached services.
51270         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51271         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51272         options for features to all the files in nscd.
51273
51274         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51275
51276 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51277
51278         * csu/elf-init.c (__libc_csu_init): Comment typo.
51279
51280 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51281
51282         * po/pl.po: Update from translation team.
51283         * po/ja.po: Likewise.
51284         * po/ru.po: Likewise.
51285         * po/ko.po: Likewise.
51286         * po/fr.po: Likewise.
51287
51288 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51289
51290         * configure.in (.ctors/.dtors header and trailer check):
51291         Use an empirical test on a built program.
51292         * configure: Regenerated.
51293
51294         * configure.in (-z relro check): Use an empirical test on a built DSO.
51295         Detect, but do not require, on ia64.
51296         * configure: Regenerated.
51297
51298         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51299         Update tests that use readelf to use $READELF instead.
51300         * configure: Regenerated.
51301
51302 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51303
51304         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51305         if the result is not used.
51306
51307 2011-07-05  Andreas Jaeger  <aj@suse.de>
51308
51309         [BZ#9696]
51310         * stdlib/tst-strtod.c: Add testcase.
51311
51312 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51313
51314         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51315         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51316         The latter has a higher limit.  Take additional parameter to pass to
51317         the new function.
51318         (__pathconf): Pass file to __statfs_link_max.
51319         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51320         __statfs_link_max.
51321         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51322         __statfs_link_max.
51323
51324         [BZ #12868]
51325         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51326         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51327         Handle Lustre.
51328         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51329         (__statfs_filesize_max): Likewise.
51330         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51331
51332 2011-07-05  Andreas Jaeger  <aj@suse.de>
51333
51334         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51335
51336 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51337
51338         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51339         `status' variable.
51340         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51341         Likewise.
51342
51343 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51344
51345         * Makefile (strop-tests): Add strncat.
51346         * string/test-strncat.c: New file.
51347
51348 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51349
51350         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51351
51352 2011-06-21  Andreas Jaeger  <aj@suse.de>
51353
51354         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51355         Copy rule from iconvdata/Makefile.
51356
51357 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51358
51359         [BZ #12922]
51360         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51361         but no long options are defined, just return 'W'.
51362
51363 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51364
51365         [BZ #9696]
51366         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51367
51368 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51369
51370         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51371         netgroups to read.
51372         (innetgr): Likewise.
51373
51374 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51375
51376         * config.make.in (install_root): Default to $(DESTDIR).
51377
51378 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51379
51380         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51381
51382 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51383
51384         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51385
51386         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51387         containing directory rather than embedding absolute directory names.
51388
51389         * scripts/check-local-headers.sh: Rewritten using awk.
51390         Match by word, not by line.  Print error messages for matches.
51391         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51392
51393         * Makerules [shlib-lds-flags empty]:
51394         ($(common-objpfx)libc_pic.opts): New target.
51395         ($(common-objpfx)libc_pic.os.clean): New target.
51396         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51397
51398         * config.make.in (OBJCOPY): New variable.
51399         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51400         * configure: Regenerated.
51401
51402         * config.make.in (use-default-link): New variable.
51403         * configure.in (use_default_link): Grok --with-default-link to set it.
51404         * configure: Regenerated.
51405         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51406         (shlib-lds, shlib-lds-flags): Define to empty.
51407
51408         * Makerules (shlib-lds): New variable.
51409         (shlib-lds-flags): New variable.
51410         (build-shlib, build-moduile, build-module-asneeded): Use it.
51411         ($(common-objpfx)libc.so): Use $(shlib-lds).
51412         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51413         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51414
51415         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51416         DT_FLAGS/DT_FLAGS_1 with zero flags.
51417
51418         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51419         linker script munging.
51420
51421 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51422
51423         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51424         as 128-bit value.
51425         * crypt/sha512.c (sha512_process_block): Perform total addition using
51426         128-bit if possible.
51427         (__sha512_finish_ctx): Likewise.
51428         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51429         as 64-bit value.
51430         * crypt/sha256.c (SWAP64): Define.
51431         (sha256_process_block): Perform total addition using 64-bit if
51432         possible.
51433         (__sha256_finish_ctx): Likewise.
51434
51435 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51436
51437         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51439         * nscd/hstcache.c (cache_addhst): Likewise.
51440         * nscd/grpcache.c (cache_addgr): Likewise.
51441         * nscd/aicache.c (addhstaiX): Likewise
51442         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51443
51444 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51445
51446         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51448         * nscd/hstcache.c (cache_addhst): Likewise.
51449         * nscd/grpcache.c (cache_addgr): Likewise.
51450         * nscd/aicache.c (addhstaiX): Likewise
51451
51452 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51453
51454         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51455         domain only when needed.
51456
51457 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51458
51459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51460         is always restored.
51461
51462 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51463
51464         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51465         are re-adding the entry.
51466         * nscd/servicescache.c (cache_addserv): Likewise.
51467
51468 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51469
51470         * sysdeps/generic/dl-irel.h: fix protection against multiple
51471         inclusions.
51472         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51473
51474 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51475
51476         [BZ #12935]
51477         * malloc/memusage.sh: Fix quoting in message.
51478         * debug/xtrace.sh: Likewise.
51479
51480         * configure.in: Remove support for --experimental-malloc option, make
51481         it the default.
51482         * config.make.in: Likewise.
51483         * malloc/Makefile: Likewise.
51484
51485 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51486
51487         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51488         two-byte characters.
51489
51490 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51491
51492         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51493         AC_CACHE_CHECK invocation.
51494         * configure: Regenerated.
51495
51496         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51497
51498 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51499
51500         [BZ #12350]
51501         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51502         bit from old_res_options.
51503
51504         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51505
51506         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51507         value type for setfct.
51508
51509 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51510
51511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51512         __gettimeofday instead of gettimeofday.
51513
51514 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51515
51516         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51517
51518 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51519
51520         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51521
51522         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51523         info.
51524
51525 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51526
51527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51528         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51529         strcpy-sse2-unaligned strncpy-sse2-unaligned
51530         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51531         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51532         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51533         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51534         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51535         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51537         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51538         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51539         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51540         (STRCPY): Support SSE2 and SSSE3 versions.
51541
51542 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51543
51544         [BZ #12874]
51545         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51546         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51547         kernels which artificially limit size of requests.
51548
51549 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51550
51551         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51552         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51553         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51554         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51555         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51556         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51557         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51558         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51559         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51560         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51561         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51562         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51563         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51564         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51565         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51567         Enable unaligned load optimization for Intel Core i3, i5 and i7
51568         processors.
51569         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51570         Define.
51571         (index_Fast_Unaligned_Load): Define.
51572         (HAS_FAST_UNALIGNED_LOAD): Define.
51573
51574 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51575
51576         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51577
51578 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51579
51580         [BZ #12907]
51581         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51582         until it is clear that the information is realy needed.
51583         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51584
51585 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51586
51587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51588
51589 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51590
51591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51592         /sys/devices/system/cpu/online if it is usable.
51593
51594         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51595         reading the information from the /proc filesystem to once a second.
51596
51597 2011-06-21  Andreas Jaeger  <aj@suse.de>
51598
51599         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51600         NULL after inclusion of kernel headers.
51601
51602 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51603
51604         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51605         calls to internal_setent.
51606
51607         [BZ #12885]
51608         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51609         addresses using gethostbyname4_r ignore IPv4 addresses.
51610
51611         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51612         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51613
51614         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51615
51616 2011-06-20  David S. Miller  <davem@davemloft.net>
51617
51618         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51619         inclusions.
51620         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51621
51622         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51623         (elf_irel): Use it.
51624         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51625         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51626         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51627         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51628         * sysdeps/x86_64/dl-irel.h: Likewise.
51629
51630         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51631         * elf/dl-sym.c: Likewise.
51632
51633 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51634
51635         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51636         need to dereference resplen2.
51637
51638 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51639
51640         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51641
51642 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51643
51644         * Makeconfig: Define vardbdir and inst_vardbdir.
51645         * nss/Makefile: Add rules to install db-Makefile.
51646
51647         * nss/nss_db/db-XXX.c: Cleanup.
51648
51649         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51650         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51651         GLIBC_PRIVATE.
51652         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51653         * nss/makedb.c: Implement -g option to specify that value strings
51654         are generated and should not be added to table iterated over for
51655         get*ent calls.
51656         * nss/nss_db/db-initgroups.c: New file.
51657
51658         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51659         interface.
51660
51661         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51662         (internal_getgrouplist): Adjust to name change.
51663         Update use_initgroups_entry if this is not the first call.
51664         * nss/databases.def: Add initgroups entry.
51665
51666         * nss/makedb.c (compute_tables): Check result of multiple hash table
51667         sizes to minimize maximum chain length.
51668
51669 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51670
51671         * Versions.def: Add entry for libnss_db.
51672         * shlib-versions: Likewise.
51673         * nss/Makefile: Add rules to build libnss_db.
51674         * nss/Versions: Add libnss_db information.  Organize libnss_files
51675         entries better.
51676         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51677         makedb progra.  Some minor improvements to generate smaller files.
51678         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51679         here from...
51680         * nss/makedb.c: ...here.
51681         Improve database format to be smaller and require less memory at
51682         runtime.
51683         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51684         db anymore.
51685         * nss/nss_db/db-netgrp.c: Likewise.
51686         * nss/nss_db/db-open.c: Likewise.
51687         * nss/nss_files/flies-XXX.x: Adjust comments.
51688         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51689         * nss/nss_files/files-grp.c: Likewise.
51690         * nss/nss_files/files-hosts.c: Likewise.
51691         * nss/nss_files/files-network.c: Likewise.
51692         * nss/nss_files/files-proto.c: Likewise.
51693         * nss/nss_files/files-pwd.c: Likewise.
51694         * nss/nss_files/files-rpc.c: Likewise.
51695         * nss/nss_files/files-service.c: Likewise.
51696         * nss/nss_files/files-sgrp.c: Likewise.
51697         * nss/nss_files/files-spwd.c: Likewise.
51698         * nss/nss_db/db-alias.c: Removed.
51699         * nss/nss_db/dummy-db.h: Removed.
51700
51701 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51702
51703         * nss/makedb.c: Rewritten to not use database library.
51704         * nss/Makefile: Update to build new makedb program.
51705
51706 2011-06-14  Andreas Jaeger  <aj@suse.de>
51707
51708         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51709         memset declaration.
51710
51711 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51712
51713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51714         tmpbuf.
51715
51716 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51717
51718         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51719         * elf/Makefile ($(objpfx)ld.so): Likewise.
51720
51721         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51722         Don't list ld.so twice in dependencies.
51723
51724         * posix/bug-regex31.c: Include <stdlib.h>.
51725
51726         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51727
51728         * nis/nss_compat/compat-spwd.c
51729         (getspent_next_nss_netgr): Remove unused variable.
51730         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51731
51732         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51733         nonmembers" output to use the right array.
51734
51735         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51736
51737         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51738
51739         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51740         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51741         * catgets/gencat.c (read_input_file): Likewise.
51742         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51743
51744         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51745         variable definition inside #if's controlling its use.
51746
51747         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51748
51749         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51750
51751         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51752
51753         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51754         unreachable code.
51755
51756         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51757
51758         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51759         * configure: Regenerated.
51760
51761         * Makerules: Revert last change.
51762         * elf/Makefile: Likewise.
51763
51764 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51765
51766         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51767         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51768         (reloc-link): Likewise.
51769
51770 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51771
51772         * elf/Makefile: Add rules to build pldd.
51773         * elf/pldd.c: New file.
51774         * elf/pldd-xx.c: New file.
51775
51776 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51777
51778         * version.h: Update for 2.15 development version.
51779
51780 2011-06-07  David S. Miller  <davem@davemloft.net>
51781
51782         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51783         ifuncs.
51784         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51785         elf_machine_lazy_rel): Likewise.
51786         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51787         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51788         elf_machine_lazy_rel): Likewise.
51789         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51790         dl_hwcap via passed in argument.
51791         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51792         Likewise.
51793
51794 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51795
51796         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51797
51798 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51799
51800         [BZ #12849]
51801         * manual/fdl-1.1.texi: New file, verbatim from:
51802         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51803         * manual/lgpl-2.1.texi: New file, verbatim from:
51804         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51805         * manual/Makefile (licenses): New variable, list those new file names.
51806         (texis): Use it.
51807         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51808
51809         * manual/fdl.texi: File removed.
51810         * manual/lesser.texi: File removed.
51811         * manual/libc.texinfo (Copying, Documentation License):
51812         Use new @include file names, put @appendix directive before @include.
51813
51814 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51815
51816         [BZ #12841]
51817         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51818         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51819         (mq_open): Add __NTH.
51820
51821 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51822
51823         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51824         Assume Intel Core i3/i5/i7 processor if AVX is available.
51825
51826 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51827
51828         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51829         typo.
51830
51831 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51832
51833         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51834         memory.  Use alloca_account.  Fix memory leak when retrying.
51835
51836 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51837
51838         * version.h (RELEASE): Bump for 2.14 release.
51839         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51840
51841         * config.make.in (RANLIB): Remove entry.
51842
51843 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51844
51845         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51846         (libc.pot): Work around missing support for .ksh extension in xgettext.
51847
51848         [BZ #12684]
51849         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51850         if both request failed.
51851         (send_dg): In case of server errors clear resplen or *resplen2.
51852
51853         [BZ #12454]
51854         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51855         when there are multiple maps.
51856         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51857         (_dl_fini): Remove test here.
51858
51859         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51860
51861 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51862
51863         [BZ #12350]
51864         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51865         bit from old_res_options.
51866         (gaih_inet): Likewise.
51867
51868         [BZ #11099]
51869         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51870         as signed.
51871
51872         * resolv/res_init.c (res_setoptions): Make the code more compact.
51873
51874         [BZ #11558]
51875         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51876         set RES_USEVC.
51877
51878         [BZ #11634]
51879         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51880
51881         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51882
51883         [BZ #11781]
51884         * malloc/malloc.h: Declare malloc hook variables as volatile.
51885
51886         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51887         in last patch.
51888
51889         [BZ #11799]
51890         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51891         raise in the comment.
51892         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51893         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51894         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51895
51896 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51897
51898         [BZ #12811]
51899         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51900         grow the buffers more if it already has to be sufficient.
51901         (build_wcs_upper_buffer): Likewise.
51902         * posix/regexec.c (check_matching): Likewise.
51903         (clean_state_log_if_needed): Likewise.
51904         (extend_buffers): Don't enlarge buffers beyond size of the input
51905         buffer.
51906         Patches mostly by Emil Wojak <emil@wojak.eu>.
51907         * posix/bug-regex32.c: New file.
51908         * posix/Makefile (tests): Add bug-regex32.
51909
51910         * locale/findlocale.c (_nl_find_locale): Return right away if
51911         _nl_explode_name failed.
51912         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51913
51914         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51915
51916         * debug/xtrace.sh: Unify messages.
51917         * malloc/memusage.sh: Likewise.
51918
51919         [BZ #12813]
51920         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51921         time symbol from vDSO.  Substitute with vsyscall if not available.
51922         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51923         __vdso_time.
51924
51925         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51926         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51927         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51928         Add sendmmsg and internal_sendmmsg.
51929         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51930         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51931         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51932
51933         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51934         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51935         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51936
51937 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51938
51939         [BZ #12813]
51940         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51941         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51942         available.
51943         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51944         __vdso_getcpu.
51945
51946         [BZ #12814]
51947         * iconvdata/Makefile (tests): Add bug-iconv9.
51948         * iconvdata/bug-iconv9.c: New file.
51949
51950 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51951
51952         [BZ #12814]
51953         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51954
51955 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51956
51957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51958         (struct user_regs_struct): Change intcs field back to cs.
51959
51960 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51961
51962         * po/ja.po: Update from translation team.
51963
51964 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51965
51966         [BZ #12795]
51967         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51968         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51969
51970 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51971
51972         * stdlib/longlong.h: Update from GCC.
51973
51974 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51975
51976         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51977         parameter name.
51978         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51979         Add parameter name.
51980         (__sysconf): Pass it down.
51981
51982 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51983
51984         [BZ #12671]
51985         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51986         some situations.
51987         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51988         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51989         add in in __libc_use_alloca calls.  Adjust callers.
51990         (glob): Use malloc in some situations.
51991
51992         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51993         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51994         pltexit.
51995
51996 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51997
51998         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51999         and CLOCK_BOOTTIME_ALARM.
52000
52001         [BZ #12782]
52002         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52003         is returned.
52004
52005         * string/_strerror.c (__strerror_r): Print negative errors as signed
52006         numbers.
52007
52008         [BZ #12777]
52009         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52010         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52011         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52012
52013         * configure.in: Fix typo in redirection and correct removal of test
52014         files in two cases.
52015
52016         [BZ #12788]
52017         * locale/setlocale.c (new_composite_name): Fix test to check for
52018         identical name of all categories.
52019
52020         [BZ #12792]
52021         * libio/filedoalloc.c (local_isatty): New function.
52022         (_IO_file_doallocate): Use local_isatty.
52023         * stdio-common/perror.c (perror): In case a new stream is used
52024         forward the stream error.
52025         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52026         error flag.
52027
52028 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52029
52030         [BZ #11869]
52031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52032         alloca.
52033         * include/alloca.h (extend_alloca_account): Define.
52034
52035         [BZ #11857]
52036         * posix/regex.h: Fix comments with documentation of user-accessible
52037         fields after compilation and describe correct free'ing of pattern
52038         after re_compile_pattern.
52039         Patch by Reuben Thomas <rrt@sc3d.org>.
52040
52041 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52042
52043         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52044         and -mno-altivec to prevent the compiler from using Altivec and/or
52045         VSX instructions when the corresponding registers are not available.
52046
52047 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52048
52049         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52050
52051 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52052
52053         * libio/freopen.c (freopen): Use __dup2, not dup2.
52054         * libio/freopen64.c (freopen64): Likewise.
52055
52056 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52057
52058         [BZ #12775]
52059         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52060         * math/Makefile (tests): Add test-powl.
52061         (CFLAGS-test-powl.c): Define.
52062         * math/test-powl.c: New file.
52063
52064 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52065
52066         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52067
52068 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52069
52070         [BZ #11837]
52071         * iconvdata/gb18030.c: Update to GB18020-2005.
52072
52073 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52074
52075         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52076         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52077         Patch by Aharon Robbins <arnold@skeeve.com>.
52078
52079         [BZ #11892]
52080         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52081         on the stack.
52082
52083         [BZ #11895]
52084         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52085         through underflows.
52086
52087         [BZ #12766]
52088         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52089         point to strings before performing equality test for error_one_per_line
52090         mode.
52091
52092         [BZ #11697]
52093         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52094
52095         [BZ #11820]
52096         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52097         (struct user_fpregs_struct): Avoid __uint*_t types.
52098
52099         [BZ #6420]
52100         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52101         symbol info.  Use it instead of calling _dl_addr locally.
52102         (lock_and_info): New function.
52103         (tr_freehook): Call lock_and_info and pass symbol info as additional
52104         parameter to tr_where.
52105         (tr_mallochook): Likewise.
52106         (tr_reallochook): Likewise.
52107         (tr_memalignhook): Likewise.
52108
52109         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52110         used and couldn't be at all thread-safe.
52111
52112 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52113
52114         * libio/freopen.c (freopen): Don't close old file descriptor
52115         before the new one is opened.  Instead dup the new file descriptor
52116         to the old one after the new stream is created.
52117         * libio/freopen64.c (freopen64): Likewise.
52118         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52119         * libio/fileops.c (_IO_new_file_close_it): Handle new
52120         _IO_FLAGS2_NOCLOSE flag.
52121         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52122         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52123         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52124         _IO_FLAGS2_NOCLOSE flag.
52125         * include/unistd.h: Add hidden_proto for dup3.
52126         Define __have_dup3.
52127         * io/dup3.c: Define hidden symbol.
52128         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52129
52130         [BZ #7101]
52131         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52132         when an incomplete long option is used.
52133         * posix/tst-getopt_long1.c: New file.
52134         * posix/Makefile (tests): Add tst-getopt_long1.
52135
52136         [BZ #10138]
52137         * scripts/config.guess: Update from autoconf-2.68.
52138         * scripts/config.sub: Likewise.
52139
52140         [BZ #10157]
52141         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52142         tests into ...
52143         (has_cpuclock): ...this.  New function.
52144         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52145         macro here based on has_cpuclock code.
52146
52147         [BZ #10149]
52148         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52149         First byte (not low byte) is now always NUL.
52150         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52151
52152         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52153         Use non-cancelable interfaces.
52154
52155         [BZ #9809]
52156         * locale/iso-639.def: Add entry for Sorani.
52157
52158         [BZ #11901]
52159         * include/stdlib.h: Move include protection to the right place.
52160         Define abort_msg_s.  Declare __abort_msg with it.
52161         * stdlib/abort.c (__abort_msg): Adjust type.
52162         * assert/assert.c (__assert_fail_base): New function.  Majority
52163         of code from __assert_fail.  Allocate memory for __abort_msg with
52164         mmap.
52165         (__assert_fail): Now call __assert_fail_base.
52166         * assert/assert-perr.c: Remove bulk of implementation.  Use
52167         __assert_fail_base.
52168         * include/assert.hL Declare __assert_fail_base.
52169         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52170         mmap.
52171         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52172
52173 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52174
52175         [BZ #11952]
52176         [BZ #12453]
52177         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52178         until all modules are registered in the DTV.
52179         * elf/Makefile: Add rules to build and run tst-tls19.
52180         * elf/tst-tls19.c: New file.
52181         * elf/tst-tls19mod1.c: New file.
52182         * elf/tst-tls19mod2.c: New file.
52183         * elf/tst-tls19mod3.c: New file.
52184         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52185
52186         [BZ #12083]
52187         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52188         correctly.
52189
52190         [BZ #12601]
52191         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52192         two-byte sequence errors.
52193         * iconvdata/Makefile (tests): Add bug-iconv8.
52194         * iconvdata/bug-iconv8.c: New file.
52195
52196         [BZ #12626]
52197         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52198         buf2 definition.
52199
52200         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52201
52202         [BZ #12432]
52203         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52204         (dummy_getcfa): New function.
52205         (init): Get _Unwind_GetCFA address, use dummy if not found.
52206         (backtrace_helper): In recursion check, also check whether CFA changes.
52207         (__backtrace): Completely initialize arg.
52208
52209         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52210         storing incomplete byte sequence in state object.  Avoid testing for
52211         guaranteed too small input if we know there is enough data available.
52212
52213 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52214
52215         * Makeconfig (+link-pie): Indent.
52216         * Rules (binaries-pie): Define if $(have-fpie) and
52217         $(build-shared).
52218         (binaries-shared): Also filter out $(binaries-pie).
52219         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52220         * nscd/Makefile (others-pie): Add nscd.
52221         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52222         ($(objpfx)nscd): Remove command override.
52223         * login/Makefile (others-pie): Add pt_chown.
52224         ($(objpfx)pt_chown): Remove command override.
52225         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52226         remove command overrides.
52227
52228 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52229
52230         * libio/tst_putwc.c: Fix error messages.
52231
52232         [BZ #12724]
52233         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52234         currently writing and seek to current position when not.
52235         * libio/Makefile (tests): Add bug-fclose1.
52236         * libio/bug-fclose1.c: New file.
52237
52238 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52239
52240         [BZ #12511]
52241         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52242         don't set DF_1_NODELETE here.
52243         (do_lookup_x): When entering new entry test for copy relocation
52244         and if necessary set DF_1_NODELETE flag.
52245         * elf/tst-unique4.cc: New file.
52246         * elf/tst-unique4.h: New file.
52247         * elf/tst-unique4lib.cc: New file.
52248         * elf/Makefile: Add rules to build and run tst-unique4.
52249         Patch by Piotr Bury <pbury@goahead.com>.
52250
52251 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52252
52253         [BZ #12052]
52254         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52255
52256         [BZ #12625]
52257         * misc/mntent_r.c (addmntent): Flush the stream after the output
52258
52259         [BZ #12393]
52260         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52261         (is_trusted_path_normalize): Skip initial colon.  Append slash
52262         to empty buffer.  Duplicate is_trusted_path code but allow
52263         constructed patch to be prefix.
52264         (is_dst): Allow $ORIGIN followed by /.
52265         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52266         Correct testing of result of is_trusted_path_normalize
52267         (decompose_rpath): Fix warning.
52268
52269 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52270
52271         [BZ #11257]
52272         * grp/initgroups.c (internal_getgrouplist): When we found the service
52273         list through the initgroups entry in nsswitch.conf do not always
52274         continue on a successful lookup.  Don't always use the
52275         __nss_group_database value if it is set.
52276         * nss/nsswitch.conf (initgroups): Change action for successful db
52277         lookup to continue for compatibility.
52278
52279 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52280
52281         [BZ #11532]
52282         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52283         and CP774 modules.
52284         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52285         and CP774 modules.
52286         * iconvdata/tst-tables.sh: Likewise.
52287         * iconvdata/cp770.c: New file.
52288         * iconvdata/cp771.c: New file.
52289         * iconvdata/cp772.c: New file.
52290         * iconvdata/cp773.c: New file.
52291         * iconvdata/cp774.c: New file.
52292         * iconvdata/testdata/CP770: New file.
52293         * iconvdata/testdata/CP770..UTF8: New file.
52294         * iconvdata/testdata/CP771: New file.
52295         * iconvdata/testdata/CP771..UTF8: New file.
52296         * iconvdata/testdata/CP772: New file.
52297         * iconvdata/testdata/CP772..UTF8: New file.
52298         * iconvdata/testdata/CP773: New file.
52299         * iconvdata/testdata/CP773..UTF8: New file.
52300         * iconvdata/testdata/CP774: New file.
52301         * iconvdata/testdata/CP774..UTF8: New file.
52302
52303         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52304         END CHARMAP line.
52305         * iconvdata/gen-8bit-gap.sh: Likewise.
52306         * iconvdata/gen-8bit.sh: Likewise.
52307
52308         * locale/iso-639.def: Add ary entry.
52309
52310         [BZ #11258]
52311         * locale/C-translit.h.in: Add U20A1 transliteration.
52312
52313         [BZ #12178]
52314         * locale/iso-639.def: Add wae entry.
52315         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52316
52317         [BZ #12545]
52318         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52319         for n.
52320
52321         [BZ #12711]
52322         * locale/C-translit.h.in: Add entry for U20B9.
52323         Patch by pravin.d.s@gmail.com.
52324
52325 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52326
52327         [BZ #12713]
52328         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52329         ENAMETOOLONG use generic getcwd.
52330         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52331         in rtld.  Use *stat64.
52332         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52333         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52334         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52335         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52336         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52337         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52338         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52339         __fstatat64 macros.
52340         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52341         * dirent/rewinddir.c: Add libc_hidden_def.
52342         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52343         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52344
52345         * include/dirent.h (__alloc_dir): Add flags parameter.
52346         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52347         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52348         __alloc_dir.
52349         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52350         from fdopendir if O_CLOEXEC is already set.
52351
52352 2011-03-15  Alan Modra  <amodra@gmail.com>
52353
52354         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52355         l_tls_firstbyte_offset non-zero.  Save padding offset in
52356         l_tls_firstbyte_offset for later use.
52357         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52358         freeing static tls block.
52359
52360 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52361
52362         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52363         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52364         being defined by the kernel headers.
52365
52366 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52367
52368         [BZ #12734]
52369         * resolv/resolv.h: Define RES_NOTLDQUERY.
52370         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52371         no-tld-query and set RES_NOTLDQUERY.
52372         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52373         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52374         modern BIND to search name as TLD unless forbidden.
52375
52376 2011-05-07  Petr Baudis  <pasky@suse.cz>
52377             Ulrich Drepper  <drepper@gmail.com>
52378
52379         [BZ #12393]
52380         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52381         (is_trusted_path): ...to here.
52382         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52383         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52384         using is_trusted_path_normalize() in setuid scripts.
52385
52386 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52387
52388         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52389         __BEGIN/__END_DECLS.
52390
52391 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52392
52393         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52394         NSS_STATUS_NOTFOUND if no record was found.
52395
52396 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52397
52398         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52399         (headers-not-in-tirpc): Remove rpc/netdb.h
52400         * resolv/netdb.h: Revert last change.
52401
52402 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52403
52404         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52405         circular dependency between libgcc.a and libc.a.
52406
52407 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52408
52409         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52410         * nis/Makefile: Don't install rpcsvc/*.
52411         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52412         instead of <rpc/types.h>.
52413         (MAXHOSTNAMELEN): Define.
52414
52415 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52416
52417         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52418
52419 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52420
52421         [BZ #12714]
52422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52423         gethostbyname4_r when IPv6 results are possible.
52424
52425 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52426
52427         [BZ #12723]
52428         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52429         _PC_PIPE_BUF handling.
52430
52431 2011-04-30  Bruno Haible  <bruno@clisp.org>
52432
52433         [BZ #12717]
52434         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52435         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52436         to 'int'.
52437         * inet/getnameinfo.c (getnameinfo): Likewise.
52438
52439 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52440
52441         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52442         to groups setting in database lookup.
52443         * nss/nsswitch.conf: Add initgroups entry.
52444
52445 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52446
52447         [BZ #12685]
52448         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52449         mode string.
52450         Patch by Eric Blake <eblake@redhat.com>.
52451
52452 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52453
52454         * sunrpc/Makefile (need-export-routines): Add svc_run.
52455         (routines): Remove svc_run.
52456         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52457         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52458         * sunrpc/svc_run.c (svc_run): Likewise.
52459         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52460
52461 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52462
52463         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52464         problem in reallocation in last patch.
52465
52466 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52467
52468         * sunrpc/Makefile: Move inclusion of Rules.
52469
52470 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52471
52472         * nss/nss_files/files-initgroups.c: New file.
52473         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52474         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52475         _nss_files_initgroups_dyn.
52476
52477 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52478
52479         * elf/elf.h (R_ARM_IRELATIVE): Define.
52480
52481 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52482
52483         * po/ru.po: Update from translation team.
52484
52485 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52486
52487         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52488         dependencies.
52489
52490 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52491
52492         [BZ #12653]
52493         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52494         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52495         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52496         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52498
52499 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52500
52501         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52502         differing bytes.
52503         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52504         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52505         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52506
52507 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52508
52509         [BZ #12420]
52510         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52511         storing it.
52512         * stdlib/bug-getcontext.c: New file.
52513         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52514
52515 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52516
52517         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52518         instructions into .machine "z9-109".
52519         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52520         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52521
52522 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52523
52524         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52525         between environment variables and auxiliary vector.
52526
52527 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52528
52529         * Makefile: Add rules to build linkobj/libc.so.
52530         * include/libc-symbols.h: Define libc_hidden_nolink.
52531         * include/rpc/auth.h: Mark functions which are to be hidden.
52532         * include/rpc/auth_des.h: Likewise.
52533         * include/rpc/auth_unix.h: Likewise.
52534         * include/rpc/clnt.h: Likewise.
52535         * include/rpc/des_crypt.h: Likewise.
52536         * include/rpc/key_prot.h: Likewise.
52537         * include/rpc/pmap_clnt.h: Likewise.
52538         * include/rpc/pmap_prot.h: Likewise.
52539         * include/rpc/pmap_rmt.h: Likewise.
52540         * include/rpc/rpc_msg.h: Likewise.
52541         * include/rpc/svc.h: Likewise.
52542         * include/rpc/svc_auth.h: Likewise.
52543         * include/rpc/xdr.h: Likewise.
52544         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52545         * nss/Makefile: Likewise.
52546         * sunrpc/Makefile: Don't install headers.  Build library with normal
52547         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52548         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52549         for the compat linking library.  Remove use of INTDEF/INTUSE.
52550         * sunrpc/auth_none.c: Likewise.
52551         * sunrpc/auth_unix.c: Likewise.
52552         * sunrpc/authdes_prot.c: Likewise.
52553         * sunrpc/authuxprot.c: Likewise.
52554         * sunrpc/clnt_gen.c: Likewise.
52555         * sunrpc/clnt_perr.c: Likewise.
52556         * sunrpc/clnt_raw.c: Likewise.
52557         * sunrpc/clnt_simp.c: Likewise.
52558         * sunrpc/clnt_tcp.c: Likewise.
52559         * sunrpc/clnt_udp.c: Likewise.
52560         * sunrpc/clnt_unix.c: Likewise.
52561         * sunrpc/des_crypt.c: Likewise.
52562         * sunrpc/des_soft.c: Likewise.
52563         * sunrpc/get_myaddr.c: Likewise.
52564         * sunrpc/key_call.c: Likewise.
52565         * sunrpc/key_prot.c: Likewise.
52566         * sunrpc/netname.c: Likewise.
52567         * sunrpc/pm_getmaps.c: Likewise.
52568         * sunrpc/pm_getport.c: Likewise.
52569         * sunrpc/pmap_clnt.c: Likewise.
52570         * sunrpc/pmap_prot.c: Likewise.
52571         * sunrpc/pmap_prot2.c: Likewise.
52572         * sunrpc/pmap_rmt.c: Likewise.
52573         * sunrpc/publickey.c: Likewise.
52574         * sunrpc/rpc_cmsg.c: Likewise.
52575         * sunrpc/rpc_common.c: Likewise.
52576         * sunrpc/rpc_dtable.c: Likewise.
52577         * sunrpc/rpc_prot.c: Likewise.
52578         * sunrpc/rpc_thread.c: Likewise.
52579         * sunrpc/rtime.c: Likewise.
52580         * sunrpc/svc.c: Likewise.
52581         * sunrpc/svc_auth.c: Likewise.
52582         * sunrpc/svc_authux.c: Likewise.
52583         * sunrpc/svc_raw.c: Likewise.
52584         * sunrpc/svc_run.c: Likewise.
52585         * sunrpc/svc_simple.c: Likewise.
52586         * sunrpc/svc_tcp.c: Likewise.
52587         * sunrpc/svc_udp.c: Likewise.
52588         * sunrpc/svc_unix.c: Likewise.
52589         * sunrpc/svcauth_des.c: Likewise.
52590         * sunrpc/xcrypt.c: Likewise.
52591         * sunrpc/xdr.c: Likewise.
52592         * sunrpc/xdr_array.c: Likewise.
52593         * sunrpc/xdr_float.c: Likewise.
52594         * sunrpc/xdr_intXX_t.c: Likewise.
52595         * sunrpc/xdr_mem.c: Likewise.
52596         * sunrpc/xdr_rec.c: Likewise.
52597         * sunrpc/xdr_ref.c: Likewise.
52598         * sunrpc/xdr_sizeof.c: Likewise.
52599         * sunrpc/xdr_stdio.c: Likewise.
52600
52601 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52602
52603         [BZ #12650]
52604         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52605         * sysdeps/ia64/dl-tls.h: Likewise.
52606         * sysdeps/powerpc/dl-tls.h: Likewise.
52607         * sysdeps/s390/dl-tls.h: Likewise.
52608         * sysdeps/sh/dl-tls.h: Likewise.
52609         * sysdeps/sparc/dl-tls.h: Likewise.
52610         * sysdeps/x86_64/dl-tls.h: Likewise.
52611         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52612
52613 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52614
52615         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52616         rpath element also skip the following colon.
52617         (expand_dynamic_string_token): Add is_path parameter and pass
52618         down to DL_DST_REQUIRED and _dl_dst_substitute.
52619         (decompose_rpath): Call expand_dynamic_string_token with
52620         non-zero is_path.  Ignore empty rpaths.
52621         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52622         with zero is_path.
52623
52624 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52625
52626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52627         Make cancelable.
52628
52629 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52630
52631         [BZ #12655]
52632         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52633         Patch by Filipe David Manana <fdmanana@apache.org>.
52634
52635 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52636
52637         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52638         Maintain aligned stack.
52639         (CHECK_RSP): Remove unused macro.
52640
52641 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52642
52643         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52644         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52645
52646 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52647
52648         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52649
52650         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52651
52652 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52653
52654         [BZ #12518]
52655         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52656         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52657         * sysdeps/x86_64/memmove.c: New file.
52658         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52659         (memcpy): Renamed to ...
52660         (__new_memcpy): This.
52661         (memcpy): Provide GLIBC_2_14 memcpy.
52662         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52663         (memcpy): Provide GLIBC_2_2_5 memcpy.
52664
52665 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52666
52667         [BZ #12631]
52668         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52669
52670 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52671
52672         * misc/syncfs.c: New file.
52673         * misc/Makefile (routines): Add syncfs.
52674         * posix/unistd.h: Declare syncfs.
52675         * sysdeps/unix/syscalls.list: Add syncfs.
52676
52677 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52678
52679         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52680         open_by_handle_at.
52681         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52682         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52684         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52686         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52687         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52688
52689 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52690
52691         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52692         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52693         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52694         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52698
52699         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52700         sync_file_range.c with -fexceptions.
52701         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52702         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52703         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52704         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52705         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52706         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52708         sync_file_range as cancellation point
52709         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52710         now a wrapper around __call_sync_file_range with cancellation handling.
52711         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52712         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52713         function name to __call_sync_file_range.
52714         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52715         Add call_sync_file_range.
52716
52717 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52718
52719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52720         bits/timex.h.
52721
52722 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52723
52724         * iconv/iconv.h: Fix typo in comment.
52725         * io/fcntl.h: Likewise.
52726         * libio/stdio.h: Likewise.
52727         * posix/spawn.h: Likewise.
52728         * posix/unistd.h: Likewise.
52729         * stdlib/stdlib.h: Likewise.
52730         * time/time.h: Likewise.
52731         * wcsmbs/wchar.h: Likewise.
52732
52733         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52734         open_by_handle): Add.
52735         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52736         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52737         Augment a few comments.
52738         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52739         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52740         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52741         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52742         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52743         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52744         open_by_handle.
52745
52746         * io/fcntl.h (AT_EMPTY_PATH): Define.
52747
52748 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52749
52750         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52751         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52752         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52753         to...
52754         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52755         * Versions.def: Add GLIBC_2.14.
52756         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52757         Export.
52758
52759 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52760
52761         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52762         round counter.
52763         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52764
52765 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52766
52767         [BZ #12597]
52768         * string/test-strncmp.c (do_page_test): New function.
52769         (check2): Likewise.
52770         (test_main): Call check2.
52771         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52772
52773 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52774
52775         [BZ #12587]
52776         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52777         Handle cache information in CPU leaf 4.
52778         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52779
52780 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52781
52782         [BZ #12583]
52783         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52784         character representation.
52785         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52786
52787 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52788
52789         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52790         END(__isnan) to END(__isnanf) to match function entry point/label
52791         EALIGN(__isnanf,...).
52792
52793 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52794
52795         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52796
52797 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52798
52799         [BZ #12510]
52800         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52801         copy from the symbol referenced in the relocation to initialize the
52802         used variable.
52803         Patch by Piotr Bury <pbury@goahead.com>.
52804         * elf/Makefile: Add rules to build and tst-unique3.
52805         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52806         * elf/tst-unique3.cc: New file.
52807         * elf/tst-unique3.h: New file.
52808         * elf/tst-unique3lib.cc: New file.
52809         * elf/tst-unique3lib2.cc: New file.
52810
52811         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52812
52813 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52814
52815         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52816         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52817         to _start.
52818
52819 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52820
52821         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52822         to-be-loaded object along a path to loader is ld.so.
52823
52824 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52825             Ulrich Drepper  <drepper@gmail.com>
52826
52827         * sysdeps/x86_64/memset.S: After aligning destination, code
52828         branches to different locations depending on the value of
52829         misalignment, when multiarch is enabled. Fix this.
52830
52831 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52832
52833         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52834         Set _x86_64_preferred_memory_instruction for AMD processsors.
52835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52836         Set bit_Prefer_SSE_for_memop for AMD processors.
52837
52838 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52839
52840         * libio/fmemopen.c (fmemopen): Optimize a bit.
52841
52842 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52843
52844         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52845
52846 2011-03-03  Roland McGrath  <roland@redhat.com>
52847
52848         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52849
52850 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52851
52852         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52853         __bzero_ultra1 instead of __memset_ultra1.
52854
52855 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52856             Ulrich Drepper  <drepper@gmail.com>
52857
52858         [BZ #12509]
52859         * include/link.h (struct link_map): Add l_orig_initfini.
52860         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52861         returning unsuccessfully.
52862         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52863         close of a file loaded at startup, restore the original l_initfini
52864         list.
52865         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52866         list, store the pointer.
52867         * elf/Makefile ($(objpfx)noload-mem): New rule.
52868         (noload-ENV): Define.
52869         (tests): Add $(objpfx)noload-mem.
52870         * elf/noload.c: Include <memcheck.h>.
52871         (main): Call mtrace.  Close all opened handles.
52872
52873 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52874
52875         [BZ #12454]
52876         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52877         dependencies are missing.
52878
52879 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52880
52881         Fix __if_freereq crash: Unlike the generic version which uses free,
52882         Hurd needs munmap.
52883         * sysdeps/mach/hurd/ifreq.h: New file.
52884
52885 2011-01-27  Petr Baudis  <pasky@suse.cz>
52886             Ulrich Drepper  <drepper@gmail.com>
52887
52888         [BZ 12445]#
52889         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52890         to extend_alloca().
52891         * stdio-common/bug23.c: New file.
52892         * stdio-common/Makefile (tests): Add bug23.
52893
52894 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52895             Ulrich Drepper  <drepper@gmail.com>
52896
52897         [BZ #12489]
52898         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52899         before performing relro protection.  At old place add assertion
52900         to make sure nothing changed.
52901
52902 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52903             Glauber de Oliveira Costa  <glommer@gmail.com>
52904
52905         * elf/elf.h: Add new ARM TLS relocs.
52906
52907 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52908
52909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52910         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52911         cast from r3.
52912         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52913         'tests' variable.
52914         * sysdeps/wordsize-64/tst-writev.c: New file.
52915
52916 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52917
52918         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52919         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52920         insns in _dl_start to prevent a TOC reference before relocs are
52921         resolved.
52922
52923 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52924
52925         [BZ #12469]
52926         * Makeconfig: Remove RANLIB definition.
52927         * Makerules: Don't use RANLIB.
52928         * aclocal.m4: Remove ranlib test.
52929         * configure.in: No need to check for ranlib.
52930         * elf/rtld-Rules: Don't use RANLIB.
52931
52932 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52933
52934         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52935         protection macro.
52936         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52937         inclusion protection macro.
52938
52939         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52940         SIGRTMIN and SIGRTMAX and print information in that case only when
52941         SIGRTMIN is defined.
52942
52943 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52944
52945         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52946         arginfo fn returning -1.
52947
52948         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52949         and thousands string is zero terminated.
52950
52951 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52952
52953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52954         sysdeps/unix/sysv/linux/bits/socket.h.
52955
52956 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52957
52958         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52959         (__CPU_COUNT): Remove old macros.
52960         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52961         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52962         (__CPU_ALLOC, __CPU_FREE): Add macros.
52963         (__sched_cpualloc, __sched_cpufree): Add declarations.
52964
52965 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52966
52967         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52968         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52969         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52970         (readdhstai): Return value of addhstaiX call.
52971         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52972         (addgrbyX): Return value returned by cache_addgr.
52973         (readdgrbyname): Return value returned by addgrbyX.
52974         (readdgrbygid): Likewise.
52975         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52976         (addpwbyX): Return value returned by cache_addpw.
52977         (readdpwbyname): Return value returned by addhstbyX.
52978         (readdpwbyuid): Likewise.
52979         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52980         (addservbyX): Return value returned by cache_addserv.
52981         (readdservbyname): Return value returned by addservbyX:
52982         (readdservbyport): Likewise.
52983         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52984         (addhstbyX): Return value returned by cache_addhst.
52985         (readdhstbyname): Return value returned by addhstbyX.
52986         (readdhstbyaddr): Likewise.
52987         (readdhstbynamev6): Likewise.
52988         (readdhstbyaddrv6): Likewise.
52989         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52990         (readdinitgroups): Return value returned by addinitgroupsX.
52991         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52992         (prune_cache): Keep track of timeout value of re-added entries.
52993         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52994         * nscd/nscd.h: Adjust prototypes of readd* functions.
52995
52996 2011-02-04  Roland McGrath  <roland@redhat.com>
52997
52998         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52999         (nis_stats): Likewise.
53000         * nis/nis_modify.c (nis_modify): Likewise.
53001         * nis/nis_remove.c (nis_remove): Likewise.
53002         * nis/nis_add.c (nis_add): Likewise.
53003
53004         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53005
53006         * posix/fnmatch_loop.c: Add some consts.
53007
53008         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53009
53010 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53011
53012         [BZ #12460]
53013         * config.make.in (config-cflags-novzeroupper): Define.
53014         * configure.in: Substitute libc_cv_cc_novzeroupper.
53015         * elf/Makefile (AVX-CFLAGS): Define.
53016         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53017         (CFLAGS-tst-auditmod4a.c): Likewise.
53018         (CFLAGS-tst-auditmod4b.c): Likewise.
53019         (CFLAGS-tst-auditmod6b.c): Likewise.
53020         (CFLAGS-tst-auditmod6c.c): Likewise.
53021         (CFLAGS-tst-auditmod7b.c): Likewise.
53022         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53023
53024 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53025
53026         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53027         function to the callback.
53028         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53029
53030 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53031
53032         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53033         of errno.
53034
53035 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53036
53037         [BZ #11724]
53038         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53039         of constructors.
53040         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53041         of destructors.
53042         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53043
53044         [BZ #11724]
53045         * elf/Makefile: Add rules to build and run new test.
53046         * elf/tst-initorder.c: New file.
53047         * elf/tst-initorder.exp: New file.
53048         * elf/tst-initordera1.c: New file.
53049         * elf/tst-initordera2.c: New file.
53050         * elf/tst-initordera3.c: New file.
53051         * elf/tst-initordera4.c: New file.
53052         * elf/tst-initorderb1.c: New file.
53053         * elf/tst-initorderb2.c: New file.
53054         * elf/tst-order-a1.c: New file.
53055         * elf/tst-order-a2.c: New file.
53056         * elf/tst-order-a3.c: New file.
53057         * elf/tst-order-a4.c: New file.
53058         * elf/tst-order-b1.c: New file.
53059         * elf/tst-order-b2.c: New file.
53060         * elf/tst-order-main.c: New file.
53061         New test case by George Gensure <werkt0@gmail.com>.
53062
53063 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53064
53065         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53066         decoding ACE if AI_CANONIDN.
53067
53068 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53069
53070         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53071
53072 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53073
53074         * version.h (RELEASE): Bump for 2.13 release.
53075         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53076
53077         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53078
53079         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53080         MADV_NOHUGEPAGE.
53081         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53082         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53083         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53084         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53085         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53086         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53087
53088         * posix/getconf.c: Update copyright year.
53089         * catgets/gencat.c: Likewise.
53090         * csu/version.c: Likewise.
53091         * debug/catchsegv.sh: Likewise.
53092         * debug/xtrace.sh: Likewise.
53093         * elf/ldconfig.c: Likewise.
53094         * elf/ldd.bash.in: Likewise.
53095         * elf/sprof.c (print_version): Likewise.
53096         * iconv/iconv_prog.c: Likewise.
53097         * iconv/iconvconfig.c: Likewise.
53098         * locale/programs/locale.c: Likewise.
53099         * locale/programs/localedef.c: Likewise.
53100         * malloc/memusage.sh: Likewise.
53101         * malloc/mtrace.pl: Likewise.
53102         * nscd/nscd.c (print_version): Likewise.
53103         * nss/getent.c: Likewise.
53104
53105         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53106         PF_CAIF, and PF_ALG.
53107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53108
53109 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53110
53111         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53112         (modules-names): Use them.
53113         (ifunc-test-modules, ifunc-pie-tests): Define.
53114         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53115         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53116         (test-extras): Likewise.
53117         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53118         $(compile-command.c).
53119         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53120         (all-built-dso): Define.
53121         (check-textrel.out, check-execstack.out): Depend on it.
53122
53123         * configure.in: Don't override --enable-multi-arch.
53124
53125 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53126
53127         [BZ #6812]
53128         * nscd/hstcache.c (tryagain): Define.
53129         (cache_addhst): Return tryagain not notfound for temporary errors.
53130         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53131         failed.
53132
53133 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53134
53135         [BZ #10563]
53136         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53137         to make the syscall.
53138         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53139
53140         [BZ #12378]
53141         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53142         and fall back to matching as normal character if the string ends before
53143         the matching ']' is found.  This is what POSIX requires.
53144         * posix/testfnm.c: Adjust test result.
53145         * posix/globtest.sh: Adjust test result.  Add new test.
53146         * posix/tst-fnmatch.input: Likewise.
53147         * posix/tst-fnmatch2.c: Add new test.
53148
53149 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53150
53151         * elf/Makefile (check-execstack): Revert last change.  Depend on
53152         check-execstack.h.
53153         (check-execstack.h): New target.
53154         (generated): Add check-execstack.h.
53155         * elf/check-execstack.c: Include "check-execstack.h".
53156         (main): Revert last change.
53157         (handle_file): Return zero if GNU_STACK is absent and
53158         DEFAULT_STACK_PERMS doesn't include PF_X.
53159
53160 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53161
53162         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53163         in child fails because the descriptor is already closed.
53164         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53165         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53166         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53167
53168         [BZ #12397]
53169         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53170         syscall.
53171
53172         [BZ #10484]
53173         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53174         temporary buffer used to handle multi lookups locally.
53175         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53176
53177 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53178
53179         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53180         loader is ld.so.
53181
53182 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53183
53184         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53185         alignment for SSE2.
53186
53187 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53188
53189         [BZ #12394]
53190         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53191         characters.  When rounding increased number of integer digits recompute
53192         number of groups.
53193         * stdio-common/tst-grouping.c: New file.
53194         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53195
53196 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53197
53198         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53199         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53200
53201         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53202         void.
53203         * bits/select.h: Likewise.
53204
53205 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53206
53207         * po/ja.po: Update from translation team.
53208
53209 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53210
53211         [BZ #11155]
53212         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53213         implementation just like for lxstat, fxstatat, et al.
53214
53215 2010-12-27  Jim Meyering  <meyering@redhat.com>
53216
53217         [BZ #12348]
53218         * posix/regexec.c (build_trtable): Return failure indication upon
53219         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53220
53221 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53222
53223         [BZ #12201]
53224         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53225         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53226         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53227         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53228
53229         [BZ #12207]
53230         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53231
53232         [BZ #12204]
53233         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53234         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53235
53236 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53237
53238         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53239         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53240         script has SORT_BY_INIT_PRIORITY.
53241         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53242         NO_CTORS_DTORS_SECTIONS is defined.
53243         * elf/soinit.c: Likewise.
53244         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53245         NO_CTORS_DTORS_SECTIONS is defined.
53246         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53247         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53248         * sysdeps/sh/init-first.c: Likewise.
53249         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53250
53251 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53252
53253         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53254         always use the slow path.
53255
53256 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53257
53258         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53259         similar rule which adds the sysdep directories to the header search in
53260         order to pick up the correct platform stackinfo.h.
53261         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53262         perform test if it is, otherwise return successfully without testing.
53263         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53264         DEFAULT_STACK_PERMS define in stackinfo.h.
53265         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53266         defined in stackinfo.h.
53267         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53268         DEFAULT_STACK_PERMS defined in stackinfo.h.
53269         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53270         * sysdeps/ia64/stackinfo.h: Likewise.
53271         * sysdeps/s390/stackinfo.h: Likewise.
53272         * sysdeps/sh/stackinfo.h: Likewise.
53273         * sysdeps/sparc/stackinfo.h: Likewise.
53274         * sysdeps/x86_64/stackinfo.h: Likewise.
53275         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53276         PF_X for powerpc64.  Retain PF_X for powerpc32.
53277
53278 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53279
53280         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53281         accurately.
53282         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53283         GETDENTS_64BIT_ALIGNED.
53284
53285 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53286
53287         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53288
53289 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53290
53291         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53292         _GNU_SOURCE.
53293
53294         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53295         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53296         Remove __restrict.
53297         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53298         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53299
53300 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53301
53302         [BZ #11655]
53303         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53304         are initialized.
53305
53306 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53307
53308         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53309
53310 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53311
53312         * po/it.po: Update from translation team.
53313
53314 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53315
53316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53317         unused codes.
53318
53319 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53320
53321         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53322
53323 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53324
53325         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53326         specially.
53327         (gaih_getanswer_slice): Likewise.
53328
53329 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53330
53331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53332
53333 2010-05-31  Petr Baudis  <pasky@suse.cz>
53334
53335         [BZ #11149]
53336         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53337         silently even in the chroot mode.
53338
53339 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53340
53341         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53342         last patch a bit.  Pretty printing
53343
53344 2010-05-31  Petr Baudis <pasky@suse.cz>
53345
53346         [BZ #10085]
53347         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53348         initialization of skip_initgroups_dyn.
53349
53350 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53351
53352         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53353         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53354
53355 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53356
53357         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53358
53359 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53360
53361         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53362         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53363         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53364         ($(objpfx)tst-fnmatch-mem): New rule.
53365         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53366         * posix/tst-fnmatch.c (main): Call mtrace.
53367
53368 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53369
53370         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53371         Support Intel processor model 6 and model 0x2c.
53372
53373 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53374
53375         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53376           signed comparison.
53377
53378 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53379
53380         [BZ #12205]
53381         * string/test-strncasecmp.c (check_result): New function.
53382         (do_one_test): Use it.
53383         (check1): New function.
53384         (test_main): Use it.
53385         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53386         Support strcasecmp and strncasecmp.
53387
53388 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53389
53390         [BZ #12194]
53391         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53392         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53393
53394 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53395
53396         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53397         IFUNC support.
53398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53399         memset-x86-64.
53400         * sysdeps/x86_64/multiarch/bzero.S: New file.
53401         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53402         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53403         * sysdeps/x86_64/multiarch/memset.S: New file.
53404         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53406         Set bit_Prefer_SSE_for_memop for Intel processors.
53407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53408         Define.
53409         (index_Prefer_SSE_for_memop): Define.
53410         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53411
53412 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53413
53414         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53415         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53416
53417 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53418
53419         [BZ #12191]
53420         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53421         (__x86_64_raw_data_cache_size_half): Likewise.
53422         (__x86_64_raw_shared_cache_size): Likewise.
53423         (__x86_64_raw_shared_cache_size_half): Likewise.
53424
53425         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53426         (__x86_64_raw_data_cache_size_half): Likewise.
53427         (__x86_64_raw_shared_cache_size): Likewise.
53428         (__x86_64_raw_shared_cache_size_half): Likewise.
53429         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53430         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53431         and __x86_64_raw_shared_cache_size_half.  Round
53432         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53433         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53434         to multiple of 256 bytes.
53435
53436 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53437
53438         [BZ #12167]
53439         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53440         of inacessible symlinks.  Verify result of symlink before returning it.
53441         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53442         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53443
53444 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53445
53446         * math/math.h (isinf): Fix typo in comment.
53447
53448 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53449
53450         * po/da.po: Update from translation team.
53451
53452 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53453
53454         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53455         is added to the list.
53456
53457 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53458             Ulrich Drepper  <drepper@gmail.com>
53459
53460         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53461         the global list here.  Move code to...
53462         (_dl_add_to_namespace_list): ...here.  New function.
53463         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53464         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53465         * elf/dl-load.c (lose): Don't remove the element from the list.
53466         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53467         (_dl_map_object): Likewise.
53468
53469 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53470
53471         [BZ #12159]
53472         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53473         into all bytes of SSE register.
53474         Patch by Richard Li <richardpku@gmail.com>.
53475
53476 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53477
53478         [BZ #12140]
53479         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53480         perturbing.
53481
53482 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53483
53484         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53485         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53486         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53489         submachine.
53490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53491
53492 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53493
53494         * include/dlfcn.h (__RTLD_SECURE): Define.
53495         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53496         mode & __RTLD_SECURE instead.
53497         (open_path): Rename preloaded parameter to secure.
53498         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53499         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53500         * elf/dl-deps.c (openaux): Likewise.
53501         * elf/rtld.c (struct map_args): Remove is_preloaded.
53502         (map_doit): Don't use it.
53503         (dl_main): Likewise.
53504         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53505         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53506
53507 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53508
53509         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53510         (sysd-rules-targets): Remove duplicates.
53511         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53512         rtld-%.$o dependency.
53513
53514 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53515
53516         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53517         _dl_map_object do it.
53518
53519 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53520
53521         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53522         fast fma builtins, define the macros in the C99 standard.
53523         (FP_FAST_FMAF): Likewise.
53524         (FP_FAST_FMAL): Likewise.
53525         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53526
53527         * bits/mathdef.h: Update copyright year.
53528         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53529
53530 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53531
53532         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53533         builtins, define the macros in the C99 standard.
53534         (FP_FAST_FMAF): Likewise.
53535         (FP_FAST_FMAL): Likewise.
53536         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53537         multiply/add.
53538         (FP_FAST_FMAF): Likewise.
53539
53540 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53541
53542         [BZ #3268]
53543         * math/libm-test.inc (fma_test): Some new testcases.
53544         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53545         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53546         y and infinite z.  Do multiplication by C already in long double.
53547         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53548         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53549         y and infinite z.  Do bitwise or of inexact bit into u.d.
53550         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53551         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53552         * sysdeps/i386/fpu/s_fma.S: Removed.
53553         * sysdeps/i386/fpu/s_fmal.S: Removed.
53554
53555 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53556
53557         [BZ #3268]
53558         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53560         computation is not scheduled after fetestexcept.  Fix value
53561         of minimum denormal long double.
53562
53563 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53564
53565         [BZ #3268]
53566         * math/libm-test.inc (fma_test): Add some more tests.
53567         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53568         correctly.
53569
53570 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53571
53572         * scripts/data/localplt-s390-linux-gnu.data: New file.
53573         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53574
53575 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53576
53577         [BZ #3268]
53578         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53579         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53580         instead of dbl-64.
53581         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53582         inlines.
53583         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53585         if one of x and y is very large and the other is subnormal.
53586         * sysdeps/s390/fpu/s_fmaf.c: New file.
53587         * sysdeps/s390/fpu/s_fma.c: New file.
53588         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53589         * sysdeps/powerpc/fpu/s_fma.S: New file.
53590         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53591         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53592         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53593
53594 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53595
53596         [BZ #3268]
53597         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53598         fma tests.
53599         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53600         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53601         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53602         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53603         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53604         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53605         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53606
53607 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53608
53609         [BZ #12078]
53610         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53611         * posix/bug-regex31.input: Add test case.
53612
53613 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53614
53615         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53616         * posix/bug-regex31.input: New file.
53617
53618         [BZ #12078]
53619         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53620         (parse_sub_exp): Fix last change, use postorder.
53621
53622         * posix/bug-regex31.c: New file.
53623         * posix/Makefile: Add rules to build and run bug-regex31.
53624
53625         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53626
53627         [BZ #12078]
53628         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53629
53630         [BZ #12108]
53631         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53632         to have entries in sys_siglist.
53633
53634         [BZ #12093]
53635         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53636         be NULL.
53637
53638 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53639
53640         [BZ #3268]
53641         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53642         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53643         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53644         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53645         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53646         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53647         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53648         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53649         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53650         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53651         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53652         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53653         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53654         * math/ftestexcept.c (fetestexcept): Likewise.
53655         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53656         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53657         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53658         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53659         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53660         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53661         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53662
53663 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53664
53665         [BZ #12107]
53666         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53667         newline.
53668
53669 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53670
53671         * string/bug-strstr1.c: New file.
53672         * string/Makefile: Add rules to build and run bug-strstr1.
53673
53674 2010-10-05  Eric Blake  <eblake@redhat.com>
53675
53676         [BZ #12092]
53677         * string/str-two-way.h (two_way_long_needle): Always clear memory
53678         when skipping input due to the shift table.
53679
53680 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53681
53682         [BZ #12005]
53683         * malloc/mcheck.c: Handle large requests.
53684
53685         [BZ #12077]
53686         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53687         for strncmp and strncasecmp.
53688         * string/stratcliff.c: Add tests for strcmp and strncmp.
53689         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53690
53691 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53692
53693         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53694         __set_fpscr.
53695
53696 2010-09-30  Andreas Jaeger  <aj@suse.de>
53697
53698         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53699         (CGROUP_SUPER_MAGIC): Define.
53700         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53701         Handle btrfs and cgroup file systems.
53702         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53703         Likewise.
53704
53705 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53706
53707         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53708         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53709
53710 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53711
53712         [BZ #12067]
53713         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53714         trying to locate the ELF header.
53715
53716 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53717
53718         [BZ #11611]
53719         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53720         Mask out sign-bit copies when constructing f_fsid.
53721
53722 2010-09-24  Petr Baudis <pasky@suse.cz>
53723
53724         * debug/stack_chk_fail_local.c: Add missing licence exception.
53725         * debug/warning-nop.c: Likewise.
53726
53727 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53728
53729         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53730         implementing getdents64 using getdents syscall, set d_type if
53731         __ASSUME_GETDENTS32_D_TYPE.
53732
53733 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53734
53735         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53736         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53737
53738 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53739
53740         [BZ #12037]
53741         * posix/unistd.h: Undo change of feature selection for ftruncate from
53742         2010-01-11.
53743
53744 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53745
53746         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53747         detection.
53748
53749 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53750
53751         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53752         fanotify_mark.
53753         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53754
53755 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53756
53757         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53758         variables after CHECK_SP call.
53759         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53760
53761 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53762             Ulrich Drepper  <drepper@redhat.com>
53763
53764         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53765         re-relocationg ld.so.
53766         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53767         _dl_init_paths call.
53768         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53769         here anymore.
53770
53771 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53772
53773         * resolv/res_init.c (__res_vinit): Count the default server we added.
53774
53775 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53776             Ulrich Drepper  <drepper@redhat.com>
53777
53778         [BZ #11968]
53779         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53780         (____longjmp_chk): Use %ebx for saving value across system call.
53781         Add unwind info.
53782
53783 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53784
53785         * manual/Makefile: Don't mix pattern rules with normal rules.
53786
53787 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53788
53789         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53790         operation.
53791         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53792         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53793         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53794         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53795         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53796         Likewise.
53797
53798 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53799
53800         [BZ #11979]
53801         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53802         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53803
53804 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53805
53806         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53807         * sysdeps/x86_64/addmul_1.S: Likewise.
53808         * sysdeps/x86_64/lshift.S: Likewise.
53809         * sysdeps/x86_64/mul_1.S: Likewise.
53810         * sysdeps/x86_64/rshift.S: Likewise.
53811         * sysdeps/x86_64/sub_n.S: Likewise.
53812         * sysdeps/x86_64/submul_1.S: Likewise.
53813
53814 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53815
53816         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53817         Define __sched_param instead of SCHED_* and sched_param when
53818         <bits/sched.h> is included with __need_schedparam defined.
53819         * bits/sched.h [__need_schedparam]
53820         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53821         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53822         (__defined_schedparam): Define to 1.
53823         (__sched_param): New structure, identical to sched_param.
53824         (__need_schedparam): Undefine.
53825
53826 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53827
53828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53829         (epoll_create1): Declare.
53830
53831         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53832
53833 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53834
53835         [BZ #7066]
53836         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53837         shifting retval into place.
53838
53839 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53840
53841         * nis/rpcsvc/nis.h: Update copyright notice.
53842         * nis/rpcsvc/nis.x: Likewise.
53843         * nis/rpcsvc/nis_callback.h: Likewise.
53844         * nis/rpcsvc/nis_callback.x: Likewise.
53845         * nis/rpcsvc/nis_object.x: Likewise.
53846         * nis/rpcsvc/nis_tags.h: Likewise.
53847         * nis/rpcsvc/yp.h: Likewise.
53848         * nis/rpcsvc/yp.x: Likewise.
53849         * nis/rpcsvc/ypupd.h: Likewise.
53850         * nis/yp_xdr.c: Likewise.
53851         * nis/ypupdate_xdr.c: Likewise.
53852
53853         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53854         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53855         (pmap_getport): Use __libc_rpc_getport.
53856         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53857         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53858         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53859
53860 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53861
53862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53863         fanotify_mark.
53864
53865 2010-08-27  Roland McGrath  <roland@redhat.com>
53866
53867         * sysdeps/i386/i686/multiarch/Makefile
53868         (CFLAGS-varshift.c): New variable.
53869
53870 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53871
53872         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53873         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53874
53875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53876
53877         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53878
53879 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53880
53881         * sysdeps/x86_64/strlen.S: Unroll the loop.
53882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53883         strlen-sse2 strlen-sse2-bsf.
53884         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53885         __strlen_no_bsf if bit_Slow_BSF is set.
53886         (__strlen_sse42): Removed.
53887         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53888         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53889
53890 2010-08-25  Roland McGrath  <roland@redhat.com>
53891
53892         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53893         * sysdeps/x86_64/multiarch/varshift.c: New file.
53894         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53895         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53896         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53897         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53898
53899 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53900
53901         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53902         strlen-sse2 strlen-sse2-bsf.
53903         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53904         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53905         (__strlen_sse2): Removed.
53906         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53907         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53909         bit_Slow_BSF for Atom.
53910         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53911         (index_Slow_BSF): Define.
53912         (HAS_SLOW_BSF): Define.
53913
53914 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53915
53916         [BZ #10851]
53917         * resolv/res_init.c (__res_vinit): When no server address at all
53918         is given default to loopback.
53919
53920 2010-08-24  Roland McGrath  <roland@redhat.com>
53921
53922         * configure.in: Remove config-name.h generation.
53923         * configure: Regenerated.
53924         * config-name.in: File removed.
53925         * scripts/config-uname.sh: New file.
53926         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53927         ($(objdir)config-name.h): New target.
53928
53929         * sunrpc/rpc_parse.h: Avoid nested comment.
53930
53931 2010-08-24  Richard Henderson  <rth@redhat.com>
53932             Ulrich Drepper  <drepper@redhat.com>
53933             H.J. Lu  <hongjiu.lu@intel.com>
53934
53935         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53937         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53938         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53939         _mm_alignr_epi8 with _mm_loadu_si128.
53940         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53941         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53942         (__m128i_shift_right): Removed.
53943         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53944         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53945         * sysdeps/x86_64/multiarch/varshift.h: New file.
53946         * sysdeps/x86_64/multiarch/varshift.S: New file.
53947
53948 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53949
53950         * configure.in: Move assembler checks to before sysdep dir checking.
53951
53952 2010-08-20  Petr Baudis  <pasky@suse.cz>
53953
53954         * LICENSES: Sync the sunrpc license.
53955
53956 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53957
53958         * sunrpc/auth_des.c: Update copyright notice once again.
53959         * sunrpc/auth_none.c: Likewise.
53960         * sunrpc/auth_unix.c: Likewise.
53961         * sunrpc/authdes_prot.c: Likewise.
53962         * sunrpc/authuxprot.c: Likewise.
53963         * sunrpc/bindrsvprt.c: Likewise.
53964         * sunrpc/clnt_gen.c: Likewise.
53965         * sunrpc/clnt_perr.c: Likewise.
53966         * sunrpc/clnt_raw.c: Likewise.
53967         * sunrpc/clnt_simp.c: Likewise.
53968         * sunrpc/clnt_tcp.c: Likewise.
53969         * sunrpc/clnt_udp.c: Likewise.
53970         * sunrpc/clnt_unix.c: Likewise.
53971         * sunrpc/des_crypt.c: Likewise.
53972         * sunrpc/des_soft.c: Likewise.
53973         * sunrpc/get_myaddr.c: Likewise.
53974         * sunrpc/getrpcport.c: Likewise.
53975         * sunrpc/key_call.c: Likewise.
53976         * sunrpc/key_prot.c: Likewise.
53977         * sunrpc/openchild.c: Likewise.
53978         * sunrpc/pm_getmaps.c: Likewise.
53979         * sunrpc/pm_getport.c: Likewise.
53980         * sunrpc/pmap_clnt.c: Likewise.
53981         * sunrpc/pmap_prot.c: Likewise.
53982         * sunrpc/pmap_prot2.c: Likewise.
53983         * sunrpc/pmap_rmt.c: Likewise.
53984         * sunrpc/rpc/auth.h: Likewise.
53985         * sunrpc/rpc/auth_unix.h: Likewise.
53986         * sunrpc/rpc/clnt.h: Likewise.
53987         * sunrpc/rpc/des_crypt.h: Likewise.
53988         * sunrpc/rpc/key_prot.h: Likewise.
53989         * sunrpc/rpc/netdb.h: Likewise.
53990         * sunrpc/rpc/pmap_clnt.h: Likewise.
53991         * sunrpc/rpc/pmap_prot.h: Likewise.
53992         * sunrpc/rpc/pmap_rmt.h: Likewise.
53993         * sunrpc/rpc/rpc.h: Likewise.
53994         * sunrpc/rpc/rpc_des.h: Likewise.
53995         * sunrpc/rpc/rpc_msg.h: Likewise.
53996         * sunrpc/rpc/svc.h: Likewise.
53997         * sunrpc/rpc/svc_auth.h: Likewise.
53998         * sunrpc/rpc/types.h: Likewise.
53999         * sunrpc/rpc/xdr.h: Likewise.
54000         * sunrpc/rpc_clntout.c: Likewise.
54001         * sunrpc/rpc_cmsg.c: Likewise.
54002         * sunrpc/rpc_common.c: Likewise.
54003         * sunrpc/rpc_cout.c: Likewise.
54004         * sunrpc/rpc_dtable.c: Likewise.
54005         * sunrpc/rpc_hout.c: Likewise.
54006         * sunrpc/rpc_main.c: Likewise.
54007         * sunrpc/rpc_parse.c: Likewise.
54008         * sunrpc/rpc_parse.h: Likewise.
54009         * sunrpc/rpc_prot.c: Likewise.
54010         * sunrpc/rpc_sample.c: Likewise.
54011         * sunrpc/rpc_scan.c: Likewise.
54012         * sunrpc/rpc_scan.h: Likewise.
54013         * sunrpc/rpc_svcout.c: Likewise.
54014         * sunrpc/rpc_tblout.c: Likewise.
54015         * sunrpc/rpc_util.c: Likewise.
54016         * sunrpc/rpc_util.h: Likewise.
54017         * sunrpc/rpcinfo.c: Likewise.
54018         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54019         * sunrpc/rpcsvc/key_prot.x: Likewise.
54020         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54021         * sunrpc/rpcsvc/mount.x: Likewise.
54022         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54023         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54024         * sunrpc/rpcsvc/rex.x: Likewise.
54025         * sunrpc/rpcsvc/rstat.x: Likewise.
54026         * sunrpc/rpcsvc/rusers.x: Likewise.
54027         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54028         * sunrpc/rpcsvc/spray.x: Likewise.
54029         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54030         * sunrpc/rtime.c: Likewise.
54031         * sunrpc/svc.c: Likewise.
54032         * sunrpc/svc_auth.c: Likewise.
54033         * sunrpc/svc_authux.c: Likewise.
54034         * sunrpc/svc_raw.c: Likewise.
54035         * sunrpc/svc_run.c: Likewise.
54036         * sunrpc/svc_simple.c: Likewise.
54037         * sunrpc/svc_tcp.c: Likewise.
54038         * sunrpc/svc_udp.c: Likewise.
54039         * sunrpc/svc_unix.c: Likewise.
54040         * sunrpc/svcauth_des.c: Likewise.
54041         * sunrpc/xcrypt.c: Likewise.
54042         * sunrpc/xdr.c: Likewise.
54043         * sunrpc/xdr_array.c: Likewise.
54044         * sunrpc/xdr_float.c: Likewise.
54045         * sunrpc/xdr_mem.c: Likewise.
54046         * sunrpc/xdr_rec.c: Likewise.
54047         * sunrpc/xdr_ref.c: Likewise.
54048         * sunrpc/xdr_sizeof.c: Likewise.
54049         * sunrpc/xdr_stdio.c: Likewise.
54050
54051         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54052         handling.
54053
54054 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54055
54056         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54057
54058 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54059
54060         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54061         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54062         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54063         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54064         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54065         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54067         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54068         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54069         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54070         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54071         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54072         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54073         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54074
54075 2010-07-26  Anton Blanchard  <anton@samba.org>
54076
54077         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54078         * malloc/arena.c (heap_trim): Likewise.
54079
54080 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54081
54082         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54083         here.  Not...
54084         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54085         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54086
54087 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54088
54089         * sysdeps/i386/elf/Makefile: New file.
54090
54091 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54092
54093         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54094         from fanotify_init.
54095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54096         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54097
54098 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54099
54100         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54101         of strncasecmp_l.
54102         * sysdeps/multiarch/strcmp.S: Likewise.
54103
54104 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54105
54106         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54107         strncase_l-nonascii.
54108         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54109         Add strncase_l-ssse3.
54110         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54111         * sysdeps/x86_64/strcmp.S: Likewise.
54112         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54113         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54114         * sysdeps/x86_64/strncase.S: New file.
54115         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54116         * sysdeps/x86_64/strncase_l.S: New file.
54117         * string/Makefile (strop-tests): Add strncasecmp.
54118         * string/test-strncasecmp.c: New file.
54119
54120         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54121         warning.
54122
54123         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54124         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54125
54126 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54127
54128         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54129
54130 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54131
54132         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54133         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54134         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54135
54136 2010-05-01  Alan Modra  <amodra@gmail.com>
54137
54138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54139         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54140         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54141         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54142         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54143         tidying.  Don't tail-call __sigjmp_save for static lib.
54144         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54145         save location.
54146         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54147         (CALL_MCOUNT): Add eh info, and nop after bl.
54148         (TAIL_CALL_SYSCALL_ERROR): New macro.
54149         (PSEUDO_RET): Use it.
54150         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54151         Correct save location of integer regs and cr.
54152         (_dl_profile_resolve): Correct cr save location.  Delete nops
54153         after bl when SHARED.  Reduce cfi size a little by better
54154         placement of cfi directives.
54155         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54156         make a stack frame.  Instead use parm save area as a temp.
54157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54158         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54160         Don't make a stack frame for parent, use parm save area.
54161         Increase child stack frame to 112 bytes.  Don't save unused reg,
54162         and adjust reg usage.  Set up cfi on error recovery and
54163         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54165         (__makecontext): Add dummy nop after jump to exit.
54166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54167         Use correct parm save area and cr save, reduce stack frame.
54168         Correct cfi for possible PSEUDO_RET frame setup.
54169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54170         Branch to local label emitted by PSEUDO_RET rather than
54171         __syscall_error.
54172
54173 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54174
54175         [BZ #11904]
54176         * locale/programs/locale.c (print_assignment): New function.
54177         (show_locale_vars): Use it.
54178
54179 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54180
54181         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54182         field.
54183         (struct statfs64): Likewise.
54184         (_STATFS_F_FLAGS): Define.
54185         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54186         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54187         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54188         (ST_VALID): Define locally.
54189         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54190         __statvfs_getflags, use the provided value.
54191         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54192         __ASSUME_STATFS_F_FLAGS.
54193
54194         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54195
54196         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54197         Add sys/fanotify.h.
54198         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54199         fanotify_mask for GLIBC_2.13.
54200         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54201         fanotify_init and fanotify_mark.
54202         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54203         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54204
54205         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54206         Add prlimit.
54207         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54208         prlimit64 for GLIBC_2.13.
54209         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54210         prlimit64.
54211         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54212         syscall.
54213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54214         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54215         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54216         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54217         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54218         add prlimit alias.
54219         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54220
54221         [BZ #11903]
54222         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54223         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54224
54225         * nss/Makefile: Add rules to build and run tst-nss-test1.
54226         * shlib-versions: Add entry for libnss_test1.
54227         * nss/nss_test1.c: New file.
54228         * nss/tst-nss-test1.c: New file.
54229
54230         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54231         (__nss_configure_lookup): Set appropriate entry in
54232         __nss_configure_lookup to true.
54233         * nss/nsswitch.h: Define enum with indeces of databases in
54234         databases and __nss_database_custom arrays.  Declare
54235         __nss_database_custom.
54236         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54237         to avoid using nscd when custom rules are installed.
54238         * nss/getXXbyYY_r.c: Likewise.
54239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54240
54241         * nss/nss_files/files-parse.c: Whitespace fixes.
54242
54243 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54244
54245         [BZ #11883]
54246         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54247         * posix/fnmatch_loop.c: Likewise.
54248
54249 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54250
54251         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54252         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54253         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54254         * Versions.def [GLIBC_2.13]: Add.
54255
54256 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54257
54258         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54259         Also fail if tpwd after pwuid call is NULL.
54260
54261 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54262
54263         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54264         when converting to ms.
54265
54266 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54267
54268         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54269         EOPNOTSUPP errors with ENOTTY.
54270         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54271         EOPNOTSUPP errors with ENOTTY.
54272
54273 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54274
54275         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54276         Add strcasecmp_l-ssse3.
54277         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54278         strcasecmp.
54279         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54280         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54281         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54282
54283 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54284
54285         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54286
54287         * string/Makefile (strop-tests): Add strcasecmp.
54288         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54289         strcasecmp_l-nonascii.
54290         (gen-as-const-headers): Add locale-defines.sym.
54291         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54292         * sysdeps/x86_64/strcasecmp.S: New file.
54293         * sysdeps/x86_64/strcasecmp_l.S: New file.
54294         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54295         * sysdeps/x86_64/locale-defines.sym: New file.
54296         * string/test-strcasecmp.c: New file.
54297
54298         * string/test-strcasestr.c: Test both ends of the range of characters.
54299         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54300
54301 2010-07-29  Roland McGrath  <roland@redhat.com>
54302
54303         [BZ #11856]
54304         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54305
54306 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54307
54308         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54309         for ld.so.
54310
54311 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54312
54313         * manual/memory.texi (Malloc Tunable Parameters): Document
54314         M_PERTURB.
54315
54316 2010-07-26  Roland McGrath  <roland@redhat.com>
54317
54318         [BZ #11840]
54319         * configure.in (-fgnu89-inline check): Set and substitute
54320         gnu89_inline, not libc_cv_gnu89_inline.
54321         * configure: Regenerated.
54322         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54323
54324 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54325
54326         * string/test-strnlen.c: New file.
54327         * string/Makefile (strop-tests): Add strnlen.
54328         * string/tester.c (test_strnlen): Add a few more test cases.
54329         * string/tst-strlen.c: Better error reporting.
54330
54331         * sysdeps/x86_64/strnlen.S: New file.
54332
54333 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54334
54335         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54336         lower-latency instructions.
54337
54338 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54339
54340         * string/test-strcasestr.c: New file.
54341         * string/test-strstr.c: New file.
54342         * string/Makefile (strop-tests): Add strstr and strcasestr.
54343         * string/str-two-way.h: Don't undefine MAX.
54344         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54345
54346 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54347
54348         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54349         strcasestr-nonascii.
54350         (CFLAGS-strcasestr-nonascii.c): Define.
54351         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54352         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54353         Remove unused attribute.
54354
54355 2010-07-20  Roland McGrath  <roland@redhat.com>
54356
54357         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54358         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54359         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54360         like LD_HWCAP_MASK can disable hwcaps.
54361
54362 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54363
54364         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54365
54366 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54367
54368         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54369         call in strcasestr.
54370         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54371         __strcasestr_sse42_nonascii.
54372         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54373         strcasestr-nonascii.c.
54374         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54375
54376 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54377
54378         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54379         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54380         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54381         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54382
54383 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54384
54385         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54386         fcntl.
54387
54388 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54389
54390         [BZ #11577]
54391         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54392         dl_signal_cerror.
54393
54394 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54395
54396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54397         _PC_PIPE_BUF using F_GETPIPE_SZ.
54398
54399 2010-07-05  Roland McGrath  <roland@redhat.com>
54400
54401         * manual/arith.texi (Rounding Functions): Fix rint description
54402         implicit in round description.
54403
54404 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54405
54406         * elf/Makefile: Fix linking for a few tests to make recent linker
54407         happy.
54408
54409 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54410
54411         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54412         $(common-objpfx)libc_nonshared.a.
54413
54414 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54415
54416         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54417         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54418         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54419         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54420         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54421         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54422         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54423         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54438         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54439         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54440         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54441         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54442         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54443         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54444         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54445         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54446         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54447         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54448         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54449         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54464
54465 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54466
54467         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54468         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54469         * string/memmove.c (memmove): Renamed to ...
54470         (MEMMOVE): ...this.  Default to memmove.
54471         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54472         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54473         (END_CHK): Define.
54474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54475         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54476         mempcpy-ssse3-back memmove-ssse3-back.
54477         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54478         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54479         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54480         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54481         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54482         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54483         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54484         * sysdeps/x86_64/multiarch/memmove.c: New file.
54485         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54486         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54487         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54488         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54489         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54490         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54491         Define.
54492         (index_Fast_Copy_Backward): Define.
54493         (HAS_ARCH_FEATURE): Define.
54494         (HAS_FAST_REP_STRING): Define.
54495         (HAS_FAST_COPY_BACKWARD): Define.
54496
54497 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54498
54499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54500         Restore proper fallback handling.
54501
54502 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54503
54504         [BZ #11701]
54505         * posix/group_member.c (__group_member): Correct checking loop.
54506
54507         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54508         OOM in getpwuid_r correctly.  Return error number when the caller
54509         should return, otherwise -1.
54510         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54511         call returning > 0 value.
54512         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54513
54514 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54515
54516         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54517         libc_nonshared.a from targets in modules-names.
54518
54519 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54520
54521         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54522         requires it.
54523
54524 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54525
54526         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54527         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54528         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54530
54531 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54532
54533         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54534
54535 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54536
54537         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54538         and F_GETPIPE_SZ.
54539         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54540         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54542         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54543         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54544         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54545
54546 2010-06-14  Roland McGrath  <roland@redhat.com>
54547
54548         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54549
54550 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54551
54552         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54553         __REDIRECT followed by __THROW.
54554         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54555         * posix/getopt.h (getopt): Likewise.
54556
54557 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54558
54559         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54560         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54561         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54562         in AT_FLAGS.
54563         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54564         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54565
54566 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54567
54568         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54569
54570 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54571
54572         [BZ #11640]
54573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54574         Properly check family and model.
54575
54576 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54577
54578         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54579
54580 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54581
54582         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54583
54584 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54585
54586         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54587         symbol reference.
54588
54589 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54590
54591         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54592         symbol reference.
54593
54594 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54595
54596         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54597         and internal_recvmmsg.
54598         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54599         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54600         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54601         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54602
54603         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54604         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54605         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54606
54607 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54608
54609         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54610
54611 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54612
54613         POWER7 optimizations.
54614         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54615         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54616
54617 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54618
54619         * version.h: Update for 2.13 development version.
54620
54621 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54622
54623         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54624         exceptions.  Return 0.
54625
54626 2010-05-07  Roland McGrath  <roland@redhat.com>
54627
54628         * elf/ldconfig.c (main): Add a const.
54629
54630 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54631
54632         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54633         (args_options): Add no-idn option.
54634         (ahosts_keys_int): Add idn_flags to ai_flags.
54635         (parse_option): Handle 'i' option to clear idn_flags.
54636
54637         * malloc/malloc.c (_int_free): Possible race in the most recently
54638         added check.  Only act on the data if no current modification
54639         happened.
54640
54641 See ChangeLog.17 for earlier changes.